-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkey-risks.php
More file actions
94 lines (66 loc) · 3.23 KB
/
Copy pathkey-risks.php
File metadata and controls
94 lines (66 loc) · 3.23 KB
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
<?php require 'inc/dynamic_session.php'; ?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<?php require 'inc/toplink.php'; ?>
</head>
<body>
<!-- ==== header start ==== -->
<?php require 'inc/general_header.php'; ?>
<!-- ==== #header end ==== -->
<!-- ==== key faq section start ==== -->
<section class="faq key-faq section__space">
<div class="container">
<div class="key-faq__area">
<div class="section__header">
<h2 class="neutral-top">Key Risks</h2>
<?php
$select = mysqli_query($connect, "SELECT * FROM pages WHERE `page name` = 'key-risks'");
foreach($select AS $key){
echo $key['content'];
}
?>
</div>
<section class="faq">
<div class="container">
<div class="faq__area">
<div class="faq__tab__content" id="start">
<div class="faq__group">
<div class="accordion" id="accordionExampleStart">
<?php
$select = mysqli_query($connect, "SELECT * FROM faqs LIMIT 6");
foreach($select AS $key){
?>
<div class="accordion-item content__space">
<h5 class="accordion-header" id="headingStart<?=$key['id']; ?>">
<span class="icon_box">
<img src="../assets/images/icons/message.png" alt="Start" />
</span>
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseStart<?=$key['id']; ?>" aria-expanded="false"
aria-controls="collapseStart<?=$key['id']; ?>">
<?php echo $key['question']; ?>
</button>
</h5>
<div id="collapseStart<?=$key['id']; ?>" class="accordion-collapse collapse"
aria-labelledby="headingStart<?=$key['id']; ?>" data-bs-parent="#accordionExampleStart">
<div class="accordion-body">
<p><?php echo $key['answer']; ?></p>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<!-- ==== #key faq section end ==== -->
<?php require 'inc/general_footer.php'; ?>
<?php require 'inc/footlink.php'; ?>
</body>
</html>