-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathabout.php
103 lines (84 loc) · 3.75 KB
/
about.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
<?php require 'inc/header.php'; ?>
<!--======================= Main Section Start======================== -->
<section class="main_section about_section">
<div class="mainsection_bfr_container">
<div class="container">
<div class="about-section-top">
<h1>About Us Page</h1>
<p>Some text about who we are and what we do.</p>
<p>Resize the browser window to see that this page is responsive by the way.</p>
</div>
<div class="our_team">
<h2 class="team_heading" style="text-align:center">Our Team</h2>
<div class="row team_head_clr">
<?php
$sql = "SELECT * FROM tbl_team ORDER BY id DESC";
$team = $db->select($sql);
if ($team) {
while ($result = $team->fetch_assoc()) {
?>
<div class="col-md-4">
<div class="card">
<img src="admin/uploads/<?php echo $result['image']; ?>" alt="Jane" style="width:100%; height: 225px;">
<div class="container">
<h2><?php echo $result['name']; ?></h2>
<p class="title"><?php echo $result['subtitle']; ?></p>
<p><?php echo $result['body']; ?></p>
<p><?php echo $result['email']; ?></p>
<p><a target="_blank" href="<?php echo $result['contact']; ?>" class="button">Contact</a></p>
</div>
</div>
</div>
<?php } } ?>
</div>
</div>
</div>
</div>
</section>
<!--======================= Main Section End======================== -->
<?php require 'inc/footer.php' ?>
<!--======================= Header Script Start======================== -->
<script>
/* Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon */
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<script>
/* Open when someone clicks on the span element */
function openNav() {
document.getElementById("myNav").style.width = "100%";
}
/* Close when someone clicks on the "x" symbol inside the overlay */
function closeNav() {
document.getElementById("myNav").style.width = "0%";
}
</script>
<!--======================= Header Script Start======================== -->
<!--=================== Scroll to top Script Start ==================== -->
<!--=================== Scroll To Top ==================== -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="js/scrolltop.js"></script>
<!--=================== Scroll To Top==================== -->
<!--=================== Scroll to top Script End ==================== -->
<!--=================== Sticy Header ==================== -->
<script>
window.onscroll = function () { myFunction() };
var header = document.getElementById("myHeader");
var sticky = header.offsetTop;
function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}
</script>
<!--=================== Sticy Header ==================== -->
</body>
</html>