Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
716cf56cb2.url-de-test.ws
/
htdocs_backup
/
htdocs
/
Torrese
/
pages
/
/srv/data/web/vhosts/716cf56cb2.url-de-test.ws/htdocs_backup/htdocs/Torrese/pages/gallery.php
<?php //start_block('title','keywords','description') start_block('','',''); ?> <div id="lightbox" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog"> <button type="button" class="close hidden" data-dismiss="modal" aria-hidden="true">×</button> <div class="modal-content"> <div class="modal-body"> <img src="" alt="" /> </div> </div> </div> </div> <section class="one"> <div id="gallery" class="container"> <h2>Galerie</h2><hr> <div class="row"> <?php $categorie = "Film de protection"; $stmt=$db_client->prepare("SELECT * FROM gallery WHERE categorie LIKE ? ORDER BY update_at DESC"); // on prépare notre requête $stmt->execute(array($categorie)); $rows=$stmt->fetchAll(); ?> <h3>Film de protection</h3><hr> <div class="gal"> <?php if(!empty($rows)): ?> <?php foreach($rows as $row): ?> <a href="#" data-toggle="modal" data-target="#lightbox"> <img src="<?=$row->image?>" class="img-responsive" alt="<?=$row->name?>"> </a> <?php endforeach; ?> <?php endif; ?> </div> </div> <div class="row"> <?php $categorie = "Protection de jantes"; $stmt=$db_client->prepare("SELECT * FROM gallery WHERE categorie LIKE ? ORDER BY update_at DESC"); // on prépare notre requête $stmt->execute(array($categorie)); $rows=$stmt->fetchAll(); ?> <h3>Protection de jantes</h3><hr> <div class="gal"> <?php if(!empty($rows)): ?> <?php foreach($rows as $row): ?> <a href="#" data-toggle="modal" data-target="#lightbox"> <img src="<?=$row->image?>" class="img-responsive" alt="<?=$row->name?>"> </a> <?php endforeach; ?> <?php endif; ?> </div> </div> </div> </section> <?php end_block(); ?>