-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorder.php
188 lines (179 loc) · 8.66 KB
/
order.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
<?php require_once "./loading.php"; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/header.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/product.css">
<link rel="stylesheet" href="./css/groupcate.css">
<link rel="stylesheet" href="./css/menu.css">
<link rel="stylesheet" href="./css/grounpfeature.css">
<!-- <link rel="stylesheet" href="./css/modal-card.css"> -->
<link rel="stylesheet" href="./css/modal-info-product.css">
<link rel="stylesheet" href="./css/footer.css">
<link rel="stylesheet" href="./css/modal_oder.css">
<link rel="stylesheet" href="./css/infoProduct.css">
<link rel="stylesheet" href="./css/Oder.css">
<link rel="stylesheet" href="./css/slider.css">
<?php require_once "./inc/header.php"; ?>
<?php if (empty($_SESSION['account'])) header("Location: ./login_register.php") ?>
<title>Đơn Hàng</title>
<style>
/* td,
th {
text-align: center;
} */
</style>
</head>
<body>
<div class="main">
<!-- oppen header -->
<?php require_once "./inc/home_header.php"; ?>
<!-- end header -->
<!-- ----------------------------------------------------------Modal thông tin giỏ hàng----------------------------------------------------------------------- -->
<!-- <div class="modal_card">
<div class="modal_overlay_card">
</div>
<div class="modal_body_card">
<div class="modal_body_card_header">
<h2 class="text-center py-4">THÔNG TIN GIỎ HÀNG</h2>
<span class="icon-close-card"><i class="fa-solid fa-x"></i></span>
<a href="#" class="icon-close-card"><i class="fa-solid fa-x"></i></a>
</div>
<div class="container moda-card-info">
<table id="cart" class="table table-hover table-condensed">
<thead >
<tr>
<th style="width:40%" class="bg-danger">Tên sản phẩm</th>
<th style="width:13%" class="bg-danger">Giá</th>
<th style="width:20%" class="bg-danger">Số lượng</th>
<th style="width:14%" class="text-center bg-danger">Thành tiền</th>
<th style="width:12%" class="bg-danger"> </th>
</tr>
</thead>
<tbody class="add-card-product" id="card-product-info">
<tr>
<td data-th="Sản Phẩm" class="my-3">
<div class="row">
<div class="col-sm-4 hidden-md"><img src="img/product/mi-kho-ga-cay-samyang-goi-140g-202302271042338764.png" alt="Sản phẩm 1" class="img-responsive" width="100">
</div>
<div class="col-sm-8 fs-6">
<h4 class="nomargin fs-6">Mì gà siêu cay</h4>
<p>Nhập khẩu trực tiếp từ Korea</p>
</div>
</div>
</td>
<td data-th="Giá">200.000 đ</td>
<td data-th="Số lượng">
<div class="number_card">
<span class="minus_card"><i class="fa-solid fa-minus"></i></span>
<input type="text" value="1" min="1"/>
<span class="plus_card"><i class="fa-solid fa-plus"></i></span>
</div>
</td>
<td data-th="Tổng tiền" class="text-center">200.000 đ</td>
<td class="actions" data-th="">
<button class="btn btn-info btn-sm"><i class="fa fa-edit"></i>
</button>
<button class="btn btn-danger btn-sm text-black"><i class="fa-solid fa-trash"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="footer-modal-card py-3">
<div class="row">
<div class=" col-lg-4 col-md-4 col-sm-12">
<div class="btn-home" style="display: flex; justify-content: center; align-items: center; width: 210px;">
<a href="" class="btn btn-warning text-white mx-3" style="width: 200px;">
<i class="fa fa-angle-left "></i>
Tiếp tục mua hàng
</a>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 " style="display: flex; justify-content: center; align-items: center;" >
<div class="btn-sum-price"style="display: flex; justify-content: center; align-items: center; width: 240px;">
<p style="width: 235px;">Tổng tiền Hàng : <strong>2.000.000 </strong>đ</p>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 ">
<div class="btn-pay"style="display: flex; justify-content: center; align-items: center;">
<a href="" class="btn btn-danger btn-block" style="width: 200px;">Thanh toán <i class="fa fa-angle-right"></i></a>
</div>
</div>
</div>
</div>
</div>
</div> -->
<!-- ----------------------------------------------------------Modal tình trạng đơn hàng----------------------------------------------------------------------- -->
<!-- <div class="modal_oder">
<div class="modal_overlay_oder">
</div>
<div class="modal_body_oder">
<div class="modal_body_oder_header">
<h2 class=" py-4">THÔNG TIN ĐƠN HÀNG</h2>
<a href="#" class="icon-close-oder"><i class="fa-solid fa-x"></i></a>
</div>
<div class="container moda-card-info">
<table id="cart" class="table table-hover table-condensed" class="table">
<thead>
<tr>
<th style="width:15%" class="bg-white">Mã đơn hàng</th>
<th style="width:15%" class="bg-white">Thời gian</th>
<th style="width:20%" class="bg-white">Chi Tiết Đơn Hàng</th>
<th style="width:10%" class="bg-white">Tổng tiền</th>
<th style="width:25%" class="bg-white">Tình trạng đơn hàng</th>
<th style="width:15%" class="bg-white"> Chỉnh sửa </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div> -->
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------->
<!----------------------------------------------------------Nội dung chính trang web----------------------------------------------------------------------------------->
<div class="container content-container">
<div class="col-md-12">
<section class="myOder mb-2">
<div class="Oder_header">
<h2 class="">THÔNG TIN ĐƠN HÀNG</h2>
</div>
<div class="container Oder-info">
<table id="cart" class="table table-hover table-condensed">
<thead>
<tr>
<th style="width:15%" class="bg-white">Mã đơn hàng</th>
<th style="width:15%" class="bg-white">Thời gian</th>
<th style="width:20%" class="bg-white">Email người nhân</th>
<th style="width:10%" class="bg-white">Tổng tiền</th>
<th style="width:25%" class="bg-white">Tình trạng đơn hàng</th>
<th style="width:15%" class="bg-white"> Chỉnh sửa </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</section>
<?php require_once "./inc/home_footer.php"; ?>
</div>
</div>
</div>
</div>
</div>
</body>
<!-- <script src="./javascript/info_Product_API.js"></script> -->
<!-- <script src="./javascript/GrounpFeature.js"></script> -->
<!-- <script src="./javascript/product.js"></script> -->
<!-- <script src="./javascript/modal_info_product.js"></script> -->
<!-- <script src="./javascript/menu.js"></script> -->
<script src="./javascript/modal_card.js"></script>
<script src="./javascript/modal_oder.js"></script>
</html>