-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.php
More file actions
33 lines (30 loc) · 987 Bytes
/
dashboard.php
File metadata and controls
33 lines (30 loc) · 987 Bytes
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
<?php
/******************************************************************************
* Name: Dean Lorenzo
* Student number: 0367298
* Course: Web Development - 2008 (228566)
* Assignment: Final Project
* Created: Nov 18, 2022
* Updated: Nov 18, 2022
* Purpose: Administrators access the dashboard to manage users and pages.
******************************************************************************/
require_once('header.php');
// if the user visits this page and isn't logged in, then redirect
if(!($usr_dat = CheckLogin($db))){
LoginRedirect();
}
?>
<h1>Dashboard</h1>
<br />
Mangage
<nav>
<ul>
<li class="nav-li"><a href="users.php">USERS</a></li>
<li class="nav-li"><a href="reviews.php">REVIEWS</a></li>
<li class="nav-li"><a href="category.php">CATEGORIES</a></li>
<li class="nav-li"><a href="restaurant.php">RESTAURANTS</a></li>
</ul>
<br />
<br />
<br />
<?php require_once('footer.php'); ?>