-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetails.php
161 lines (124 loc) · 4.23 KB
/
details.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
<!DOCTYPE html>
<html lang="en">
<?php
include ("partials/head.php");
?>
<body class="animsition">
<?php
include ("partials/header.php");
?>
<!-- breadcrumb -->
<div class="container">
</div>
<!-- Product Detail -->
<section class="sec-product-detail bg0 p-t-65 p-b-60">
<div class="container">
<div class="row">
<?php
include("partials/conect.php");
$id=$_GET['details_id'];
$sql="Select * from products where id='$id'";
$results=$conect->query($sql);
$final=$results->fetch_assoc();
?>
<div class="col-md-6 col-lg-7 p-b-30">
<div class="p-l-25 p-r-30 p-lr-0-lg">
<div class="wrap-slick3 flex-sb flex-w">
<div class="wrap-slick3-dots"></div>
<div class="wrap-slick3-arrows flex-sb-m flex-w"></div>
<div class="slick3 gallery-lb">
<div class="item-slick3" data-thumb="<?php echo $final['picture'] ?>">
<div class="wrap-pic-w pos-relative" style="height: 600px">
<img src="<?php echo $final['picture'] ?>" alt="IMG-PRODUCT">
<a class="flex-c-m size-108 how-pos1 bor0 fs-16 cl10 bg0 hov-btn3 trans-04" href="<?php echo $final['picture'] ?>">
<i class="fa fa-expand"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-lg-5 p-b-30">
<div class="p-r-50 p-t-5 p-lr-0-lg">
<h4 class="mtext-105 cl2 js-name-detail p-b-14">
<?php echo $final['name'] ?>
</h4>
<span class="mtext-106 cl2">
$<?php echo $final['price'] ?>
</span>
<p class="stext-102 cl3 p-t-23">
<?php echo $final['description'] ?>
</p>
<!-- -->
<div class="p-t-33">
<div class="flex-w flex-r-m p-b-10">
<div class="size-204 flex-w flex-m respon6-next">
<div class="wrap-num-product flex-w m-r-20 m-tb-10">
<div class="btn-num-product-down 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" name="num-product" value="1">
<div class="btn-num-product-up cl8 hov-btn3 trans-04 flex-c-m">
<i class="fs-16 zmdi zmdi-plus"></i>
</div>
</div>
<button onclick="location.href='carthandler.php?cart_id=<?php echo $final['id'] ?>&cart_name=<?php echo $final['name'] ?>&cart_price=<?php echo $final['price'] ?>'" class="flex-c-m stext-101 cl0 size-101 bg1 bor1 hov-btn1 p-lr-15 trans-04 js-addcart-detail">
Add to cart
</button>
</div>
</div>
</div>
<!-- -->
<div class="flex-w flex-m p-l-100 p-t-40 respon7">
<a href="#" class="fs-14 cl3 hov-cl1 trans-04 lh-10 p-lr-5 p-tb-2 m-r-8 tooltip100" data-tooltip="Facebook">
<i class="fa fa-facebook"></i>
</a>
<a href="#" class="fs-14 cl3 hov-cl1 trans-04 lh-10 p-lr-5 p-tb-2 m-r-8 tooltip100" data-tooltip="Twitter">
<i class="fa fa-twitter"></i>
</a>
<a href="#" class="fs-14 cl3 hov-cl1 trans-04 lh-10 p-lr-5 p-tb-2 m-r-8 tooltip100" data-tooltip="Google Plus">
<i class="fa fa-google-plus"></i>
</a>
</div>
</div>
</div>
</div>
<div class="bor10 m-t-50 p-t-43 p-b-40">
<!-- Tab01 -->
<div class="tab01">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item p-b-10">
<a class="nav-link active" data-toggle="tab" href="#description" role="tab">Description</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content p-t-43">
<!-- - -->
<div class="tab-pane fade show active" id="description" role="tabpanel">
<div class="how-pos2 p-lr-15-md">
<p class="stext-102 cl6">
<?php echo $final['description'] ?>
</div>
</div>
<!-- - -->
</div>
</div>
</div>
<div class="bg6 flex-c-m flex-w size-302 m-t-73 p-tb-15">
<span class="stext-107 cl6 p-lr-25">
SKU: JAK-01
</span>
<span class="stext-107 cl6 p-lr-25">
Categories: Jacket, Men
</span>
</div>
</section>
<!-- Related Products -->
<!-- Footer -->
<?php
include('partials/footer.php');
?>
</body>
</html>