-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproducts.php
307 lines (295 loc) · 16 KB
/
products.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Products - E-commerce WEB</title>
<!--Bootstrap Style Link-->
<link rel="stylesheet" href="CSS/bootstrap.min.css">
<!--Custom Style Link-->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="productStyle.css">
<!--Font Awesome Style Link-->
<link rel="stylesheet" href="CSS/all.css">
<!--Google Font Link-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
<!--Top bar-->
<?php
include_once 'header.php';
?>
<div class="container">
<div class="row c_13">
<div class="">
<h4 class="font-weight-bold">All Products</h4>
</div>
<div class="ml-auto">
<select class="dropdown btn btn-light" aria-haspopup="true" aria-labelledby="false">
<option value="" class="dropdown-item">Defaut Shorting</option>
<option value="" class="dropdown-item">Short by price</option>
<option value="" class="dropdown-item">Short by popularity</option>
<option value="" class="dropdown-item">Short by rating</option>
<option value="" class="dropdown-item">Short by sale</option>
</select>
</div>
</div>
<div class="row c_3 c_14">
<div class="col-12 col-sm-3 mb-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-1.jpg" class="img-fluid d-block w-100">
</div>
<p class="card-title text-muted mt-1">Red Printed T-Shirt</p>
<span class="star"><i class="fas fa-star mr-1 mb-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$50.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger btn-sm mb-2 cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Red Printed T-Shirt by HRX">
<input type="hidden" name="Price" value="$50">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mb-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-2.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">HRX Sports Shoes</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$75.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger btn-sm mb-2 cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="HRX Sports Shoes">
<input type="hidden" name="Price" value="$75">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mb-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-3.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">HRX Gray Trackpants</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star-half-alt"></i></span>
<p class="card-text text-muted mt-1">$45.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 btn-sm cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="HRX Gray Trackpants">
<input type="hidden" name="Price" value="$45">
</div>
</form>
</div>
<div class="col-12 col-sm-3">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-4.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Blue Printed T-Shirt</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$5.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 btn-sm cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Blue Printed T-Shirt">
<input type="hidden" name="Price" value="$5">
</div>
</form>
</div>
</div>
</div>
<div class="container">
<div class="row c_3">
<div class="col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-5.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Puma Gray Sports Shoes</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$95.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 cart btn-sm mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Puma Gray Sports Shoes">
<input type="hidden" name="Price" value="$95">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-6.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Black Printed T-Shirt</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star-half-alt"></i></span>
<p class="card-text text-muted mt-1">$55.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 cart mt-2 btn-sm" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Black Printed T-Shirt">
<input type="hidden" name="Price" value="$55">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-7.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">HRX Set of 3 Socks</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star-half-alt"></i></span>
<p class="card-text text-muted mt-1">$30.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger btn-sm mb-2 cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="HRX Set of 3 Socks">
<input type="hidden" name="Price" value="$30">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-8.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Black Fossil Watch</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$120.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 btn-sm cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Black Fossil Watch">
<input type="hidden" name="Price" value="$120">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-9.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Black Sportx Watch</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$135.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 cart btn-sm mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Black Sportx Watch">
<input type="hidden" name="Price" value="$135">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-10.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Black HRX Shoes</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star-half-alt"></i></span>
<p class="card-text text-muted mt-2">$50.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 btn-sm cart mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Black HRX Shoes">
<input type="hidden" name="Price" value="$50">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-11.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">Gray Nike Shoes</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star-half-alt"></i></span>
<p class="card-text text-muted mt-1">$55.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 cart btn-sm mt-2" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="Gray Nike Shoes">
<input type="hidden" name="Price" value="$55">
</div>
</form>
</div>
<div class="col-12 col-sm-3 mt-5">
<a href="product1.php" class="text-decoration-none">
<div class="card border-0">
<div class="card-img">
<img src="images/product-12.jpg" class="img-fluid d-block">
</div>
<p class="card-title text-muted mt-1">HRX Black Trackpants</p>
<span class="star"><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="fas fa-star mr-1"></i><i class="far fa-star"></i></span>
<p class="card-text text-muted mt-1">$75.00</p>
</div>
</a>
<form action="manage_cart.php" method="POST">
<div>
<button type="submit" class="btn btn-outline-danger mb-2 cart mt-2 btn-sm" name="Add_To_Cart">Add To Cart</button>
<input type="hidden" name="Item_Name" value="HRX Black Trackpants">
<input type="hidden" name="Price" value="$75">
</div>
</form>
</div>
</div>
<div class="pg_btn">
<span>1</span>
<span class="ml-2">2</span>
<span class="ml-2">3</span>
<span class="ml-2">4</span>
<span class="ml-2">→</span>
</div>
</div>
<!--Modal-->
<?php
include_once 'modal.php';
?>
<!--Footer-->
<?php
include_once 'footer.php';
?>
<!--jquery Script Link-->
<script src="js/jquery-3.5.1.js"></script>
<!--Popper Script Link-->
<script src="js/popper.js"></script>
<!--Bootstrap JS Script Link-->
<script src="js/bootstrap.min.js"></script>
</body>
</html>