-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
612 lines (591 loc) · 21.7 KB
/
product.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
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
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
<!DOCTYPE html>
<html lang="en">
<head>
<title>Alchemy Rod | Products</title>
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="assets/img/favicon.png">
</head>
<body bgcolor="#404040" width="100%" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<font face="Roboto">
<!-- Navigation Bar -->
<table height="auto" width="100%" cellpadding="0" cellspacing="0">
<tr height="50px" bgcolor="#2F2F2F">
<!-- Logo and Company Name -->
<td width="60%">
<img src="assets/img/logo.png" alt="Alchemy Rod Logo" height="54" width="auto" hspace="20" vspace="10"/>
</td>
<!-- Navigation Links -->
<td width="40%" background="assets/img/right-nav.png">
<table height="auto" width="100%" cellpadding="15">
<tr>
<td width="19%">
<a href="index.html">
<font color="#F8F8F8" size="4">HOME</font>
</a>
<td width="24%">
<font color="#F1C677" size="4">PRODUCT</font>
</td>
<td width="20%">
<a href="sign_up.html">
<font color="#F8F8F8" size="4">SIGN UP</font>
</a>
</td>
<td width="35%">
<a href="contact.html">
<font color="#F8F8F8" size="4">CONTACT US</font>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Navigation Bar -->
<!-- Banner -->
<img src="assets/img/banner.jpg" alt="Banner" height="100%" width="100%"/>
<!-- END Banner -->
<div id="products-content">
<!-- Console Navigation Section -->
<table height="auto" width="100%" cellpadding="0" cellspacing="0">
<!-- Content -->
<tr width="100%" height="50px">
<td width="25%" align="center">
<a href="#">
<font color="#F4D38F" size="4">XBOX Games</font>
</a>
</td>
<td width="25%" align="center">
<a href="#">
<font color="#F4D38F" size="4">PS4 Games</font>
</a>
</td>
<td width="25%" align="center">
<a href="#">
<font color="#F4D38F" size="4">PSP Games</font>
</a>
</td>
<td width="25%" align="center">
<a href="#">
<font color="#F4D38F" size="4">PC Games</font>
</a>
</td>
</tr>
<!-- END Navigation Content -->
</table>
<!-- END Console Section -->
<hr width="90%" color="#95989A">
<!-- Featured Game Image -->
<div align="center">
<img src="assets/img/featured-game.png" alt="Friday the 13th" height="80%" width="80%"/>
</div>
<!-- END Featured Game Image -->
<!-- Content Section -->
<table height="auto" width="80%" cellpadding="0" cellspacing="0" align="center">
<tr>
<!-- Left Sidebar -->
<td width="25%" bgcolor="#000712">
<br><br>
<font color="#799395" size="5"><strong> Games</strong></font>
<hr width="210px" color="#95989A" align="center">
<font color="#799395" size="3">
<ul type="none">
<li>All Games</li>
<li>Full Games</li>
<li>Digital Only</li>
<li>Indies</li>
<li>Free to Play</li>
<li>Ultimate Editions</li>
<li>Bundles</li>
<li>PS2 Games</li>
<li>Classics</li>
<li>Cross Platform</li>
<li>Minis</li>
</ul>
</font>
<br><br>
<font color="#799395" size="5"><strong> Genre</strong></font>
<hr width="210px" color="#95989A" align="center">
<font color="#799395" size="3">
<ul type="none">
<li>Role Playing</li>
<li>Simulation</li>
<li>Adventure</li>
<li>Mystery</li>
<li>Strategy</li>
<li>Casual</li>
<li>Online</li>
<li>Multiplayer</li>
</ul>
</font>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</td>
<!-- END Left Sidebar -->
<!-- Products Grid -->
<td width="75%" bgcolor="#000E25">
<table height="auto" width="100%" cellpadding="0" cellspacing="40" align="center">
<tr>
<td width="33%" bgcolor="#404040">
<a href="pages/tekken-7.html">
<img src="assets/img/products/tekken-7.jpg" alt="Tekken 7" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Tekken" value="Tekken 7" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Tekken 7 - Deluxe <br> Version
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Bundle <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$53.12
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/morrowind.html">
<img src="assets/img/products/morrowind.jpg" alt="Morrowind" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Elder" value="The Elder Scrolls: Morrowind" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 The Elder Scrolls®<br> Online: Morrowind
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Bundle <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$45.35
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/ark.html">
<img src="assets/img/products/ark.jpg" alt="Ark" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Ark" value="Ark: Survival Evolved" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Ark: Survival Evolved<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$56.68
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" bgcolor="#404040">
<a href="pages/cars-3.html">
<img src="assets/img/products/cars-3.jpg" alt="Cars 3" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Cars" value="Cars 3: Driven to Win" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Cars 3: Driven to Win <br>
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$69.34
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/god-of-war.html">
<img src="assets/img/products/god-of-war.jpg" alt="God of War" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="God" value="God of War" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 God of War<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$85.54
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/skyrim.html">
<img src="assets/img/products/skyrim.jpg" alt="Skyrim" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="VR" value="The Elder Scrolls V" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 The Elder Scrolls V:<br> Skyrim® VR
</font>
<br><br>
<font color="#A8A6A6" size="3">
 PS VR Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$56.67
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" bgcolor="#404040">
<a href="pages/knack-2.html">
<img src="assets/img/products/knack-2.jpg" alt="Knack 2" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Knack" value="Knack 2" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Knack 2<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$37.47
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/matterfall.html">
<img src="assets/img/products/matterfall.jpg" alt="Matterfall" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Matterfall" value="Matterfall" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Matterfall<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 PSN Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$19.99
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/farcry-5.html">
<img src="assets/img/products/farcry5.jpg" alt="Farcry 5" height="100%" width="100%"/>
</a>
<!-- Input Box -->
<input type="checkbox" id="Farcry" value="Farcry" />
<!-- END Input Box -->
<font color="#FFFFFF" size="3">
 Farcry 5<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$59.99
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
</tr>
<!--
<tr>
<td width="33%" bgcolor="#404040">
<a href="pages/smite.html">
<img src="assets/img/products/smite.jpg" alt="The Victory Adventure Bundle" height="100%" width="100%"/>
</a>
<font color="#FFFFFF" size="3">
 The Victory Adventure<br> Bundle
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Bundle <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$11.99
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/hellblade.html">
<img src="assets/img/products/hellblade.jpg" alt="Hellblade: Senua’s Sacrifice" height="100%" width="100%"/>
</a>
<font color="#FFFFFF" size="3">
 Hellblade: Senua’s<br> Sacrifice
