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/actualite.php
<?php //start_block('title','keywords','description') start_block('','',''); ?> <?php $temp = explode("-",$slug); $id = $temp[1]; if(empty($id)){ header("Location: Actualites"); }else{ $stmt = $db_client->prepare("SELECT * FROM news WHERE id=? ORDER BY update_at DESC"); $stmt->execute(array($id)); $row = $stmt->fetch(); if(empty($row)){ header("Location: Actualites"); } } ?> <section class="one"> <div class="container"> <h1><?=$row->title?></h1> <br><br> <div class="col-sm-4"> <img src="<?=$row->image?>" alt="<?=$row->title?>" class="img-responsive thumbnail"> </div> <p> <?=strip_tags($row->content, '<p><video><strong><h3><h4>')?> </p> </div> </section> <?php end_block(); ?>