-
Notifications
You must be signed in to change notification settings - Fork 1
/
vendor-index.php
60 lines (48 loc) · 1.23 KB
/
vendor-index.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
<?php
session_start();
if (!isset($_SESSION['user'])) {
header("location:vendor.php");
}
include "./templates/top.php";
?>
<?php include "./templates/navbar.php"; ?>
<div class="container-fluid">
<div class="row">
<?php include "./templates/sidebar.php";
$admin= $_SESSION['user'];
if($admin == "malbok@gmail.com"){
?>
<!-- <canvas class="my-4 w-100" id="myChart" width="900" height="380"></canvas> -->
<h2>All Vendors</h2>
<div class="table-responsive">
<table class="table table-striped table-sm">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Address</th>
<th>Action</th>
</tr>
</thead>
<tbody id="admin_list">
<!-- <tr>
<td>1,001</td>
<td>Lorem</td>
<td>ipsum</td>
<td>dolor</td>
<td>sit</td>
</tr> -->
</tbody>
</table>
</div>
<?php
}
else{}
?>
</main>
</div>
</div>
<?php include "./templates/footer.php"; ?>
<script type="text/javascript" src="./js/admin.js"></script>