1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
| <?php
include('../fonction/fonction.php');
include('../fonction/connect.php');
include('../fonction/parametre.php');
$adresse=$_GET['adresse'];
$code=$_GET['code'];
$type=$_GET['type'];
$cat=$_GET['cat'];
$adresseentiere="http://www.truc.fr".$adresse;
?>
<?
include $adresseentiere;
?>
<div style="position:absolute; top:0px; left:0px; z-index:800;width:100%;height:100%">
<img src='../images/fondpanier.png' width='100%' height='100%'>
</div>
<div style="background:white;position:absolute; top:200 px; left:225 px; z-index:1000; " >
<table width='550px' height='300px' border='3' bordercolor='#FF0000'>
<tr>
<td>
<?
if ($code==''){
$requetefourniture="select * from typefourniture where refType=".$type." AND refCat=".$cat." ";
$resultfourniture=mysql_query($requetefourniture);
$tabfourniture=mysql_fetch_array($resultfourniture);
echo "<table width='100%' height='100%' valign='top' border='0' >
<tr valign='middle' height='30px'><td align='center' colspan='2' bgcolor='#6699cc' style='color:#FFFFFF;font-size:14pt;' ><b>Vous venez d'ajouter ce produit à votre panier</b></td></tr>
<tr><td colspan='2'><br></td></tr>
<tr>
<td align='center'><img src='../images/consommable/".$tabfourniture['photoType']."' width='75px'></td>
<td align='center' style='color:#006699;font-family:Verdana, Arial,Helvetica, sans-serif;font-size:16px;text-decoration: none;font-weight: bold;'>".$tabfourniture['libType']."</td>
</tr>
<tr><td colspan='2'><br><br><br></td></tr>
<tr height='75%' ><td colspan='2'>
<table width='100%' ><tr><td align='left'><a href='http://www.rbs-france.fr/market/commande.php'><img src='../images/terminer_commande.png' width='190px' border='0'></a></td>
<td align='right'><a href='$adresseentiere'><img src='../images/continuer_achat.png' width='190px' border='0'></a></td>
</tr>
</table>
</td></tr>
</table>";
}
else{
$requeteproduit="select * from produit where idProduit=".$code." ";
$resultproduit=mysql_query($requeteproduit);
$tabproduit=mysql_fetch_array($resultproduit);
echo "<table width='100%' height='100%' valign='top' border='0' >
<tr valign='middle' height='30px'><td align='center' colspan='3' bgcolor='#6699cc' style='color:#FFFFFF;font-size:14pt;' ><b>Vous venez d'ajouter ce produit à votre panier</b></td></tr>
<tr><td colspan='3'><br></td></tr>
<tr>
<td rowspan='2' align='center'><img src='../images/".$tabproduit['photoProduit']."' width='75px'></td>
<td align='center' style='color:#006699;font-family:Verdana, Arial,Helvetica, sans-serif;font-size:16px;text-decoration: none;font-weight: bold;'>".$tabproduit['titreProduit']."</td>
<td rowspan='2' align='center' style='color:#006699;font-family:Verdana, Arial,Helvetica, sans-serif;font-size:16px;text-decoration: none;font-weight: bold;'>".$tabproduit['prixProduit']."</td>
</tr>
<tr><td align='center' style='color:#0099CC;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:14px;text-decoration: none;' >".$tabproduit['designationProduit']."</td></tr>
<tr><td colspan='3'><br><br><br></td></tr>
<tr height='75%' ><td colspan='3'>
<table width='100%' ><tr><td align='left'><a href='http://www.rbs-france.fr/market/commande.php'><img src='../images/terminer_commande.png' width='190px' border='0'></a></td>
<td align='right'><a href='$adresseentiere'><img src='../images/continuer_achat.png' width='190px' border='0'></a></td>
</tr>
</table>
</td></tr>
</table>";
}
?>
</td>
</tr>
</table>
</div> |
Partager