-
Notifications
You must be signed in to change notification settings - Fork 0
/
faqs.php
80 lines (68 loc) · 3.54 KB
/
faqs.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
<? require_once("config.php");?>
<? require_once("views/helper.php");?>
<? require_once("views/init.php");?>
<body>
<div class="box-layout">
<? require_once("views/header.php");?>
<div class="submenu">
<div class="container d-flex justify-content-between">
<h3 class="text-black">Асуулт хариулт</h3>
</div>
</div>
<div class="container m">
<div class="accordion pt-50" id="accordionExample">
<?
$sql = "SELECT *FROM faqs ORDER BY dd";
$result = mysqli_query($conn,$sql);
while ($faqs = mysqli_fetch_array($result))
{
?>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse_<?=$faqs["id"];?>" aria-expanded="false" aria-controls="collapse_<?=$faqs["id"];?>">
<?=$faqs["question"];?>
</button>
</h2>
<div id="collapse_<?=$faqs["id"];?>" class="accordion-collapse collapse" aria-labelledby="heading_<?=$faqs["id"];?>" data-bs-parent="#accordionExample">
<div class="accordion-body">
<?=$faqs["answer"];?>
</div>
</div>
</div>
<?
}
?>
</div>
</div>
<? require_once("views/footer.php");?>
<!-- Start Scrolling -->
<div class="scroll-img"><i class="fa fa-angle-up" aria-hidden="true"></i></div>
<!-- End Scrolling -->
</div>
<!-- Start Pre-Loader-->
<div id="loading">
<div id="loading-center">
<div id="loading-center-absolute">
<div class="object" id="object_one"></div>
<div class="object" id="object_two"></div>
<div class="object" id="object_three"></div>
<div class="object" id="object_four"></div>
</div>
</div>
</div>
<!-- End Pre-Loader -->
<script type="text/javascript" src="assets/js/jquery-2.2.3.min.js"></script>
<!-- <script type="text/javascript" src="assets/js/bootstrap.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script> <script type="text/javascript" src="assets/js/jquery.waypoints.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.counterup.min.js"></script>
<script type="text/javascript" src="assets/js/swiper.min.js"></script>
<script type="text/javascript" src="assets/js/plugins.isotope.js"></script>
<script type="text/javascript" src="assets/js/isotope.pkgd.min.js"></script>
<script type="text/javascript" src="assets/js/lightcase.js"></script>
<script type="text/javascript" src="assets/js/jquery.nstSlider.js"></script>
<script type="text/javascript" src="assets/js/jquery.flexslider.js"></script>
<script type="text/javascript" src="assets/js/custom.isotope.js"></script>
<script type="text/javascript" src="assets/js/custom.map.js"></script>
<script type="text/javascript" src="assets/js/custom.js"></script>
</body>
</html>