-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.php
68 lines (64 loc) · 1.42 KB
/
dashboard.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
<?php
$page_title = "dashboard";
include("./config/constants.php");
include("./config/check_alogin.php");
$_SESSION['aid'];
$aid=$_SESSION['aid'];
?>
<!DOCTYPE html>
<html lang="en">
<style>
.flex-right{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.flex-right h4{
padding-right: 12px;
font-weight: bold;
}
.btn-group .btn-primary{
display: none;
}
</style>
<body>
<div class="flex">
<div>
<h1>Dashboard</h1>
</div>
<div class="flex-right">
<h4> <?php echo $aid ?></h4>
<a href="logout.php" class="btn btn-danger">Logout</a>
</div>
</div>
<br>
<div class="container text-center">
<div class="row">
<div class="col"><a href="Employeelist.php">
All employee
</a></div>
<div class="col second-box"> <a href="insert.php">
Add employee
</a></div>
<div class="col"><a href="a-productlist.php">
All Products
</a></div>
</div>
</div>
<br>
<div class="container text-center">
<div class="row">
<div class="col"><a href="brand.php">
Brnds
</a></div>
<div class="col second-box"> <a href="add-brand.php">
Add Brands
</a></div>
<div class="col"><a href="#">
Profile
</a></div>
</div>
</div>
</body>
</html>