-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidenav.php
113 lines (105 loc) · 4.77 KB
/
sidenav.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
if (!isset($_SESSION['admin_name'])) {
$_SESSION['msg'] = "You must log in first";
header('location: .././login.php');
}
if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['admin_name']);
header("location: .././login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="../assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>
TechShop|Admin
</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<!-- CSS Files -->
<link href="assets/css/material-dashboard.css?v=2.1.0" rel="stylesheet" />
<!-- CSS Just for demo purpose, don't include it in your project -->
<link href="assets/demo/demo.css" rel="stylesheet" />
</head>
<body class="dark-edition">
<div class="wrapper ">
<div class="sidebar" data-color="purple" data-background-color="black" data-image="../assets/img/sidebar-2.jpg">
<!--
Tip 1: You can change the color of the sidebar using: data-color="purple | azure | green | orange | danger"
Tip 2: you can also add an image using data-image tag
-->
<div class="logo"><a href="index.php" class="simple-text logo-normal">
<img src="./assets/img/capture.png" style="width: 150px;">
</a></div>
<div class="sidebar-wrapper">
<ul class="nav">
<li class="nav-item active ">
<a class="nav-link" href="index.php">
<i class="material-icons">dashboard</i>
<p>Dashboard</p>
</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="addsuppliers.php">
<i class="material-icons">person</i>
<p>Add users</p>
</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="add_products.php">
<i class="material-icons">add</i>
<p>Add Products</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="products_list.php">
<i class="material-icons">list</i>
<p>Product List</p>
</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="manageuser.php">
<i class="material-icons">person</i>
<p>Manage users</p>
</a>
</li>
<!-- <li class="nav-item ">
<a class="nav-link" href="activity.php">
<i class="material-icons">timeline</i>
<p>Activities</p>
</a>
</li> -->
<li class="nav-item ">
<a class="nav-link" href="profile.php">
<icons-image _ngcontent-aye-c22="" _nghost-aye-c19=""><i _ngcontent-aye-c19="" class="material-icons icon-image-preview">settings</i></icons-image>
<p>setting</p>
</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="salesofday.php">
<i class="material-icons">library_books</i>
<p>sales</p>
</a>
</li>
<!-- <li class="nav-item ">
<a class="nav-link" href="../../chat/login.php">
<i class="material-icons">notifications</i>
<p>Discussion</p>
</a>
</li> -->
<!-- <li class="nav-item active-pro ">
<a class="nav-link" href="./upgrade.html">
<i class="material-icons">unarchive</i>
<p>Upgrade to PRO</p>
</a>
</li> -->
</ul>
</div>
</div>