-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
36 lines (36 loc) · 905 Bytes
/
header.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
<?php
session_start();
error_reporting("E-NOTICE");
?>
<header>
<div class="wrapper">
<h1 class="logo"> Car Rental System</h1>
<a href="#" class="hamburger"></a>
<nav>
<?php
if(!$_SESSION['email'] && (!$_SESSION['pass'])){
?>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="trafficrules.html">Traffic Rules</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact_us.php">Contact Us</a></li>
</ul>
<a href="sign_in.php">Client Login</a>
<span>|</span>
<a href="admin_login.php">Admin Login</a>
<?php
} else{
?>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="status_view.php">View Status</a></li>
<li><a href="msg_admin.php">Message Admin</a></li>
</ul>
<a href="">Logout</a>
<?php
}
?>
</nav>
</div>
</header>