"a", "og:site_name" => SITE_CONFIG["site"]["name"], "og:url" => "https://polygon.pizzaboxer.xyz", "og:description" => "yeah its a website about shapes and squares and triangles and stuff and ummmmm", "og:image" => "", "containerWidth" => "w-100", "includeNav" => true, "barebones" => false ]; static function showStaticNotification($type, $text) { self::$additionalFooterStuff .= ''; } static function showStaticModal($title, $body, $buttons = "[{}]", $options = "{'show':true}") { //showModal($(this).attr("data-title"), $(this).attr("data-text"), [{'class':'btn btn-outline-secondary', 'isDismissButton':true, 'text':'Close'}]); $body = trim(preg_replace('/\s\s+/', ' ', $body)); $body = str_replace('"', '\"', $body); self::$additionalFooterStuff .= ''; } static function buildHeader() { global $pdo; $announcements = $pdo->query("SELECT * FROM announcements WHERE activated ORDER BY id DESC"); $markdown = new Parsedown(); $markdown->setMarkupEscaped(true); $markdown->setBreaksEnabled(true); $markdown->setSafeMode(true); $markdown->setUrlsLinked(true); ?> "> <?=self::$pageConfig["title"]?> - <?=SITE_CONFIG["site"]["name"]?> "> "> "> "> "> fetch(PDO::FETCH_OBJ)){ ?>
">
["name" => "Page Not Found", "text" => "the page you are looking for does not exist
check that there's no mistakes in the url"], 403 => ["name" => "Forbidden", "text" => "you cannot access this page"], 420 => ["name" => "Page Under Construction", "text" => "this page is under construction and is only accessible to admins for now
check back later
*obviously not a real code lol but i had to put something"] ]; self::buildHeader(); ?>

/


‹ Back Home