<?php

		session_start();
		
		if($_SESSION['database']=="local")
	  	{
	     		$db_host    = "localhost";
	     		$db_user   = "root";
	     		$db_pass   = "";
   			$db_name   = "boutique";

	 	}
	
		if($_SESSION['database']=="public")
	  	{
  	     		$db_host    = "sql2";
   	     		$db_user   = "analogde";
 	     		$db_pass   = "rainbow";
    	     		//$db_type   = "mysql";
	     		$db_name   = "analogde";
	 	}
		
		$id = $_GET['id'];
		$table = $_GET['table'];
		
		//echo $table;
	
		//$connexion = mysql_connect("localhost", "root", "");
		$connexion = mysql_connect($db_host,$db_user,$db_pass); 	
	
        	if(!$connexion)
          	{ die('Could not connect: ' . mysql_error());
          	}
        
   	    	mysql_select_db($db_name, $connexion);
        
        	$requete = "SELECT * FROM lave_linge WHERE modele='$id'";
	    	$result = mysql_query($requete);
	
  	    	$ligne = mysql_fetch_array($result, MYSQL_NUM);
  	    	$marque =  $ligne[1];
		$modele =  $ligne[4];
		$prix =  $ligne[10];

?>




<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">

<head>

	
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Patrice Delpy : Fiche de description du produit</title>

<link href="../feuille.css" rel="stylesheet" type="text/css">




<style type="text/css">
.ProdLogo { display: block; width: 60px; height: 60px; margin: 5px;background-repeat: no-repeat; background-position: 50% 50%;}
.nav-line li. a { background-position: 0% 100%;}
</style>

</head>

