-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·534 lines (456 loc) · 24.2 KB
/
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
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
<?php
include "navigation_bar.php";
?>
<section id="home-section" class="hero">
<div class="home-slider owl-carousel">
<div class="slider-item" style="background-image: url(images/index_page_1.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text justify-content-center align-items-center" data-scrollax-parent="true">
<div class="col-md-12 ftco-animate text-center">
<h1 class="mb-2">We serve Original Products</h1>
<h2 class="subheading mb-4">We deliver At your Location productss</h2>
</div>
</div>
</div>
</div>
<div class="slider-item" style="background-image: url(images/index_page_2.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text justify-content-center align-items-center" data-scrollax-parent="true">
<div class="col-sm-12 ftco-animate text-center">
<h1 class="mb-2">100% Real Products</h1>
<h2 class="subheading mb-4">We deliver At Your Location Products</h2>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section">
<div class="container">
<div class="row no-gutters ftco-services">
<div class="col-md-3 text-center d-flex align-self-stretch ftco-animate">
<div class="media block-6 services mb-md-0 mb-4">
<div class="icon bg-color-1 active d-flex justify-content-center align-items-center mb-2">
<span class="flaticon-shipped"></span>
</div>
<div class="media-body">
<h3 class="heading">Free Shipping</h3>
<span>On order over ₹100</span>
</div>
</div>
</div>
<div class="col-md-3 text-center d-flex align-self-stretch ftco-animate">
<div class="media block-6 services mb-md-0 mb-4">
<div class="icon bg-color-2 d-flex justify-content-center align-items-center mb-2">
<span class="flaticon-box"></span>
</div>
<div class="media-body">
<h3 class="heading">E-Shop Assured</h3>
<span>100% Assured Products</span>
</div>
</div>
</div>
<div class="col-md-3 text-center d-flex align-self-stretch ftco-animate">
<div class="media block-6 services mb-md-0 mb-4">
<div class="icon bg-color-3 d-flex justify-content-center align-items-center mb-2">
<span class="flaticon-award"></span>
</div>
<div class="media-body">
<h3 class="heading">Superior Quality</h3>
<span>Quality Products</span>
</div>
</div>
</div>
<div class="col-md-3 text-center d-flex align-self-stretch ftco-animate">
<div class="media block-6 services mb-md-0 mb-4">
<div class="icon bg-color-4 d-flex justify-content-center align-items-center mb-2">
<span class="flaticon-customer-service"></span>
</div>
<div class="media-body">
<h3 class="heading">Support</h3>
<span>24/7 Support</span>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-category ftco-no-pt">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-md-6 order-md-last align-items-stretch d-flex">
<div class="category-wrap-2 ftco-animate img align-self-stretch d-flex" style="background-image: url(images/category.jpg);">
<div class="text text-center">
<h2>Electronics</h2>
<p>Make Life Easier</p>
<p><a href="Eletronics.php" class="btn btn-primary">Shop now</a></p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="category-wrap ftco-animate img mb-4 d-flex align-items-end" style="background-image: url(images/apple_11_pro.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="Eletronics.php">SmartPhones</a></h2>
</div>
</div>
<div class="category-wrap ftco-animate img d-flex align-items-end" style="background-image: url(images/allian_ware.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="Eletronics.php">Gamming Laptops</a></h2>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="category-wrap ftco-animate img mb-4 d-flex align-items-end" style="background-image: url(images/storage.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="Eletronics.php">Storage Devices</a></h2>
</div>
</div>
<div class="category-wrap ftco-animate img d-flex align-items-end" style="background-image: url(images/headphones.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="Eletronics.php">Headphones</a></h2>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-category ftco-no-pt">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-md-6 order-md-last align-items-stretch d-flex">
<div class="category-wrap-2 ftco-animate img align-self-stretch d-flex" style="background-image: url(images/catagory2.png);">
<div class="text text-center">
<h2>Clothings</h2>
<p>Be The Trending One</p>
<p><a href="menscloth.php" class="btn btn-primary">Shop now</a></p>
</div>
</div>
</div>
<div class="col-md-6">
<div class="category-wrap ftco-animate img mb-4 d-flex align-items-end" style="background-image: url(images/mens_clothing.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="menscloth.php">Men's Clothing</a></h2>
</div>
</div>
<div class="category-wrap ftco-animate img d-flex align-items-end" style="background-image: url(images/kids_clothing.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="kids.php">Kids Clothing</a></h2>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="category-wrap ftco-animate img mb-4 d-flex align-items-end" style="background-image: url(images/womens_clothong.jpeg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="women_cloth.php">Woman Clothing</a></h2>
</div>
</div>
<div class="category-wrap ftco-animate img d-flex align-items-end" style="background-image: url(images/beauty.jpg);">
<div class="text px-3 py-1">
<h2 class="mb-0"><a href="helthandbeauty.php">Beauty Products</a></h2>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section">
<div class="container">
<div class="row justify-content-center mb-3 pb-3">
<div class="col-md-12 heading-section text-center ftco-animate">
<span class="subheading">Featured Products</span>
<h2 class="mb-4">Our Products</h2>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia</p>
</div>
</div>
</div>
<div class="container">
<div class="row">
<?php
include 'mysqlconnection.php';
$conn = openconnection();
$query = 'select * from special_product';
$response = $conn->query($query);
$catagory = 'special_product';
if ($response->num_rows > 0) {
// output data of each row
while($row = $response->fetch_assoc()) {
?>
<div class="col-md-6 col-lg-3 ftco-animate">
<div class="product" >
<a href="product_detail.php?id=<?= $row['id'] ?>&catagory=<?= $catagory ?>" class="img-prod"><img class="img-fluid" src="
<?php
echo $row["image_path"];
?>
" alt="Colorlib Template">
<span class="status">
<?php
echo $row["price_original"];
?>
</span>
<div class="overlay"></div>
</a>
<div class="text py-3 pb-4 px-3 text-center">
<h3><a href="#">
<?php
echo $row["name"];
?>
</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span class="mr-2 price-dc">
<?php
echo $row["price_original"];
?>
</span><span class="price-sale">
<?php
echo $row["price_onsite"];
?>
</span></p>
</div>
</div>
<div class="bottom-area d-flex px-3">
<div class="m-auto d-flex">
<a href="#" class="buy-now d-flex justify-content-center align-items-center mx-1">
<span><i class="ion-ios-cart"></i></span>
</a>
<a href="#" class="heart d-flex justify-content-center align-items-center ">
<span><i class="ion-ios-heart"></i></span>
</a>
</div>
</div>
</div>
</div>
</div>
<?php
}
} else {
echo "0 results";
}
closeconnection($conn);
?>
</div>
</div>
</section>
<section class="ftco-section img" style="background-image: url(images/bg_3.jpg);">
<div class="container">
<div class="row justify-content-end">
<div class="col-md-6 heading-section ftco-animate deal-of-the-day ftco-animate">
<span class="subheading">Best Price For You</span>
<h2 class="mb-4">Deal of the day</h2>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia</p>
<h3><a href="#">Spinach</a></h3>
<span class="price">$10 <a href="#">now $5 only</a></span>
</div>
</div>
</div>
</section>
<section class="ftco-section testimony-section">
<div class="container">
<div class="row justify-content-center mb-5 pb-3">
<div class="col-md-7 heading-section ftco-animate text-center">
<span class="subheading">Testimony</span>
<h2 class="mb-4">Our satisfied customer says</h2>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in</p>
</div>
</div>
<div class="row ftco-animate">
<div class="col-md-12">
<div class="carousel-testimony owl-carousel">
<div class="item">
<div class="testimony-wrap p-4 pb-5">
<div class="user-img mb-5" style="background-image: url(images/person_1.jpg)">
<span class="quote d-flex align-items-center justify-content-center">
<i class="icon-quote-left"></i>
</span>
</div>
<div class="text text-center">
<p class="mb-5 pl-4 line">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
<p class="name">Garreth Smith</p>
<span class="position">Marketing Manager</span>
</div>
</div>
</div>
<div class="item">
<div class="testimony-wrap p-4 pb-5">
<div class="user-img mb-5" style="background-image: url(images/person_2.jpg)">
<span class="quote d-flex align-items-center justify-content-center">
<i class="icon-quote-left"></i>
</span>
</div>
<div class="text text-center">
<p class="mb-5 pl-4 line">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
<p class="name">Garreth Smith</p>
<span class="position">Interface Designer</span>
</div>
</div>
</div>
<div class="item">
<div class="testimony-wrap p-4 pb-5">
<div class="user-img mb-5" style="background-image: url(images/person_3.jpg)">
<span class="quote d-flex align-items-center justify-content-center">
<i class="icon-quote-left"></i>
</span>
</div>
<div class="text text-center">
<p class="mb-5 pl-4 line">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
<p class="name">Garreth Smith</p>
<span class="position">UI Designer</span>
</div>
</div>
</div>
<div class="item">
<div class="testimony-wrap p-4 pb-5">
<div class="user-img mb-5" style="background-image: url(images/person_1.jpg)">
<span class="quote d-flex align-items-center justify-content-center">
<i class="icon-quote-left"></i>
</span>
</div>
<div class="text text-center">
<p class="mb-5 pl-4 line">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
<p class="name">Garreth Smith</p>
<span class="position">Web Developer</span>
</div>
</div>
</div>
<div class="item">
<div class="testimony-wrap p-4 pb-5">
<div class="user-img mb-5" style="background-image: url(images/person_1.jpg)">
<span class="quote d-flex align-items-center justify-content-center">
<i class="icon-quote-left"></i>
</span>
</div>
<div class="text text-center">
<p class="mb-5 pl-4 line">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
<p class="name">Garreth Smith</p>
<span class="position">System Analyst</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<hr>
<section class="ftco-section ftco-no-pt ftco-no-pb py-5 bg-light">
<div class="container py-4">
<div class="row d-flex justify-content-center py-5">
<div class="col-md-6">
<h2 style="font-size: 22px;" class="mb-0">Subcribe to our Newsletter</h2>
<span>Get e-mail updates about our latest shops and special offers</span>
</div>
<div class="col-md-6 d-flex align-items-center">
<form action="#" class="subscribe-form">
<div class="form-group d-flex">
<input type="text" class="form-control" placeholder="Enter email address">
<input type="submit" value="Subscribe" class="submit px-3">
</div>
</form>
</div>
</div>
</div>
</section>
<footer class="ftco-footer ftco-section">
<div class="container">
<div class="row">
<div class="mouse">
<a href="#" class="mouse-icon">
<div class="mouse-wheel"><span class="ion-ios-arrow-up"></span></div>
</a>
</div>
</div>
<div class="row mb-5">
<div class="col-md">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">E-SHOP</h2>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia.</p>
<ul class="ftco-footer-social list-unstyled float-md-left float-lft mt-5">
<li class="ftco-animate"><a href="#"><span class="icon-twitter"></span></a></li>
<li class="ftco-animate"><a href="#"><span class="icon-facebook"></span></a></li>
<li class="ftco-animate"><a href="#"><span class="icon-instagram"></span></a></li>
</ul>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4 ml-md-5">
<h2 class="ftco-heading-2">About</h2>
<ul class="list-unstyled">
<li><a href="#" class="py-2 d-block">Contact Us</a></li>
<li><a href="#" class="py-2 d-block">About</a></li>
<li><a href="#" class="py-2 d-block">Carrer</a></li>
<li><a href="#" class="py-2 d-block">Story</a></li>
</ul>
</div>
</div>
<div class="col-md-4">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">Help</h2>
<div class="d-flex">
<ul class="list-unstyled mr-l-5 pr-l-3 mr-4">
<li><a href="#" class="py-2 d-block">Payments</a></li>
<li><a href="#" class="py-2 d-block">Returns & Exchange</a></li>
<li><a href="#" class="py-2 d-block">Terms & Conditions</a></li>
<li><a href="#" class="py-2 d-block">Privacy Policy</a></li>
</ul>
<ul class="list-unstyled">
<li><a href="#" class="py-2 d-block">FAQs</a></li>
<li><a href="#" class="py-2 d-block">Contact</a></li>
</ul>
</div>
</div>
</div>
<div class="col-md">
<div class="ftco-footer-widget mb-4">
<h2 class="ftco-heading-2">Have a Questions?</h2>
<div class="block-23 mb-3">
<ul>
<li><span class="icon icon-map-marker"></span><span class="text">203 Fake St. Mountain View,Pune, Maharashtra, India</span></li>
<li><a href="#"><span class="icon icon-phone"></span><span class="text">+91 9146570180</span></a></li>
<li><a href="#"><span class="icon icon-envelope"></span><span class="text">[email protected]</span></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This Site is made with <i class="icon-heart color-danger" aria-hidden="true"></i> by <a href="welcome.html" target="_blank">SSM Group</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</footer>
<!-- loader -->
<div id="ftco-loader" class="show fullscreen"><svg class="circular" width="48px" height="48px"><circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/><circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10" stroke="#F96D00"/></svg></div>
<script>
</script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
<script src="js/google-map.js"></script>
<script src="js/main.js"></script>
</body>
</html>