source: AdminDashboard.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 days ago

Upload project files

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<?php
2 session_start();
3
4 if(!isset($_SESSION['user_ID']) || !isset($_SESSION['is_admin']) || !$_SESSION['is_admin']) {
5 header("Location: ./Log In.php");
6 }
7?>
8<!DOCTYPE html>
9<html lang="en">
10<head>
11 <meta charset="UTF-8">
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <title>Document</title>
14
15 <link rel="stylesheet" href="https://unpkg.com/boxicons@latest/css/boxicons.min.css">
16 <link rel="stylesheet" href="./CSS/AdminDashboard.css">
17</head>
18<body>
19
20 <!-- Dashboard -->
21 <section id="dashboard-bar">
22 <a href="#" class="top-right">
23 <i class='bx bxs-user-detail'></i>
24 <span>Innova Admin</span>
25 </a>
26
27 <ul class="side-menu">
28 <li>
29 <a href="./Orders.php">
30 <i class='bx bx-shopping-bag'></i>
31 <span>Orders</span>
32 </a>
33 </li>
34 <li>
35 <a href="./AddProduct.php">
36 <i class='bx bx-list-plus' ></i>
37 <span>New Product</span>
38 </a>
39 </li>
40 <li>
41 <a href="./FetchData.php">
42 <i class='bx bx-list-ul' ></i>
43 <span>Change Product</span>
44 </a>
45 </li>
46 <li>
47 <a href="./Users.php">
48 Users
49 </a>
50 </li>
51 </ul>
52
53 <ul class="side-menu">
54 <li>
55 <a href="#">
56 <i class='bx bx-log-out' ></i>
57 <span><a href="./Logout.php">Logout</a></span>
58 </a>
59 </li>
60 </ul>
61 </section>
62 <!-- Dashboard -->
63
64</body>
65</html>
Note: See TracBrowser for help on using the repository browser.