-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
498 lines (444 loc) · 17.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<?php include_once('includes/meta.php'); ?>
</head>
<body>
<?php include_once('includes/nav.php'); ?>
<!-- END nav -->
<div class="hero-wrap js-fullheight" style="background-image: url('images/photo/image11.jpg');">
<!-- <div class="overlay"></div> -->
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-center">
<h3 class="v">Apparel</h3>
<h3 class="vr">Since - 2016</h3>
<div class="col-md-11 ftco-animate text-center">
<!-- <img class="img" src="images/logo1.png" alt="" style="max-width: 88%;"> -->
</div>
<!-- <div class="mouse">
<a href="#" class="mouse-icon">
<div class="mouse-wheel"><span class="ion-ios-arrow-down"></span></div>
</a>
</div> -->
</div>
</div>
</div>
<div class="goto-here"></div>
<section class="ftco-section-parallax" style="background-color: #000;">
<div class="parallax-img d-flex align-items-center">
<div class="container">
<div class="row d-flex justify-content-center py-5">
<div class="col-md-7 text-center heading-section ftco-animate">
<h1 class="big">Hot New </h1>
<h2>Arrivals</h2>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-product" style="background-color: #000;">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="product-slider owl-carousel ftco-animate">
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-1.jpg" alt="Colorlib Template">
<span class="status">30%</span>
</a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span class="mr-2 price-dc">R120.00</span><span class="price-sale">R80.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-2.jpg" alt="Colorlib Template"></a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-3.jpg" alt="Colorlib Template"></a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-4.jpg" alt="Colorlib Template"></a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img src="images/product-5.jpg" alt="Colorlib Template">
<span class="status">30%</span>
</a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span class="mr-2 price-dc">R120.00</span><span class="price-sale">R80.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="product">
<a href="#" class="img-prod"><img src="images/product-6.jpg" alt="Colorlib Template"></a>
<div class="text pt-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-section-more img" style="background-image: url(images/photo/sale.jpg);">
<div class="container">
<div class="row justify-content-center mb-3 pb-3">
<div class="col-md-12 heading-section ftco-animate">
<h2>Collection</h2>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-no-pb ftco-no-pt " style="background-color: #000;">
<div class="container">
<div class="row">
<div class="col-md-5 p-md-5 img img-2 d-flex justify-content-center align-items-center" style="background-image: url(images/photo/image8.jpg);">
<a href="https://vimeo.com/45830194" class="icon popup-vimeo d-flex justify-content-center align-items-center">
<span class="icon-play"></span>
</a>
</div>
<div class="col-md-7 py-5 wrap-about pb-md-5 ftco-animate">
<div class="heading-section-bold mb-5 mt-md-5">
<div class="ml-md-0">
<h2 class="mb-4" style="color: #fff;">Modist <br>Online <br> <span style="color: #fff;">Fashion Shop</span></h2>
</div>
</div>
<div class="pb-md-5">
<p style="color: #fff;">On her way she met a copy. The copy warned the Little Blind Text, that where it came from it would have been rewritten a thousand times and everything that was left from its origin would be the word "and" and the Little Blind Text should turn around and return to its own, safe country. But nothing the copy said could convince her and so it didn’t take long until a few insidious Copy Writers ambushed her, made her drunk with Longe and Parole and dragged her into their agency, where they abused her for their.</p>
<p style="color: #fff;">When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then she continued her way.</p>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section-parallax" style="background-color: #000;">
<div class="parallax-img d-flex align-items-center">
<div class="container">
<div class="row d-flex justify-content-center py-5">
<div class="col-md-7 text-center heading-section ftco-animate">
<h1 class="big">On Sale </h1>
<h2>Best Of the bunch</h2>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section " style="background-color: #000;">
<div class="container-fluid">
<div class="row">
<div class="col-sm col-md-6 col-lg ftco-animate">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-1.jpg" alt="Colorlib Template"></a>
<div class="text py-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="product-single" class="add-to-cart" ><span>View </i></span></a>
</p>
</div>
</div>
</div>
<div class="col-sm col-md-6 col-lg ftco-animate">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-2.jpg" alt="Colorlib Template"></a>
<div class="text py-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
<div class="col-sm col-md-6 col-lg ftco-animate">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-3.jpg" alt="Colorlib Template"></a>
<div class="text py-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
<div class="col-sm col-md-6 col-lg ftco-animate">
<div class="product">
<a href="#" class="img-prod"><img class="img-fluid" src="images/product-4.jpg" alt="Colorlib Template"></a>
<div class="text py-3 px-3">
<h3><a href="#">Young Woman Wearing Dress</a></h3>
<div class="d-flex">
<div class="pricing">
<p class="price"><span>R120.00</span></p>
</div>
</div>
<hr>
<p class="bottom-area d-flex">
<a href="#" class="add-to-cart"><span>View </i></span></a>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-section-more img" style="background-image: url(images/photo/sale.jpg);">
<div class="container">
<div class="row justify-content-center mb-3 pb-3">
<div class="col-md-12 heading-section ftco-animate">
<h2>Collection</h2>
</div>
</div>
</div>
</section>
<!-- <section class="ftco-section ftco-counter img" id="section-counter" style="background-image: url(images/bg_4.jpg);">
<div class="container">
<div class="row justify-content-center py-5">
<div class="col-md-10">
<div class="row">
<div class="col-md-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<strong class="number" data-number="10000">0</strong>
<span>Happy Customers</span>
</div>
</div>
</div>
<div class="col-md-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<strong class="number" data-number="100">0</strong>
<span>Branches</span>
</div>
</div>
</div>
<div class="col-md-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<strong class="number" data-number="1000">0</strong>
<span>Partner</span>
</div>
</div>
</div>
<div class="col-md-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<strong class="number" data-number="100">0</strong>
<span>Awards</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section> -->
<section class="ftco-section-parallax" style="background-color: #000;">
<div class="parallax-img d-flex align-items-center">
<div class="container">
<div class="row d-flex justify-content-center py-5">
<div class="col-md-7 text-center heading-section ftco-animate">
<h1 class="big">Subscribe</h1>
<h2>Subcribe to our Newsletter</h2>
<div class="row d-flex justify-content-center mt-5">
<div class="col-md-8">
<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>
</div>
</div>
</div>
</section>
<footer class="ftco-footer ftco-section" style="background-color: black;">
<?php include_once('includes/footer.php'); ?>
</footer>
<!-- loader -->
<div id="ftco-loader" class="show fullscreen"><img class="img" src="images/logo1.png" alt="" style="max-width: 22%;display: block;margin-left: auto;margin-right: auto;width: 50%;margin-top: 15%;"></div>
<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>
<script>
/* Open the sidenav */
function openNav() {
document.getElementById("mySidenav").style.width = "100%";
}
/* Close/hide the sidenav */
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
<script>
var check = false;
function changeVal(el) {
var qt = parseFloat(el.parent().children(".qt").html());
var price = parseFloat(el.parent().children(".price").html());
var eq = Math.round(price * qt * 100) / 100;
el.parent().children(".full-price").html( eq + " Rands" );
changeTotal();
}
function changeTotal() {
var price = 0;
$(".full-price").each(function(index){
price += parseFloat($(".full-price").eq(index).html());
});
price = Math.round(price * 100) / 100;
var tax = Math.round(price * 0.05 * 100) / 100
var shipping = parseFloat($(".shipping span").html());
var fullPrice = Math.round((price + tax + shipping) *100) / 100;
if(price == 0) {
fullPrice = 0;
}
$(".subtotal span").html(price);
$(".tax span").html(tax);
$(".total span").html(fullPrice);
}
$(document).ready(function(){
$(".remove").click(function(){
var el = $(this);
el.parent().parent().addClass("removed");
window.setTimeout(
function(){
el.parent().parent().slideUp('fast', function() {
el.parent().parent().remove();
if($(".product2").length == 0) {
if(check) {
$("#cart").html("<h1>The shop does not function, yet!</h1><p>If you liked my shopping cart, please take a second and heart this Pen on <a href='https://codepen.io/ziga-miklic/pen/xhpob'>CodePen</a>. Thank you!</p>");
} else {
$("#cart").html("<h1>No products!</h1>");
}
}
changeTotal();
});
}, 200);
});
$(".qt-plus").click(function(){
$(this).parent().children(".qt").html(parseInt($(this).parent().children(".qt").html()) + 1);
$(this).parent().children(".full-price").addClass("added");
var el = $(this);
window.setTimeout(function(){el.parent().children(".full-price").removeClass("added"); changeVal(el);}, 150);
});
$(".qt-minus").click(function(){
child = $(this).parent().children(".qt");
if(parseInt(child.html()) > 1) {
child.html(parseInt(child.html()) - 1);
}
$(this).parent().children(".full-price").addClass("minused");
var el = $(this);
window.setTimeout(function(){el.parent().children(".full-price").removeClass("minused"); changeVal(el);}, 150);
});
window.setTimeout(function(){$(".is-open").removeClass("is-open")}, 1200);
$(".btn2").click(function(){
check = true;
$(".remove").click();
});
});
</script>
<?php include_once('includes/cartscript.php'); ?>
</body>
</html>