Your IP : 216.73.217.6


Current Path : /home/atelierpru/provence/tmp/cache/skel/
Upload File :
Current File : /home/atelierpru/provence/tmp/cache/skel/html_47156dc73730c617d81a0b8ae3044399.php

<?php

/*
 * Squelette : squelettes/inclure/nav.html
 * Date :      Mon, 24 Jun 2019 15:03:02 GMT
 * Compile :   Sun, 23 Aug 2026 11:55:06 GMT
 * Boucles :   _nav
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'rubriques';
		$command['id'] = '_nav';
		$command['from'] = array('rubriques' => 'spip_rubriques');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("0+rubriques.titre AS num",
		"rubriques.titre",
		"rubriques.id_rubrique",
		"rubriques.lang");
		$command['orderby'] = array('num', 'rubriques.titre');
		$command['where'] = 
			array(
quete_condition_statut('rubriques.statut','!','publie',''), 
			array('=', 'rubriques.id_parent', 0), 
			array('NOT', 
			array('=', 'rubriques.id_rubrique', "5")));
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('squelettes/inclure/nav.html','html_47156dc73730c617d81a0b8ae3044399','_nav',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	// COMPTEUR
	$Numrows['_nav']['compteur_boucle'] = 0;
	$Numrows['_nav']['total'] = @intval($iter->count());
	lang_select($GLOBALS['spip_lang']);
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$Numrows['_nav']['compteur_boucle']++;
		lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
		$t0 .= (
'
		<li class="nav-item' .
(calcul_exposer($Pile[$SP]['id_rubrique'], 'id_rubrique', $Pile[0], 0, 'id_rubrique', '')  ?
		(' ' . 'on') :
		'') .
((($Numrows['_nav']['compteur_boucle'] == '1'))  ?
		(' ' . ' ' . 'first') :
		'') .
((($Numrows['_nav']['compteur_boucle'] == $Numrows['_nav']['total']))  ?
		(' ' . ' ' . 'last') :
		'') .
'"><a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) .
'">' .
interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a></li>
		');
		lang_select();
	}
	lang_select();
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_nav @ squelettes/inclure/nav.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette squelettes/inclure/nav.html
// Temps de compilation total: 0.436 ms
//

function html_47156dc73730c617d81a0b8ae3044399($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 = (($t1 = BOUCLE_navhtml_47156dc73730c617d81a0b8ae3044399($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		((	'
<div class="nav clearfix' .
		((($Numrows['_nav']['total'] == '1'))  ?
				(' ' . ' ' . 'none') :
				'') .
		'" id="nav">
	<ul>
		') . $t1 . (	'
        <li class="nav-item"><a rel="nofollow" href="' .
		interdire_scripts(generer_url_public('contact', '')) .
		'">' .
		_T('public|spip|ecrire:contact') .
		'</a></li>
	</ul>
</div>
')) :
		'');

	return analyse_resultat_skel('html_47156dc73730c617d81a0b8ae3044399', $Cache, $page, 'squelettes/inclure/nav.html');
}
?>