-
Notifications
You must be signed in to change notification settings - Fork 0
/
baoquan.php
377 lines (341 loc) · 16.3 KB
/
baoquan.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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html>
<head>
<!-- Basic -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Mobile Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Site Metas -->
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="" />
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>
Hướng dẫn bảo quản - SuitAble
</title>
<!-- slider stylesheet -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" />
<!-- bootstrap core css -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet" />
<!-- responsive style -->
<link href="css/responsive.css" rel="stylesheet" />
</head>
<body>
<?php
session_start();
if (isset($_SESSION['account'])) {
$let_Account = $_SESSION['account'];
} else {
$let_Account = null; // Hoặc giá trị mặc định nếu không đăng nhập
}
?>
<div class="hero_area">
<!-- header section strats -->
<header class="header_section">
<nav class="navbar navbar-expand-lg custom_nav-container ">
<a class="navbar-brand" href="index.php">
<span>
<img src="https://img.upanh.tv/2023/07/12/Suit_able_auto_x2.jpg" alt="Suit_able_auto_x2.jpg" border="0">
</span>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class=""></span>
</button>
<div class="collapse navbar-collapse innerpage_navbar" id="navbarSupportedContent">
<ul class="navbar-nav ">
<li class="nav-item">
<a class="nav-link" href="index.php">Home <span class="sr-only">(current)</span></a>
</li>
<a class="nav-link" href="ao.php">
áo
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="quan.php">
quần
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="bosuutap.php">
bộ sưu tập
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="lienhe.php">liên hệ</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="">chăm sóc khách hàng</a>
<ul class="sub-menu1">
<li><a class="nav-link" href="doitra.php">Chính sách đổi trả</a></li>
<li><a class="nav-link" href="baohanh.php">Chính sách bảo hành</a></li>
<li><a class="nav-link" href="thanhvien.php">Chính sách thành viên</a></li>
<li><a class="nav-link" href="vanchuyen.php">Chính sách vận chuyển</a></li>
<li><a class="nav-link" href="muahang.php">Hướng dẫn mua hàng</a></li>
<li><a class="nav-link" href="baoquan.php">Hướng dẫn bảo quản</a></li>
</ul>
</li>
</ul>
<div class="user_option">
<?php
// Kiểm tra xem người dùng đã đăng nhập hay chưa
if (isset($_SESSION['loged'])) {
echo '<span class="welcome-msg"> Xin chào ' . $_SESSION['name'] . ' <button><a href="logout.php">Đăng xuất</a></button> </span>';
}
else {
// Nếu chưa đăng nhập, hiển thị nội dung đăng nhập và đăng ký
echo '
<a href="login.php">
<i class="fa fa-user" aria-hidden="true"></i>
<span>
Đăng nhập
</span>
</a>
<a href="register.php">
<i class="fa fa-user2" aria-hidden="true"></i>
<span>
Đăng kí
</span>
</a>';
}
?>
<!-- Giỏ hàng -->
<div class="header__cart">
<div class="header__cart-wrap">
<i class="fa fa-shopping-bag" ></i>
<span class="header__cart-notice">
<?php
include "connect.php";
$sql = "SELECT Count(id) AS soLuong FROM tb_giohang";
$result = mysqli_query($conn, $sql);
$row1 = mysqli_fetch_assoc($result);
echo$row1['soLuong'];
?>
</span>
<!-- No cart: header__cart-list--no-cart -->
<div class="header__cart-list">
<img src="./no-cart.png" alt="" class="header__cart-no-cart-img">
<span class="header__cart-list-no-cart-msg">
Chưa có sản phẩm
</span>
<h4 class="header__cart-heading">Sản phẩm đã thêm</h4>
<ul class="header__cart-list-item">
<!-- cart item -->
<?php
include "connect.php";
$id_xoa_sp =0;
$sql = "SELECT * FROM tb_giohang gh
INNER JOIN sanpham sp ON sp.masp = gh.masp WHERE gh.taikhoanID = '$let_Account'";
$result = mysqLi_query($conn, $sql);
while($row = mysqLi_fetch_array($result)){
$id_xoa_sp = $row['id'] ?>
<li class="header__cart-item">
<img src=<?php echo$row['hinhanh1']?> alt="" class="header__cart-img">
<div class="header__cart-item-info">
<div class="header__cart-item-head">
<h5 class="header__cart-item-name"><?php echo$row['tensp']?></h5>
<div class="header__cart-item-price-wrap">
<span class="header__cart-item-price"><?php echo$row['giaca']?></span>
<span class="header__cart-item-multiply">x</span>
<span class="header__cart-item-qnt"><?php echo$row['SoLuong']?></span>
</div>
</div>
<div class="header__cart-item-body">
<span class="header__cart-item-description">
Phân loại: <?php echo$row['loai']?>
</span>
<form action="baoquan.php" method='post' enctype='multipart/form-data'>
<span class="header__cart-item-remove">
<input type='hidden' id='xoa_SP' name='id_xoa_sp' value="<?php echo$id_xoa_sp ?>">
<button class="btn nav_delete-btn" name='xoa_sp' type="submit">
Xóa
</button>
</span>
</form>
</div>
</div>
</li>
<?php } ?>
</ul>
<a href="gio-hang.php" class="header__cart-view-cart btn btn--primary">Xem giỏ hàng</a >
</div>
</div>
</div>
<form action="search.php" method="get" class="form-inline">
<input type="text" value="" placeholder="Nội dung tìm kiếm" name="noidungtimkiem" id="Timkiem" style="font-size: 12px; border: none; padding: 6px; margin-right: 12px;">
<button class="btn nav_search-btn" type="submit">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</form>
</div>
</div>
</nav>
</header>
<!-- end header section -->
</div>
<!-- end hero area -->
<!-- shop section -->
<section class="client_section layout_padding">
<div class="container">
<div class="heading_container heading_center">
<h2>
hướng dẫn bảo quản
</h2>
</div>
<p>Nhà SuitAble luôn tự hào là một trong những nhà sản xuất các sản phẩm thời trang với chất lượng tốt nhất và dành cho các bạn. Song, để kéo dài thời gian sử dụng cũng như giữ cho sản phẩm luôn đạt trạng thái tốt nhất, bạn nên có những phương pháp bảo quản và sử dụng hợp lý. Hôm nay, SuitAble sẽ giới thiệu đến các bạn một số phương pháp bảo quản sản phẩm một cách tốt nhất:</p>
</div>
<div class="container px-0">
<div id="customCarousel2" class="carousel carousel-fade" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="box">
<div class="client_info">
<div class="client_name">
<h5>
Cách giặt:
</h5>
<h6>
</h6>
</div>
<i class="fa fa-quote-left" aria-hidden="true"></i>
</div>
<p>- Giặt bề trái bên trong của sản phẩm.</p>
<p>- Giặt ở chế độ vừa, nhiệt độ nước dưới 30 độ.</p>
<p>- Phân loại đồ màu nhạt (trắng, kem, beige,…) và màu đậm (đen, đỏ, vàng,…) khi giặt để tránh trường hợp lem màu giữa các sản phẩm.</p>
<p>Lưu ý khi giặt:</p>
<p>- Khuyến khích sử dụng nước ở nhiệt độ thường.</p>
<p>- Tránh để bột giặt tiếp xúc trực tiếp lên hình in hoặc cả bề mặt vải (nên pha loãng trong nước trước khi bỏ áo vào).</p>
<p>- Nên sử dụng một lượng nước/bột giặt vừa đủ.</p>
<p>- Trong trường hợp giặt tay, không ngâm quá 15 phút để tránh gây hư hại cho sản phẩm.</p>
<p>- Đặc biệt nói không với việc dùng thuốc tẩy.</p>
</div>
</div>
<div class="carousel-item">
<div class="box">
<div class="client_info">
<div class="client_name">
<h5>
Cách phơi, ủi:
</h5>
<h6>
</h6>
</div>
<i class="fa fa-quote-left" aria-hidden="true"></i>
</div>
<p>- Khi phơi:</p>
<p>+ Luồn mắc áo từ dưới thân áo khi treo để tránh giãn, rộng áo vùng cổ và vai.</p>
<p>+ Không phơi trực tiếp dưới ánh mặt trời gắt, nên phơi vị trí thoáng mát, nắng dịu, nhiều gió.</p>
<p>+ Phơi bằng bề trái bên trong của sản phẩm.</p>
<p>- Khi ủi:</p>
<p>+ Tuyệt đối không ủi trực tiếp lên hình in trên áo.</p>
<p>+ Nên ủi từ mặt bên trong của áo.</p>
<p>+ Không nên ủi nhiệt độ quá cao, chọn nhiệt độ vừa phải để tránh làm tổn hại bề mặt áo.</p>
<p>Lưu ý đặc biệt:</p>
<p>- Không nên để sản phẩm ở những nơi ẩm ướt. Bởi với tính chất thấm hút tốt, đặc biệt là vải cotton, sản phẩm dễ ẩm mốc, sẽ xuất hiện những vết mốc, vết ố.</p>
<p>Mọi thắc mắc về Bảo quản sản phẩm, khách hàng vui lòng gọi đến Đường dây tiếp nhận phản hồi 0123 456 789 để được bộ phận bán hàng hướng dẫn và giải quyết.</p>
</div>
</div>
</div>
<div class="carousel_btn-box">
<a class="carousel-control-prev" href="#customCarousel2" role="button" data-slide="prev">
<i class="fa fa-angle-left" aria-hidden="true"></i>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#customCarousel2" role="button" data-slide="next">
<i class="fa fa-angle-right" aria-hidden="true"></i>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</section>
<!-- end shop section -->
<!-- info section -->
<section class="info_section layout_padding2-top">
<div class="social_container">
<div class="social_box">
<a href="https://www.facebook.com/profile.php?id=100094763028645&mibextid=ZbWKwL">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
<a href="https://twitter.com/Shop_Suit_Able">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
<a href="https://instagram.com/shopsuit_able?utm_source=qr&igshid=MzNlNGNkZWQ4Mg%3D%3D">
<i class="fa fa-instagram" aria-hidden="true"></i>
</a>
<a href="">
</a>
</div>
</div>
<div class="info_container ">
<div class="container">
<div class="row">
<div class="col-md-6 col-lg-3">
<h6>
SuitAble
</h6>
<p>
Thời trang trẻ trung, năng động, phong cách.
</p>
</div>
<div class="col-md-6 col-lg-3">
<div class="info_form ">
<h5>
Người dùng mới
</h5>
<form action="register.php">
<input type="email" placeholder="Enter your email">
<button>
Đăng kí ngay
</button>
</form>
</div>
</div>
<div class="col-md-6 col-lg-3">
<h6>
Hỗ trợ
</h6>
<p>
Đội ngũ của chúng tôi sẽ hỗ trợ tư vấn mọi thắc mắc, khó khăn của bạn trong thời gian sớm nhất có thể
</p>
</div>
<div class="col-md-6 col-lg-3">
<h6>
Liên hệ
</h6>
<div class="info_link-box">
<a>
<p> Quận 12, Thành phố Hồ Chí Minh </p>
</a>
<a>
<p>0123 456 789</p>
</a>
<a>
<p> shopsuitable.uth@gmail.com</p>
</a>
</div>
</div>
</div>
</div>
</div>
<?php
include "connect.php";
if(isset($_POST['xoa_sp'])){
$id_sp = $_POST['id_xoa_sp'];
$account = $_SESSION['account'];
$xoa_sp = "DELETE FROM tb_giohang WHERE id = '$id_sp'";
$check_result = mysqli_query($conn, $xoa_sp);
}
?>
</section>
<!-- end info section -->
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js">
</script>
<script src="js/custom.js"></script>
</body>
</html>