| Current Path : /home/etiennec/www/tmp/cache/skel/ |
| Current File : /home/etiennec/www/tmp/cache/skel/html_3df323573537fa04e534cf84b0e64ec5.php |
<?php
/*
* Squelette : plugins/auto/zpip/rubrique.html
* Date : Sun, 27 Sep 2015 12:45:58 GMT
* Compile : Sun, 11 Oct 2015 08:11:33 GMT
* Boucles : _principale_rubrique
*/
function BOUCLE_principale_rubriquehtml_3df323573537fa04e534cf84b0e64ec5(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_principale_rubrique';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.id_secteur",
"rubriques.lang",
"rubriques.titre");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
quete_condition_statut('rubriques.statut','!','publie',''),
array('=', 'rubriques.id_rubrique', sql_quote(@$Pile[0]['id_rubrique'],'','bigint(21) NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('plugins/auto/zpip/rubrique.html','html_3df323573537fa04e534cf84b0e64ec5','_principale_rubrique',1,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('structure') . ', array_merge('.var_export($Pile[0],1).',array(\'id_secteur\' => ' . argumenter_squelette($Pile[$SP]['id_secteur']) . ',
\'type\' => ' . argumenter_squelette('rubrique') . ',
\'composition\' => ' . argumenter_squelette(interdire_scripts(@$Pile[0]['composition'])) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/zpip/rubrique.html\',\'html_3df323573537fa04e534cf84b0e64ec5\',\'\',2,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
');
}
lang_select();
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_principale_rubrique @ plugins/auto/zpip/rubrique.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette plugins/auto/zpip/rubrique.html
// Temps de compilation total: 1.299 ms
//
function html_3df323573537fa04e534cf84b0e64ec5($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_principale_rubriquehtml_3df323573537fa04e534cf84b0e64ec5($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_3df323573537fa04e534cf84b0e64ec5', $Cache, $page, 'plugins/auto/zpip/rubrique.html');
}
?>