-
Notifications
You must be signed in to change notification settings - Fork 2
/
profile.php
159 lines (155 loc) · 7.99 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
<?php
require('services/check_user_login.php');
?>
<!DOCTYPE html>
<html class="no-js" lang="zxx">
<head>
<?php include('user/components/head.php') ?>
</head>
<body>
<!-- header start -->
<?php include('user/components/header.php') ?>
<!-- header end -->
<div class="about-story pt-95 pb-100">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="story-img">
<img style="width: 200px" class="avatar" src="<?php if (empty($_SESSION['user']['image'])) {
echo 'https://cdn.icon-icons.com/icons2/1378/PNG/512/avatardefault_92824.png';
} else {
echo $_SESSION['user']['image'];
} ?>" alt="" />
</div>
</div>
<div class="col-lg-6">
<div class="story-details pl-50">
<div class="story-details-top">
<h2><span>Thông tin khách hàng</span></h2>
<h4>Họ và tên: <?php echo $_SESSION['user']['name'] ?></h4>
<h4>Email: <?php echo $_SESSION['user']['email'] ?></h4>
<h4>Địa chỉ: <?php echo $_SESSION['user']['address'] ?></h4>
<h4>Số điện thoại: <?php echo $_SESSION['user']['phone'] ?></h4>
<h4>Giới tính: <?php echo $_SESSION['user']['gender'] ?></h4>
</div>
<a href="index.php">
<button type="button" class="btn btn-primary">Trở lại trang chủ</button>
</a>
<a href="change_user_profile.php">
<button type="button" class="btn btn-secondary">Chỉnh sửa thông tin</button>
</a>
</div>
</div>
</div>
</div>
</div>
<?php include('user/components/footer.php') ?>
<!-- modal -->
<div class="modal fade" id="exampleCompare" tabindex="-1" role="dialog" aria-hidden="true">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span class="pe-7s-close" aria-hidden="true"></span>
</button>
<div class="modal-dialog modal-compare-width" role="document">
<div class="modal-content">
<div class="modal-body">
<form action="#">
<div class="table-content compare-style table-responsive">
<table>
<thead>
<tr>
<th></th>
<th>
<a href="#">Remove <span>x</span></a>
<img src="assets/img/cart/4.jpg" alt="" />
<p>Blush Sequin Top</p>
<span>$75.99</span>
<a class="compare-btn" href="#">Add to cart</a>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="compare-title">
<h4>Description</h4>
</td>
<td class="compare-dec compare-common">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has
beenin the stand ard dummy text ever since the 1500s, when an unknown printer took a galley
</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>Sku</h4>
</td>
<td class="product-none compare-common">
<p>-</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>Availability</h4>
</td>
<td class="compare-stock compare-common">
<p>In stock</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>Weight</h4>
</td>
<td class="compare-none compare-common">
<p>-</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>Dimensions</h4>
</td>
<td class="compare-stock compare-common">
<p>N/A</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>brand</h4>
</td>
<td class="compare-brand compare-common">
<p>HasTech</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>color</h4>
</td>
<td class="compare-color compare-common">
<p>Grey, Light Yellow, Green, Blue, Purple, Black</p>
</td>
</tr>
<tr>
<td class="compare-title">
<h4>size</h4>
</td>
<td class="compare-size compare-common">
<p>XS, S, M, L, XL, XXL</p>
</td>
</tr>
<tr>
<td class="compare-title"></td>
<td class="compare-price compare-common">
<p>$75.99</p>
</td>
</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- all js here -->
<?php include('user/components/link_footer.php') ?>
</body>
</html>