-
Notifications
You must be signed in to change notification settings - Fork 47
/
admin.php
96 lines (85 loc) · 3.66 KB
/
admin.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>admin</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen">
<script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/Dynalight_400.font.js" type="text/javascript"></script>
<script src="js/FF-cash.js" type="text/javascript"></script>
<?php
session_start();
if(empty($_SESSION['name'])){
header("Location:login.html");
}
else
{
?></head>
<body id="page6">
<!--==============================header=================================-->
<header>
<div class="row-top">
<a href="logout.php"><strong>Logout</strong></a>
<div class="main">
<div class="wrapper">
<h1><a href="index.html">Fudla</a></h1>
<nav>
<ul class="menu">
<li><a href="index.html">Home</a></li>
<li><a href="menu.php">Menu</a></li>
<li><a class="active" href="contact.html">Contact</a></li>
</ul>
</nav>
</div>
</div>
</div>
<div class="row-bot">
<div class="row-bot-bg">
<div class="main">
<h2>Online Food <span>Ordering</span></h2>
</div>
</div>
</div>
</header>
<!--==============================content================================-->
<section id="content"><div class="ic"></div>
<div class="main">
<div class="wrapper">
<article class="col-1">
<div class="indent-left">
<h3 class="p1">Dashboard</h3>
<dl>
<table><tr>
<td><input type="button" class="button-1" value="Review registration" onClick="location.href='review.php'"></td></tr>
</table>
</dl>
</div>
</article>
<article class="col-2">
<h3 class="p1">Profile</h3>
<form id="contact-form" method="post" enctype="multipart/form-data">
<fieldset>
<label><span class="text-form">Name:</span><input name="name" type="text" value="ADMIN" readonly /></label>
<label><span class="text-form">Email:</span><input name="email" type="text" value="[email protected]" readonly /></label>
</div>
</div>
</fieldset>
</form>
</article>
</div>
</div>
</section>
<!--==============================footer=================================-->
<footer>
<div class="main">
<div class="aligncenter">
</div>
</div>
</footer>
<script type="text/javascript"> Cufon.now(); </script>
</body><?php }?>
</html>