From d77cba7ad486f97b1205e668c405897fe7992c6f Mon Sep 17 00:00:00 2001 From: ui0ppk Date: Sat, 18 Feb 2023 16:21:05 +0200 Subject: [PATCH] big ass update --- about.php | 2 +- admin.php | 7 +- catalog.php | 14 +++- core/classes.php | 67 +++++++++++++++---- core/config.php | 1 + create_place.php | 5 +- css/bootstrap.min.css | 152 +++++++++++++++++++++--------------------- css/global.css | 5 ++ edit_place.php | 5 +- error.php | 4 +- friends.php | 11 +-- games.php | 9 +-- home.php | 13 ++-- item.php | 3 +- login.php | 6 +- maintenance.php | 14 ++-- place.php | 21 ++++-- register.php | 8 ++- settings.php | 11 +-- user.php | 48 ++++++++++++- 20 files changed, 261 insertions(+), 145 deletions(-) diff --git a/about.php b/about.php index 8b916ae..a46ad10 100644 --- a/about.php +++ b/about.php @@ -47,7 +47,7 @@ $user = new User($con, 0);


Sorry if the page looks bland, I dont know what to add. - + \ No newline at end of file diff --git a/admin.php b/admin.php index cb90055..0cab0df 100644 --- a/admin.php +++ b/admin.php @@ -35,10 +35,8 @@ $offset = $page * $limit; <?php echo $pagename; ?> | <?php echo $sitename; ?> -
-
+

G Admin Panel

-
-
+ footer(); ?> +
diff --git a/catalog.php b/catalog.php index b688cf9..0bbb897 100644 --- a/catalog.php +++ b/catalog.php @@ -73,7 +73,7 @@ $getitstarted->header(); ?> <?php echo $pagename; ?> | <?php echo $sitename; ?> -
+


+'; +} else { +echo '
'; +} +?> + footer(); ?> +
+
diff --git a/core/classes.php b/core/classes.php index f212e00..d55791a 100644 --- a/core/classes.php +++ b/core/classes.php @@ -128,6 +128,8 @@ class PartyStarter { '; } function header() { + //$navTheme = "bg-info"; + $theme = 'primary'; // alert $alert = false; if($alert) { @@ -138,12 +140,12 @@ class PartyStarter { } // to not confuse you i renamed it from loggedoutheader to header since qzip made it both lol require 'core/config.php'; - $grubloxlogotohome = 'G GRUBLOX'; + $sitelogotohome = 'G '.$sitename.''; $showhome = ''; $adminTab = " "; if (isset($_SESSION['user'])) { - $showhome = ' '; @@ -175,13 +177,13 @@ class PartyStarter { // if admin if($query->fetch(PDO::FETCH_ASSOC)["admin"] >= 1) { $adminTab = ' '; } else { $adminTab = " "; } - $grubloxlogotohome = 'G GRUBLOX'; + $sitelogotohome = 'G '.$sitename.''; $user = new User($con, $_SESSION['user']); $money = $user->getMoney(false); @@ -224,10 +226,10 @@ class PartyStarter { // messy shit sorry mario1 fix it urself :trol: $rightside = ' '; } @@ -261,9 +263,9 @@ class PartyStarter { -