-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfooter.php
35 lines (33 loc) · 1.45 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
<div id ="footer">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php
include "config.php";
$sql = "SELECT * FROM settings";
$result = mysqli_query($conn, $sql) or die("Query Failed.");
if(mysqli_num_rows($result) > 0){
while($row = mysqli_fetch_assoc($result)) {
?>
<span style="margin: 0px 200px;"><?php echo $row['footerdesc'] ?></span>
<span>
<a href="#" style="margin: 0px 3px;" class="fa fa-linkedin"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-facebook"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-twitter"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-instagram"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-youtube"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-pinterest"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-google"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-skype"></a>
<a href="#" style="margin: 0px 3px;" class="fa fa-github"></a>
</span>
<?php
}
}
?>
</div>
</div>
</div>
</div>
</body>
</html>