-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
39 lines (24 loc) · 861 Bytes
/
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
<?php
session_start();
if(!isset($_SESSION['loggedin']) || $_SESSION['loggedin'] ==false) {
header('location: login.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>Admin</title>
</head>
<body>
<div class="content-area center">
<div class="contact-form font-style">
<h1> Welcome, Admin </h1>
<p style="margin-top: 1em"> This page is only for admin-useage purpose and can be accessed using the special key. </p>
<a href="addphoto.html"><input style="margin-top: 2em" type="submit" value="Add photo">
<a href="logout.php"><input style="margin-top: 1em; background-color: tomato" type="submit" value="Log out">
<a target="_blank" href="home.html"><input style="margin-top: 1em; background-color: gray" type="submit" value="Visit the original site">
</div>
</div>
</body>
</html>