forked from jonathanirvings/AutoResto
/
htmlHeader.php
36 lines (35 loc) · 1.42 KB
/
htmlHeader.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
ini_set("memory_limit",-1);
include "constant.php";
include "dbhandler.php";
include "dboperation.php";
include "booking.php";
include "restaurant.php";
include "customer.php";
include "eventhandler.php";
session_start();
$eventHandler = new EventHandler();
if (!isset($_SESSION["ic_number"]))
{
header('Location: login.php');
} else
{
$ic_number = $_SESSION["ic_number"];
$isAdmin = $eventHandler->isAdmin($ic_number);
}
?>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:700italic,400,300,700' rel='stylesheet' type='text/css'>
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/init.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel-noscript.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-desktop.css" />
</noscript>
<link rel="stylesheet" href="css/custom.css" />