<? 
require_once ('../common/scripts/templatize.inc.php');
include ("../common/scripts/connect.inc.php");
//include ("template.inc");
	
	

//echo "login : ".$_SESSION['login']." password ".$_SESSION['password'];



/***********************/
/*connexion a la table */
/***********************/

	session_start();
	$login = $_SESSION['login'];

/**************/
/*affichage   */
/**************/

	$arrayVars = array('LOGIN' => $login,
			   'TERRIER' => 39092,
			   'IDMIMI' => 39092
			   );
	templatizeWithVars('../common/header2.tpl','../common/menuTerrier.tpl','annonces.tpl','../common/footer.tpl',$arrayVars);

//affichageMenu();

function affichageMenu(){
//global $annoncerie;
//global $log, $pass;
//$terrier = 39092; //ground_id
//echo "login : ".$login." password ".$pass;
//-----------  Declaration template  ------------------ //
//$annoncerie = new Template(".");
//$annoncerie->set_file("annonces","annonces.tpl");
//$annoncerie->set_var("annonce", $annonce);
//$annoncerie->set_var("TERRIER", $terrier);

//------------- ecriture fichier ---------------------//
//$annoncerie->parse("output","annonces");
//$annoncerie->p("output");

}

?>
