| Current Path : /home/etiennec/www/oldsite/tmp/cache/skel/ |
| Current File : /home/etiennec/www/oldsite/tmp/cache/skel/html_a9a1e0c68fe3b8293e7dc038c59df8a1.php |
<?php
/*
* Squelette : plugins/auto/zpip/rubrique.html
* Date : Tue, 29 Mar 2011 12:00:06 GMT
* Compile : Sat, 20 Dec 2014 21:09:55 GMT
* Boucles : _principale_rubrique
*/
/* BOUCLE rubriques */
function BOUCLE_principale_rubriquehtml_a9a1e0c68fe3b8293e7dc038c59df8a1(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
static $table = 'rubriques';
static $id = '_principale_rubrique';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_secteur",
"rubriques.lang",
"rubriques.titre");
static $orderby = array();
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_rubrique', sql_quote($Pile[0]['id_rubrique'],'','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/zpip/rubrique.html','html_a9a1e0c68fe3b8293e7dc038c59df8a1','_principale_rubrique',1,$GLOBALS['spip_lang']));
if ($result) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
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_a9a1e0c68fe3b8293e7dc038c59df8a1\',\'\',2,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/zpip/rubrique.html
// Temps de compilation total: 27.220 ms
//
function html_a9a1e0c68fe3b8293e7dc038c59df8a1($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_a9a1e0c68fe3b8293e7dc038c59df8a1($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_a9a1e0c68fe3b8293e7dc038c59df8a1', $Cache, $page, 'plugins/auto/zpip/rubrique.html');
}
?>