</font>
<br><br>
<font color="#A8A6A6" size="3">
 PSN Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$29.99
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
<td width="33%" bgcolor="#404040">
<a href="pages/gran-turismo.html">
<img src="assets/img/products/gran-turismo.jpg" alt="Gran Turismo Sport" height="100%" width="100%"/>
</a>
<font color="#FFFFFF" size="3">
 Gran Turismo Sport<br> 
</font>
<br><br>
<font color="#A8A6A6" size="3">
 Full Game <br> PS4
      
<img src="assets/img/icons/heart.png" alt="heart icon" height="25px" width="25px"/>
</font>
<br><br>
<table height="auto" width="100%" cellpadding="10" cellspacing="0">
<tr bgcolor="#292929">
<td>
<font color="#A6A9AA" size="3">
$59.99
</font>
  
<img src="assets/img/btn-cart.png" height="100%" width="50%"/>
</td>
</tr>
</table>
</td>
</tr>
-->
</table>
</td>
<!-- END Products Grid -->
</tr>
<tr>
<td width="25%" bgcolor="#000712">
<!-- Submit input -->
<td width="75%" bgcolor="#000E25" align="center">
</td>
<!-- END Submit input -->
</tr>
</table>
<!-- END Content Section -->
<div align="center">
<a onclick="myFunction()">
<br><br>
<br><br>
<img src="assets/img/btn-order-now.jpg" height="60" width="150"/>
</a>
</div>
</div>
<br><br><br><br><br>
<!-- Footer Section -->
<table height="auto" width="100%" cellpadding="0" cellspacing="0">
<tr height="auto" bgcolor="#252525">
<td align="center" >
<br><br>
<font color="#95989A" size="3">© Alchemy Rod</font>
<br>
<font color="#95989A" size="3">Developed and Designed by Joeylene Rivera</font>
<br><br>
<img src="assets/img/icons/instagram.png" height="50px" width="50px"/>
 
<img src="assets/img/icons/facebook.png" height="50px" width="50px"/>
 
