-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·85 lines (82 loc) · 3.17 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
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
<?php
ob_start();
session_start();
require __DIR__ . '/config.php';
require __DIR__ . '/inc/loader.php';
?>
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]>
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Student Portal</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="content/theme/css/bootstrap.min.css">
<link rel="stylesheet" href="content/theme/css/icomoon-social.css">
<link rel="stylesheet" href="content/assets/chatbox.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="content/theme/css/leaflet.css"/>
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/leaflet.ie.css"/>
<![endif]-->
<link rel="stylesheet" href="content/theme/css/main.css">
<script src="content/theme/js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to
improve your experience.</p>
<![endif]-->
<!-- Navigation & Logo-->
<div class="mainmenu-wrapper">
<div class="container hidden-print">
<div class="menuextras">
<div class="extras">
<ul>
<?php
if (empty($_SESSION['std_name'])) {
?>
<li><a href="login.php"><i class="glyphicon glyphicon-log-in"></i> Login</a></li>
<?php
} else {
?>
<li><a href="logout.php"><i class="glyphicon glyphicon-log-out"></i> Logout</a></li>
<?php
}
?>
<li><a href="admin"><i class="glyphicon glyphicon-log-in"></i> Teacher Login</a></li>
<li><a href="admin"><i class="glyphicon glyphicon-log-in"></i> Admin Login</a></li>
</ul>
</div>
</div>
<nav id="mainmenu" class="mainmenu">
<ul>
<li class="logo-wrapper">
<a href="/">
<img src="content/theme/img/mPurpose-logo.png" alt="Multipurpose Twitter Bootstrap Template">
</a>
</li>
<li><a href="index.php">Home</a></li>
<li><a href="page.php?id=1">About us</a></li>
<?php
if (!empty($_SESSION['std_name'])) {
?>
<li><a href="dashboard.php">Dashboard</a></li>
<li><a href="library.php">Library</a></li>
<?php
}
?>
</ul>
</nav>
</div>
</div>