-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
324 lines (177 loc) · 8.5 KB
/
footer.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
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css">
<style>
.fotrul li a:hover{
color:orange;
}
.fotrul li{
list-style:none !important;
}
.fotrul li a{
color:white; letter-spacing:2px;
font-size:1.3rem; text-decoration:none;
}
@media screen and (min-width:700px) {
.smfooter{
display: none; visibility: hidden;
}
.pcfooter{
display: block;
}
}
@media screen and (max-width:700px) {
.smfooter{
display: block;
}
.pcfooter{
display: none;
visibility: hidden;
}
}
footer{
overflow-x:hidden !important;
}
</style>
<!-- footer -->
<?php
include 'config.php';
session_start();
error_reporting(0);
$v_stngs = "SELECT * FROM `store_stngs` WHERE id = 1";
$v_stngsq =mysqli_query($db,$v_stngs);
$v_stngsf = mysqli_fetch_array($v_stngsq);
$title = $v_stngsf['ntitle'];
$logo = $v_stngsf['logo'];
?>
<footer class="pcfooter" style="display: flex;flex-direction:row;width:100%;">
<div style="width: 18%; margin-left:2rem;">
<center>
<a href="/"><img src="assetscdn/banners/<? echo $logo; ?>" style="width:7rem"></a>
<br>
<p style="color:orange; font-size:1.2rem; letter-spacing:2px;"> <? echo $title; ?> </p>
</center>
</div>
<div style="width:38%">
<center>
<b style="color:orange; font-size:1.8rem;"> Footer Menu </b>
<ul class="fotrul"><li><a href="contact-us.php">Contact Us</a></li><li><a href="privacy-policy.php">Privacy Policy</a></li><li><a href="refund-policy.php">Refund Policy</a></li><li><a href="terms-of-service.php">Terms of Service</a></li><li><a href="contact-information.php">Contact Information</a></li></ul>
</center>
</div>
<div style="width:40%;">
<center>
<b style="color:orange; font-size:1.8rem;"> SIGN UP AND SAVE </b>
<p style="color:silver;width:80%;"> Subscribe to get special offers, free giveaways, and once-in-a-lifetime deals. </p>
<div>
<input type="text" style="color:orange;border: none; text-decoration:1px 1px 1px black; outline: none; border-bottom:2px solid orange;background:none;width:60%;" placeholder="Enter your email" class="mailinptj">
<button style="color:orange;background:none;text-shadow:1px 1px 1px black;margin-left:-2.5rem;font-size:1.5rem;border:none;outline:none;" class="fa fa-envelope loginbtnj"> </button>
</div>
</center>
<br>
<div style="margin-left: 20%;">
<div style="display:flex;flex-direction:row;">
<div>
<b style="color:lime;"> HI, </b>
</div>
<div><b style="color:orange;letter-spacing:2px;" id="vdivlogmail"> Please Login </b></div>
<div id="vfororders"> </div>
</div>
<a href="allorders.php" style="color:aqua;">View My Orders </a>
</div>
</div>
</footer>
<footer class="smfooter" style="background:rgb(19, 19, 19);display:non;">
<center>
<a href="/"><img src="assetscdn/banners/<? echo $logo; ?>" style="width:6rem; max-width:6rem;"></a>
</center>
<div class="accordion" id="accordionPanelsStayOpenExample">
<div class="accordion-item" style="background:rgb(19, 19, 19);outline:none;border: none;">
<h2 class="accordion-header" id="panelsStayOpen-headingOne" style="background:rgb(19, 19, 19);">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne" style="color:orange; text-align: center !important;font-size:1.5rem;background:rgb(19, 19, 19);">
<span style="margin-left:38%;">Footer Menu</span>
</button>
</h2>
<div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show" aria-labelledby="panelsStayOpen-headingOne" style="background:rgb(19, 19, 19);border:none">
<div class="accordion-body">
<center>
<ul class="fotrul"><li><a href="contact-us.php">Contact Us</a></li><li><a href="privacy-policy.php">Privacy Policy</a></li><li><a href="refund-policy.php">Refund Policy</a></li><li><a href="terms-of-service.php">Terms of Service</a></li><li><a href="contact-information.php">Contact Information</a></li></ul>
</center>
</div>
</div>
</div>
<div class="accordion-item" style="border:none;background:rgb(19, 19, 19);">
<h2 class="accordion-header" id="panelsStayOpen-headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo" style="color:orange; text-align: center !important;font-size:1.5rem;background:rgb(19, 19, 19);">
<span style="margin-left:40%;"> Log In <i class="fa fa-user-tie"> </i> </span>
</button>
</h2>
<div id="panelsStayOpen-collapseTwo" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingTwo" style="border:none;background:rgb(19, 19, 19);">
<div class="accordion-body">
<center>
<b style="color:orange; font-size:1.8rem;"> SIGN UP AND SAVE </b>
<p style="color:silver;width:80%;"> Subscribe to get special offers, free giveaways, and once-in-a-lifetime deals. </p>
<div style="border:none;outline:none;">
<input type="text" style="color:orange;border: none; text-decoration:1px 1px 1px black; outline: none; border-bottom:2px solid orange;background:none;width:60%;font-size:1.4rem;z-index:2;position:relative;" placeholder="Enter your email" class="mailinptj">
<button style="color:orange;background:none;text-shadow:1px 1px 1px black;margin-left:-2.5rem;font-size:1.7rem; outline:none !important;border:none !important;z-index:5;position:relative;" class="btn fa fa-envelope loginbtnj"> </button>
</div>
<br>
<div style="margin-left: 20%;">
<div style="display:flex;flex-direction:row;">
<div>
<b style="color:lime;"> HI, </b>
</div>
<div><b style="color:orange;letter-spacing:2px;" id="vdivlogmail"> Please Login </b></div>
<div id="vfororders"> </div>
</div>
<a href="allorders.php" style="color:aqua;">View My Orders </a>
</div>
</center>
</div>
</div>
</div>
</div>
</footer>
<br>
<div style="box-shadow:1px 1px 20px rgba(128, 128, 128, 0.683);width: 100%; text-align: center;">
<a href="/" style="color:silver;text-decoration: none;"> All Rights Reserved © 2022 mahar Shop </a>
</div>
<!-- footer -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<script src="assetscdn/js/jqoffline.js"></script>
<script>
/////////////////////////
/*
function popmsgf()
{ $('#popmsg').hide(10); }
*/
//////////////////////////
//////////////////////////
function chkloginedf(){
$.post(
"jaxdata.php",
{chkloginedj:'sahjm'},
function(chkloginedfj){
$("#vdivlogmail").html(chkloginedfj);
}
); // end post
}
///////////////////////////
//////////////////////////////
$(document).on('click','.loginbtnj',function(){
var mailinptj = $('.mailinptj').val();
$.post(
"jaxdata.php",
{mailinptjs:mailinptj},
function(mailfpost){
if(mailfpost == 1){
// $("#successrs").fadeIn();
// $("#successrs").html('√ You Login ');
chkloginedf();
}else if(mailfpost == 0){
// $('#errors').fadeIn();
// $("#errors").html('× Something Wrong');
} }); // end post
})
//////////////
//////////////////////////
window.onload = chkloginedf();
</script>