0byt3m1n1
Path:
/
home
/
kassiope
/
www
/
achat
/
modeles
/
[
Home
]
File: historique_commande_bons.php
<?=header_page(ORDER_RETURN2); ?> <p class="text-center"><?php echo ORDER_RETURN3; ?></p> <div class="col-md-12"> <div class="table-responsive"> <form method="post"> <input type="hidden" name="mode" value="genere_bon" /> <input type="hidden" name="idcommande" value="<?php echo $id; ?>" /> <input type="hidden" name="id_utilisateur" value="<?php echo $id_utilisateur; ?>" /> <table class="cart-table"> <thead> <tr> <th><? echo ITEM ?></th> <th><? echo CATALOGUE_PRICE ?></th> <th><? echo SOLD_PRICE ?></th> <th><? echo QUANTITY ?></th> <th><? echo TOTAL_AMOUNT ?></th> </tr> </thead> <tbody> <? if ($qid_items) { if (mysql_num_rows_override($qid_items)) { while ($prod = mysql_fetch_array_override($qid_items)) { ?> <tr> <td> <a href="<?=$prod['produit_id']?>-<?=$prod['categorie_id']?>-p-<?=propre($prod['nom_produit'])?>.html" class="normal"><?=stripslashes($prod['nom_produit'].' '.get_color($prod['produit_id']))?></a> <? if ($prod['couleur'] != '') {print "<br />Couleur : ".$prod['couleur'].".";} if ($prod['taille'] !='') {print "<br />Taille : ".$prod['taille'].".";} if ($prod['comment'] !='') {print "<br />".COMMENTS." : ".stripslashes($prod['comment']).".";} ?> </td> <td align=center><?=fprix($prod['curr_prix'])?></td> <td align=center><?=fprix($prod['purchase_prix']);?></td> <td align=center><?=$prod['quantite']?></td> <td align=center> <? $total = $prod['purchase_prix']*$prod['quantite']; echo fprix($total);?> € T.T.C</td> <td align=center><input type="checkbox" name="prodsbon[]" value="<?=$prod['produit_id']?>" /></td> </tr> <? } } } ?> </tbody> </table> <center><button type="submit" class="proceedbtn"><?php echo ORDER_RETURN4; ?></button></center> </form> </div> </div> <!-- Shopping Cart Table --> <?=footer_page(); ?>