-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminindex.php
45 lines (34 loc) · 743 Bytes
/
adminindex.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="adminindex.css" type="text/css">
<title>Admin Index</title>
</head>
<body>
<?php
if ($_POST["loginsuccess"] == 1)
{
?>
<div class="container">
<div class="tile1">
<h1>View Customers</h1>
</div>
<a class="tile2" href="productindex.php"><h1>Products</h1></a>
<div class="tile3">
<h1>View Orders</h1>
</div>
<div class="tile4">
<h1>Add Admin</h1>
</div>
</div>
<?php
}
else
{
header("Location: adminlogin.php");
}
?>
</body>
</html>