From 9337aae8b1c87fad34884dacd5cd79d9591c60db Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 18 Nov 2023 11:34:36 +0100 Subject: Updated 39 files, added 86 files, deleted 40 files and renamed 2 files (automated) --- pages/home.inc | 202 ++------------------------------------------------------- 1 file changed, 6 insertions(+), 196 deletions(-) (limited to 'pages/home.inc') diff --git a/pages/home.inc b/pages/home.inc index 11a01de..b4dc96a 100644 --- a/pages/home.inc +++ b/pages/home.inc @@ -4,200 +4,10 @@ if (isset($_GET["ec"])) { header("HTTP/1.1 " . $_GET["ec"] . " Error"); } -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $readOnly; global $isNormallyLoggedIn; global $_PROFILE; global $lang; global $pages; global $isLowerLoggedIn; global $app; global $isLoggedIn; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $isLoggedIn; global $isLowerLoggedIn; -global $use2023UI; - -function banner() { global $isLoggedIn; global $isLowerLoggedIn; $byColor = getMembersByColor(false, true); global $lang; global $use2023UI; ?> -
- .png" style="width:128px;" class="old-ui"> - -

- " data-bs-toggle="tooltip" src="" style="height:32px;position:absolute;z-index:99;"> -

-
-
- ;z-index: 9;margin-left: 8px;opacity: .75;"> -
-
- -
- -
- -
style="grid-template-columns: repeat(4, 1fr);"> - - - - -
- -
- - -
-
- -
- - -
- - - - - -
- Notice: This website is temporarily under maintenance and the administrators have locked the database. Although you are logged in as , you cannot access any of the logged-in features while the website is under maintenance. Alerts dispatching remains possible in case of an emergency. -
- - - - -
-
- -
- - -
- Cold Haze Documents is now deprecated. Cold Haze's Documents feature is now deprecated in favor of Google Docs and will be removed in the future. Please migrate your documents to Google Drive as soon as possible. -
- - - - - -
- You were previously logged in to Cold Haze, however you have been logged out due to inactivity, due to your device being removed, or due to switching to a new authentication system (such as the v3). Please log in again. Learn more. -
- - - -
- - - - \ No newline at end of file +if ($isLoggedIn || $isLowerLoggedIn) { + require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/fragments/dashboard.inc"; +} else { + require_once $_SERVER['DOCUMENT_ROOT'] . "/pages/public.inc"; +} \ No newline at end of file -- cgit