This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
admin.php
92 lines (80 loc) · 1.88 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
<?php
session_start();
if(!isset($_SESSION['username'])){
header("Location: index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="res/ThinkGeek-pt.png" sizes="16x16">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<link href="https://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Gloria+Hallelujah" rel="stylesheet">
<title>Admin | ThinkGeek</title>
<style type="text/css">
#logo{
width: 20.1%;
float: left;
}
body{
margin-top: 3em;
margin-left: 3em;
}
</style>
</head>
<body bgcolor=black>
<div id="logo">
<img src="res/thinkgeek-png.png" width="100%">
</div>
<div id=login style="float: right;">
<a href="destroy.php"><span id="logoutButton">Log Out</span></a><br><br>
<?php echo $_SESSION['username'];?>
</div>
<br>
<div id="header"> <strong>Select Option</strong> </div>
<table cellspacing="30px" cellpadding="5px">
<tr>
<td>
<div id="website">
<table>
<tr>
<td>
<a href="fandom.php" target="_blank" style="text-decoration: none;">
<img src="res/main/visit-website.png"></a>
</td>
<td>
<a href="fandom.php" target="_blank" style="text-decoration: none;">
<p><strong> Visit Website</strong></p>
</a>
</td>
<td>
<a href="fandom.php" target="_blank" style="text-decoration: none;">
<img src="res/main/new_page.png" style="width: 80px;"></a>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div id="inventory">
<table>
<tr>
<td>
<a href="inventory.php" style="text-decoration: none;">
<img src="res/main/inventory.png"></a>
</td>
<td>
<a href="inventory.php" style="text-decoration: none;">
<p><strong> View Inventory</strong></p>
</a>
</td></tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>