introduced admin page
This commit is contained in:
parent
5b5e96f970
commit
4c1a086d4b
15
adminarea.php
Normal file
15
adminarea.php
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Admin Area</title>
|
||||
<link rel="stylesheet" href="ressources/css/bootstrap.min.css" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<script src="ressources/js/bootstrap.min.js"></script>
|
||||
<?php
|
||||
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";
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user