-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_contents.php
More file actions
89 lines (75 loc) · 1.64 KB
/
admin_contents.php
File metadata and controls
89 lines (75 loc) · 1.64 KB
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
<?php
SESSION_START();
if ( ! isset($_SESSION['user']) ) {
die('Not logged in');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: "Lato", sans-serif;
background-image: url('img/a6.jpg');
background-size:cover;
background-repeat: no-repeat;
background-position: center;
height: 90vh;
position: relative;
margin: 0px;
padding: 0px;
}
.sidenav {
height: 100%;
width: 200px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 20px;
}
.sidenav a {
padding: 6px 6px 6px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.main {
margin-left: 200px; /* Same as the width of the sidenav */
}
h2{
text-align: center;
background-color: green;
border-radius: 50px;
margin : 15px;
padding: 15px;
color: white;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
</style>
</head>
<body>
<div class="sidenav">
<p style="color:white; text-align:center; font-size:30px" >Options</p> <hr> </br>
<a href="index.php">Home</a></br>
<a href="admin_users.php">List of people</a></br>
<a href="admin_books.php">List of books</a></br>
<a href="admin_messages.php">Messages</a></br>
<a href="userfeedback.php">Feedback from users</a></br>
<a href="logout.php">Log out</a>
</div>
<div class="main">
<h2>Manage the Website</h2>
</div>
</body>
</html>