-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
41 lines (31 loc) · 1.2 KB
/
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
37
38
39
40
41
<?php
session_start();
$flgAuth = $_SESSION['auth'];
$userID = $_SESSION['userID'];
$user= $_SESSION['user'];
$email = $_SESSION['email'];
$privileges = $_SESSION['privileges'];
$orderID=$_SESSION['orderID'];
if($_SESSION['auth']!=1){
header("location: welcome.php");
}
?>
<!-- Codrops top bar -->
<div class="codrops-top">
<!-- <a href="http://tympanus.net/Tutorials/RealtimeGeolocationNode/"> -->
<!-- <!-- <strong>« Previous Demo: </strong>Real-Time Geolocation Service with Node.js -->
<!-- </a> -->
<span class="sign-up right">
<a href="logout.php">
Logout <strong><?php echo $user;?></strong>
</a>
</span>
<span class="sign-up left">
<a href="myOrders.php">
Look at my previous <strong>Orders >></strong>
</a>
</span>
</div>
<div class="support-note">
<span class="note-ie">Sorry, only modern browsers.</span>
</div>