implementing admin pages

This commit is contained in:
Thies Mueller
2021-01-10 14:46:24 +01:00
parent 96c8bd638b
commit b30b8a1f5b
2 changed files with 45 additions and 2 deletions

View File

@@ -11,5 +11,13 @@ session_start();
if($_SESSION['isadmin'] == 0) {
die ('No rights for you! <meta http-equiv="refresh" content="0; URL=logout.php">');
}
echo "heres the admin world";
?>
echo '<div class="alert alert-danger" role="alert">heres the admin world</div>';
echo '<a href="adminarea_useradmin.php"><button class="btn btn-primary">User Admin</button></a>';
echo '<br /> <br />';
echo '<a href="adminarea_sessions.php"><button class="btn btn-primary">Session Admin</button></a>';
echo '<br /> <br />';
echo '<a href="adminarea_admins.php"><button class="btn btn-danger">Admin Admin</button></a>';
echo '<br /> <br />';
echo '<a href="secure.php"><button class="btn btn-info">Back</button></a>';
?>