-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
347 lines (225 loc) · 9.92 KB
/
profile.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
<!doctype html>
<?php
session_start();
if(!isset($_SESSION['cusid'])) //user loged or not check through the session
{
header("location:index.php"); //access page
}
?>
<html lang="en">
<head>
<?php
include "customer_reg.php";
include "customes_order.php";
?>
<?php include "customer_models.php" ?>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery.js?i=93"></script>
<script src="js/popper.min.js?i=93"></script>
<script src="js/bootstrap.min.js?i=93"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css?i=93">
<script src="js/all.js?i=93" data-auto-replace-svg="nest"></script>
<script src="prg_main.js?i=93" ></script>
<!-- All icons -->
<link rel="stylesheet" href="css/all.css?i=93">
<link rel="stylesheet" href="css/paetheme.css?i=93">
<title>Dress Line</title>
</head>
<body>
<!-- alert -->
<div id="offer_msg_at_profile" > </div>
<!-- /alert -->
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-dark" style='background-color:#3d3d3d'>
<a class="navbar-brand" href="#">
<img src="prg_img/logo/logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
Dress Line
</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="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
</div>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav justify-content-center ">
<li class="nav-item active">
<a class="nav-link" href="index.php"><i class="fas fa-home"></i>Home </a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#"><i class="fas fa-th-list"></i> Product</a>
</li>
</ul>
<!-- Search bar -->
<ul class="nav justify-content-center mr-auto ">
<div class="form-inline my-2 my-lg-0">
<input size="50" class="form-control mr-sm-2" id="search_txt" type="search" placeholder="i'm,shopping for..." aria-label="Search">
<button class="btn btn-danger my-2 my-sm-0" type="submit" id="search_btn">Search</button>
</div>
</ul>
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" data-toggle="modal" data-target="#customer_feedback_Model" style="cursor: pointer;"><i class="fas fa-star"></i>Feedback</a>
</li>
<!-- Sign Up Form -->
<div class="btn-group" >
<button type="button" id="card_container_btn" class="btn btn-secondary dropdown-toggle mr-2" data-toggle="dropdown" aria-expanded="false">
<span class="badge badge-light" id='badge'>0</span> <i class="fas fa-shopping-cart"></i> Rs.<a id='nav_list_total_val'>0</a>.00
</button>
<div class="dropdown-menu dropdown-menu-right ">
<div class="container">
<div class="row overflow-auto shadow-sm" style='height:350px; ' >
<div class="col-12 col-md-offset-1">
<table class="table table-hover" >
<thead style='background-color:#ff4747;padding:10px;color:white;'>
<tr>
<th style='padding:10px;'>No</th>
<th colspan="2" style='padding:10px;'>Product</th>
<th style='padding:10px;' class="text-center">Qty</th>
<th style='padding:10px;' class="text-center">Price</th>
</tr>
</thead>
<tbody id="all_product_list" >
<!--
<tr>
<td class="col-md-2"><h5 class="media-heading">01.</h5></td>
<td class="col-md-6">
<div class="media">
<div class="media-body">
<h5 class="media-heading">Shoes</h5>
</div>
</div></td>
<td class="col-sm-1 col-md-1" style="text-align: center">
<img class="d-block w-100" height="50px" width="10px" src="admin/upload/man_Shirt.jpg" alt="Third slide">
</td>
<td class="col-sm-1 col-md-1 text-center"><strong>Rs.400.87</strong></td>
</tr>
-->
</tbody>
</table>
</div>
</div>
<div class="container mb-2 mt-3 justify-content-center">
<a href="cart.php" class="btn btn-primary mr-2" role="button"><i class="fas fa-shopping-cart"></i> Cart List</a>
<a href="cart.php" class="btn btn-danger mr-2" role="button"><i class="fas fa-shopping-cart"></i> Checkout</a>
</div>
</div>
</div>
</div>
<!-- /signIn -->
<!-- dropdown -->
<div class="btn-group">
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-user"></i> <?php echo $_SESSION['cus_fname'];?> <!--nav bar name / login user fname-->
</button>
<div class="dropdown-menu dropdown-menu-right">
<button class="dropdown-item btn btn-light " onclick="window.location='cart.php'" type="button">Cart List <span class="badge badge-primary" id='badge_in_nave_manue'>0</span> </button>
<button class="dropdown-item btn btn-light " onclick="window.location='my_orders.php'" type="button">My orders <span class="badge badge-primary" id='orders_badge_in_nave_manue'>0</span> </button>
<button class="dropdown-item btn btn-light" type="button" data-toggle="modal" data-target="#chanepasswordModel" >Change Password</button>
<button class="dropdown-item btn btn-light" onclick="window.location='logout.php'" type="button">Logout</button> <!-- login session reset-->
</div>
</div>
<!-- /dropdown -->
<!-- Button trigger modal -->
</ul>
</div>
</nav>
<!-- /navbar -->
<!-- Page Content -->
<div class="container">
<div class="row mt-3 ">
</div>
<div class="row">
<div class="col-lg-3"> <!--lg 3 used for cloumn width-->
<!--Filter-->
<!-- <li class="list-group-item list-group-item-action bg-info" style="color:white;background-color:#FF4747;">
<h5><i class="fas fa-th-list" ></i> Filter</h5>
<li class="list-group-item mb-2 rounded" style="background-color:#d6d8d9;">
</li>
</li> -->
<!-- Category -->
<div id="get_category"> </div>
<!-- Brands -->
<div id="get_brand"> </div>
</div>
<!-- /.col-lg-3 -->
<div class="col-lg-9" style="border-radius: 50px 50px;">
<!-- Slider -->
<div id="carouselExampleIndicators" id="slider_images_profile" class="carousel slide pb-3" data-ride="carousel">
<ol class="carousel-indicators" id="slider_footer_profile"> <!-- Slider_Mark -->
</ol>
<div class="carousel-inner" id="slider_images_profile" style="border-radius: 50px 20px;" >
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<!--alert-->
<div id="show_msg"></div>
<!-- /alert -->
<!-- All Product-->
<div class="card" > <!-- filter option -->
<div class="card-header" style="background-color:rgba(255, 193, 7, 0.48);">
<div class="form-row">
<h4 for="validationCustom05 " class="p-1 "><i class="fa fa-shopping-basket"></i> Products</h4>
</div>
</div>
<div class="card-body ">
<!-- All Product-->
<div class="row" id="get_product"> </div>
<!--
<div class="col-4 mb-3" >
<div class="card">
<div class="card-header" style="font-size:15px;background-color:rgba(255, 193, 7, 0.48);"> <b>Samsung Galaxy A30</b>
<button type="button" style='float:right;' class="btn btn-warning"><i class="fas fa-search" ></i></button>
</div>
<div class="text-center">
<img class="card-img-top" src='admin/upload/man_Shirt.jpg' align="center" style='width:160px;height:250px'/><br>
<div class="text-center" style="padding-top:15px;">
<i class="fas fa-star " style="color:orange"></i>
<i class="fas fa-star " style="color:orange"></i>
<i class="fas fa-star " style="color:orange"></i>
<i class="fas fa-star " style="color:orange"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="card-footer">
<b><strike>Rs.50</strike>/Rs.50</b>
<button class="btn btn-danger btn-sm" style='float:right;font-size:13px'><i class="fa fa-shopping-cart"></i> Add to Cart</button>
</div>
</div>
</div>
-->
</div>
<!-- /.row -->
</div>
<!-- /card-body -->
<div class="card-footer text-right" style="background-color:white;">
<!-- next button/pagination-->
<nav aria-label="asdasd" class="nav justify-content-center">
<ul class="pagination" id="pagenumber">
</ul>
</nav>
</div>
<!-- footer end -->
</div>
</div>
<!-- card end -->
</div>
<!-- /.col-lg-9 -->
</div>
<!-- /.row -->
</div>
</div>
<!-- /.container -->
<?php include "footer.php" ?>
</body>
</html>