<?php

		session_start();
			
		$_SESSION['database']= "local";

	 	/* Initialisation du panier */
    		$_SESSION['panier'] = array();
    		
    		
    		/* Subdivision du panier */
		$_SESSION['panier']['id_catalogue'] = array();
		$_SESSION['panier']['reference'] = array();
		$_SESSION['panier']['marque'] = array();
		$_SESSION['panier']['table'] = array();
		$_SESSION['panier']['qte'] = array();
		$_SESSION['panier']['designation'] = array();
		$_SESSION['panier']['prix_ttc'] = array();
		$_SESSION['panier']['prix_ht'] = array();
		$_SESSION['panier']['dispo'] = array();    				 
		

?>

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


<title>Patrice Delpy - site en cours de construction </title>
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">


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

<link rel="SHORTCUT ICON" href="http://www.webdistrib.com/favicon.ico">


</head>

<body class="gecko">

<div id="pagewidth">

<div id="page">

			<!-- header -->
			<div id="header">
				<h1><a name="top" href="/">Chez_moi.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="catalogue/affaires.php" style="background-image:url(/live/97759.gif);" title="Bonnes affaires"><span>affaires</span></a></li>

<li class="Gros menager"><a href="catalogue/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="catalogue/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="catalogue/image.php" style="background-image:url(/live/97762.gif);" title="Images"><span>Images</span></a></li>

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

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

<li class="Photo et camescope"><a href="catalogue/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="catalogue/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="catalogue/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="catalogue/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="catalogue/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="catalogue/automobile.php" style="background-image:url(/live/97769.gif);" title="Automobiles"><span>Automobiles</span></a></li>

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

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


			<div id="aside">
			<div id="search-bar">

			<form method="get" action="http://www.materiel.net/search.html">
			<input type="text" name="search" title="Recherche"/>
			<input type="submit" value="Rechercher" />
			</form>
			</div>
			

<?php
            
            //if(isset($_SESSION['connexion']))
			 
			    if($_SESSION['utilisateur_login']== "valide")
				  {         //echo '<body onLoad="alert(\'Identification par le panel.\')">'; 
							echo "
								<div id=\"account\" class=\"on\">
								<ul>
								<li class=\"icon\"><a href=\"compte/compte.php\">Mon espace perso</a></li>
								<li class=\"logout\"><a href=\"compte/logout.php\" title=\"Me d&eacute;connecter\">Me d&eacute;connecter</a></li>
								</ul>
								<div class=\"panel\">
								<ul class=\"buttons\">
								<li class=\"account\"><a href=\"compte/compte.php\">Mon compte client</a></li>
								<li class=\"orders\"><a href=\"commande/suivi_commande.php\">Mes commandes</a></li>
								<li class=\"addresses\"><a href=\"compte/adresse_livraison.php\">Mon carnet d'adresse</a></li>
								<li class=\"repairs\"><a href=\"compte/sav.html\">Mes retours S.A.V</a></li>
								<li class=\"parrainages\"><a href=\"compte/parrainage.html\">Mes parrainages</a></li>
								<li class=\"refunds\"><a href=\"compte/avoir.html\">Mes avoirs</a></li>
								<li class=\"carts\"><a href=\"panier/shopping_liste.php\">Mes paniers</a></li>
								<li class=\"alertes\"><a href=\"compte/alerte.html\">Mes alertes</a></li>
								</ul>
								</div>
								</div> ";
					
				     }
					 
					 else {
						 		echo "
						 		<div id=\"account\">
								<ul>
								<li class=\"icon\"><a href=\"compte/login.php\">Mon espace perso</a></li>
								</ul>

								<div class=\"panel\">
								<form action=\"compte/check.php\" method=\"post\">
								<dl>
								<dt><label for=\"login\">Votre nom utilisateur</label></dt>
								<dd><input name=\"login\" id=\"login\" maxlength=\"20\" type=\"text\"></dd>
								<dt><label for=\"pass\">Votre mot de passe</label></dt>
								<dd><input name=\"pass\" id=\"pass\" maxlength=\"10\" type=\"password\"></dd>
								</dl>
								<input value=\"Connexion\" type=\"submit\">
								<hr>
								<ul class=\"buttons\">
								<li class=\"register\"><a href=\"compte/creation_compte.php\">Créer mon compte</a></li>
								<li class=\"password\"><a href=\"compte/sendpass.php\">Mot de passe oublié ?</a></li>
								</ul>
								</form>
								</div>
								</div> ";
						 
					      }
					 
					 
			 

?>
      

<div id="basket" >
	<ul>
		<li id="BasketProdCount"><a href="panier/panier.php">Votre panier est vide</a></li>
		<li id="BasketAmount"></li>
	</ul>
</div>
  </div>



 






<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="footer" class="clearfix" align="center">
  <div class="LiensFooter TxtGris  ">
    Tous droits réservés © 2010 Patrice Delpy - 
    vente en ligne.
</div>
</div>
</div>


<?php

		//print_r($_SESSION);
?>

</body>
</html>