-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php
125 lines (105 loc) · 3.91 KB
/
admin.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
114
115
116
117
118
119
120
121
122
123
124
125
<?php
//Tell PHP to log errors
ini_set('log_errors', 'On');
//Tell PHP to not display errors
ini_set('display_errors', 'Off');
//Set error_reporting to E_ALL
ini_set('error_reporting', E_ALL );
// Start the session
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Tab Icon -->
<link rel="icon" href="assests/images/logo.png" type="image/icon type">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
<!-- css files -->
<link rel="stylesheet" href="assests/css/style.css">
<link rel="stylesheet" href="assests/css/Product.css">
<title>Admin Panel</title>
</head>
<style>
.box:hover i {
transform: scale(1.1);
}
main {
overflow:hidden;
margin:250px 3rem 3rem 3rem;
}
@media (max-width:600px) {
main {
margin:200px 3rem 3rem 3rem;
}
}
</style>
<body>
<!-- header section starts ******************************************************************************************* -->
<header id="topheader">
<nav class="navbar navbar-expand-lg navbar-dark" aria-label="Tenth navbar example"
style="background: black;box-shadow: 0px 4px 8px rgb(0, 0, 0,0.5);">
<div class="container-fluid">
<button class="navbar-toggler collapsed mb-3 text-white" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarsExample08" aria-controls="navbarsExample08" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<img src="assests/images/logo.png" alt="" class="image-fluid rounded-circle" style="width:8vh">
<div class="brand py-2"><a href="#" class="text-white"> BookStore®</a></div>
<div class="navbar-collapse justify-content-md-center collapse" id="navbarsExample08">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="adminAdd.php">Add Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="adminProduct.php">View All Products</a>
</li>
</ul>
</div>
<div>
<div class="icons text-white">
<a href="logout.php" style="color:#c9b040">Log Out</a>
</div>
</div>
</div>
</nav>
</header>
<!-- header section ends -->
<main>
<div class="row" style="background:white">
<div class="col-xl-3">
<div class="text-center box mx-1 my-2" style="background:#f54e4e">
<i class="fas fa-shopping-cart text-dark py-5" style="font-size:10rem; opacity:0.4;"></i>
</div>
</div>
<div class="col-xl-3">
<div class="text-center box mx-1 my-2" style="background:#4e70f5">
<i class="fas fa-user text-dark py-5" style="font-size:10rem; opacity:0.4;"></i>
</div>
</div>
<div class="col-xl-3">
<div class="text-center box mx-1 my-2" style="background:#4fc96d">
<i class="fas fa-barcode text-dark py-5" style="font-size:10rem; opacity:0.4;"></i>
</div>
</div>
<div class="col-xl-3">
<div class="text-center box mx-1 my-2" style="background:#f5c84e">
<i class="fas fa-money-bill-alt text-dark py-5" style="font-size:10rem; opacity:0.4;"></i>
</div>
</div>
</div>
</main>
<script src="assests/js/main.js"></script>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ"
crossorigin="anonymous"></script>
</body>
</html>