vincent2208 | Bonjour, il me reste un dernier petit probleme pour la conception d'un pannier : L'ajout de plusieurs articles et maintenant possible qui sont affichés si l'on ajoute un article dans le panier mais si l'on accede directement au panier les éléments bien que gardés en memoire ne sont plus affichés comment faire:
demo pour test:
http://www.informatiques-consommab [...] /alps1.php
code alps1.php
Code :
- <?php
- session_start();
- if (isset($_SESSION['panier']['nb_art'])) { // controle si un article existe deja dans le panier
- $id_art_sel=$_SESSION['panier']['nb_art']+1; // numero de l'article qui sera ajout
- } else {$id_art_sel=1;} // si il n'y a pas d'articles dj
prsent
- echo '<form name="form1" method="post" action="http://www.informatiques-consommables.com/commandes/panier1.php">
- <INPUT type="hidden" name="id_art" value="'.$id_art_sel.'">'; // pour passage de l'id article
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <TITLE>CEVENNES TONER ALES</TITLE>
- <META NAME="Identifier-URL" CONTENT="http://www.informatiques-consommables.com/Catalogue/1/alps.php">
- <META NAME="Description" CONTENT="cevennes toner ales">
- <META NAME="Keywords" LANG="fr" CONTENT="catalogue, stockage, alps, produit, produits, services, article, articles, CD-DVD, r-rw vierge, Carte mémoire, Cle usb, Cle mp3, Disque dur">
- <META NAME="ROBOTS" CONTENT="INDEX,FOLLOW,ALL">
- <META NAME="revisit-after" CONTENT="7">
- <META NAME="Author" LANG="fr" CONTENT="aptitude online vincent bonet">
- <META HTTP-EQUIV="imagetoolbar" CONTENT="no">
- <script language="JavaScript">
- msg = "Cevennes Toner Alès // Tous vos consommables & Matériels informatiques...";
- timeID = 10;
- stcnt = 16;
- wmsg = new Array(33);
- wmsg[0]=msg;
- blnk = " ";
- for (i=1; i<32; i++)
- {
- b = blnk.substring(0,i);
- wmsg[i]="";
- for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
- }
- function wiper()
- {
- if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
- if (stcnt-- < -40) stcnt=31;
- status = str;
- clearTimeout(timeID);
- timeID = setTimeout("wiper()",100);
- }
- wiper()
- </script>
- <link href="design/styles/styles.css" rel="stylesheet" type="text/css">
- <style type="text/css">
- <!--
- body {
- background-image: url(../../design/styles/fond.gif);
- background-color: #FFFFFF;
- }
- .Style15 {color: #BDDFE1}
- .Style16 {font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: Aucune; letter-spacing: normal; text-align: left; vertical-align: baseline; word-spacing: normal; white-space: normal; font-family: Verdana, Arial, Helvetica, sans-serif;}
- body,td,th {
- color: #006699;
- }
- a:link {
- color: #006699;
- text-decoration: none;
- }
- a:visited {
- color: #006699;
- text-decoration: none;
- }
- a:hover {
- color: #006699;
- text-decoration: underline;
- }
- a:active {
- color: #BDDFE1;
- text-decoration: none;
- }
- .Style19 {font-size: 12px}
- .Style20 {font-family: Geneva, Arial, Helvetica, sans-serif}
- .Style23 {font-size: 12px; font-style: normal; line-height: normal; font-variant: normal; text-transform: Aucune; color: #006699; letter-spacing: normal; text-align: left; vertical-align: baseline; word-spacing: normal; white-space: normal; font-family: Verdana, Arial, Helvetica, sans-serif;}
- -->
- <!--
- .Style24 {color: #FF0000}
- -->
- </style>
- <link href="../../design/styles/styles.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div align="center">
- <table width="800" border="1" cellpadding="0" cellspacing="0" bordercolor="#9DBEC5" bgcolor="#FFFFFF">
- <tr bordercolor="#D5DDE0">
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><a href="http://www.informatiques-consommables.com/accueil.php" target="_self"><img src="http://www.informatiques-consommables.com/design/img/cevennestoner.jpg" alt="Cevennes Toner Ales" width="100%" height="190" border="0"></a> </div></td>
- </tr>
- <tr bordercolor="#D5DDE0">
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#9DBEC5" bgcolor="#FFFFFF">
- <tr bgcolor="#BDDFE1" class="menuhaut">
- <td><a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Stockage</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Composants</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self">Systemes</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">Logiciels</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Reseaux</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Peripheriques</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Consommables</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self">Services</a></td>
- <td><a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Accessoires</a></td>
- </tr>
- </table></td>
- </tr>
- <tr bordercolor="#D5DDE0">
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr class="textes">
- <td width="50%">
- Bienvenue sur Cevennes Toner
- </td>
- <td width="50%"><div align="right">
- <a href="http://www.informatiques-consommables.com/commandes/panier1.php" target="_self">Mon Panier<img src="http://www.informatiques-consommables.com/design/img/panier.jpg" alt="Mon Panier" width="30" height="18" border="0"> </a></div></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <table width="800" height="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#BDDFE1" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1">
- <td width="135" bgcolor="#FFFFFF"><table width="135" height="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="center" class="menugauche">Ventes Flash</div></td>
- </tr>
- <tr>
- <td width="120" height="120" bordercolor="#006699" bgcolor="#FFFFFF"> <div align="left" class="textes">
- <div align="center"><span class="titres_droite">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="120">
- <param name="movie" value="../../design/flash/ventes_flash.swf">
- <param name="quality" value="high">
- <embed src="../../design/flash/ventes_flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="120"></embed>
- </object>
- </span></div>
- </div></td></tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <div align="left"></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="center" class="menugauche">Liens Sponrisés</div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF">
- <div align="center"><script language="javascript">
- var uri = 'http://impfr.tradedoubler.com/imp/js/14499249/1035542?' + new String (Math.random()).substring (2, 11);
- document.write('<sc'+'ript language="JavaScript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
- </script></div></td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1" class="menugauche">Espace Clients</td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="left" class="textes">
- <p><a href="http://www.informatiques-consommables.com/xxxxx/intra.php" target="_self">Professionnels</a></p>
- <p><a href="http://www.informatiques-consommables.com/xxxxx/intra.php" target="_self">Mon Compte</a></p>
- </div></td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"> </td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="center" class="menugauche">Catalogue</div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="left" class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/catalogue.php" target="_self">tous les articles</a></div></td>
- </tr>
- <tr>
- <td height="100%" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> </td>
- </tr>
- </table> </td>
- <td width="490" bgcolor="#FFFFFF"><div align="center"></div>
- <div align="center">
- <table width="100%" height="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left">
- <table width="100%" border="1" cellpadding="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="left" class="titrescentre"><a href="http://www.informatiques-consommables.com/accueil.php" target="_self">Accueil</a> >> <a href="http://www.informatiques-consommables.com/Catalogue/catalogue.php" target="_blank">Catalogue Produits & Services</a> >> <span class="Style24"><a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Stockage</a></span> </div></td>
- </tr>
- </table>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"><table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td class="menugauche">Constructeur</td>
- </tr>
- <tr>
- <td class="menugauche">Aide Commande <a href="#"onClick="window.open('http://www.informatiques-consommables.com/commandes/aide.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=2, resizable=0, copyhistory=0, menuBar=0, width=650, height=450');return(false)"><img src="http://www.informatiques-consommables.com/design/img/interrogation.jpg" alt="Aide" width="22" height="18" border="0"></a></td>
- </tr>
- </table></td>
- <td width="50%" class="titrescentre"><div align="right"><img src="../../design/fabriquants/alps.gif" width="106" height="31"></div></td>
- </tr>
- </table>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1" bgcolor="#BDDFE1" class="menugauche">
- <td width="14%">Reference</td>
- <td width="51%" bordercolor="#BDDFE1">Description</td>
- <td width="14%">Prix HT € </td>
- <td width="11%">Quantité</td>
- <td width="10%">Ajouter</td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF">
- <td width="14%" class="menugauche"><table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td><div align="center"><img src="../../design/img/no_photo.gif" width="45" height="45"></div></td>
- </tr>
- <tr>
- <td><input name="ref" type="text" id="champ1" value="1ALP1" size="8" maxlength="8" onFocus="this.blur()"></td>
- </tr>
- </table></td>
- <td width="51%" class="textes"><textarea name="designation" cols="25" rows="4" id="champ2" onFocus="this.blur()">PACK de 20 lecteurs de
- disquettes 3.5 PCE 1.44MB
- (coloris : beige)</textarea></td>
- <td width="14%" class="textes"><input name="prixht" type="text" id="champ3" value="106.46" size="8" maxlength="8" onFocus="this.blur()"></td>
- <td width="11%" class="textes"><select name="quantite" id="champ4">
- <option value="0" selected>0</option>
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- <option value="7">7</option>
- <option value="8">8</option>
- <option value="9">9</option>
- </select></td>
- <td width="10%" class="textes"><div align="right">
- <input type="submit" value="ajouter">
- </div></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"> </td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td><form name="form2" method="post" action="http://www.informatiques-consommables.com/commandes/panier.php">
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF">
- <td width="14%" class="menugauche"><table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td><div align="center"><img src="../../design/img/no_photo.gif" width="45" height="45"></div></td>
- </tr>
- <tr>
- <td><input name="ref" type="text" id="champ1" value="1ALP2" size="8" maxlength="8" onFocus="this.blur()"></td>
- </tr>
- </table></td>
- <td width="51%" class="textes"><textarea name="designation" cols="25" rows="4" id="champ2" onFocus="this.blur()">PACK de 20 lecteurs de
- disquettes 3.5 PCE 1.44MB
- (coloris : noir)</textarea></td>
- <td width="14%" class="textes"><input name="prixht" type="text" id="champ3" value="112.68" size="8" maxlength="8" onFocus="this.blur()"></td>
- <td width="11%" class="textes"><select name="quantite" id="champ4">
- <option value="0" selected>0</option>
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- <option value="7">7</option>
- <option value="8">8</option>
- <option value="9">9</option>
- </select></td>
- <td width="10%" class="textes"><div align="right">
- <input type="submit" value="ajouter">
- </div></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"> </td>
- </tr>
- </table>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF" >
- <tr>
- <td bordercolor="#BDDFE1" bgcolor="#BDDFE1" class="menugauche">Vous ne trouvez pas votre référence? Servez-vous du formulaire ci dessous</td>
- </tr>
- <tr>
- <td bordercolor="#BDDFE1"><form name="references" method="post" action="http://www.informatiques-consommables.com/Catalogue/envoi.php3">
- <table width="100%" >
- <tr class="textes">
- <td><input name="champ1" type="text" id="champ1" value="Marque" size="10" maxlength="10"></td>
- <td><input name="champ2" type="text" id="champ2" value="Model" size="20" maxlength="20"></td>
- <td><input name="champ3" type="text" id="champ3" value="Ref" size="20" maxlength="20"></td>
- <td> </td>
- </tr>
- <tr class="textes">
- <td>Recontactez moi par: </td>
- <td><input name="champ4" type="text" id="champ4" value="Votre Email" size="20" maxlength="20"></td>
- <td><input name="champ5" type="text" id="champ5" value="Votre Telephone" size="20" maxlength="20"></td>
- <td><input type="submit" name="Submit" value="Envoyer"></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"> </td>
- </tr>
- </table>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF" class="menuhaut">
- <td><div align="center"><a href="alps.php" target="_self"><img src="../../design/fabriquants/alps.gif" width="106" height="31" border="0"></a></div></td>
- <td><div align="center"><a href="assus.php" target="_self"><img src="../../design/fabriquants/logo_asus.gif" width="160" height="43" border="0"></a></div></td>
- <td><div align="center"><a href="creative.php" target="_self"><img src="../../design/fabriquants/logo_creative.gif" width="100" height="28" border="0"></a></div></td>
- </tr>
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF" class="menuhaut">
- <td><div align="center"><a href="hp.php" target="_self"><img src="../../design/fabriquants/logo_hp.gif" width="120" height="71" border="0"></a></div></td>
- <td><div align="center"><a href="iomega.php" target="_self"><img src="../../design/fabriquants/logo_iomega.gif" width="73" height="67" border="0"></a></div></td>
- <td><div align="center"><a href="lg.php" target="_self"><img src="../../design/fabriquants/logo_lg.gif" width="103" height="57" border="0"></a></div></td>
- </tr>
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF" class="menuhaut">
- <td><div align="center"><a href="maxtor.php" target="_self">Maxtor</a></div></td>
- <td><div align="center"><a href="pioneer.php" target="_self"><img src="../../design/fabriquants/logo_pioneer.gif" width="180" height="38" border="0"></a></div></td>
- <td><div align="center"><a href="plextor.php" target="_self"><img src="../../design/fabriquants/logo_plextor.gif" width="150" height="45" border="0"></a></div></td>
- </tr>
- <tr bordercolor="#BDDFE1" bgcolor="#FFFFFF" class="menuhaut">
- <td><div align="center"><a href="samsung.php" target="_self"><img src="../../design/fabriquants/logo_samsung.gif" width="120" height="32" border="0"></a></div></td>
- <td><div align="center"><a href="seagate.php" target="_self"><img src="../../design/fabriquants/logo_seagate.gif" width="145" height="56" border="0"></a></div></td>
- <td><div align="center"><a href="sony.php" target="_self"><img src="../../design/fabriquants/logo_sony.gif" width="140" height="26" border="0"></a></div></td>
- </tr>
- </table>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"> </td>
- </tr>
- </table>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1" class="titrescentre"><a href="Catalogue/catalogue.php" target="_self">Details</a></td>
- </tr>
- </table>
- </div></td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left">
- <TABLE width="100%"
- border=1 align=center bordercolor="#FFFFFF" bgcolor="#FFFFFF" class=tahoma_gf>
- <TBODY>
- <TR>
- <TD width="48%" bordercolor="#006699"><div align="left">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td bgcolor="#BDDFE1"><span class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self" class="menugauche">STOCKAGE</a></span></td>
- </tr>
- <tr>
- <td><span class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">CD-DVD r-rw vierge</a>, <a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Carte mémoire</a>, <a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Cle usb</a>, <a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Cle mp3</a>, <a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">Disque dur</a><a href="http://www.informatiques-consommables.com/Catalogue/1/stockage.php" target="_self">...</a></span></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><span class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self" class="menugauche">COMPOSANTS</a></span></td>
- </tr>
- <tr>
- <td><span class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Boîtier</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Carte graphique</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Carte son</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Carte mère</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Graveur CD-DVD</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Mémoire</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Processeur</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Ventilateur</a>, <a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">Carte TNT-TV</a><a href="http://www.informatiques-consommables.com/Catalogue/2/composants.php" target="_self">...</a></span></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><span class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self" class="menugauche">SYSTEMES</a></span></td>
- </tr>
- <tr>
- <td><span class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self">Ordinateurs sur mesure</a>, <a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self">PC portable</a>, <a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self">PC de bureau</a><a href="http://www.informatiques-consommables.com/Catalogue/3/systemes.php" target="_self">...</a></span></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><span class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self" class="menugauche">LOGICIELS</a></span></td>
- </tr>
- <tr>
- <td><span class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">Système</a>, <a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">Bureautique</a>, <a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">Sécurité</a>, <a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">Jeux</a><a href="http://www.informatiques-consommables.com/Catalogue/4/logiciels.php" target="_self">...</a></span></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><span class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0></span><span class="menugauche Style30"><a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">RESEAUX</a></span></td>
- </tr>
- <tr>
- <td><span class="textes"> <a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Connectique</a>, <a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Logiciels</a>, <a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Switch</a>, <a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Routeurs</a>, <a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">Modems</a><a href="http://www.informatiques-consommables.com/Catalogue/5/reseaux.php" target="_self">...</a></span></td>
- </tr>
- </table>
- </div></TD>
- <TD width="4%" bordercolor="#BDDFE1" bgcolor="#BDDFE1"> </TD>
- <TD width="48%" bordercolor="#006699" class=textes><div align="left">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self" class="menugauche">PERIPHERIQUES</a></td>
- </tr>
- <tr>
- <td class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Moniteur LCD-TFT</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Enceinte</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Imprimante</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Scanner</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Switch KVM</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Webcam</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Micro</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Casque</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Clavier</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Souris</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Palm</a>, <a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">Pda</a><a href="http://www.informatiques-consommables.com/Catalogue/6/peripheriques.php" target="_self">...</a></td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- <tr>
- <td class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self" class="menugauche">CONSOMMABLES</a></td>
- </tr>
- <tr>
- <td class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Cartouche j.encre - lasers</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Rubans</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Toner</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">CD-DVD r-rw vierge</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Papier</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Bobines de caisses</a>, <a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">Piles</a><a href="http://www.informatiques-consommables.com/Catalogue/7/consommables.php" target="_self">...</a></td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- <tr>
- <td class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self" class="menugauche">SERVICES</a></td>
- </tr>
- <tr>
- <td class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self">Location</a>, <a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self">Conceptions multimedia</a> (programmation-Design), <a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self">Intervention maintenance pc</a><a href="http://www.informatiques-consommables.com/Catalogue/8/services.php" target="_self">...</a></td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- <tr>
- <td class="textes"><img
- src="../../design/img/fleche.gif" alt="" width="17" height="17" border=0><a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self" class="menugauche">ACCESSOIRES</a></td>
- </tr>
- <tr>
- <td class="textes"><a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Rangements</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Palm</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Pda</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Pc portables</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Pc de bureau</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Baladeur MP3</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Etuis et sacoches</a>, <a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">Pointeurs</a><a href="http://www.informatiques-consommables.com/Catalogue/9/accessoires.php" target="_self">...</a></td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- <tr>
- <td class="textes"> </td>
- </tr>
- </table>
- </div></TD>
- </TR>
- </TBODY>
- </TABLE>
- <table width="100%" border="0">
- <tr>
- <td width="50%" class="titrescentre"> </td>
- </tr>
- </table>
- <table width="100%" border="1" cellpadding="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="left"><span class="titrescentre">Hotline</span></div></td>
- </tr>
- </table>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#006699" bgcolor="#FFFFFF" class="textes">
- <td><div align="left">0892 680 631 (0,34 euro/min) Code contact: 24225 - Horaires de notre hotline : <font
- face="Arial, Helvetica, sans-serif">Du lundi au vendredi de 10H à 12H et de 14H à 17H. Le samedi de 9H30 à 13H et de 14h à 17H30</font></div></td>
- </tr>
- </table>
- </div></td>
- </tr>
- <tr>
- <td height="100%" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"></div></td>
- </tr>
- </table>
- </div>
- </td>
- <td width="135" bgcolor="#FFFFFF"><div align="center">
- <table width="135" height="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#BDDFE1" bgcolor="#006699"><div align="left"><span class="titres_droite Style15 Style19 Style20"><strong>Cevennes Toner</strong></span></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF">
- <div align="center"><marquee behavior="scroll" direction="up" scrollamount="1" scrolldelay="1" onmouseover="this.stop()" onmouseout="this.start()" style="height:40px;width:100%;border:solid #B4C1D3 1px;background:#BDDFE1;padding:5px;" height="40" width="100%">
- <span class="textes"><b>A votre Service !</b><br />
- • Le choix
<br />
- • Les Prix
<br />
- • La Qualité
<br />
- • La disponibilité
</span><br />
- </marquee>
- </div></td></tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><span class="titres_droite"><font color="#FF9933"></font></span></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="left" class="menugauche">
- Commandes</div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="left" class="titres_droite"><a href="http://www.informatiques-consommables.com/contact.php" target="_self" class="textes"><img src="../../design/img/mrcharpentier.jpg" alt="Contact" width="120" height="100" border="0" align="left" class="Style16"></a></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="left">
- <p><strong><span class="textes"><a href="http://www.informatiques-consommables.com/commandes/commandes.php" target="_self">Commandez</a></span></strong></p>
- <p class="textes"><a href="http://www.informatiques-consommables.com/contact.php" target="_self">Nous Contacter</a></p>
- <p class="Style23"><a href="http://www.informatiques-consommables.com/acces.php" target="_self">Accés</a></p>
- </div></td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="left"><span class="titres_droite"><strong></strong></span></div></td>
- </tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#BDDFE1"><div align="left" class="menugauche">Liens Sponsorisés</div></td></tr>
- <tr>
- <td bordercolor="#006699" bgcolor="#FFFFFF"><div align="center"><span class="textes"><font color="#FF9933"><script language="javascript">
- var uri = 'http://impfr.tradedoubler.com/imp/img/69217/1035542?' + new String (Math.random()).substring (2, 11);
- document.write('<a href="http://clk.tradedoubler.com/click?p=704&a=1035542&g=69217" target="_blank"><img src="'+uri+'" border=0></a>');
- </script></font></span></div></td>
- </tr>
- <tr>
- <td height="100%" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="Style1"></div></td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <table width="800" border="1" cellpadding="0" cellspacing="0" bordercolor="#9DBEC5" bgcolor="#FFFFFF">
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="pied">| <a href="http://www.informatiques-consommables.com/affiliation/affiliation.php" target="_self">Affiliation</a> | <a href="http://www.informatiques-consommables.com/contact.php" target="_self">Contact</a> | <a href="http://www.informatiques-consommables.com/sav/sav.php" target="_self">SAV</a> | <a href="http://www.informatiques-consommables.com/newsletter.php" target="_self">Newsletter</a> | <a href="http://www.informatiques-consommables.com/faq.php" target="_self">FAQ</a> | <a href="http://www.informatiques-consommables.com/cgv.php" target="_self">CGV</a> | <a href="http://www.informatiques-consommables.com/promotions.php" target="_self">Promotions</a> | <a href="http://www.informatiques-consommables.com/plan_site.php" target="_self">Plan du Site</a> |</div></td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="copyright"><a href="http://www.informatiques-consommables.com" target="_self">Copyright Cevennes Toner ©2005</a> | <a href="http://www.aptitude-online.com" target="_blank">Protection Aptitude Online</a> | C.N.I.L: En cours d'enregistrement</td>
- </tr>
- <tr>
- <td bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="copyright">Siret: 482 348 505 00017 | Code APE: 524Z | N° TVA Intracommunautaire FR12482348505</td>
- </tr>
- </table>
- </div>
- </body>
- </html>
|
code panier1.php
Code :
- <?php
- session_start();
- $_SESSION['panier']['nb_art']=$_POST['id_art']; // nombre d'articles dans le panier
- $_SESSION["panierID$_POST[id_art]"]['ref'] = $_POST['ref'];
- $_SESSION["panierID$_POST[id_art]"]['designation'] = $_POST['designation'];
- $_SESSION["panierID$_POST[id_art]"]['prixht'] = $_POST['prixht'];
- $_SESSION["panierID$_POST[id_art]"]['quantite'] = $_POST['quantite'];
- //$_SESSION=array();
- //print_r($_SESSION);
- ?>
- <style type="text/css">
- <!--
- body,td,th {
- color: #006699;
- }
- body {
- background-image: url(../design/styles/fond.gif);
- }
- -->
- </style>
- <link href="../design/styles/styles.css" rel="stylesheet" type="text/css">
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
- <tr bordercolor="#BDDFE1" bgcolor="#BDDFE1" class="menugauche">
- <td width="25%">Reference</td>
- <td width="25%" bordercolor="#BDDFE1">Description</td>
- <td width="25%">Prix HT € </td>
- <td width="25%">Quantité</td>
- </tr>
- </table>
- <?php
- for ($i=1;$i <= $_SESSION['panier']['nb_art']; $i++) { // pour chaque article du panier
- echo '<table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF" >
- <tr>
- <td width="25%">'.$_SESSION["panierID$i"]['ref'].'</td>
- <td width="25%">'.$_SESSION["panierID$i"]['designation'].'</td>
- <td width="25%">'.$_SESSION["panierID$i"]['prixht'].'</td>
- <td width="25%">'.$_SESSION["panierID$i"]['quantite'].'</td>
- </tr>
- </table>';
- }
- ?>
- <p> </p>
- <table width="100%" border="1" bordercolor="#FFFFFF" bgcolor="FFFFFF" >
- <tr>
- <td bgcolor="#FFFFFF"><a href="javascript:history.go(-1)">Retour</a></td>
- </tr>
- </table>
- <p> </p>
|
Voila merci par avance pour vos reponses |