-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminmenus.php
executable file
·47 lines (45 loc) · 1.6 KB
/
adminmenus.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
// Andrea Morales
//start session with the paramaters saved
session_start();
if (!isset($_SESSION['rol'])) {
header("Location: login.php");
exit;
}
if (isset($_SESSION['rol'])){
if ($_SESSION['rol'] === 'registered'){
echo "You do not have permission to this page";
exit;
}
}
?>
<!DOCTYPE html>
<html lang="es">
<head>
<title>ProvenSoft</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css" media="screen" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Playball' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/bootstrap.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon.ico/favicon-32x32.png">
</head>
<body>
<?php include_once "topmenu.php";?>
<div class="back">
<section id="top" ><br><br>
<div class="text-content container formback ">
<h2>Admin menus</h2><br>
<p>
We are working in this page. COOMING SOON!
</p>
</div>
</section>
</div>
<?php include_once "footer.php";?>
</body>
</html>