From eb89b15c0f044673c1206a418a21d0baba1a675e Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 12 Mar 2023 19:16:53 +0100 Subject: Updated 104 files, added 3 files, deleted 4 files and renamed 36 files (automated) --- includes/header.inc | 231 ---------------------------------------------------- 1 file changed, 231 deletions(-) delete mode 100644 includes/header.inc (limited to 'includes/header.inc') diff --git a/includes/header.inc b/includes/header.inc deleted file mode 100644 index 02cb190..0000000 --- a/includes/header.inc +++ /dev/null @@ -1,231 +0,0 @@ -"> -
- Error ' . $errno . ': ' . $errstr . ' [' . $file . ':' . $line . '] -
'); - } -} - -if (isset($_GET['errors'])) { - ini_set('display_errors', '1'); - ini_set('display_startup_errors', '1'); - error_reporting(E_ALL); - set_error_handler("error", E_ALL); -} - -global $_MemberName; -global $_MemberPage; -global $_SystemName; -global $_SystemPage; -global $toplevel; - -$pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pages.json"), true); -$page = $pages[$toplevel] ?? [ - "rail" => false -]; - -require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/travelling.inc"; global $travelling; -require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/score.inc"; -require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/pronouns.inc"; -require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/bitset.inc"; -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/banner.inc"; -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/rainbow.inc"; -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc"; - -?> - - - - - - - - - <?= $title && $title !== "-" ? $title . " ยท " : "" ?>Cold Haze - .png" type="image/png"> - - id="admin-page"> - - - -
- - - - - -
- -
- - - -
- - - - - - - -- cgit