Your IP : 216.73.216.249


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

<?php

/*
 * Squelette : plugins/auto/zpip/site.html
 * Date :      Sun, 27 Sep 2015 12:45:58 GMT
 * Compile :   Sun, 16 Aug 2026 06:01:17 GMT
 * Boucles :   _site
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'syndic';
		$command['id'] = '_site';
		$command['from'] = array('syndic' => 'spip_syndic');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("syndic.id_rubrique");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('syndic.statut','publie,prop','publie',''), 
			array('=', 'syndic.id_syndic', sql_quote(@$Pile[0]['id_syndic'],'','bigint NOT NULL AUTO_INCREMENT')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('plugins/auto/zpip/site.html','html_5e606c70037b471ee0c46141d3626b2f','_site',4,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
' .

'<'.'?php echo recuperer_fond( ' . argumenter_squelette('structure') . ', array_merge('.var_export($Pile[0],1).',array(\'id_rubrique\' => ' . argumenter_squelette(interdire_scripts(entites_html(sinon(table_valeur(@$Pile[0], (string)'id_rubrique', null), $Pile[$SP]['id_rubrique']),true))) . ',
	\'type\' => ' . argumenter_squelette('site') . ',
	\'composition\' => ' . argumenter_squelette(interdire_scripts(@$Pile[0]['composition'])) . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/zpip/site.html\',\'html_5e606c70037b471ee0c46141d3626b2f\',\'\',5,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_site @ plugins/auto/zpip/site.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette plugins/auto/zpip/site.html
// Temps de compilation total: 14.480 ms
//

function html_5e606c70037b471ee0c46141d3626b2f($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 = (
'<?php header("X-Spip-Cache: 3600"); ?>' .
BOUCLE_sitehtml_5e606c70037b471ee0c46141d3626b2f($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');

	return analyse_resultat_skel('html_5e606c70037b471ee0c46141d3626b2f', $Cache, $page, 'plugins/auto/zpip/site.html');
}
?>