-
Notifications
You must be signed in to change notification settings - Fork 0
/
header_afterlogin.php
executable file
·277 lines (267 loc) · 16 KB
/
header_afterlogin.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
<header class="site-header">
<div>
<nav class="navbar navbar-default" id="title">
<div class="container">
<div class="navbar-header">
<div class="container">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#bs-navbar-collapse, #bs-navbar-collapse1">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-brand brand-logo">
<img src="assets/img/logo.png" srcset="assets/img/logo2.png 2x, img/logo3.png 3x"
alt="Post" width="100%" height="100%">
</a>
</div>
</div>
<a href="index.php" class=" navbar-brand " style="
width: 250px;
margin-top: 30px;
">
<img src="assets/img/logo.png" srcset="assets/img/logo2.png 2x, img/logo3.png 3x" alt="Post">
</a>
<!-- the search container -->
<div class="search-container col-md-6">
<form class="search" action="/action_page.php">
<input class="" type="text" placeholder="SEARCH ANY GAME..." name="search">
<button type="submit" class="bold"><i class=""></i>SEARCH</button>
</form>
</div>
<div class="collapse navbar-collapse" id="bs-navbar-collapse">
<ul class="nav navbar-nav main-navbar-nav">
<li><a href="#xcart" class=" fa fa-cart-plus" onclick="toggle_visibility('myCart');">
Cart<span class="header-icons-noti-top-aft">2</span></a>
</li>
<div class="form-popup" id="myCart">
<form action="/action_page.php" class="form-container">
<ul class="header-cart-wrapitem">
<li class="header-cart-item">
<div class="header-cart-item-img">
<img src="assets/img/cart/item-01.jpg" alt="IMG">
</div>
<div class="header-cart-item-txt">
<a href="#" class="header-cart-item-name">
Ghost
Recon:
Advanced
Warfighter
</a>
<span class="header-cart-item-info">
1
x
₦5,600.00
</span>
</div>
</li>
<hr>
<li class="header-cart-item">
<div class="header-cart-item-img">
<img src="assets/img/cart/item-01.jpg" alt="IMG">
</div>
<div class="header-cart-item-txt">
<a href="#" class="header-cart-item-name">
Detriot
has
fallen
</a>
<span class="header-cart-item-info">
1
x
₦15,600.00
</span>
</div>
</li>
</ul>
<div class="header-cart-total">
Total:
₦34,400.00
</div>
<div class="header-cart-buttons">
<div class="header-cart-wrapbtn">
<!-- Button -->
<a href="cart.php" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
View
Cart
</a>
</div>
<div class="header-cart-wrapbtn">
<!-- Button -->
<a href="checkout.php" class="flex-c-m size1 bg1 bo-rad-20 hov1 s-text1 trans-0-4">
Checkout
</a>
</div>
</div>
</form>
</div>
<li><a href="#xcart" class="dis fa fa-bell" onclick="toggle_visibility('myNotification');"><span
class="header-icons-noti-noti">1</span></a>
</li>
<!-- /.navbar-collapse -->
<div class="notification-popup" id="myNotification">
<div class="form-container">
<div class="w-300 text-center">
<span class="fa fa-bell fa-5x"></span><br>
<span>No
notification</span>
</div>
</div>
</div>
<li><a href="#xaccount" class=" fa fa-user-o" onclick="toggle_visibility('myForm');">
Hi,
<b>
<?php if (isset($_SESSION['user'])){ echo $_SESSION['firstname']; } else {echo "Login"; }?></b>
<i class="fa fa-caret-down"></i></a>
</li>
<div class="form-popup" id="myForm">
<div id="defaultOpen1" class="">
<div class="form-container border">
<div>
<a href="account">
<p class="header-dropdown">
<i class="fa fa-user"></i>
My
Profile
</p>
</a>
<a href="orders">
<p class="header-dropdown">
<i class="fa fa-shopping-bag"></i>
My
Orders
</p>
</a>
<a href="wishlist">
<p class="header-dropdown">
<i class="fa fa-heart"></i>
My
Wishlist
</p>
</a>
<a href="#xwallet">
<p class="header-dropdown">
<i class="fa fa-credit-card"></i>
My
Wallet
</p>
</a>
<a href="#x">
<p class="header-dropdown">
<i class="fa fa-map-marker"></i>
Track
My
Order
</p>
</a>
<p class=header-dropdown>
<i class="fa fa-moon-o"></i>
Night
Mode
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
</p>
<a href="/exchange/logout">
<p class="header-dropdown logout">
<i class="fa fa-sign-out"></i>
Logout
</p>
</a>
</div>
</div>
</div>
</div>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title text-center">
Sign
Up
</h4>
</div>
<div class="modal-body ">
<form action="/exchange/process_register" class="signup-form-container">
<div class="form-group ">
<label for="firstname"><b>First
Name</b></label>
<input type="text" placeholder="Enter First Name" name="firstname"
required>
<span class="help-block"></span>
</div>
<div class="form-group ">
<label for="lastname"><b>Last
Name</b></label>
<input type="text" placeholder="Enter Last Name" name="lastname"
required>
<span class="help-block"></span>
</div>
<div class="form-group ">
<label for="email"><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" required>
<span class="help-block"></span>
</div>
<div class="form-group ">
<label for="phonenumber"><b>Phone
Number</b></label>
<input type="tel" placeholder="Enter Phone Number" name="phonenumber"
minlength="11" maxlength="11" required>
<span class="help-block"></span>
</div>
<div class="form-group ">
<label for="password"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="password"
minlength="8" required>
<span class="help-block"></span>
</div>
<div class="form-group ">
<label for="confirm_password"><b>Confirm
Password</b></label>
<input type="password" placeholder="Confirm Password"
name="confirm_password" minlength="8" required>
<span class="help-block"></span>
</div>
<p class="">
<input type="checkbox" placeholder="Confirm Password" name="psw"
required>
I
have
read
and
accepted
the
<a class="brown" href="#xterms">terms
and
conditions</a>
</p>
<button type="submit" class="btn">Sign
Up</button>
</form>
</div>
</div>
</div>
</div>
<div class="form-popup" id="myReset">
<form action="/action_page.php" class="form-container">
<h1 style="font-size: 14px; text-align: center">
Reset
Password
</h1>
<label for="email"><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" required>
<button type="submit" class="btn">Reset
Password</button>
<div style=" text-align: center">
<a class="brown" href="#xforgot"
onclick="toggle_visibility('myReset');toggle_visibility('myForm');">Login</a>
</div>
</form>
</form>
</div>
</div>
</div>
</nav>
</header>