-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeshboard.php
311 lines (217 loc) · 12.2 KB
/
deshboard.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deshboard page</title>
<link rel="stylesheet" href="./css/animate.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/owl.carousel.min.css">
<link rel="stylesheet" href="./css/owl.theme.default.min.css">
<!-- <link rel="stylesheet" href="./css/style.css"> -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<style>
body {
padding: 2rem;
text-transform: capitalize;
/* background-color:var(--white); */
background: url(./images/home-bg.jpg) repeat !important;
background-size: contain;
background-position: center;
}
.card-box {
background: url(./images/home-bg.jpg) repeat !important;
background-size: contain;
background-position: center;
border: 2px solid black;
}
.btn-1 {
background-color: orchid !important;
font-size: 1.2rem;
font-weight: 500;
text-align: center;
border-radius: 8px;
padding: .6rem;
}
.btn-1:hover {
background-color: white !important;
color: black !important;
}
ul li a .arrow {
padding-right: .2rem;
transition: .3s linear;
}
ul li a:hover .arrow {
padding-right: .7rem;
}
ul li a:hover {
color: orange !important;
}
</style>
</head>
<body>
<?php
$hostname = 'localhost';
$username = 'root';
$password = '';
$dbname = 'food_db';
$connection = mysqli_connect($hostname, $username, $password, $dbname);
?>
<div class="container-fluid wow animate__zoomIn">
<div class="row">
<div class="col-xl-12 card-body">
<div class="card-header text-center pb-2">
<h1>Admin Deshboard </h1>
</div>
<div class="card card-box border-1 shadow-2">
<div class="row d-flex align-itmes-center justify-content-center text-center py-2 pt-3">
<h5 class="text-dark fw-bold col-xl-3 col-md-3">Deshboard</h5>
<a class=" col-xl-6 col-md-5 card-link fs-5 fw-bold text-dark text-decoration-none class"
href="#">Admin
Name:
MD.Saiful
Islam</a>
<a class="col-xl-2 col-md-3 card-link fs-5 fw-bold " href="./admin/logout.php"><u>Logout</u></a>
</div>
<hr class=" border-dark">
<div class="row px-2">
<div class="col-xl-3 card-body">
<div class="card bg-dark" style="min-height:100%">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-center text-white">update</h5>
</div>
<ul class="text-none">
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/home_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> Home</a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/about_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> about</a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/menu_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> menu </a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/contatimg_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> contact </a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/message_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> message </a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/order_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> order </a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/user_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> user </a></li>
<li class="mt-2"><a class="text-light text-decoration-none"
href="./deshboard-file/admin_deshboard.php"><i
class="fas fa-arrow-right arrow"></i> admin </a></li>
</ul>
</div>
</div>
<div class="col-xl-9 ">
<div class="row">
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">admin accounts</h5>
</div>
<h2 class="text-center fw-bold text-white">1</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/admin_deshboard.php">see now</a></div>
</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">user accounts</h5>
</div>
<h2 class="text-center fw-bold text-white">1</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/user_deshboard.php">see now</a>
</div>
</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">toral order</h5>
</div>
<h2 class="text-center fw-bold text-white">2</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/order_deshboard.php">see now</a></div>
</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">total products</h5>
</div>
<h2 class="text-center fw-bold text-white">40</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/menu_deshboard.php">see now</a></div>
</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">order complate/pending</h5>
</div>
<h2 class="text-center fw-bold text-white">2/3</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/order_deshboard.php">see now</a></div>
</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-6 card-body">
<div class="card bg-dark">
<div class="card-header border-bottom-1 border-light">
<h5 class="text-white text-center">total message</h5>
</div>
<h2 class="text-center fw-bold text-white">4</h2>
<div class="py-4"><a
class="text-light text-decoration-none btn-1 bg-info d-block w-50 m-auto "
href="./deshboard-file/message_deshboard.php">see now</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="./js/jquery.js"></script>
<script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="./js/wow.min.js"></script>
<script src="./js/owl.carousel.js"></script>
<script src="./js/owl.carousel.min.js"></script>
<script src="./js/jquery.lettering.js"></script>
<script src="./js/jquery.textillate.js"></script>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/sqript.js"></script>
<script>
AOS.init({
offset: 150,
duration: 1000,
});
new WOW().init({
loop: true,
});
$(function () {
$('.tlt').textillate({
loop: true,
minDisplayTime: 100,
});
})
</script>
</body>
</html>