<script type="text/javascript">
	
		
	function controler_qte()
         { var valeur = document.fiche_produit.qte.value;
 	   quantite = parseInt(valeur); 
	   if(quantite < 1) { quantite = 1; }
	   if(quantite > 99) 
	     { alert("Pas plus de 100 articles !); 
	       quantite = 99;
	     }
 	       document.fiche_produit.qte.value=quantite;
         }	

</script>      	
			
			
<body class="gecko">
				
				<!-- page -->
		
				<div id="page">

			
			
			<!-- header -->
			<div id="header">

				<h1><a name="top" href="/">Materiel.net</a></h1>

			</div>

		
			
			<!-- nav -->
			
				<div id="nav">
				<div class="GHeadMenu">

<ul class="nav-line">

<li class=""><a href="../acceuil.php" style="" title="Accueil"><span>Accueil</span></a></li>

<li class="Bonnes affaires"><a href="affaires.php" style="background-image:url(/live/97759.gif);" title="Bonnes affaires"><span>affaires</span></a></li>

<li class="Gros menager"><a href="gros_menager.php" style="background-image:url(/live/97760.gif);" title="Gros menager"><span>Gros Ménager</span></a></li>

<li class="Petit menager"><a href="petit_menager.php" style="background-image:url(/live/97761.gif);" title=" Petit ménager"><span>PEtit Menager</span></a></li>

<li class="Images"><a href="image.php" style="background-image:url(/live/97762.gif);" title="Images"><span>Images</span></a></li>

<li class="Son"><a href="son.php" style="background-image:url(/live/97763.gif);" title="SON"><span>SON</span></a></li>

<li class="Video"><a href="video.php" style="background-image:url(/live/97764.gif);" title="Video"><span>Video</span></a></li>

<li class="Photo et camescope"><a href="photo_camescope.php" style="background-image:url(/live/97769.gif);" title="Photo / cam&eacute;scopes">Photo / cam&eacute;scopes</a></li>

<li class="Telephonie"><a href="telephonie.php" style="background-image:url(/live/97770.gif);" title="T&eacute;l&eacute;phonie">T&eacute;l&eacute;phonie </a></li>

</ul>
<ul class="nav-line">

<li class="art de la table"><a href="art_de_la_table.php" style="background-image:url(/live/97766.gif);" title="Art de la table"><span>Art de la table</span></a></li>

<li class="Accessoires"><a href="accessoires.php" style="background-image:url(/live/97767.gif);" title="Accessoires &amp;Consommables"><span>accessoires &amp;consommables</span></a></li>

<li class="Chauffage & clim"><a href="chauffage_clim.php" style="background-image:url(/live/97768.gif);" title="Chauffage &amp; Clim"><span>chauffage &amp; clim</span></a></li>

<li class="Automobiles"><a href="automobile.php" style="background-image:url(/live/97769.gif);" title="Automobiles"><span>Automobiles</span></a></li>

<li class="GPS"><a href="gps.php" style="background-image:url(/live/97770.gif);" title="GPS"><span> GPS</span></a></li>

<li class="MP3"><a href="mp3.php" style="background-image:url(/live/97771.gif);" title="AUDIO / MP3 / MP4"><span>AUDIO / MP3 / MP4</span></a></li></ul>
			  </div>
				<!--cached-->			</div>

			
			<!-- section :content -->
			
 <div id="section" class="prod">


	
<div id="prod">

<table class="CatTitle" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<th width="852">Cat&eacute;gorie lave-linge	  <hr></th>

<td rowspan="2" class="ImgZone" width="88">
<img src="26959.gif" alt="">
</td>
</tr>



<tr>
<td style="vertical-align: top;"><a style="color: rgb(102, 51, 255);" href="../acceuil.php">Accueil</a> &gt; 
<a style="color: rgb(102, 51, 255);" href="../Gros Electroménager/">Gros Electroménager</a> &gt; 
<a style="color: rgb(102, 51, 255);" href="../Gros Electroménager/Lave-linge/">Lave-linge</a> &gt; <?php echo $modele ?></td>
</tr>


</tbody>
</table>





<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>

        
        
<td class="ProdImg" rowspan="2" width="360">
<h1 id="ProdTitle" style="text-align: right;">
<a href="" class="Brand"><?php echo $marque ?> </a> 
<a href="" class="Name"><?php echo $modele ?></a>
</h1>

<table id="ProdPicture">
<tbody><tr><td id="PresImg" style="width: 350px; height: 350px; left: 0pt; top: 0pt;">

<?php

	$chemin = "pictures/lave_linge/image.jpg";

?>

<img src="<?php echo $chemin; ?>" alt="<?php echo $modele ?>" ></td></tr>
</tbody></table>
</td>

<td class="ProdDt" width="205">
<div class="ProdSmallTitle" align="center">prix E-Ménager.COM</div>
<div class="Price"><?php echo $prix ?>&#8364; TTC</div>
<div style="text-align: center;">
<div style="margin-bottom: 5px;">




<form style="margin: 0pt; padding: 0pt;" name="fiche_produit"  action="../panier/panier.php?caddie=ajout&id=<?php echo $id; ?>&table=<?php echo $table; ?>" method="POST" >
Quantité souhaitée :


<input name="qte" id="qte" maxlength="5" style="width: 30px; text-align: center;" value="1" type="text" onchange="JavaScript:controler_qte();" >
<input name="imageField" src="../../images/btn_nextstep.gif" width="201" height="40" type="image" title="Ajouter au panier">		


</form>

</div>

<div id="ProdInfo" class="ProdInfo" style="color: rgb(102, 154, 0); text-align: center;">
<a id="Button3X" href="#" onClick="ShowPanel('Panel3X', 'ProdInfo');return false;">119,97 &#8364;</a>
</div>

<div id="ProdInfoSofinco" class="ProdInfo" style="color: rgb(102, 154, 0); text-align: center;">
<a id="Button10X" href="#">37,64 &#8364;</a>


					<div id="Panel10X" style="border: 2px solid rgb(51, 51, 51); background: rgb(255, 255, 255) url(/images/gui/main/ProdAlerteBg.jpg) no-repeat scroll center center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 400px; position: absolute; display: none; margin-left: -100px; z-index: 10;">
						<div style="padding: 1px; background: transparent url(/images/gui/main/FooterBarBg.gif) repeat scroll center center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: rgb(255, 255, 255); font-weight: bold;">
                        
                        
<table width="100%">
<tbody><tr>
<td width="60%">Financement de votre achat avec Sofinco</td>
<td style="text-align: right;" width="40%"><img src="../../../../Documents and Settings/patrice/Bureau/produits_fichiers/ProdAlerteClose.gif" alt="Fermer" style="cursor: pointer;" onClick="ShowHideElem('Panel10X')" width="13" height="14"></td>
								</tr>
							</tbody></table>
						</div>


<div style="padding: 10px; text-align: left; color: rgb(0, 0, 0);">
<strong>Exemple d'un financement sur 10 mois pour un achat d'un montant de 359,90 &#8364;</strong><ul><li>Durée : 10 mensualités</li><li>Mensualité : 37,64 &#8364;</li><li>TEG annuel fixe : 10,362 %</li><li>Coût total du crédit : 16,50 &#8364;</li><li>Coût total de l'achat à crédit : 376,40 &#8364;</li></ul><p><br><em>Barèmes
et conditions en vigueur au 24/04/2010 susceptibles de variation. Sous
réserve d'erreurs matérielles manifestes. Dans l'exemple le Taux
Effectif Global Annuel et les montants sont hors assurance facultative.
Offre réservée aux particuliers majeurs. Il ne sera pas accordé de
crédit, ni envoyé de documentation aux personnes inscrites au FICP.
Sous réserve d'acceptation du dossier de crédit lié à une vente par CA
Consumer Finance, SA au capital de 340 788 864 EUR - Immatriculé sous
le N° 542 097 522 RCS PARIS - Paris Siège Social, 128-130 boulevard
Raspail - 75006 Paris. Société de courtage d'assurance, inscrite à
l'ORIAS (Organisme pour le Registre des Intermédiaires d'Assurance)
sous le n° 07 008 079. Sofinco est une marque de CA Consumer Finance.</em></p>	

