-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsidebar.php
100 lines (97 loc) · 3.36 KB
/
sidebar.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
<div class="profile-sidebar">
<div class="profile-userpic">
<img src="http://icons.iconarchive.com/icons/graphicloads/colorful-long-shadow/64/User-icon.png" class="img-responsive" alt="">
</div>
<div class="profile-usertitle">
<div class="profile-usertitle-name"><?php echo $user['name'];?></div>
<div class="profile-usertitle-status"><span class="indicator label-success"></span>Manager</div>
</div>
<div class="clear"></div>
</div>
<div class="divider"></div>
<ul class="nav menu">
<?php
if (isset($_GET['room_mang'])){ ?>
<li class="active">
<a href="index.php?room_mang"><em class="fa fa-dashboard"> </em>
Room Management
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?room_mang"><em class="fa fa-dashboard"> </em>
Room Management
</a>
</li>
<?php }
if (isset($_GET['reservation'])){ ?>
<li class="active">
<a href="index.php?reservation"><em class="fa fa-calendar"> </em>
Reservation
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?reservation"><em class="fa fa-calendar"> </em>
Reservation
</a>
</li>
<?php }
if (isset($_GET['staff_mang'])){ ?>
<li class="active">
<a href="index.php?staff_mang"><em class="fa fa-dashboard"> </em>
Staff Management
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?staff_mang"><em class="fa fa-dashboard"> </em>
Staff Management
</a>
</li>
<?php }
if (isset($_GET['add_emp'])){ ?>
<li class="active">
<a href="index.php?add_emp"><em class="fa fa-plus"> </em>
Add Employee
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?add_emp"><em class="fa fa-plus"> </em>
Add Employee
</a>
</li>
<?php }
if (isset($_GET['complain'])){ ?>
<li class="active">
<a href="index.php?complain"><em class="fa fa-envelope"> </em>
Complain
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?complain"><em class="fa fa-envelope"> </em>
Complain
</a>
</li>
<?php }
?>
<?php
if (isset($_GET['statistics'])){ ?>
<li class="active">
<a href="index.php?statistics"><em class="fa fa-eject"> </em>
Statistics
</a>
</li>
<?php } else{?>
<li>
<a href="index.php?statistics"><em class="fa fa-eject"> </em>
Statistics
</a>
</li>
<?php }?>
<li><a href="logout.php"><em class="fa fa-power-off"> </em> Logout</a></li>
</ul>
</div><!--/.sidebar-->