updated website for new db

This commit is contained in:
Nereziel
2024-02-03 16:16:56 +01:00
parent 56537971ad
commit eb6cdfc98d
9 changed files with 363 additions and 322 deletions

View File

@@ -1,9 +1,11 @@
<?php
ob_start();
session_start();
//ob_start();
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
function logoutbutton() {
echo "<form action='' method='get'><button class='btn btn-secondary' name='logout' type='submit'>Logout</button></form>"; //logout button
echo "<form><button class='btn btn-secondary' name='logout' type='submit'>Logout</button></form>"; //logout button
}
function loginbutton($buttonstyle = "square") {