-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
403 lines (390 loc) · 20.6 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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
<!-- contact phone -->
<div class="contact-phone bg-theme1 py-4">
<div class="container">
<div class="d-md-flex justify-content-center">
<p class="text-white">If you have any questions? <span class="ml-3 font-weight-bold">Call Us <?php echo $user['phone'] ?></span></p>
</div>
</div>
</div>
<!-- //contact phone -->
<!-- footer top -->
<div class="footer-top py-lg-5 py-4">
<div class="container">
<div class="row">
<div class="col-lg-3 col-12 text-center">
<h5 class="footer-top-title">latest posts</h5>
<ul class="post-links">
<li>
<a href="#">
Lorem ipsum dolor sit amet.Cras rutrum iaculis enim, non mattis.
</a>
<span class="fa fa-clock-o mr-3"></span> 3 hrs ago
</li>
<li>
<a href="#">
Lorem ipsum dolor sit amet.Cras rutrum iaculis enim, non mattis.
</a>
<span class="fa fa-clock-o mr-3"></span> 10 hrs ago
</li>
<li>
<a href="#">
Lorem ipsum dolor sit amet.Cras rutrum iaculis enim, non mattis.
</a>
<span class="fa fa-clock-o mr-3"></span> 22 hrs ago
</li>
</ul>
</div>
<div class="col-lg-2 col-12 text-center">
<h5 class="footer-top-title">links</h5>
<ul class="list-wthree-pvt">
<li>
<a href="index.php">
Home
</a>
</li>
<li class="my-2">
<a href="about.php">
About Us
</a>
</li>
<li class="my-2">
<a href="portfolio.php">
Portfolio
</a>
</li>
<li class="mb-2">
<a href="coming_soon.php">
carnival
</a>
</li>
<li>
<a href="contact.php">
Contact Us
</a>
</li>
</ul>
</div>
<div class="col-lg-4 col-12">
<div class="row">
<div class="col-sm-10 text-center">
<h5 class="footer-top-title text-md-left text-center">newsletter</h5>
<form class="subscribe-wthree subscribe_form">
<div class="subscribe-message text-center"></div>
<div class="d-flex subscribe-wthree-field"><label class="align-self-center">
<i class="fa fa-envelope-open" aria-hidden="true"></i>
</label>
<input class="form-control" type="email" placeholder="Enter your email..." name="email" required="">
</div>
<div class="mx-auto">
<button type="submit" id="subscribeBtn" class="btn btn-default w-50 mt-4 text-white" style="background:#000;border:1px solid #fff;color:#fff">
<span class="fa fa-spinner fa-spin subscribe_spinner" style="display:none"></span>
<span class="subscribe_text">subscribe</span>
</button>
</div>
</form>
</div>
<div class="col-sm-2 mt-3 mx-sm-auto text-center">
<div class="social-icons">
<ul class="social-icons footer-social">
<li>
<a href="<?php echo $user['facebook_link'] ?>">
<i class="fa fa-facebook-f"></i>
</a>
</li>
<li>
<a href="<?php echo $user['twitter_link'] ?>">
<i class="fa fa-twitter"></i>
</a>
</li>
<li>
<a href="<?php echo $user['facebook_link'] ?>">
<i class="fa fa-instagram" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="<?php echo $user['linkedin_link'] ?>">
<i class="fa fa-linkedin" aria-hidden="true"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-3 footer-logo mb-lg-0 mb-4 text-lg-right text-center">
<h2>
<a href="index.html" class="text-theme1"><?php echo $user['site_name'] ?></a>
</h2>
<ul class="d-flex flex-column">
<li>
<p class="d-inline"><?php echo $user['location'] ?><br> <a href="tel://<?php echo $user['phone'] ?>"><?php echo $user['phone'] ?></a>.</p>
<span class="fa fa-home ml-3"></span>
</li>
<li class="my-3">
<a href="mailto:<?php echo $user['email_address'] ?>" class="text-secondary"><?php echo $user['email_address'] ?></a>
<span class="fa fa-envelope-open ml-3"></span>
</li>
<li>
<p class="d-inline"><a href="tel://<?php echo $user['phone'] ?>"><?php echo $user['phone'] ?></a></p>
<span class="fa fa-phone ml-3"></span>
</li>
</ul>
</div>
</div>
</div>
</div> <!-- //footer top -->
<!-- Login modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-theme2">
<h5 class="modal-title " id="exampleModalLabel"><?php echo $user['site_name'] ?> | Login</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body bg-theme1">
<form class="login_form">
<?php
$email=$password='';
if(isset($_GET['email']) and isset($_GET['reset_password']))
{
$email=$_GET['email'];
$password=$_GET['reset_password'];
}
?>
<div class="form-group">
<label for="recipient-name" class="col-form-label text-white">Email</label>
<input type="email" id="lemail" class="form-control border" placeholder="info@exambple.com " name="email" value="<?php echo $email; ?>"required="">
<span class="text-light lemail-feedback"></span>
</div>
<div class="form-group">
<label for="password" class="col-form-label text-white">Password</label>
<input type="password" value="<?php echo $password; ?>" id="lpassword" class="form-control border" placeholder="****" name="password" required="">
<span class="text-light lpassword-feedback"></span>
</div>
<div class="right-w3l">
<button type="submit" id="loginBtn" class="btn btn-default btn-block border text-white bg-theme1">
<span class="fa fa-spinner fa-spin login_spinner" style="display:none"></span>
<span class="login_text">login</span>
</button>
</div>
<div class="row sub-w3l my-3">
<div class="col sub-w3layouts">
<input type="checkbox" id="brand1" value="">
<label for="brand1" class="text-white">
<span></span>Remember me?</label>
</div>
<div class="col forgot-w3l text-right text-dark">
<a href="#" data-toggle="modal" data-target="#exampleModalLabel3" class="text-white">Forgot Password?</a>
</div>
</div>
<p class="text-center text-white">Don't have an account?
<a href="#" data-toggle="modal" data-target="#exampleModal1" class="text-white" >
Register Now</a>
</p>
</form>
</div>
</div>
</div>
</div>
<!-- //Login modal -->
<!-- Register modal -->
<div class="modal fade" id="exampleModal1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel1"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-theme2">
<h5 class="modal-title" id="exampleModalLabel1"><?php echo $user['site_name'] ?> | Register</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="dismisser">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body bg-theme1">
<form class="register_form">
<div class="form-group">
<label for="recipient-name" class="col-form-label text-white">Name</label>
<input type="text" class="form-control border" placeholder="john mercy " name="name" id="name"
required="">
<span class="text-light name-feedback"></span>
</div>
<div class="form-group">
<label for="recipient-email" class="col-form-label text-white">Email</label>
<input type="email" class="form-control border" placeholder="username@email.com" name="email"
id="email" required="">
<span class="text-light email-feedback"></span>
</div>
<div class="form-group">
<label for="password1" class="col-form-label text-white">Password</label>
<input type="password" class="form-control border" placeholder="****" name="password" id="password"
required="">
<span class="text-light password-feedback"></span>
</div>
<div class="form-group">
<label for="password2" class="col-form-label text-white">Confirm Password</label>
<input type="password" class="form-control border" placeholder="****" name="Confirm Password"
id="cpassword" required="">
<span class="text-light cpassword-feedback"></span>
</div>
<div class="sub-w3l">
<div class="sub-w3layouts">
<input type="checkbox" id="brand2" value="" required="">
<label for="brand2" class="mb-3 text-white">
<span></span>I Accept to the Terms & Conditions</label>
</div>
</div>
<div class="right-w3l">
<button type="submit" id="registerBtn"class="btn btn-default btn-block border text-white bg-theme1">
<span class="fa fa-spinner fa-spin register_spinner" style="display:none"></span>
<span class="register_text">register</span>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Forgotten password modal -->
<div class="modal fade" id="exampleModalLabel3" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel3"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-theme2">
<h5 class="modal-title" id="exampleModalLabel1"><?php echo $user['site_name'] ?> | Forgotten Password</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="dismisser">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body bg-theme1">
<form class="forgotten_password_form">
<div class="message text-center"></div>
<div class="form-group">
<label for="recipient-email" class="col-form-label text-white">Email</label>
<input type="email" class="form-control border" placeholder="username@email.com" name="email"
id="femail" required="">
<span class="text-light femail-feedback"></span>
</div>
<div class="right-w3l">
<button type="submit" id="frgpswBtn" class="btn btn-default btn-block border text-white bg-theme1">
<span class="fa fa-spinner fa-spin reset_spinner" style="display:none"></span>
<span class="reset_text">submit</span>
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- footer -->
<footer>
<div class="container">
<div class="cpy-right text-center">
<p>© <?php echo date('Y') ?> <?php echo $user['site_name'] ?>. All rights reserved | Design by
<a href="https://mjtech.co.ke"> mjtech.</a>
</p>
</div>
</div>
</footer>
<!-- //footer -->
<div class="fixed-action-btn">
<a class="btn-floating btn-large red">
<i class="fa fa-bars"></i>
</a>
<ul class="list-unstyled">
<li><a href="<?php echo $user['whatsapp_link'] ?>" class="btn-floating green"><i class="fab fa-whatsapp"></i></a></li>
<li><a href="sms://<?php echo $user['phone'] ?>?body=<?php echo urlencode('greetings,how may i be of assistance?'); ?>" class="btn-floating red darken-1"><i class="fa fa-envelope-open"></i></a></li>
<li><a href="<?php echo $user['facebook_link'] ?>" class="btn-floating " style="background:#4267B2"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="<?php echo $user['twitter_link'] ?>" class="btn-floating" style="background:##1DA1F2;"><i class="fab fa-twitter"></i></a></li>
<li><a href="<?php echo $user['instagram_link'] ?>" class="btn-floating" style="background:#8a3ab9"><i class="fab fa-instagram"></i></a></li>
</ul>
</div>
<!-- // Register modal -->
<!-- js -->
<script src="js/jquery-2.2.3.min.js"></script>
<!-- //js -->
<!-- menu toggle -->
<script src="js/menu.js"></script>
<!-- Banner Responsiveslides -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="//code.tidio.co/yijtlq2xmcygrfhxlr5u7s30so7kl1w9.js" async></script>
<script type="text/javascript">
$(document).ready(function () {$('.fixed-action-btn').floatingActionButton(); $('.popup-with-zoom-anim').magnificPopup({type: 'inline', fixedContentPos: false, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in'}); $('.popup-with-move-anim').magnificPopup({type: 'inline', fixedContentPos: false, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-slide-bottom'}); });
</script>
<script type="text/javascript" src="js/script.js?v=12.8"></script>
<script src="js/responsiveslides.min.js"></script>
<script>
// You can also use"$(window).load(function() {"
$(function () {
// Slideshow 4
$("#slider3").responsiveSlides({
auto: false,
pager: true,
nav: false,
speed: 500,
namespace: "callbacks",
before: function () {
$('.events').append("<li>before event fired.</li>");
},
after: function () {
$('.events').append("<li>after event fired.</li>");
}
});
});
</script>
<!-- //Banner Responsiveslides -->
<!-- script for password match -->
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
}
function validatePassword() {
var pass2 = document.getElementById("password2").value;
var pass1 = document.getElementById("password1").value;
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't Match");
else
document.getElementById("password2").setCustomValidity('');
//empty string means no validation error
}
</script>
<!-- script for password match -->
<!-- start-smooth-scrolling -->
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
<!-- //end-smooth-scrolling -->
<!-- smooth-scrolling-of-move-up -->
<script>
$(document).ready(function () {
/*
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
<!-- //smooth-scrolling-of-move-up -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.js"></script>
</body>
</html>