diff --git a/asset/index.php b/asset/index.php new file mode 100644 index 0000000..e69de29 diff --git a/core/classes.php b/core/classes.php index 2e3f661..3ea28ed 100644 --- a/core/classes.php +++ b/core/classes.php @@ -52,14 +52,14 @@ class PartyStarter { // if admin if($query->fetch(PDO::FETCH_ASSOC)["admin"] ?? 0 >= 1) { $adminTab = ' '; } else { $adminTab = " "; } // messy shit sorry mario1 fix it urself :trol: - $rightside = ' '; } else { $rightside = ' diff --git a/grublox.sql b/grublox.sql index 79037aa..b6c4dd2 100644 --- a/grublox.sql +++ b/grublox.sql @@ -52,7 +52,7 @@ CREATE TABLE `games` ( `updateddate` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `thumbnail` mediumtext NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -70,9 +70,9 @@ CREATE TABLE `users` ( `token` varchar(25) DEFAULT NULL COMMENT 'Token for joining. Useful to secure joining to prevent unauthorized users to use other names.', `description` varchar(250) DEFAULT NULL, `money` int(11) NOT NULL DEFAULT 0, - `limited` int(1) DEFAULT 0, + `admin` int(1) DEFAULT 0, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -88,4 +88,4 @@ CREATE TABLE `users` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2023-02-05 13:18:21 +-- Dump completed on 2023-02-05 21:24:51