-
Notifications
You must be signed in to change notification settings - Fork 1
/
products.php
195 lines (192 loc) · 6.52 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
<?php include('server.php');
// if user isn't login then can't access the page
if (empty($_SESSION['name'])) {
header('location: login.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width , initial-scale= 1.0">
<title> All Products -URcart </title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,300&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<?php include('header.php'); ?>
<div class="small-container">
<div class="row row-2">
<h2>All Products</h2>
<select>
<option>Default Sorting</option>
<option>Sort by price</option>
<option>Sort by popularity</option>
<option>Sort by ratings</option>
<option>Sort by sale</option>
</select>
</div>
<div class="row">
<div class="col-4">
<a href="pd.php"><img src="images/product-1.jpg"></a>
<h4>Red Printed T-Shirt</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd1.php"><img src="images/p2.1.webp"></a>
<h4>Men Yellow Printed Round Neck T-Shirt</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$30.00</p>
</div>
<div class="col-4">
<a href="pd2.php"><img src="images/p3.webp"></a>
<h4>Men Sea Green Solid Round Neck T-shirt</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd3.php"><img src="images/p4.webp"></a>
<h4>Men Navy Blue Colourblocked Hooded Slim Fit T-shirt</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
</div>
<div class="row">
<div class="col-4">
<a href="pd4.php"><img src="images/p5.webp"></a>
<h4>Women Grey Printed Top</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd5.php"><img src="images/p6.webp"></a>
<h4>Women White Solid Top</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd6.php"><img src="images/p7.webp"></a>
<h4>Women Teal Blue Solid Top</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd7.php"><img src="images/p8.jpg"></a>
<h4>Women Solid Styled Top</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
</div>
<div class="row">
<div class="col-4">
<a href="pd8.php"><img src="images/p9.webp"></a>
<h4>Men Off-White & Blue Shoes</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd9.php"><img src="images/p10.webp"></a>
<h4>Puma Men Black Sneakers</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd10.php"><img src="images/p11.webp"></a>
<h4>Nike Women Training Shoes</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<a href="pd11.php"><img src="images/p12.webp"></a>
<h4>El Paso Sports Shoes</h4>
<div class="ratings">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
</div>
<div class="page-btn">
<span>1</span>
<a href="products1.php"><span>2</span></a>
<span>3</span>
<span>4</span>
<span>→</span>
</div>
</div>
<!-----footer---->
<?php include('footer.php'); ?>
</body>
</html>