-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout4.html
488 lines (390 loc) · 21.6 KB
/
checkout4.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Universal Your furniture Shop">
<meta name="author" content="Ondrej Svestka | ondrejsvestka.cz, modified by Shang Gao Deakin Uni June 2018.">
<meta name="keywords" content="">
<title>
Universal : Your Furniture Shop
</title>
<meta name="keywords" content="">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100' rel='stylesheet' type='text/css'>
<!-- styles -->
<link href="css/font-awesome.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/owl.carousel.css" rel="stylesheet">
<link href="css/owl.theme.css" rel="stylesheet">
<!-- theme stylesheet -->
<link href="css/style.default.css" rel="stylesheet" id="theme-stylesheet">
<!-- your stylesheet with modifications -->
<link href="css/custom.css" rel="stylesheet">
<script src="js/respond.min.js"></script>
<link rel="shortcut icon" href="favicon.png">
</head>
<body>
<!-- *** TOPBAR ***
_________________________________________________________ -->
<div id="top">
<div class="container">
<div class="col-md-6 offer" data-animate="fadeInDown">
<a href="#" class="btn btn-success btn-sm" data-animate-hover="shake">Offer of the day</a> <a href="#">Get flat 35% off on orders over $500!</a>
</div>
<div class="col-md-6" data-animate="fadeInDown">
<ul class="menu">
<li><a href="#" data-toggle="modal" data-target="#login-modal">Login</a>
</li>
<li><a href="register.html">Register</a>
</li>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
<div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="Login" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="Login">Customer login</h4>
</div>
<div class="modal-body">
<form id="loginForm" method = "get" action="">
<div class="form-group">
<input type="text" class="form-control" id="loginEmail" name = "loginEmail" placeholder="email">
</div>
<div class="form-group">
<input type="password" class="form-control" id="loginPassword" name = "loginPassword" placeholder="password">
</div>
<p class="text-center">
<button type="button" id = "loginSubmit" onclick = "Login()" class="btn btn-primary"><i class="fa fa-sign-in"></i> Log in</button>
</p>
</form>
<p class="text-center text-muted">Not registered yet?</p>
<p class="text-center text-muted"><a href="register.html"><strong>Register now</strong></a>! It is easy and done in 1 minute and gives you access to special discounts and much more!</p>
</div>
</div>
</div>
</div>
</div>
<!-- *** TOP BAR END *** -->
<!-- *** NAVBAR ***
_________________________________________________________ -->
<div class="navbar navbar-default yamm" role="navigation" id="navbar">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand home" href="index.html" data-animate-hover="bounce">
<img src="img/logo.png" alt="Universal logo" class="hidden-xs">
<img src="img/logo-small.png" alt="Universal logo" class="visible-xs"><span class="sr-only">Universal - go to homepage</span>
</a>
<div class="navbar-buttons">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-align-justify"></i>
</button>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#search">
<span class="sr-only">Toggle search</span>
<i class="fa fa-search"></i>
</button>
<a class="btn btn-default navbar-toggle" href="basket.php">
<i class="fa fa-shopping-cart"></i> <span class="hidden-xs"> items in cart</span>
</a>
</div>
</div>
<!--/.navbar-header -->
<div class="navbar-collapse collapse" id="navigation">
<ul class="nav navbar-nav navbar-left">
<li class="active"><a href="index.html">Home</a>
</li>
<li class="dropdown yamm-fw">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="200">Shop <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<div class="yamm-content">
<div class="row">
<div class="col-sm-6"> <!-- col-sm-3 is changed to col-sm-6 by Shang-->
<h5>Furniture</h5>
<ul>
<li><a href="shop-furniture.html?value=Chairs">Chairs</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=Beds">Beds</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=Tables">Tables</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=Storage">Storage</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
</ul>
</div>
<div class="col-sm-6"> <!-- col-sm-3 is changed to col-sm-6 by Shang-->
<h5>Accessories</h5>
<ul>
<li><a href="shop-furniture.html?value=HomeDeco">Home Deco</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=TextilesRugs">Textiles & Rugs</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=Lighting">Lighting</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=PlantpotsStands">Plant pots & Stands</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
</ul>
</div>
</div>
</div>
<!-- /.yamm-content -->
</li>
</ul>
</li>
<li class="dropdown yamm-fw">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="200">Site <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<div class="yamm-content">
<div class="row">
<div class="col-sm-3">
<h5>Shop</h5>
<ul>
<li><a href="index.html">Homepage</a>
</li>
<li><a href="shop-furniture.html?value=furniture">Shop - furniture</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
<li><a href="shop-furniture.html?value=accessories">Shop - accessories</a> <!-- href changed by Wentao Yan at 01/08/2018 -->
</li>
</ul>
</div>
<div class="col-sm-3">
<h5>User</h5>
<ul>
<li><a href="#" id = "register.html" onclick = "CheckLogin(this)" >Register / login</a>
</li>
<li><a href="#" id = "customer-orders.php" onclick = "CheckLogin(this)">Orders history</a>
</li>
<!--<li><a href="customer-order.php" onclick = "CheckLogin(this.value)">Order history detail</a>
</li> -->
<li><a href="#" id = "customer-account.php" onclick = "CheckLogin(this)">Customer account / change password</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h5>Order process</h5>
<ul>
<li><a href="basket.php">Shopping cart</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h5>Information</h5>
<ul>
<li><a href="aboutus.html">About us</a>
</li>
<li><a href="terms.html">Terms and conditions</a>
</li>
<li><a href="faq.html">FAQ</a>
</li>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</div>
<!-- /.yamm-content -->
</li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
<div class="navbar-buttons">
<div class="navbar-collapse collapse right" id="basket-overview">
<a href="basket.php" class="btn btn-primary navbar-btn"><i class="fa fa-shopping-cart"></i><span id = "itemAmount" class="hidden-sm"></span></a>
</div>
<!--/.nav-collapse -->
<div class="navbar-collapse collapse right" id="search-not-mobile">
<button type="button" class="btn navbar-btn btn-primary" data-toggle="collapse" data-target="#search">
<span class="sr-only">Toggle search</span>
<i class="fa fa-search"></i>
</button>
</div>
</div>
<div class="collapse clearfix" id="search">
<form class="navbar-form" role="search">
<div class="input-group">
<input id = "searchtarget" type="text" class="form-control" placeholder="Search" onkeyup="showResult(this.value)">
<span class="input-group-btn">
<button type="button" class="btn btn-primary" onclick = "search()"><i class="fa fa-search"></i></button>
</span>
</div>
<div id="livesearch"></div>
</form>
</div>
<!--/.nav-collapse -->
</div>
<!-- /.container -->
</div>
<!-- /#navbar -->
<!-- *** NAVBAR END *** -->
<div id="all">
<div id="content">
<div class="container">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="index.html">Home</a>
</li>
<li>Checkout - Order confirmation</li>
</ul>
</div>
<div class="col-md-12" id="checkout">
<div class="box">
<!-- <form method="post" action="checkout3.html"> -->
<h1>Order confirmed</h1>
<div class="content">
<div class="table-responsive">
<p> Thank you! Your order is confirmed.</p>
<p>You will receive email when your order has shipped. </p>
<p id = "temp" style="color: red;"></p>
</div>
<!-- /.table-responsive -->
</div>
<!-- /.content -->
<div class="box-footer">
<!-- <div class="pull-left">
<a href="customer-order.html" class="btn btn-default"><i class="fa fa-chevron-left"></i>View or manage your order</a>
</div> -->
<div class="pull-left">
<!-- <button type="submit" class="btn btn-primary">View or manage your order<!-- <i class="fa fa-chevron-right"></i>
</button> -->
<a href = "" id = "customerOrder" class="btn btn-primary">View or manage your order</a>
</div>
</div>
<!-- </form> -->
</div>
<!-- /.box -->
</div>
</div>
<!-- /.container -->
</div>
<!-- /#content -->
<!-- *** FOOTER ***
_________________________________________________________ -->
<div id="footer" data-animate="fadeInUp">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<h4>Information</h4>
<ul>
<li><a href="aboutus.html">About us</a>
</li>
<li><a href="terms.html">Terms and conditions</a>
</li>
<li><a href="faq.html">FAQ</a>
</li>
<li><a href="contact.html">Contact us</a>
</li>
</ul>
<hr>
<h4>User section</h4>
<ul>
<li><a href="#" data-toggle="modal" data-target="#login-modal">Login</a>
</li>
<li><a href="register.html">Regiter</a>
</li>
</ul>
<hr class="hidden-md hidden-lg hidden-sm">
</div>
<!-- /.col-md-3 -->
<div class="col-md-3 col-sm-6">
<h4>Top categories</h4>
<h5>Furniture</h5>
<ul>
<li><a href="shop-furniture.html">Chairs</a>
</li>
<li><a href="shop-furniture.html">Beds</a>
</li>
<li><a href="shop-furniture.html">Tables</a>
</li>
<li><a href="shop-furniture.html">Storage</a>
</li>
</ul>
<h5>Accessories</h5>
<ul>
<li><a href="shop-accessories.html">Home Deco</a>
</li>
<li><a href="shop-accessories.html">Textiles & Rugs</a>
</li>
<li><a href="shop-accessories.html">Lighting</a>
</li>
<li><a href="shop-accessories.html">Plant pots & Stands</a>
</li>
</ul>
<hr class="hidden-md hidden-lg">
</div>
<!-- /.col-md-3 -->
<div class="col-md-3 col-sm-6">
<h4>Where to find us</h4>
<p><strong>Universal Ltd.</strong>
<br>500 Main Street
<br>Geelong
<br>Victoria 3200
<br>
<strong>Australia</strong>
</p>
<a href="contact.html">Go to contact page</a>
<hr class="hidden-md hidden-lg">
</div>
<!-- /.col-md-3 -->
<div class="col-md-3 col-sm-6">
<h4>Stay in touch</h4>
<p class="social">
<a href="#" class="facebook external" data-animate-hover="shake"><i class="fa fa-facebook"></i></a>
<a href="#" class="twitter external" data-animate-hover="shake"><i class="fa fa-twitter"></i></a>
<a href="#" class="instagram external" data-animate-hover="shake"><i class="fa fa-instagram"></i></a>
<a href="#" class="gplus external" data-animate-hover="shake"><i class="fa fa-google-plus"></i></a>
<a href="#" class="email external" data-animate-hover="shake"><i class="fa fa-envelope"></i></a>
</p>
</div>
<!-- /.col-md-3 -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#footer -->
<!-- *** FOOTER END *** -->
<!-- *** COPYRIGHT ***
_________________________________________________________ -->
<div id="copyright">
<div class="container">
<div class="col-md-6">
<p class="pull-left">© 2018 Universal Ltd.</p>
</div>
<div class="col-md-6">
<p class="pull-right">Template by <a href="https://bootstrapious.com/e-commerce-templates">Bootstrapious.com</a>
<!-- Not removing these links is part of the license conditions of the template. Thanks for understanding :) If you want to use the template without the attribution links, you can do so after supporting further themes development at https://bootstrapious.com/donate -->
</p>
</div>
</div>
</div>
<!-- *** COPYRIGHT END *** -->
</div>
<!-- /#all -->
<!-- *** SCRIPTS TO INCLUDE ***
_________________________________________________________ -->
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/bootstrap-hover-dropdown.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/front.js"></script>
<!-- script added by Wentao Yan at 03/09/2018 -->
<script src = "js/getProducts.js"></script>
<script src="js/ValidateInput.js"></script>
<script src = "php/functions.inc.php?action=showAmount"></script>
<script src = "php/functions.inc.php?action=jumpToResponse"></script>
<script src = "php/functions.inc.php?action=showTempInfo"></script>
</body>
</html>