-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
699 lines (595 loc) · 30.9 KB
/
index.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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
<?php
include "./admin/routeconfig.php";
include "./database/Db_Connection.php";
// session_start();
// if (isset($_SESSION['username']) && isset($_SESSION['name'])){
$sliderSql = "SELECT * FROM homepageslider WHERE id=1";
$sliderresult = mysqli_query($conn, $sliderSql);
while ($res = mysqli_fetch_array($sliderresult)) {
$s1head = $res['s1head'];
$s2head = $res['s2head'];
$s3head = $res['s3head'];
$s1content = $res['s1content'];
$s2content = $res['s2content'];
$s3content = $res['s3content'];
}
?>
<!doctype html>
<html lang="en">
<head>
<title>FundFusion</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!--Main CSS-->
<link rel="stylesheet" href="css/style.css">
<!--fontawesome-->
<script src="https://kit.fontawesome.com/332a215f17.js" crossorigin="anonymous"></script>
<!--google Fonts-->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<!--Animate.css--->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" />
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
/* Responsive CSS for the footer */
@media (max-width: 767px) {
.footer-single {
margin-bottom: 20px;
}
.footer-social {
text-align: center;
}
.footer-title h2 {
margin-bottom: 10px;
}
}
</style>
</head>
<body>
<!---Navbar-->
<?php
include "index/indexnav.php";
?>
<!---End of Navbar-->
<!--Hero Section-->
<section id="hero" class="d-flex justify-content-center align-items-center">
<div id="heroCarousel" class="container carousel carousel-fade" data-ride="carousel">
<!--Slide-1-->
<div class="carousel-item active">
<div class="carousel-container">
<h2 class="animate__animated animate__backInDown">
<?php echo $s1head; ?>
</h2>
<p class="animate__animated animate__fadeInUp">
<?php echo $s1content; ?>
</p>
<a href="./Donation.php" class="btn hero-btn animate__animated animate__backInUp">
Donate us
</a>
</div>
</div>
<!--End of Slide-1-->
<!--Slide-1-->
<div class="carousel-item">
<div class="carousel-container">
<h2 class="animate__animated animate__backInDown">
<span><?php echo $s2head; ?></span>
</h2>
<p class="animate__animated animate__fadeInUp">
<?php echo $s2content; ?>
</p>
<!-- **************************************** -->
<!-- Read more ma click garda aru text aaune banaune, using js -->
<a href="./esewa/donate.php?title=<?php echo urlencode("Organization Donation"); ?>" class="btn hero-btn animate__animated animate__backInUp">
Donate Us
</a>
<script>
</script>
</div>
</div>
<!--End of Slide-1-->
<!--Slide-1, First slide donate for good this one is second which automaticaly occurs-->
<div class="carousel-item">
<div class="carousel-container">
<h2 class="animate__animated animate__backInDown">
<?php echo $s3head; ?>
</h2>
<p class="animate__animated animate__fadeInUp">
<?php echo $s3content; ?>
</p>
<a href="./esewa/donate.php?title=<?php echo urlencode("Organization Donation"); ?>" class="btn hero-btn animate__animated animate__backInUp">
Donate Us
</a>
</div>
</div>
<!--End of Slide-1-->
<a class="carousel-control-prev" href="#heroCarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon fas fa-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#heroCarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon fas fa-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</section>
<!--end of hero Section-->
<!--About us-->
<section id="about-us">
<section class="mt-5" id="aboutus" style="width: 100%;">
<h6 style="text-align: center;">ABOUT US</h6>
<h2 style="text-align: center;" class="mb-3">OUR MISSION | VISION & PLANS</h2>
<div class="container" style="width: 100%; background-color:#fff; ">
<div class="row justify-content-center mb-5">
<!-- <div class="col-md-8 text-center heading-section">
<span style="text-align: center;">About Us</span>
<h2 style="text-align: center;" class="mb-3">Our Mission | Vision & Plans</h2>
</div> -->
</div>
<!------>
<div class="row tabs mt-4">
<div class="col-md-4">
<ul class="nav nav-pills nav-fill d-md-flex d-block flex-column">
<li class="nav-item text-left">
<a class="nav-link active py-4" data-toggle="tab" href="#about-1">About</a>
</li>
<li class="nav-item text-left">
<a class="nav-link py-4" data-toggle="tab" href="#about-2">Our Beginning</a>
</li>
<li class="nav-item text-left">
<a class="nav-link py-4" data-toggle="tab" href="#about-3">Our Mission</a>
</li>
<li class="nav-item text-left">
<a class="nav-link py-4" data-toggle="tab" href="#about-4">Our Vision</a>
</li>
<li class="nav-item text-left">
<a class="nav-link py-4" data-toggle="tab" href="#about-5">Our Mandate</a>
</li>
<li class="nav-item text-left">
<a class="nav-link py-4" data-toggle="tab" href="#about-6">Our Plans</a>
</li>
</ul>
</div>
<!----->
<div class="col-md-8">
<div class="tab-content">
<div class="tab-pane container p-0 active" id="about-1">
<!-- ABOUT US WALA PAGE -->
<div class="img" style="background-image: url(img/about.jpg);"></div>
<h3><a href="about-us">About Us</a></h3>
<p>Welcome to our charity app! We are a team of passionate individuals dedicated to making a
positive impact in the world. Our mission is to connect people with the causes they care
about and make it easy for them to support those causes.
</p>
</div>
<!----->
<!-- PLANE WALA PAGE -->
<div class="tab-pane container p-0" id="about-2">
<div class="img" style="background-image: url(img/begi.jpeg);"></div>
<h3><a href="#">Our Beginning</a></h3>
<p>After months of hard work, the charity app was finally ready,
to the public for the first time.
From that moment on, our charity app has been on a mission to make charitable giving
more accessible and impactful. We are proud of our beginning, and we look forward to
continuing to make a difference in the lives of people and communities around the world.
</p>
</div>
<!----->
<!-- OUT MISSION WALA PAGE -->
<div class="tab-pane container p-0" id="about-3">
<div class="img" style="background-image: url(img/mission.jpg);"></div>
<h3><a href="#">Our Mission</a></h3>
<p>At our charity app, our mission is to make charitable giving more accessible,
transparent, and impactful. We believe that everyone has the power to make a difference,
regardless of their background or financial situation.
Our app is designed to connect people with the causes they care about and make it easy
for them to support those causes. We partner with a wide range of non-profit
organizations to provide our users with a diverse range of options for giving back.</p>
</div>
<!----->
<div class="tab-pane container p-0" id="about-4">
<div class="img" style="background-image: url(img/vision.jpg);"></div>
<h3><a href="#">Our Vision</a></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac sem sed arcu lobortis
tempor.
Fusce vel magna id lorem finibus eleifend. Suspendisse potenti. Aenean ultrices
malesuada justo,
euismod consequat lorem aliquam eget..</p>
</div>
<!----->
<div class="tab-pane container p-0" id="about-5">
<div class="img" style="background-image: url(img/mandate.jpg);"></div>
<h3><a href="#">Our Mandate</a></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac sem sed arcu lobortis
tempor.
Fusce vel magna id lorem finibus eleifend. Suspendisse potenti. Aenean ultrices
malesuada justo,
euismod consequat lorem aliquam eget.</p>
</div>
<!----->
<div class="tab-pane container p-0" id="about-6">
<div class="img" style="background-image:url(img/plan.jpg);"></div>
<h3><a href="#">Our Plans</a></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac sem sed arcu lobortis
tempor. Fusce vel magna id lorem finibus eleifend. Suspendisse potenti. Aenean ultrices
malesuada justo, euismod consequat lorem aliquam eget..</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End About us -->
<!-- Volunteer section -->
<section class="mt-5" id="volunteer" style="width: 100%; padding-top:3rem !important; padding-bottom:3rem !important; background-image:url('https://www.sambhavnepal.org/wp-content/themes/sambhav-nepal/assets/img/bg-pattern.jpg')">
<h2 style="text-align: center;" class="mb-3">Become a Volunteer | Assist the Help</h2>
<p style="text-align: center;">We can do it together. Let's work hand to hand</p>
<div class="container-fluid my-4" style="width: 100%;" >
<div class="row" style="width: 100%;">
<div class="col-1"></div>
<div class="col-5">
<?php
if (isset($_GET['status'])) {
echo '<h3 style="color:green">!!Your application is submitted Successfully!!</h3>';
}
?>
<!-- <h1 style="text-align: center;">Become a Volunteer</h1> -->
<style>
.form-control {
font-size: 1.2rem !important;
}
</style>
<form action="newvolunteer.php" method="POST" enctype="multipart/form-data">
<div class="form-group">
<input type="text" class="form-control" name="full_name" placeholder="Full Name">
</div>
<div class="form-group">
<input type="email" class="form-control" name="email_address" placeholder="Email Address">
</div>
<div class="form-group">
<input type="text" maxlength="10" class="form-control" name="phone_number" placeholder="Phone Number" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))">
</div>
<div class="form-group">
<input type="text" class="form-control" name="occupation" placeholder="Occupation">
</div>
<div class="form-group">
<textarea rows="8" cols="50" class="form-control" name="formMessage" placeholder="Your Message"></textarea>
</div>
<button type="submit" class="btn btn-success col-12" style="background-color: #2b6777;">Submit</button>
</form>
</div>
<div class="col-6">
<img src="img/volunteer.jpg" class="img-fluid" alt="">
</div>
</div>
</div>
</section>
<!-- Volunteer section end -->
<!-- Essentials Donation Section -->
<section class="mt-5">
<h1 class="text-uppercase">Essentials Donation
<style>
h1 {
text-align: center;
}
</style>
</h1>
<p style="text-align: center;">Donation can be any kind of aid that helps.</p>
<div class="w3-content w3-display-container" style="max-width:1100px; margin: 0 auto;">
<div class="mySlides">
<img src="./img/6.jpg" style="width:100%; height:600px">
<div class="caption">
<h2>Donate Study Materials and Stationaries</h2>
<div class="btn-container">
<a href="Essentials/Essentials.php?title=<?php echo urlencode('Study Materials'); ?>" class="btn">Register for Donation</a>
</div>
</div>
</div>
<div class="mySlides">
<img src="./img/5.jpg" style="width:100%; height:600px">
<div class="caption">
<h2>Donate Clothes and Uniforms</h2>
<div class="btn-container">
<a href="Essentials/Essentials.php?title=<?php echo urlencode('Clothes & Uniforms'); ?>" class="btn">Register for Donation</a>
</div>
</div>
</div>
<div class="mySlides">
<img src="./img/medical.jpg" style="width:100%; height:600px">
<div class="caption">
<h2>Donate Medicines snd Aids</h2>
<!-- <p>Donate Medicines snd Aids</p> -->
<div class="btn-container">
<a href="Essentials/Essentials.php?title=<?php echo urlencode('Medicine & Aids'); ?>" class="btn">Register for Donation</a>
</div>
</div>
</div>
<div class="w3-center w3-container w3-section w3-large w3-text-white w3-display-bottommiddle" style="width:100%">
<div class="w3-left w3-hover-text-khaki" onclick="plusDivs(-1)">❮</div>
<div class="w3-right w3-hover-text-khaki" onclick="plusDivs(1)">❯</div>
<span class="w3-badge demo w3-border w3-transparent w3-hover-white" onclick="currentDiv(1)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-white" onclick="currentDiv(2)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-white" onclick="currentDiv(3)"></span>
</div>
</div>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
if (n > x.length) {
slideIndex = 1
}
if (n < 1) {
slideIndex = x.length
}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" w3-white", "");
}
x[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " w3-white";
}
</script>
</section>
<!-- End Of -->
<section id="projects" class="mt-5" style="background-image: url(https://fourposecharity.org/images/white-background.jpg);">
<div class="donation-banner">
<h1 style="text-align:center;">PROJECTS</h1>
</div>
<?php
include "database/Db_Connection.php";
$currentProjectsSql = "SELECT * from projects where p_start_date <= cast(NOW() as date) AND cast(NOW() as date) <= p_end_date;";
$currentProjectRecords = $conn->query($currentProjectsSql);
$upcomingProjectsSql = "SELECT * from projects where p_start_date >= cast(NOW() as date)";
$upcomingProjectRecords = $conn->query($upcomingProjectsSql);
$pastProjectsSql = "SELECT * from projects where p_end_date <= cast(NOW() as date)";
$pastProjectRecords = $conn->query($pastProjectsSql);
?>
<style>
.projectsImage {
width: 20rem !important;
height: 20rem !important;
object-fit: cover;
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
}
</style>
<div class="container">
<div class="row">
<?php $count = 0; ?>
<?php foreach ($pastProjectRecords as $pastData) : ?>
<!--single Project-->
<div class="col-10 col-md-6 col-lg-4" style="padding:1.2rem 0.5rem 1.2rem 1.2rem; ">
<div class="project-container p-5">
<img class="img-fluid grow projectsImage" src="img/projects/<?php echo $pastData['thumbnail']; ?>">
<h5 class="text-capitalize my-2" style="font-size:1.7rem;"><?php echo $pastData['title']; ?></h5>
<a href="ProjectDetail.php/?id=<?php echo $pastData['id']; ?>" class="btn btn-primary col-12 text-capitalize">View More</a>
</div>
</div>
<?php $count++; ?>
<?php if ($count == 3) break; ?>
<?php endforeach; ?>
</div>
</div>
</section>
<!-- Membership card -->
<section class="mt-5">
<h2 class="text-center">Membership</h2>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-4">
<div class="card silver-card">
<div class="card-header bg-secondary text-white">
Silver Tier
</div>
<img src="./img/silver1.png" class="card-img-top" alt="Silver Tier">
<div class="card-body">
<h5 class="card-title">About Silver Tier</h5>
<p class="card-text">In this beginner-friendly tier,By donating between $1 to $9 you will become a member of our silver Tier.</p>
<ul>
<li>Only updates</li>
<li>Chat community</li>
<li>One movie free ticket</li>
</ul>
<a href="Membership/paymentGateway.php?title=<?php echo 1; ?>" class="btn btn-primary col-12">Join</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card gold-card">
<div class="card-header bg-warning text-white">
Gold Tier
</div>
<img src="./img/gold.png" class="card-img-top" alt="Gold Tier">
<div class="card-body">
<h5 class="card-title">About Gold Tier</h5>
<p class="card-text">By donating $10 monthly, you will become a member of our Gold Tier.</p>
<ul>
<li>All Silver Tier benefits</li>
<li>Exclusive monthly newsletter</li>
<li>Personalized thank you message</li>
</ul>
<a href="Membership/paymentGateway.php?title=<?php echo 2; ?>" class="btn btn-primary col-12">Join</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card diamond-card">
<div class="card-header bg-danger text-white">
Platinum tier
</div>
<img src="./img/Platinum-Badge.png" class="card-img-top" alt="Diamond Tier">
<div class="card-body">
<h5 class="card-title">About Platinum Tier</h5>
<p class="card-text">For a monthly donation of $20 or more, you will receive the exclusive benefits of our Platinum.</p>
<ul>
<li>All Silver and Gold Tier benefits</li>
<li>Personalized thank you message</li>
<li>Special recognition on our website</li>
</ul>
<a href="Membership/paymentGateway.php?title=<?php echo 3; ?>" class="btn btn-primary col-12">Join</a>
</div>
</div>
</div>
</div>
</div>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</section>
<section class="team mt-5" style="background-image:url('https://img.freepik.com/free-photo/gray-wall-textures-background_74190-4389.jpg')">
<h2 class="text-center">Our Team</h2>
<p class="text-center">We Are Dedicated To Helping Disadvantaged Children Improve Their Quality Of Life.</p>
<!-- -->
<!-- Team Section-->
<?php
$teamsSql = "SELECT * FROM teams";
$teamsresult = mysqli_query($conn, $teamsSql);
?>
<section id="our-team">
<div class="container">
<div class="section-title">
<!-- <h2 class="text-center">Our Team</h2> -->
</div>
<div class="row">
<?php while ($rs = mysqli_fetch_array($teamsresult)) { ?>
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="team-1">
<div class="pic">
<img src="img/team-img.jpg" class="img-fluid" alt="">
</div>
<div class="team-info">
<h4><?php echo $rs['name']; ?></h4>
<span><?php echo $rs['skill']; ?></span>
<div class="social">
<a href="<?php echo $rs['twitter']; ?>">
<i class="fab fa-twitter"></i>
</a>
<a href="<?php echo $rs['fb']; ?>">
<i class="fab fa-facebook"></i>
</a>
<a href="<?php echo $rs['insta']; ?>">
<i class="fab fa-instagram"></i>
</a>
<a href="<?php echo $rs['linkedin']; ?>">
<i class="fab fa-linkedin"></i>
</a>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
</section>
<!-- Add the meta tag for responsiveness in the head section of your HTML -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Your existing HTML code for the footer remains the same -->
<!-- Add the following CSS styles for responsiveness -->
<style>
/* Base styles for the footer elements */
.nb-footer {
background-color: #2b6777;
color: white;
padding: 30px 0;
align-items: center;
}
.footer-title {
margin-bottom: 20px;
}
.footer-title h2 {
margin: 0;
}
.footer-single ul {
padding-left: 0;
}
.footer-single ul li {
list-style: none;
margin-bottom: 10px;
}
.footer-single ul li a {
color: white;
text-decoration: none;
}
/* Responsive styles for different screen sizes */
@media screen and (max-width: 767px) {
/* Stack the footer columns on small screens */
.footer-single {
text-align: center;
}
.footer-single .footer-title {
text-align: center;
}
.footer-single .footer-social {
margin-bottom: 15px;
}
.footer-single address {
text-align: center;
}
}
</style>
</head>
<!-- <body> -->
<footer>
<?php include './Footer/indexFooter.php' ?>
</footer>
<!-- <script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {
slideIndex = 1
}
if (n < 1) {
slideIndex = x.length
};
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex - 1].style.display = "block";
}
</script> -->
<script src="path/to/jquery.min.js"></script>
<!-- Include Bootstrap JS -->
<script src="path/to/bootstrap.min.js"></script>
<script>
// JavaScript to handle the toggle functionality
$(document).ready(function () {
$("#toggleNavBtn").click(function () {
$("#myNavbar").toggleClass("show");
// Toggle the display property of the logo element
$(".logo").toggle();
});
});
</script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<!-- Bootstrap JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
<!-- <?php
// }
?> -->
</html>