extra fix
This commit is contained in:
parent
5cbd04796e
commit
e9bb255ea9
|
|
@ -52,14 +52,14 @@ class PartyStarter {
|
|||
// if admin
|
||||
if($query->fetch(PDO::FETCH_ASSOC)["admin"] ?? 0 >= 1) {
|
||||
$adminTab = ' <li class="nav-item">
|
||||
<a class="nav-link text-dark" href="/about"><i class="bi bi-question-circle"></i> Admin</a>
|
||||
<a class="nav-link text-dark" href="/admin"><i class="bi bi-question-circle"></i> Admin</a>
|
||||
</li>';
|
||||
} else {
|
||||
$adminTab = " ";
|
||||
}
|
||||
// messy shit sorry mario1 fix it urself :trol:
|
||||
$rightside = '<li class="nav-item"><a class="nav-link text-dark"><span class="grufont">@ </span>'.$money.'</a></li> <li class="nav-item">
|
||||
<a class="nav-link text-dark" href="/logout"><i class="bi bi-box-arrow-right"></i> Logout</a>
|
||||
$rightside = '<li class="nav-item"><a class="nav-link text-dark"><span class="grufont fs-5">@ </span>'.$money.'</a></li> <li class="nav-item">
|
||||
<a class="nav-link text-dark" href="/logout"><span class="bi bi-box-arrow-right"></span>Logout</a>
|
||||
</li>';
|
||||
} else {
|
||||
$rightside = '
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue