-
Notifications
You must be signed in to change notification settings - Fork 4
/
header.php
executable file
·48 lines (45 loc) · 1.67 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
42
43
44
45
46
47
48
<?php
session_start();
?>
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<link href="css/page.css" rel="stylesheet" type="text/css">
<link href="css/docs.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<header>
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-12"> <a class="navbar-brand" href="./">Student Management System</a>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Support</a></li>
<li><a href="#">Help</a></li>
<?php
if(isset($_SESSION['UserAuthData']))
{
$UserAuthData = $_SESSION['UserAuthData'];
$UserAuthData = unserialize($UserAuthData);
?>
<li><a href="#">Notifications <span class="badge">3</span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><?php echo $UserAuthData['name']; ?> <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Manage Account</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</li>
<?php }
?>
</ul>
</div>
</div>
</div>
</header>
<div class="clearfix"></div>