-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminLanding.php
38 lines (34 loc) · 1.29 KB
/
adminLanding.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
<!doctype html>
<html>
<head>
<title>Reynholm Industries</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="stylesheet.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<img src="reynholm.jpg" height=5% width=5% />
<ul class="nav nav-tabs">
<li class="active"><a href="adminLanding.php">Home</a></li>
<li><a href="adminViewListings.php">View Listings</a></li>
<li><a href="moderationNew.php">Moderation</a></li>
<li><a href="adminViewCurrentListings.php">View Current Listings</a></li>
<li><a href="adminAreYouSure.php">Delete your Account</a></li>
</ul>
<?php
//resume the session variable on this page
session_start();
$timeString = "";
$currentTime = date("a");
if ($currentTime == "am") {
$timeString = "morning";
} else {
$timeString = "afternoon";
}
echo "<p>Good ".$timeString." ".$_SESSION["firstName"]."!</p>";
?>
<img src="macktruck.png"/>
<p><a style="background-color:white;" href="logout.php">Click here to log out</a></p>
</body>
</html>