-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.php
More file actions
294 lines (262 loc) · 10.4 KB
/
home.php
File metadata and controls
294 lines (262 loc) · 10.4 KB
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
<?php
include 'components/connection.php';
session_start();
if (isset($_SESSION['user_id'])) {
$user_id = $_SESSION['user_id'];
} else {
$user_id = '';
}
if (isset($_POST['logout'])) {
session_destroy();
header("location:home.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="style.css">
<title>MyWebsite</title>
</head>
<body>
<?php include './components/header.php'; ?>
<div class="main">
<section class="home-section">
<div class="slider">
<div class="slider__slider slide1">
<div class="overlay">
</div>
<div class="slider-detail">
<h1>Who is this man</h1>
<p>this product is very healthy for body</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- slide end -->
<div class="slider__slider slide2">
<div class="overlay">
</div>
<div class="slider-detail">
<h1>Welcome to my shop</h1>
<p>this product is very healthy for body</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- slide end -->
<div class="slider__slider slide3">
<div class="overlay">
</div>
<div class="slider-detail">
<h1>Who is this man</h1>
<p>this product is very healthy for body</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- slide end -->
<div class="slider__slider slide4">
<div class="overlay">
</div>
<div class="slider-detail">
<h1>Who is this man</h1>
<p>this product is very healthy for body</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- slide end -->
<div class="slider__slider slide5">
<div class="overlay">
</div>
<div class="slider-detail">
<h1>Who is this man</h1>
<p>this product is very healthy for body</p>
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="hero-dec-top"></div>
<div class="hero-dec-bottom"></div>
</div>
<!-- slide end -->
<div class="left-arrow"><i class="bx bxs-left-arrow"></i></div>
<div class="right-arrow"><i class="bx bxs-right-arrow"></i></div>
</div>
</section>
<!-- home slider end -->
<section class="thumb">
<div class="box-container">
<div class="box">
<img src="img/thumb.jpg" alt="">
<h3>Green tea</h3>
<p>this product is very healthy for body</p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb0.jpg" alt="">
<h3>Green tea</h3>
<p>this product is very healthy for body</p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb1.jpg" alt="">
<h3>Green tea</h3>
<p>this product is very healthy for body</p>
<i class="bx bx-chevron-right"></i>
</div>
<div class="box">
<img src="img/thumb2.jpg" alt="">
<h3>Green tea</h3>
<p>this product is very healthy for body</p>
<i class="bx bx-chevron-right"></i>
</div>
</div>
</section>
<!-- thumb section end -->
<section class="container">
<div class="box-container">
<div class="box">
<img src="img/about-us.jpg" alt="">
</div>
<div class="box">
<img src="img/download.png" alt="">
<span>healthy tea</span>
<h1>save up to 50% off</h1>
<p> save your money and stay healthy</p>
</div>
</div>
</section>
<section class="shop">
<div class="title">
<img src="img/download.png" alt="">
<h1>Trending Products</h1>
</div>
<div class="row">
<img src="img/about.jpg" alt="">
<div class="row-detail">
<img src="img/basil.jpg" alt="">
<div class="top-footer">
<h1>a cup of green tea makes you healthy</h1>
</div>
</div>
</div>
<div class="box-container">
<div class="box">
<img src="img/card.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card0.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card1.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/card2.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/10.jpg" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
<div class="box">
<img src="img/6.webp" alt="">
<a href="view_products.php" class="btn">shop now</a>
</div>
</div>
</section>
<!-- <section class="shop-category">
<div class="box-container">
<div class="box">
<img src="img/6.jpg" alt="">
<div class="detail">
<span>BIG OFFERS</span>
<h1>Extra 15% off</h1>
<a href="view_products.php" class="btn">shop now</a>
</div>
</div>
<div class="box">
<img src="img/7.jpg" alt="">
<div class="detail">
<span>new in taste</span>
<h1>coffee house</h1>
<a href="view_products.php" class="btn">shop now</a>
</div>
</div>
<div class="box">
<img src="img/6.jpg" alt="">
<div class="detail">
<span>BIG OFFERS</span>
<h1>Extra 15% off</h1>
<a href="view_products.php" class="btn">shop now</a>
</div>
</div>
</div>
</section> -->
<section class="services">
<div class="box-container">
<div class="box">
<img src="img/icon2.png" alt="">
<div class="detail">
<h3>great savings</h3>
<p>Save big every order</p>
</div>
</div>
<div class="box">
<img src="img/icon1.png" alt="">
<div class="detail">
<h3>24*7 support</h3>
<p>one-on-one support</p>
</div>
</div>
<div class="box">
<img src="img/icon0.png" alt="">
<div class="detail">
<h3>gift vouchers</h3>
<p>vouchers on every festivals</p>
</div>
</div>
<div class="box">
<img src="img/icon.png" alt="">
<div class="detail">
<h3>world wide delivery</h3>
<p>dropship world wide</p>
</div>
</div>
</div>
</section>
<section class="brand">
<div class="box-container">
<div class="box">
<img src="img/brand (1).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (2).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (3).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (4).jpg" alt="">
</div>
<div class="box">
<img src="img/brand (5).jpg" alt="">
</div>
</div>
</section>
<?php include 'components/footer.php'; ?>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="./script.js"></script>
<?php include './components/alert.php'; ?>
</body>
</html>