-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
588 lines (584 loc) · 46.6 KB
/
index.php
File metadata and controls
588 lines (584 loc) · 46.6 KB
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
<?php include('db.php'); require("cart-logic.php"); require('messages.php'); require('categories-logic.php');
$unique = "";
$file = ".html";
$unique = md5(mt_rand(0, 1000000)).$file;
?>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Gemasglam Home is a Fashion clothing and accessories ladies’ boutique. We take pride in supplying great quality items to all our customers at pocket friendly prices. We are located in Kampala Uganda.">
<meta name="keywords" content="boutique, Uganda, Kampala, women clothes, bags, shoes, beauty products, blazers, skirts, Namugema Bridget, gemasglam GemasGlamHome, quality, accessories, ladies Fashion">
<meta name="author" content="Tumuhimbise Usher Godwin">
<title>GemasGlamHome | HOME </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="imgs/gemasglam.ico">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1.0/css/all.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.1/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script><script defer src="js/jquery.js"></script><script defer src="js/purejs.js"></script><script src="live.js"></script>
<script type="text/javascript">$(document).ready(function(){$('[data-toggle=tooltip]').tooltip();})</script>
<style type="text/css">.btn-warning{width: 100%} .chat{position: fixed; bottom: 0; right: 60px;}#question{font-size: 20px;} .showChat{display: none}</style>
</head>
<body> <a name="top"></a>
<!-- navigation bar for desktop -->
<nav class="navbar navbar-expand-md sticky-top" id="top_nav"><a href="index.php" class="navbar-brand"><img src="imgs/gemasglam.jpg" height="50" width="100" style="border-radius: 5px;"></a><div class="collapse navbar-collapse justify-content-between" id="navbarCollapse"><div class="navbar-nav"><a href="about.php" class="nav-item nav-link"><h5>About Us</h5></a></div> <form action="catalog" method="get" class="form-inline desktopForm"><div class="input-group"><div class="search-box"> <input type="search" class="form-control" placeholder="Search for products" id="search" name="term" style="width: 450" autocomplete="off" required="required"/> <div class="result"></div></div><div class="input-group-append"><button type="submit" class="btn btn-light"><i class="fa fa-search text-primary"></i></button></div></div></form> <div class="nav-item dropdown"><a href="#" class="dropdown-toggle text-light" data-toggle="dropdown"><h5><i class="fas fa-user"></i> Login</h5></a><div class="dropdown-menu"> <a href="user/user-login.php" class="dropdown-item"><button class="btn btn-warning btn-sm" style="width: 100%">LOGIN</button></a> <hr><a href="user/Create-Account.php" class="dropdown-item"><button class="btn btn-outline-warning btn-sm">CREATE ACCOUNT</button></a></div></div> <a href="cart.php"><span id="cart_count"> <?php echo $cart_count; ?></span><h4><i class="fas fa-shopping-cart text-light"></i></h4></a> <a href="tel:+256709655944" class="btn btn-outline-warning btn-sm" id="help">HELP?</a> </div></nav>
<!-- navigation bar for potrait tablets -->
<nav class="navbar navbar-expand-md sticky-top" id="tablets_nav"><a href="index.php" class="navbar-brand"><img src="imgs/gemasglam.jpg" height="50" width="100" style="border-radius: 5px;"></a><div class="collapse navbar-collapse justify-content-between" id="navbarCollapse"><div class="navbar-nav"><div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle"
data-toggle="dropdown"><h5>Categories</h5></a> <div class="dropdown-menu" id="dropdown2-link"> <a href="accessories.php"
class="dropdown-item"><img src="imgs/watch.PNG" width="40" height="40" style="border-radius: 50%"> Accessories</a> <a
href="blazers.php" class="dropdown-item"><img src="imgs/suit.jpg" width="40" height="40" style="border-radius: 50%">
Blazers</a> <a href="bags.php" class="dropdown-item"><img src="imgs/bag.PNG" width="40" height="40" style="border-radius:
50%">Bags</a> <a href="shoes.php" class="dropdown-item"> <img src="imgs/shoeswomen.PNG" width="40" height="40" style="border-radius: 50%">Shoes</a>
<a href="skirts.php" class="dropdown-item"> <img src="imgs/skirt.PNG" width="40" height="40" style="border-radius: 50%">
Skirts</a> <a href="trousers.php" class="dropdown-item"> <img src="imgs/trouser.PNG" width="40" height="40"
style="border-radius: 50%">Trousers</a> <a href="tops.php" class="dropdown-item"><img src="imgs/top.PNG" width="40"
height="40" style="border-radius: 50%"> Tops/Brouse</a> <a href="dresses.php" class="dropdown-item"> <img
src="imgs/dress.PNG" width="40" height="40" style="border-radius: 50%"> Dresses</a> <a href="beauty-products.php"
class="dropdown-item"> <img src="imgs/beauty.PNG" width="40" height="40" style="border-radius: 50%">Beauty Products</a>
</div> </div></div> <form action="catalog.php" method="get" class="form-inline"><div class="input-group"><div class="search-box"> <input type="search" class="form-control here" placeholder="Search for products" id="search" name="term" style="width: 200" autocomplete="off" required="required"/> <div class="result"></div></div><div class="input-group-append"><button type="submit" class="btn btn-light"><i class="fa fa-search text-primary"></i></button></div></div></form> <div class="nav-item dropdown"><a href="#" class="dropdown-toggle text-light" data-toggle="dropdown"><h5><i class="fas fa-user"></i> Login</h5></a><div class="dropdown-menu"> <a href="user/user-login.php" class="dropdown-item"><button class="btn btn-warning btn-sm" style="width: 100%">LOGIN</button></a> <hr><a href="user/Create-Account.php" class="dropdown-item"><button class="btn btn-outline-warning btn-sm">CREATE ACCOUNT</button></a></div></div> <a href="cart.php"><span id="cart_count"> <?php echo $cart_count; ?></span><h4><i class="fas fa-shopping-cart text-light"></i></h4></a> <a href="tel:+256709655944" class="btn btn-outline-warning btn-sm" id="help">HELP?</a> </div></nav> <!-- end of -->
<!--navigation bar for mobile -->
<nav class="navbar navbar-expand-md sticky-top" id="mobile_nav"><a href="#" class="open"><h3><i class="fa fa-bars text-light" id="bar_icon"></i></h3></a><a href="index.php" class="navbar-brand"><img src="imgs/gemasglam.jpg" height="50" width="100" style="border-radius: 5px;"></a><a href="user/user-login.php"><h3><i class="fas fa-user-circle text-light"></i> </h3></a><a href="cart.php"><h4><i class="fas fa-shopping-cart text-light"></i></h4><small id="cart_count"> <?php echo $cart_count; ?></small></a> <div class="mobileSearch">
<form action="catalog.php" method="get" class="form-inline mobileForm"> <div class="input-group">
<div
class="search-box"> <input type="search" class="form-control" placeholder="Search for products"
id="mobileSearch" name="term" style="width: 250" autocomplete="off" required="required"/> <div class="mobileResult"></div> </div>
<div class="input-group-append"> <button type="submit" class="btn btn-light"><i class="fa fa-search
text-primary"></i></button> </div> </div> </form> </div><div class="collapse navbar-collapse justify-content-between" id="navbarCollapse"><div class="navbar-nav"></div> </div></nav>
<!-- side bar -->
<div class="container-fluid"><div id="hidden" class="bg-light"> <nav class="sidebar bg-light" id="sidebar"><div class="nav-item"><div class="jumbotron text-center py-1"><h2>HOME</h2></div> <div class="card"><div class="card-header py-1"><h4>Categories</h4></div> <div class="card-body"><ul><li> <a href="accessories.php" class="dropdown-item"> <img src="imgs/watch.PNG" width="40" height="40" style="border-radius: 50%"> Accessories</a></li><li><a href="blazers.php" class="dropdown-item"> <img src="imgs/suit.jpg" width="40" height="40" style="border-radius: 50%"> Blazers</a></li> <li><a href="bags.php" class="dropdown-item"> <img src="imgs/bag.PNG" width="40" height="40" style="border-radius: 50%">Bags</a><li><li><a href="shoes.php" class="dropdown-item"> <img src="imgs/shoeswomen.PNG" width="40" height="40" style="border-radius: 50%">Shoes</a></li><li><a href="skirts.php" class="dropdown-item"> <img src="imgs/skirt.PNG" width="40" height="40" style="border-radius: 50%"> Skirts</a></li><li> <a href="trousers.php" class="dropdown-item"> <img src="imgs/trouser.PNG" width="40" height="40" style="border-radius: 50%">Trousers</a></li><li> <a href="tops.php" class="dropdown-item"><img src="imgs/top.PNG" width="40" height="40" style="border-radius: 50%"> Tops/Brouse</a></li><li> <a href="dresses.php" class="dropdown-item"> <img src="imgs/dress.PNG" width="40" height="40" style="border-radius: 50%"> Dresses</a></li><li><a href="beauty-products.php" class="dropdown-item"> <img src="imgs/beauty.PNG" width="40" height="40" style="border-radius: 50%">Beauty Products</a></li> </ul></div> </div></div></nav></div></div>
<!-- main body content -->
<div class="container-fluid" id="desktop_view">
<div class="row">
<div class="col-md-3 col-lg-3">
<div class="dropdown-menu" id="dropdown-link" style="display: block; position: static"> <a href="accessories.php" class="dropdown-item"><img src="imgs/watch.PNG" width="40" height="40" style="border-radius: 50%"> Accessories</a><a href="blazers.php" class="dropdown-item"><img src="imgs/suit.jpg" width="40" height="40" style="border-radius: 50%"> Blazers</a><a href="bags.php" class="dropdown-item"><img src="imgs/bag.PNG" width="40" height="40" style="border-radius: 50%">Bags</a><a href="shoes.php" class="dropdown-item"><img src="imgs/shoeswomen.PNG" width="40" height="40" style="border-radius: 50%">Shoes</a> <a href="skirts.php" class="dropdown-item"> <img src="imgs/skirt.PNG" width="40" height="40" style="border-radius: 50%"> Skirts</a><a href="trousers.php" class="dropdown-item"> <img src="imgs/trouser.PNG" width="40" height="40" style="border-radius: 50%">Trousers</a><a href="tops.php" class="dropdown-item"><img src="imgs/top.PNG" width="40" height="40" style="border-radius: 50%"> Tops/Brouse</a> <a href="dresses.php" class="dropdown-item"> <img src="imgs/dress.PNG" width="40" height="40" style="border-radius: 50%"> Dresses</a><a href="beauty-products.php" class="dropdown-item"> <img src="imgs/beauty.PNG" width="40" height="40" style="border-radius: 50%">Beauty Products</a><br></div>
</div>
<div class="col-md-6 col-lg-6">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Carousel indicators -->
<ol class="carousel-indicators">
<li data-target="#desktopCarousel" data-slide-to="0" class="active"></li>
<li data-target="#desktopCarousel" data-slide-to="1"></li>
<li data-target="#desktopCarousel" data-slide-to="2"></li>
<li data-target="#desktopCarousel" data-slide-to="3"></li>
<li data-target="#desktopCarousel" data-slide-to="4"></li>
</ol>
<!-- Wrapper for carousel items -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="imgs/gemaglam.PNG" alt="gemasgla" height="450">
</div>
<div class="carousel-item">
<img src="imgs/watch.PNG" alt="Watch">
</div>
<div class="carousel-item">
<img src="imgs/skirt.PNG" alt="Skirt" height="450">
</div>
<div class="carousel-item">
<img src="imgs/shoeswomen.PNG" alt="Hight Hill" height="450">
</div>
<div class="carousel-item">
<img src="imgs/bag.PNG" alt="bag">
</div>
</div>
<!-- Carousel controls -->
<a class="carousel-control-prev" href="#desktopCarousel" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#desktopCarousel" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
</div>
</div>
<div class="col-md-3 col-lg-3">
<div class="dropdown-menu" id="dropdown-link" style="display: block; position: static">
<div class="card" style="border: none"><div class="card-body" id="card-call"><a href="tel:+256709655944"><i class="fas fa-phone-alt"></i> Call to Order</a> </div> </div>
<div class="card" style="border: none"><div class="card-body" id="card-call"><a href="#"><i class="fas fa-money-check-alt"></i> Vouchar Cards</a> </div> </div>
<div class="card" style="border: none"><div class="card-body" id="card-call"><a href="#"> <i class="far fa-check-circle"></i> Quality</a><br><small>Quality You Can Trust</small> </div> </div><div class="card" style="border: none"><div class="card-body" id="card-call"><h6 class="text-muted">Gemasglam Home is a Fashion clothing and accessories ladies’ boutique. We take pride in supplying great quality items to all our customers at pocket friendly prices. We are located in Kampala Uganda <br><br><br></h6> </div> </div>
</div>
</div>
</div>
</div>
<div id="desktop_view"> <?php echo $status; ?></div>
<div class="container-fluid" id="mobile_view">
<?php echo $status; ?>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-12 col-lg-12">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Carousel indicators -->
<ol class="carousel-indicators">
<li data-target="#mobileCarousel" data-slide-to="0" class="active"></li>
<li data-target="#mobileCarousel" data-slide-to="1"></li>
<li data-target="#mmobileCarousel" data-slide-to="2"></li>
<li data-target="#mobileCarousel" data-slide-to="3"></li>
<li data-target="#mobileCarousel" data-slide-to="4"></li>
</ol>
<!-- Wrapper for carousel items -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="imgs/gemaglam.PNG" alt="gemasgla" height="450">
</div>
<div class="carousel-item">
<img src="imgs/watch.PNG" alt="Watch">
</div>
<div class="carousel-item">
<img src="imgs/skirt.PNG" alt="Skirt" height="450">
</div>
<div class="carousel-item">
<img src="imgs/shoeswomen.PNG" alt="Hight Hill" height="450">
</div>
<div class="carousel-item">
<img src="imgs/bag.PNG" alt="bag">
</div>
</div>
<!-- Carousel controls -->
<a class="carousel-control-prev" href="#mobileCarousel" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#mobileCarousel" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
</div>
</div>
</div>
</div>
<main class="container-fluid">
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Accessories</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="accessories.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $j = 0; foreach($accessories as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$j == 4) break; endforeach ?>
<?php if(empty($accessories)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!-- blazers -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Blazers</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="blazers.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $i = 0; foreach($blazers as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary stretched-link">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$i == 4) break; endforeach ?>
<?php if(empty($blazers)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!-- trousers -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Trousers</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="trousers.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $k = 0; foreach($trousers as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p> <a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$k == 4) break; endforeach ?>
<?php if(empty($trousers)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!-- Shoes-->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Shoes</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="shoes.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $l = 0; foreach($shoes as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$l == 4) break; endforeach ?>
<?php if(empty($shoes)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!-- Tops -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Tops</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="tops.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $m = 0; foreach($tops as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$m == 4) break; endforeach ?>
<?php if(empty($tops)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!--Skirts -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Skirts</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="skirts.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $n = 0; foreach($skirts as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$n == 4) break; endforeach ?>
<?php if(empty($skirts)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!--Dresses -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Dresses</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="dresses.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $p = 0; foreach($dresses as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$p == 4) break; endforeach ?>
<?php if(empty($dresses)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!-- Bags -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Bags</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="bags.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $r = 0; foreach($bags as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$r == 4) break; endforeach ?>
<?php if(empty($bags)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
<!--Beauty Products -->
<div class="card py-1 text-muted mt-2" style="clear: both">
<div class="card-header y-1 bg-dark">
<div class="row d-flex justify-content-between"> <div class="d-flex"> <h4><span class="text-warning
font-weight-bold">Beauty Products</span></h4> </div> <div class="d-flex flex-column
text-sm-right"> <h5 class="mb-0"><a href="beauty-products.php">See All</a> </h5>
</div> </div></div>
<div class="card-body">
<div class="container">
<div class="row">
<?php $s = 0; foreach($beauty as $key => $row):?>
<div class="col-sm-12 col-md-6 col-lg-3">
<form action="" method="post">
<div class="card card-body card-size">
<div class='card-img-top text-center'><a class="description" data-toggle="tooltip" title="<?php echo $row['description'];?>"><img src="<?php echo $row['image'];?>" width='150' height='120' /></a></div>
<input type='hidden' name='code' value="<?php echo $row['code'];?>" />
<input type='hidden' name='category' value="<?php echo $row['category'];?>" />
<p class="text-dark"><?php echo $row['name'];?></p>
<p class="text-dark">UGX: <?php echo number_format($row['price']);?></p>
<p class="text-info product-status">UGX: <?php echo $row['status'];?></p><hr>
<p class="text-dark d-inline-block text-truncate" style="max-width: 550pt;"><?php echo $row['description'];?></p>
<a href="view-products-details.php?q=<?php echo $row['code'] ?>&category=<?php echo $row['category'] ?>&page=<?php echo $row['name'].$unique ?>" class="description text-primary">Read More</a>
<div class='form-group text-center'><br>
<button type='submit' class='btn btn-warning' name='add_to_cart'>Add to Cart</button>
</div>
</div>
</form>
</div>
<?php if(++$s == 4) break; endforeach ?>
<?php if(empty($beauty)): ?>
<p class='text-info'><i class='fas fa-times text-danger'></i> No Products in this category yet</p>
<?php endif ?>
</div>
</div>
</div>
</div>
</main>
<!-- footer -->
<div style="clear:both;"></div>
<div class=" bg-secondary"> <div class="card mt-3" style="border: none;"><div class="card-body bg-secondary"><div class="row"><div class="col-md-6 col-lg-6"> <div class="card mt-3" id="message_box"><div class="card-body" id="message_body"><?php echo $message_status; ?><h4 class="text-secondary" style="text-decoration: underline;">Contact Us</h4><form action="" method="post"><div class="form-group"><input type="email" name="email" class="form-control" placeholder="type your email here" autocomplete="off" required="required"><small class="text-danger"><?php echo $email_error; ?></small></div> <div class="form-group"><input type="text" name="subject" class="form-control" placeholder="type the message subject here" required="required"><small class="text-danger"><?php echo $subject_error; ?></small></div><div class="form-group"><textarea class="form-control" name="message" placeholder="type your message here" cols="5" rows="5" id="textarea"></textarea><small class="text-danger"><?php echo $message_error; ?></small></div><div class="form-group"> <button type="submit" class="btn btn-warning" name="send">SEND MESSAGE</button></div></form><small class="text-muted">You information is not shared with anyone!</small></div></div></div><div class="col-md-6 col-lg-6"> <div class="card mt-3"> <div class="card-body"><h4 class="text-secondary" style="text-decoration: underline;">Working Days And Hours</h4><div class="row"><p class="col-lg-6 col-md-6 text-muted">Sunday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 03:00 PM</p></div><div class="row"><p class="col-lg-6 col-md-6 text-muted">Monday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><div class="row"><p class="col-lg-6 col-md-6 text-muted">Tuesday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><div class="row"><p class="col-lg-6 col-md-6 text-muted">Wednesday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><div class="row"><p class="col-lg-6 col-md-6 text-muted">Thursday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><div class="row"> <p class="col-lg-6 col-md-6 text-muted">Friday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><div class="row"><p class="col-lg-6 col-md-6 text-muted">Satarday</p><p class="col-md-6 col-lg-6 text-primary">08:00 AM - 06:00 PM</p></div><br/><small class="text-muted">The above are store hours. GemasglamHome works 24/7</small> <br/> </div></div> </div></div><div class="row"><div class="col-md-6 col-lg-6"><div class="card mt-3" style="height: 300px; overflow: scroll;"> <a href="#myModal" class="btn btn-sm btn-warning sticky-top" data-toggle="modal">POST YOUR REVIEW</a><div class="card-body"><h4 class="text-muted">Customer Reviews</h4> <?php foreach ($reviews as $key => $value):?> <div class="input-group"><h1><i class="fas fa-user-circle text-primary"></i></h1> <b class="text-secondary"> <?php echo $value['name'];?></b></div><div class=""><b class="text-muted"> <?php echo $value['comment'];?></b></div><?php endforeach?><?php mysqli_close($con); ?> </div></div></div><div class="col-md-6 col-lg-6"><div class="card mt-3"><div class="card-body"><h4 class="text-muted">Contact Information</h4> <div><p style="font-size: 20pt;"> <a href="tel:+256784007560"> <i class="fas fa-phone-square-alt"></i> +256709655944 </a></p>
<p style="font-size: 20pt;"><a href ="mailto:sales@gemasglam.com"><i class="fas fa-envelope"></i> wecare@gemasglam.com</a></p> <p style="font-size: 20pt;" class="text-muted"><a href="https://wa.me/+256709655944" style="font-size: 30pt;"><i class="fab fa-whatsapp-square text-success"></i></a><small>Live Chat</small></p><br><br> </div> </div></div></div></div> <div class="row"><div class="col-md-4 col-lg-4"><div class="card bg-secondary mt-3" style="border: none;"><div class="card-body"><h6 class="text-light" style="text-decoration: underline;">LET US HELP YOU </h6><p class="text-muted"><a href="tel:+256709655944" class="text-light">Help Center <img src="imgs/call-center.PNG" width="70" height="70" style="border-radius: 50%;"></a></p><p> <a href="how-to-buy.php" class="text-light">How to buy on Gemasglam</a></p><p><a href="#paymentmethod" class="text-light" data-toggle="modal">Payment Methods</a></p><p> <a href="#delivery-timeline" class="text-light" data-toggle="modal">Delivery Timeline</a></p><p><a href="faqs.php" class="text-light">FAQs</a></p></div></div> </div><div class="col-md-4 col-lg-4"><div class="card bg-secondary mt-3" style="border: none;"><div class="card-body"> <h6 class="text-light" style="text-decoration: underline;">About GemasglamHome</h6><p class="text-muted"><a href="about.php" class="text-light">About Us</a></p><p><a href="terms&conditions.php" class="text-light">Terms & Coditions</a></p> <p><a href="privacy.php" class="text-light">Privacy Policy</a></p><p><a href="shipping-policy.php" class="text-light">Shipping Policy</a></p><p><a href="return-policy.php" class="text-light">Return Policy</a></p>
</div>
</div>
</div>
<div class="col-md-4 col-lg-4">
<div class="card bg-secondary mt-3" style="border: none;">
<div class="card-body">
<h6 class="text-light" style="text-decoration: underline;">FOLLOW US </h6>
<p class="text-muted">
<a href="https://www.facebook.com/gemasglamhome/" class="text-light" style="font-size: 18pt;"><i class="fab fa-facebook"></i> </a>
</p>
<p>
<a href="https://www.instagram.com/invites/contact/?i=15weuew9rnlhg&utm_content=i1du1qd" class="text-light" style="font-size: 18pt;"><i class="fab fa-instagram"></i></a>
</p>
<p>
<a href="" class="text-light"><i class="fab fa-twitter"></i></a>
</p>
<p>
<a href="https://www.linkedin.com/company/gemas-glam-home" class="text-light" style="font-size: 18pt;"><i class="fab fa-linkedin"></i></a>
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-lg-12 d-flex justify-content-center">
<p class="text-light">© GemasglamHome <?php echo date("Y"); ?> All Rights Reserved</p>
</div>
</div>
</div>
</div>
<iframe src="support/user.php" height="530" width="500" style="position: fixed; bottom: 0; border: 2px; border-radius: 5px;" class="showChat"></iframe>
<a href="#chat" class="chat display-2" data-toggle="tooltip" title="Open/Close Support Chat"><h1><i class="fas fa-question-circle text-light chatToggle"></i></h1> </a>
</div>
<div class="modal fade" tabindex="-1" id="myModal">
<div class="modal-dialog">
<div class="modal-content" id="message_body">
<div class="modal-header">
<h5 class="modal-title text-muted">CUSTOMER REVIEW</h5>
</div>
<div class="modal-body">
<?php echo $review_status;?>
<p class="text-secondary">Hello, Please share your review with us. <br>
<small class="text-success">Thank you for choosing GemasGlamHome</small> <i class="fa fa-heart text-danger"></i></p>
</div>
<form method="POST" action="">
<div class="form-group">
<input type="text" name="reviewer" placeholder="enter your name" class="form-control" required="required"> <span><?php echo $name_error; ?></span>
</div>
<textarea class="form-control" placeholder="type your review here" required="required" cols="10" rows="5" name="comment" id="textarea"></textarea> <span><?php echo $comment_error; ?></span>
<div class="row">
<div class="col-lg-6 col-md-6 text-center">
<button type="submit" class="btn btn-warning btn-sm" name="review">POST REVIEW <i class="fas fa-arrow-circle-up"></i></button>
</div>
</div>
</form>
<div class="modal-footer justify-content-center">
<button type="button" class="btn btn-secondary" data-dismiss="modal">REVIEW LATER</button>
</div>
</div>
</div>
</div>
<!-- Modal HTML FOR DELIVERY TIMELINE -->
<div id="delivery-timeline" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Delivery Timeline Notification <i class="fas fa-bell"></i></h5>
</div>
<div class="modal-body">
<h5 class="text-muted">Delivery dates for all clothing items and other items ordered through the website are typically the same day or 1-2days for stock items. We can 'RUSH' orders if you need a quick delivery. We are fairly flexible and hope to accommodate as many orders as possible. To rush an order please contact us on WhatsApp <a href="https://wa.me/+256709655944" style="font-size: 30pt;"><i class="fab fa-whatsapp-square text-success"></i></a><small>click to whatsapp</small> or give a phone call <a href="tel:+256709655944" style="font-size: 30pt;"><i class="fas fa-phone-alt"></i></a><small>click to call</small><br>Thank You for choosing Gemasglam Home <i class="fas fa-heart text-danger"></i></h5>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">OK</button>
</div>
</div>
</div>
</div>
<!-- Modal HTML FOR PAYMENT METHODS -->
<div id="paymentmethod" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Payment Method Notification <i class="fas fa-bell"></i></h5>
</div>
<div class="modal-body">
<h5 class="text-muted">We apparently accept <b>Cash on Develivery</b> and <b>MTN Mobile Money</b> payments</h5> <h5 class="text-muted">In case you choose Mobile Money, please follow the steps that will guide you to complete your payment.<br>Thank You for choosing Gemasglam Home <i class="fas fa-heart text-danger"></i></h5>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">OK</button>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready( () => {
$(".chat").on("click", () => {
$(".showChat").slideToggle(1000);
$(".chatToggle").toggleClass("fas fa-question-circle");
$(".chatToggle").toggleClass("fas fa-times");
});
});
</script>
<a href="#top" class="tops"><i class="fas fa-arrow-circle-up"></i></a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="js/purejs.js"></script>
</body>
</html>