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.chauffagiste-essonne.com
/
htdocs
/
pages
/
db
/
/srv/data/web/vhosts/www.chauffagiste-essonne.com/htdocs/pages/db/product.php
<?php //start_block('title','keywords','description') start_block('','',''); ?> <?php include "functions/product.php" ?> <div id="product"> <h1><?=$product->name?></h1> <hr> <div class="info"> <?php foreach ($pictures as $i => $picture): ?> <a data-lightbox="roadtrip" href="<?=$picture->src?>" title="<?=$picture->title?> - <?=$picture->legend?>"> <img class="img-responsive thumbnail <?=($i>0)?'little':'' ?>" src="<?=$picture->src?>" alt="<?=$picture->title?>" title="<?=$picture->title?>"> </a> <?php endforeach ?> <div class="row"></div> <div> <h2 class="text-center"><?=number_format($product->price,2,","," ")?> €</h2> <i>Dimension : </i><?=(float)$product->length."x".(float)$product->width."x".(float)$product->height?> cm<br> <i>Poids : <?=(float)$product->weight?> kg</i><br> </div> <br> <form method="POST" action="functions/ShoppingCart/add-article.php"> <input type="hidden" name="id" value="<?=$product->id?>"> <input type="hidden" name="name" value="<?=$product->name?>"> <input type="hidden" name="reference" value="<?=$product->reference?>"> <input type="hidden" name="price" value="<?=$product->price?>"> <input type="hidden" name="shipping_cost" value="<?=$product->shipping_cost?>"> <input type="hidden" name="tax" value="<?=$product->tax?>"> <input type="submit" class="btn btn-success btn-block" value="Ajouter au panier"> </form> </div> <?=$product->desc_long?> </div> <?php end_block(); ?>