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
/
www.volley92.asso.fr
/
htdocs
/
pages
/
/srv/data/web/vhosts/www.volley92.asso.fr/htdocs/pages/tarif.php
<?php //start_block('title','keywords','description') start_block('','',''); ?> <?php $category = 22; $stmt=$db_client->prepare("SELECT * FROM category WHERE id= ?"); // on prépare notre requête $stmt->execute(array($category)); $rowc=$stmt->fetch(); $stmt=$db_client->prepare("SELECT * FROM page_list WHERE category_id= ?"); // on prépare notre requête $stmt->execute(array($category)); $rows=$stmt->fetchAll(); ?> <div class="bg"> <h1><?= $rowc->title?></h1> </div> <section class="one tarif"> <div class="main-content formations"> <div class="container"> <div class="row pt-5"> <?php foreach($rows as $row):?> <div class="col-sm-12 price shadow-lg"> <div class="row"> <div class="col-sm-10"> <h2><?= $row->title.' '.$row->formule?> <?= $row->price.' €'?></h2> </div> <div class="col-sm-2"> <!-- <?= strip_tags($row->content, '<p><ul><li><a><br><h3>'); ?> <?=$row->content_2?> --> <form action="form-paiement" method="post" class="text-sm-right"> <input type="hidden" name="title" value="<?=$row->title?>"> <input type="hidden" name="formule" value="<?=$row->formule?>"> <input type="hidden" name="prix" value="<?=$row->price?>"> <input type="hidden" name="content" value="<?=$row->content?>"> <input type="hidden" name="content_2" value="<?=$row->content_2?>"> <button type="submit" name="payer"class="btn btn-primary">Réserver</button> </form> </div> </div> </div> <?php endforeach;?> </div> </div> </div> </section> <?php end_block(); ?>