-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
351 lines (349 loc) · 11.5 KB
/
index.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
<?php include('server.php'); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width , initial-scale= 1.0">
<title>URcart | Ecommerce Website</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>
<div class="header">
<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html"><img src="images/logo.png" width="125px"></a>
</div>
<nav>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="products.php">Products</a></li>
<li><a href="login.php">Login</a></li>
<li><a href="signup.php">Signup</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</nav>
<a href="cart.html"><img src="images/cart.png" width="30px" height="30px"></a>
<img src="images/menu.png" class="menu-icon">
</div>
<div>
<?php if (isset($_SESSION['success'])): ?>
<div>
<p><?php echo $_SESSION['success']; ?></p>
<p><?php unset($_SESSION['success']); ?></p>
</div>
<?php endif ?>
<?php if (isset($_SESSION["name"])): ?>
<p><strong><?php echo $_SESSION['name']; ?></strong></p>
<p><a href="index.php?logout='1'">Logout</a></p>
<?php endif ?>
</div>
<div class="row">
<div class="col-2">
<h1>Give Your Workout<br> A New Style!</h1>
<p>Success isn't always about greatness. It's about
consistency. Consistent<br> hardwork gains success. Greatness
will come.</p>
<a href="products.php" class="btn">Explore Now →</a>
</div>
<div class="col-2">
<img src="images/image1.png">
</div>
</div>
</div>
</div>
<!-----featured categories---->
<div class="categories">
<div class="small-container">
<div class="row">
<div class="col-3">
<img src="images/category-1.jpg">
</div>
<div class="col-3">
<img src="images/category-2.jpg">
</div>
<div class="col-3">
<img src="images/category-3.jpg">
</div>
</div>
</div>
</div>
<!-----featured products---->
<div class="small-container">
<h2 class="title">Featured Products</h2>
<div class="row">
<div class="col-4">
<img src="images/product-1.jpg">
<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">
<img src="images/product-2.jpg">
<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-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">
<img src="images/product-3.jpg">
<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-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<img src="images/product-4.jpg">
<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>
<h2 class="title">Latest Products</h2>
<div class="row">
<div class="col-4">
<img src="images/product-5.jpg">
<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">
<img src="images/product-6.jpg">
<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-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">
<img src="images/product-7.jpg">
<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-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<img src="images/product-8.jpg">
<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>
<div class="row">
<div class="col-4">
<img src="images/product-9.jpg">
<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">
<img src="images/product-10.jpg">
<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-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">
<img src="images/product-11.jpg">
<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-half-o" aria-hidden="true"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<img src="images/product-12.jpg">
<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>
</div>
<!-----offer---->
<div class="offer">
<div class="small-container">
<div class="row">
<div class="col-2">
<img src="images/exclusive.png" class="offer-img">
</div>
<div class="col-2">
<p>Exclusively available on Urcart</p>
<h1>Smart band 4</h1>
<small>The band features 40% larger(than band 3) AMOLED color full-touch display with adjustable brightness, so everything is clear as can be.<small>
<a href="" class="btn">Buy Now →</a>
</div>
</div>
</div>
</div>
<!-----testimonial---->
<div class="testimonial">
<div class="small-container">
<div class="row">
<div class="col-3">
<i class="fa fa-quote-left" aria-hidden="true"></i>
<p>The number of lines in a paragraph depends on the size of the browser window. If you resize the browser window, the number of lines in this paragraph will change.</p>
<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>
<img src="images/user-1.png">
<h3>Bella Phillip</h3>
</div>
<div class="col-3">
<i class="fa fa-quote-left" aria-hidden="true"></i>
<p>The number of lines in a paragraph depends on the size of the browser window. If you resize the browser window, the number of lines in this paragraph will change.</p>
<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>
<img src="images/user-2.png">
<h3>Brendon Urie</h3>
</div>
<div class="col-3">
<i class="fa fa-quote-left" aria-hidden="true"></i>
<p>The number of lines in a paragraph depends on the size of the browser window. If you resize the browser window, the number of lines in this paragraph will change.</p>
<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>
<img src="images/user-3.png">
<h3>Mabel Smith</h3>
</div>
</div>
</div>
</div>
<!-----brands---->
<div class="brands">
<div class="small-container">
<div class="row">
<div class="col-5">
<img src="images/logo-godrej.png">
</div>
<div class="col-5">
<img src="images/logo-oppo.png">
</div>
<div class="col-5">
<img src="images/logo-coca-cola.png">
</div>
<div class="col-5">
<img src="images/logo-paypal.png">
</div>
<div class="col-5">
<img src="images/logo-philips.png">
</div>
</div>
</div>
</div>
<!-----footer---->
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download our app</h3>
<p>Download app for android and ios device</p>
</div>
<div class="footer-col-2">
<img src="images/logo-white.png">
<p>Our purpose is to sustainabily make the pleasure and benefits and lifestyle products accessible to the many.</p>
</div>
<div class="footer-col-3">
<h3>Useful Links</h3>
<ul>
<li>Coupons</li>
<li>Blog Post</li>
<li>Retuen Policy</li>
<li>Join Affiliate</li>
</ul>
</div>
<div class="footer-col-3">
<h3>Follow Us</h3>
<ul>
<li>Facebook</li>
<li>Twitter</li>
<li>Instagram</li>
<li>YouTube</li>
</ul>
</div>
</div>
<hr>
<p class="copyright">Copyright 2020 Urcart</p>
</div>
</div>
</body>
</html>