<img src="assets/img/icons/twitter.png" height="50px" width="50px"/>
<br><br>
</td>
</tr>
</table>
<!-- END Footer Section -->
</font>
<script type="text/javascript">
function myFunction() {
//Initializing inputs from checkboxes
var cbTekken = document.getElementById("Tekken");
var cbElder = document.getElementById("Elder");
var cbArk = document.getElementById("Ark");
var cbCars = document.getElementById("Cars");
var cbGod = document.getElementById("God");
var cbVR = document.getElementById("VR");
var cbKnack = document.getElementById("Knack");
var cbMatterfall = document.getElementById("Matterfall");
var cbFarcry = document.getElementById("Farcry");
var totalPrice = 0;
var quantity = 0;
if (cbTekken.checked || cbElder.checked || cbArk.checked || cbCars.checked || cbGod.checked
|| cbVR.checked || cbKnack.checked || cbMatterfall.checked || cbFarcry.checked) {
//Computation of Quantity
var txt = prompt("Enter your name:","");
var innerHTMLvalue = "<table height='auto' width='100%' cellpadding='5' cellspacing='5'><thead><tr bgcolor='#252525'><th width='10%'></th><th>Item List</th><th>Quantity</th><th>Unit Price</th><th>Total Price</th><th width='10%'></th></tr></thead><tbody>";
if (cbTekken.checked) {
quantity = prompt("You have chose " + cbTekken.value +": $53.12, please enter quantity", "");
totalPrice += quantity * 53.12;
innerHTMLvalue += "<tr><td></td><td>" + cbTekken.value + "</td><td>     $53.12</td><td>   " + quantity + "</td><td>     $" + (quantity * 53.12).toFixed(2) +"</td><td></td></tr>";
}
if (cbElder.checked) {
quantity = prompt("You have chose " + cbElder.value +":$45.35, please enter quantity", "");
totalPrice += quantity * 45.35;
innerHTMLvalue += "<tr><td></td><td>" + cbElder.value + "</td><td>     $45.35</td><td>   " + quantity + "</td><td>     $" + (quantity * 45.35).toFixed(2) +"</td><td></td></tr>";
}
if (cbArk.checked) {
quantity = prompt("You have chose " + cbArk.value +"$56.68, please enter quantity", "");
totalPrice += quantity * 56.68;
innerHTMLvalue += "<tr><td></td><td>" + cbArk.value + "</td><td>     $56.68</td><td>   " + quantity + "</td><td>     $" + (quantity * 56.68).toFixed(2) +"</td><td></td></tr>";
}
if (cbCars.checked) {
quantity = prompt("You have chose " + cbCars.value +": $69.34, please enter quantity", "");
totalPrice += quantity * 69.34;
innerHTMLvalue += "<tr><td></td><td>" + cbCars.value + "</td><td>     $69.34</td><td>   " + quantity + "</td><td>     $" + (quantity * 69.34).toFixed(2) +"</td><td></td></tr>";
}
if (cbGod.checked) {
quantity = prompt("You have chose " + cbGod.value +":$85.54, please enter quantity", "");
totalPrice += quantity * 85.54;
innerHTMLvalue += "<tr><td></td><td>" + cbGod.value + "</td><td>     $85.54</td><td>   " + quantity + "</td><td>     $" + (quantity * 85.54).toFixed(2) +"</td><td></td></tr>";
}
if (cbVR.checked) {
quantity = prompt("You have chose " + cbVR.value +":$56.57, please enter quantity", "");
totalPrice += quantity * 56.57;
innerHTMLvalue += "<tr><td></td><td>" + cbVR.value + "</td><td>     $56.57</td><td>   " + quantity + "</td><td>     $" + (quantity * 56.57).toFixed(2) +"</td><td></td></tr>";
}
if (cbKnack.checked) {
quantity = prompt("You have chose " + cbKnack.value +":$37.47, please enter quantity", "");
totalPrice += quantity * 37.47;
innerHTMLvalue += "<tr><td></td><td>" + cbKnack.value + "</td><td>     $37.47</td><td>   " + quantity + "</td><td>     $" + (quantity * 37.47).toFixed(2) +"</td><td></td></tr>";
}
if (cbMatterfall.checked) {
quantity = prompt("You have chose " + cbMatterfall.value +":$19.99, please enter quantity", "");
totalPrice += quantity * 19.99
innerHTMLvalue += "<tr><td></td><td>" + cbMatterfall.value + "</td><td>     $19.99</td><td>   " + quantity + "</td><td>     $" + (quantity * 19.99).toFixed(2) +"</td><td></td></tr>";
}
if (cbFarcry.checked) {
quantity = prompt("You have chose " + cbFarcry.value +": $59.99, please enter quantity", "");
totalPrice += quantity * 59.99;
innerHTMLvalue += "<tr><td></td><td>" + cbFarcry.value + "</td><td>     $59.99</td><td>   " + quantity + "</td><td>     $" + (quantity * 59.99).toFixed(2) +"</td><td></td></tr>";
}
innerHTMLvalue += "<tr><td></td><td></td><td></td><td>   Total:</td><td>     $" + totalPrice.toFixed(2) +"</td><td></td></tr></tbody></table>";
var contentHTML = "<table height='auto' width='100%' cellpadding='0' cellspacing='0'><tr><td colspan='3' align='center'><br><br><font color='#F4D38F' size='5'>RECEIPT</font><hr width='160' color='95989A'><font color='#95989A' size='3'>Thank you for your purchase!<br></font><font color='#F4D38F' size='3'>Customer: "+ txt +"</font></td></tr></table><br><br><font size='3' color='#FFFFF'>" + innerHTMLvalue + "</font>";
document.getElementById("products-content").innerHTML = contentHTML;
} else {
alert("Please select a product before you order. Thank you!");
}
}
</script>
</body>
</html>