<p style="text-align: center;">
<a href="https://financement.transcred.com/sofgate.asp?q6=020L193&amp;p0=PRODUIT&amp;p4=359.9" target="_blank">
<img src="../../../../Documents and Settings/patrice/Bureau/produits_fichiers/bt_sofinco.jpg" alt="Sofinco"></a></p>
						</div>
					</div>
				</div>


<div class="ProdInfo">
<div class="ProdInfoDispo">
<img src="../../images/section-prod-titre-dispo.gif" alt=""><span class="DispoIcon"><img src="56312-Vertex_2_50_Go_fichiers/StockVert.gif" alt="En stock" title="En stock" /></span><span style="color: rgb(102, 102, 102);"><span style="font-weight: 
bold;">EN STOCK</span></span>
					</div>
				<ul>
					<li>&nbsp;Packaging : Version boîte</li>
					<li>&nbsp;Garantie : 3 ans constructeur	</li>
				</ul>
			</div>

		
		
		
		

<td style="vertical-align: top;" rowspan="2">
<div style="background: transparent url(/images/gui/main/ProdHDotsFaded.gif) no-repeat scroll left center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><span class="ProdSmallTitle" style="padding: 3px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; margin-left: 10px;">Autres vues du  produit</span></div>

<div class="ProdThumbnails"></div>

<div style="background: transparent url(/images/gui/main/ProdHDotsFaded.gif) no-repeat scroll left center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><span class="ProdSmallTitle" style="padding: 3px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; margin-left: 10px;">En savoir plus sur</span></div>



<div>
<a href="http://www.materiel.net/marque.html?marque=acer">
<img src="logo/logovedette.gif" style="margin: 10px;" alt="" border="0"></a>
<div style="margin-left: 13px;"><img src="../images/ProdLink.gif" alt="" width="13" height="7" />
<a href="http://www.vedette.fr/" target="_blank">www.vedette.fr</a>
</div>


		  </div>
		</td>
	</tr>
	<tr>
		<td class="ProdInfosPaiement">&nbsp;
		
		</td>
	</tr>
</tbody></table>