Your IP : 216.73.216.249


Current Path : /home/etiennec/www/oldsite/tmp/cache/skel/
Upload File :
Current File : /home/etiennec/www/oldsite/tmp/cache/skel/html_79899ebc3aa1286b148d893283234240.php

<?php

/*
 * Squelette : plugins/auto/menus/inclure/menu.html
 * Date :      Wed, 09 Mar 2011 21:00:02 GMT
 * Compile :   Sun, 22 Feb 2015 14:51:58 GMT
 * Boucles :   _sous_menu, _entrees, _menu
 */ 

/* BOUCLE menus  */

 function BOUCLE_sous_menuhtml_79899ebc3aa1286b148d893283234240(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $connect = '';
	static $table = 'menus';
	static $id = '_sous_menu';
	static $from = array('menus' => 'spip_menus');
	static $type = array();
	static $groupby = array();
	static $select = array("menus.id_menu",
		"menus.identifiant");
	static $orderby = array();
	$where = 
			array(
			array('=', 'menus.id_menus_entree', sql_quote($Pile[$SP]['id_menus_entree'],'','int')));
	static $join = array();
	static $limit = '';
	static $having = 
			array();
	$t0 = "";
	// REQUETE
	$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
		 array('plugins/auto/menus/inclure/menu.html','html_79899ebc3aa1286b148d893283234240','_sous_menu',8,$GLOBALS['spip_lang']));
	if ($result) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP] = @sql_fetch($result)) {

		$t0 .= (
'
				' .
recuperer_fond( 'inclure/menu' , array_merge($Pile[0],array('id_menu' => $Pile[$SP]['id_menu'] ,
	'identifiant' => $Pile[$SP]['identifiant'] )), array('compil'=>array('plugins/auto/menus/inclure/menu.html','html_79899ebc3aa1286b148d893283234240','_sous_menu',9,$GLOBALS['spip_lang'])), ''));
	}
	@sql_free($result);
	}
	return $t0;
}



/* BOUCLE menus_entrees  */

 function BOUCLE_entreeshtml_79899ebc3aa1286b148d893283234240(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $connect = '';
	static $table = 'menus_entrees';
	static $id = '_entrees';
	static $from = array('menus_entrees' => 'spip_menus_entrees');
	static $type = array();
	static $groupby = array();
	static $select = array("menus_entrees.id_menus_entree",
		"menus_entrees.rang",
		"menus_entrees.type_entree",
		"menus_entrees.parametres");
	static $orderby = array('menus_entrees.rang');
	$where = 
			array(
			array('=', 'menus_entrees.id_menu', sql_quote($Pile[$SP]['id_menu'],'','int')));
	static $join = array();
	static $limit = '';
	static $having = 
			array();
	$t0 = "";
	// REQUETE
	$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
		 array('plugins/auto/menus/inclure/menu.html','html_79899ebc3aa1286b148d893283234240','_entrees',4,$GLOBALS['spip_lang']));
	if ($result) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP] = @sql_fetch($result)) {

		$t0 .= (
'
		' .
interdire_scripts((!$Pile[$SP]['id_menus_entree']) ? _T('zbug_champ_hors_motif', array('champ'=>'AFFICHER_ENTREE', 'motif'=>'MENUS_ENTREES')) : recuperer_fond(
		'menus/'.$Pile[$SP]['type_entree'],
		array_merge(unserialize($Pile[$SP]['parametres']), array('appel_menu'=>true, env=>$Pile[0]))
	)) .
'
			' .
BOUCLE_sous_menuhtml_79899ebc3aa1286b148d893283234240($Cache, $Pile, $doublons, $Numrows, $SP) .
'
		' .
(($t1 = strval(interdire_scripts(((menus_type_refuser_sous_menu($Pile[$SP]['type_entree'])) ?'' :' '))))!=='' ?
		($t1 . (	'
			' .
	(($t2 = strval(interdire_scripts(((trim((!$Pile[$SP]['id_menus_entree']) ? _T('zbug_champ_hors_motif', array('champ'=>'AFFICHER_ENTREE', 'motif'=>'MENUS_ENTREES')) : recuperer_fond(
		'menus/'.$Pile[$SP]['type_entree'],
		array_merge(unserialize($Pile[$SP]['parametres']), array('appel_menu'=>true, env=>$Pile[0]))
	))) ?' ' :''))))!=='' ?
			($t2 . '</li>') :
			'') .
	'
		')) :
		'') .
'
		');
	}
	@sql_free($result);
	}
	return $t0;
}



/* BOUCLE menus  */

 function BOUCLE_menuhtml_79899ebc3aa1286b148d893283234240(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $connect = '';
	$in = array();
	if (!(is_array($a = ($Pile[0]['id_menu']))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	$in1 = array();
	if (!(is_array($a = ($Pile[0]['identifiant']))))
		$in1[]= $a;
	else $in1 = array_merge($in1, $a);
	static $table = 'menus';
	static $id = '_menu';
	static $from = array('menus' => 'spip_menus');
	static $type = array();
	static $groupby = array();
	static $select = array("menus.id_menu",
		"menus.css");
	static $orderby = array();
	$where = 
			array((!$Pile[0]['id_menu'] ? '' : ((is_array($Pile[0]['id_menu'])) ? sql_in('menus.id_menu',sql_quote($in)) : 
			array('=', 'menus.id_menu', sql_quote($Pile[0]['id_menu'],'','int')))), (!$Pile[0]['identifiant'] ? '' : ((is_array($Pile[0]['identifiant'])) ? sql_in('menus.identifiant',sql_quote($in1)) : 
			array('=', 'menus.identifiant', sql_quote($Pile[0]['identifiant'])))));
	static $join = array();
	static $limit = '';
	static $having = 
			array();
	$t0 = "";
	// REQUETE
	$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
		 array('plugins/auto/menus/inclure/menu.html','html_79899ebc3aa1286b148d893283234240','_menu',2,$GLOBALS['spip_lang']));
	if ($result) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP] = @sql_fetch($result)) {

		$t0 .= (
'
	
	' .
(($t1 = BOUCLE_entreeshtml_79899ebc3aa1286b148d893283234240($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		((	'
	<ul class="menu-liste' .
		(($t3 = strval(interdire_scripts($Pile[$SP]['css'])))!=='' ?
				(' ' . $t3) :
				'') .
		'">
		') . $t1 . '
	</ul>
	') :
		'') .
'
	
');
	}
	@sql_free($result);
	}
	return $t0;
}


//
// Fonction principale du squelette plugins/auto/menus/inclure/menu.html
// Temps de compilation total: 13.065 ms
//

function html_79899ebc3aa1286b148d893283234240($Cache, $Pile, $doublons=array(), $Numrows=array(), $SP=0) {


	if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))
		$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);

	$connect = '';
	$page = (
'
' .
BOUCLE_menuhtml_79899ebc3aa1286b148d893283234240($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');

	return analyse_resultat_skel('html_79899ebc3aa1286b148d893283234240', $Cache, $page, 'plugins/auto/menus/inclure/menu.html');
}
?>