-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
113 lines (105 loc) · 5.96 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
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
<?php require_once ('admin/access/connex.php'); ?>
<footer class="footer-style-2">
<div class="footer-top wf100">
<div class="container">
<div class="row">
<div class="col-lg-3 col-sm-6">
<!--Footer Widget Start-->
<div class="footer-widget about-ecova">
<div class="f2logo"> <img src="images/f2logo.png" alt="" style="height: 120px; width:260px; margin-top: -16px; margin-bottom: -10px;"> </div>
<?php
$req=$bd->prepare('SELECT * FROM vision ');
$req->execute();
$res = $req->fetch();
?>
<span class="text-danger"><p ><?php echo substr($res['detail'], 0,500); ?></p></span>
<a href="about.php" class="more">En savoir plus sur Premidis</a>
</div>
<!--Footer Widget End-->
</div>
<div class="col-lg-3 col-sm-6">
<!--Footer Widget Start-->
<div class="footer-widget">
<h5>Récents Projects</h5>
<ul class="quick-links">
<?php
$req=$bd->prepare('SELECT * FROM projet ORDER BY datePub DESC ');
$req->execute();
while ($res = $req->fetch()) { ?>
<li><a href="projetDetail.php?idP=<?php echo $res['id'] ?>"><?php echo $res['titre'] ?></a></li>
<?php } ?>
</ul>
</div>
<!--Footer Widget End-->
</div>
<div class="col-lg-3 col-sm-6">
<!--Footer Widget Start-->
<div class="footer-widget">
<h5>Mots clés</h5>
<ul class="ftags">
<?php
require_once ('admin/access/connex.php');
$req=$bd->prepare('SELECT * FROM categorie ');
$req->execute();
while ($res = $req->fetch()) { ?>
<li><a href="blog.php"><?php echo $res['libelle'] ?></a></li>
<?php } ?>
</ul>
</div>
<!--Footer Widget End-->
</div>
<div class="col-lg-3 col-sm-6">
<!--Footer Widget Start-->
<div class="footer-widget">
<h5>Dernières Publications</h5>
<ul class="lastest-products">
<?php
$req=$bd->prepare('SELECT A.id as idArt, A.titre, A.detail, A.datePub, A.img_one, B.nom, C.libelle FROM article AS A, users AS B, categorie AS C WHERE A.idUser = B.id AND A.idCat = C.id ORDER BY datePub DESC LIMIT 0,3');
$req->execute();
while($res = $req->fetch()){ ?>
<li> <img src="images/blog/<?php echo $res['img_one'] ?>" alt="" height="60" width="80"> <strong><a href="#"><?php echo $res['titre']; ?> ...</a></strong> <span class="pdate"><i>Publié:</i> <?php echo $res['datePub'] ?></span> </li>
<?php } ?>
</ul>
</div>
<!--Footer Widget End-->
</div>
</div>
</div>
</div>
<div class="footer-newsletter wf100">
<div class="container">
<div class="row">
<div class="col-lg-8">
<form action="index.php" method="post" accept-charset="utf-8">
<div class="newsletter">
<strong>Recevez nos nouvelles</strong>
<ul>
<li>
<input class="input-group-sm" name="name" type="text" placeholder="Votre Nom">
</li>
<li>
<input type="text" name="email" placeholder="Votre Adresse Email">
</li>
<li>
<input type="submit" name="save1" value="S'abonner">
</li>
</ul>
</div>
</form>
</div>
<div class="col-lg-4">
<div class="footer-social"> <strong>Nous joindre</strong> <a href="https://m.facebook.com/JEF-asbl-112084287917518/"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-linkedin-in"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> <a href="#"><i class="fab fa-youtube"></i></a> </div>
</div>
</div>
</div>
</div>
<div class="footer-copyr wf100">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-8">
<p><a target="_blank" href="https://www.templateshub.net"><?php echo date('Y') ?> JEF ASBL © Tout droit réservé</a></p>
</div>
</div>
</div>
</div>
</footer>