-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.php
39 lines (37 loc) · 852 Bytes
/
menu.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
<?php
session_start();
error_reporting("E-NOTICE");
?>
<header>
<div class="wrapper">
<h1 class="logo"> PRIME EXOTICS</h1>
<a href="#" class="hamburger"></a>
<nav>
<?php
if(!$_SESSION['email'] && (!$_SESSION['pass'])){
?>
<a href="alogin.php">Admin Login</a>
<?php
} else{
?>
Welcome <a href="admin.php"><strong>Administrator</strong></a>
<span>||</span>
<a href="logout.php">Log out</a>
<ul>
<li><a href="admin.php"><span>Orders</span></a></li>
</ul>
<ul>
<li><a href="edit_customers.php"><span>Customers</span></a></li>
</ul>
<ul>
<li><a href="edit_cars.php"><span>Cars</span></a></li>
</ul>
<ul>
<li><a href="edit_suppliers.php"><span>Suppliers</span></a></li>
</ul>
<?php
}
?>
</nav>
</div>
</header>