-
Notifications
You must be signed in to change notification settings - Fork 0
/
product-detail.php
454 lines (399 loc) · 21.9 KB
/
product-detail.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content="" />
<meta name="author" content="Dreacot">
<title>GameTrade.ng | Product Details</title>
<link href="https://fonts.googleapis.com/css?family=Raleway:400,700,800,900" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.ico" />
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/css/infinite-slider.css" rel="stylesheet">
<link href='assets/fonts/FontAwesome.otf' rel='stylesheet' type='text/css'>
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/animate.css" rel="stylesheet">
<link href="assets/css/w3.css" rel="stylesheet">
<link href="assets/css/hover-min.css" rel="stylesheet">
</head>
<body>
<!-- <preloader> -->
<div id="preloader">
<div class="spinner spinner-round"></div>
</div>
<!-- site header-->
<?php if (!isset($_SESSION['user'])){ ?>
<?php include 'header_beforelogin.php';?>
<?php } else { ?>
<?php include 'header_afterlogin.php';?>
<?php } ?>
<main class="site-main">
<section class="hero_area2">
<div class="middle2 text-center" style=" padding: 10px;">
<div class="">
<h1 style=" margin-bottom: 1.5rem;"> All Products</h1>
</div>
<div>
<ul class="breadcrumb">
<li><a href="index.php">Home</a></li>
<li>Products</li>
<li>Games</li>
<li>PS3</li>
</ul>
</div>
</div>
</section>
<section>
<div class="container bgwhite p-t-35 p-b-80">
<div class="flex-w flex-sb">
<div class="w-size13 p-t-30 respon5">
<div class="wrap-slick3 flex-sb flex-w">
<div class="slick3 slick-initialized slick-slider slick-dotted">
<div class="slick-list draggable">
<div class="slick-track">
<div class="item-slick3 slick-slide slick-current slick-active"
data-thumb="images/thumb-item-01.jpg" data-slick-index="0"
aria-hidden="false" tabindex="0" role="tabpanel" id="slick-slide10"
aria-describedby="slick-slide-control10"
style="width: 501px; position: relative; left: 0px; top: 0px; z-index: 999; opacity: 1;">
<div class="wrap-pic-w">
<img src="assets/img/ps3/killzone3.jpg" width="100%" height="100%"
alt="IMG-PRODUCT">
</div>
</div>
</div>
</div>
=
</div>
</div>
</div>
<div class="w-size14 p-t-30 respon5">
<h4 class="product-detail-name m-text16 bold">
KILLZONE 3
</h4>
<div class="p-b-45">
<span class="s-text8 m-r-35">SKU: USED-01</span>
<span class="s-text8">Categories: USED . PS3</span>
</div>
<span class="m-text17 bold">
₦5,499
</span>
<span class="m-text14" style="text-decoration:line-through">
₦5,999
</span>
<span class="m-text14" style="color:brown">
You save ₦500
</span>
<!-- -->
<div class="p-t-33 p-b-60">
<div class="flex-r-m flex-w p-t-10 p-b-13">
<div class="w-size16 flex-m flex-w">
<div class="wrap-num-product flex-w m-l-auto m-r-0">
<div class="btn-num-product-down2 cl8 hov-btn3 trans-04 flex-c-m">
<i class="fs-16 zmdi zmdi-minus"></i>
</div>
<input class="mtext-104 cl3 txt-center num-product" type="number" id="quantity2"
name="num-product2" value="1" min="1" max="100">
<div class="btn-num-product-up2 cl8 hov-btn3 trans-04 flex-c-m">
<i class="fs-16 zmdi zmdi-plus"></i>
</div>
</div>
</div>
<div><i class="fa fa-heart-o fa-3x wishlistpointer" title="Add to wishlist"
data-toggle="modal" data-target="#wishlistModal"></i></div>
</div>
<div class="text-center">
<button type="submit" class="button" data-toggle="modal" data-target="#cartModal"
style="width:100%;">
<span><span>ADD TO CART</span></span></button>
</div>
</div>
<!-- -->
<div class="wrap-dropdown-content bo6 p-t-15 p-b-14 active-dropdown-content">
<h5 class="js-toggle-dropdown-content flex-sb-m cs-pointer m-text19 color0-hov trans-0-4">
Description
<i class="down-mark fs-12 color1 fa fa-minus dis-none" aria-hidden="true"></i>
<i class="up-mark fs-12 color1 fa fa-plus" aria-hidden="true"></i>
</h5>
<div class="dropdown-content dis-none p-t-15 p-b-23">
<p class="s-text8">
Fusce ornare mi vel risus porttitor dignissim. Nunc eget risus at ipsum blandit
ornare vel sed velit. Proin gravida arcu nisl, a dignissim mauris placerat
</p>
</div>
</div>
<div class="wrap-dropdown-content bo7 p-t-15 p-b-14">
<h5 class="js-toggle-dropdown-content flex-sb-m cs-pointer m-text19 color0-hov trans-0-4">
Shipping
<i class="down-mark fs-12 color1 fa fa-minus dis-none" aria-hidden="true"></i>
<i class="up-mark fs-12 color1 fa fa-plus" aria-hidden="true"></i>
</h5>
<div class="dropdown-content dis-none p-t-15 p-b-23">
<p class="s-text8">
<ul>
<li><i class="fa fa-truck" style="color:brown"></i> Pay on Delivery
Available</li>
<li><i class="fa fa-bolt" style="color:brown"></i> Express Delivery Available
</li>
<li><i class="fa fa-home" style="color:brown"></i> GameTrade Warehouse</li>
</ul>
</p>
</div>
</div>
<div class="wrap-dropdown-content bo7 p-t-15 p-b-14">
<h5 class="js-toggle-dropdown-content flex-sb-m cs-pointer m-text19 color0-hov trans-0-4">
Return Policy
<i class="down-mark fs-12 color1 fa fa-minus dis-none" aria-hidden="true"></i>
<i class="up-mark fs-12 color1 fa fa-plus" aria-hidden="true"></i>
</h5>
<div class="dropdown-content dis-none p-t-15 p-b-23">
<p class="s-text8">
Returns only allowed for defected items
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="col-md-12 container-fluid mt-30 pb-30">
<h1 class="black text-center pb-30 bold">
ITEMS YOU MAY LIKE
</h1>
<div class="container-fluid">
<div class="col-md-2 new ">
<div class=" game-box">
<div class="game-picture">
<img src="assets/img/xbox1/nfsplayback.jpg" alt="Need For Speed" width="100%"
height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">NEED FOR SPEED: PAYBACK</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">₦21,499</p>
</div>
<div class="add" style=" float: left">
<button class="game-button btn" data-toggle="modal" data-target="#cartModal"><i
class=""></i></button>
</div>
</div>
</div>
</div>
<div class="col-md-2 new">
<div class=" game-box">
<div class="game-picture">
<img src="assets/img/xbox1/nba2k18.jpg" alt="Nba 2k18" width="100%" height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">NBA 2K18</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">₦16,499</p>
</div>
<div class="add" style=" float: left">
<button class="game-button btn" data-toggle="modal" data-target="#cartModal"><i
class=""></i></button>
</div>
</div>
</div>
</div>
<div class="col-md-2 used">
<div class="game-box">
<div class="game-picture">
<img src="assets/img/xbox1/fifa17.jpg" alt="Fifa 17" width="100%" height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">FIFA 17</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">₦7,999</p>
</div>
<div class="add" style=" float: left">
<button class="game-button btn" data-toggle="modal" data-target="#cartModal"><i
class=""></i></button>
</div>
</div>
</div>
</div>
<div class="col-md-2 used">
<div class=" game-box">
<div class="game-picture">
<img src="assets/img/xbox1/cod-legacy.jpg" alt="Cod-Legacy" width="100%" height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">CALL OF DUTY: LEGACY EDITION</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">₦9,499</p>
</div>
<div class="add" style=" float: left">
<button class="game-button btn" data-toggle="modal" data-target="#cartModal"><i
class=""></i></button>
</div>
</div>
</div>
</div>
<div class="col-md-2 trade">
<div class=" game-box">
<div class="game-picture">
<img src="assets/img/xbox1/watchdogs.jpg" alt="Watch Dogs" width="100%" height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">WATCH DOGS</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">EX</p>
</div>
<div class="add" style=" float: left">
<a href="trade.php#ex" target="blank"><button
class="game-button btn"><i></i></button></a>
</div>
</div>
</div>
</div>
<div class="col-md-2 used">
<div class="game-box">
<div class="game-picture">
<img src="assets/img/xbox1/theevilwithin.jpg" alt="The Evil Within" width="100%"
height="100%">
</div>
<div class="game-name">
<i class="fa fa-heart-o wishlistpointer" title="Add to wishlist" data-toggle="modal"
data-target="#wishlistModal"></i>
<p class="block2-name">THE EVIL WITHIN</p>
<h6 class="block2-name" style="font-size:9px">USED . XBOX ONE
</h6>
</div>
<div class=" game-info" style="width: 100%;">
<div class="" style=" float: right">
<p class=" notice">₦6,999</p>
</div>
<div class="add" style=" float: left">
<button class="game-button btn" data-toggle="modal" data-target="#cartModal"><i
class=""></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- <site footer> -->
<?php include 'footer.php';?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
<script src="assets/js/carousel.js"></script>
<script src="assets/js/preloader.js"></script>
<script src="assets/js/jquery.easing.min.js"></script>
<script type="text/javascript">
$('.active-dropdown-content .js-toggle-dropdown-content').toggleClass('show-dropdown-content');
$('.active-dropdown-content .dropdown-content').slideToggle('fast');
$('.js-toggle-dropdown-content').on('click', function() {
$(this).toggleClass('show-dropdown-content');
$(this).parent().find('.dropdown-content').slideToggle('fast');
});
</script>
<script type="text/javascript">
$('.wishlistpointer').on('click', function(e) {
e.preventDefault();
$(this).addClass('fa-heart gblack');
$(this).removeClass('fa-heart-o');
$(this).off('click');
});
</script>
<script type="text/javascript">
function myFunction() {
var nameProduct = $('.game-name').find('.block2-name').html();
document.getElementById("wishlistText").innerHTML = nameProduct;
var nameProduct = $('.game-name').find('.block2-name').html();
document.getElementById("cartText").innerHTML = nameProduct;
}
</script>
<!--Wishlist Modal -->
<div class="modal fade" id="wishlistModal" role="dialog">
<div class="modal-dialog modal-sm modal-wishlist">
<div class="modal-content">
<div class="wishlist-icon wishlist-icon--success">
<span class="wishlist-icon--success__line wishlist-icon--success__line--long"></span>
<span class="wishlist-icon--success__line wishlist-icon--success__line--tip"></span>
<div class="wishlist-icon--success__ring"></div>
<div class="wishlist-icon--success__hide-corners"></div>
</div>
<div class="wishlist-title" style="">
<span id="wishlistText"></span>
</div>
<div class="wishlist-text text-center" style="">is added to wishlist !</div>
<div class="wishlist-footer">
<div class="wishlist-button-container">
<button class="wishlist-button wishlist-button--confirm " data-dismiss="modal">OK</button>
<div class="wishlist-button__loader">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Cart Modal -->
<div class="modal fade" id="cartModal" role="dialog">
<div class="modal-dialog modal-sm modal-cart">
<div class="modal-content">
<div class="cart-icon cart-icon--success">
<span class="cart-icon--success__line cart-icon--success__line--long"></span>
<span class="cart-icon--success__line cart-icon--success__line--tip"></span>
<div class="cart-icon--success__ring"></div>
<div class="cart-icon--success__hide-corners"></div>
</div>
<div class="cart-title" style="">
<span id="cartText"></span>
</div>
<div class="cart-text text-center" style="">is added to cart !</div>
<div class="cart-footer">
<div class="cart-button-container">
<button class="cart-button cart-button--confirm " data-dismiss="modal">OK</button>
<div class="cart-button__loader">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>