| Current Path : /home/quelfutuu/www/lchg/tmp/cache/skel/ |
| Current File : /home/quelfutuu/www/lchg/tmp/cache/skel/html_6e32751bc81ca0e8fe11b139c7bdb479.php |
<?php
/*
* Squelette : ../prive/squelettes/navigation/rubrique.html
* Date : Mon, 08 Sep 2025 10:55:56 GMT
* Compile : Tue, 05 May 2026 09:03:48 GMT
* Boucles : _nav
*/
function BOUCLE_navhtml_6e32751bc81ca0e8fe11b139c7bdb479(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$in = array();
if (!(is_array($a = (($Pile[0]['statut'] ?? null)))))
$in[]= $a;
else $in = array_merge($in, $a);
if (!isset($si_init)) { $command['si'] = array(); $si_init = true; }
$command['si'][] = retablir_echappements_modeles(interdire_scripts((entites_html(table_valeur($Pile[0]??[], (string)'exec', null),true) == 'rubrique')));
if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) {
$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
$message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.';
die($message_fr.'<br />'.$message_en);
}
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("rubriques.id_rubrique",
"rubriques.id_rubrique",
"rubriques.lang",
"rubriques.titre");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'rubriques.id_rubrique', sql_quote(($Pile[0]['id_rubrique'] ?? null), '','bigint NOT NULL AUTO_INCREMENT')), (!is_whereable(($Pile[0]['statut'] ?? null)) ? '' : ((is_array(($Pile[0]['statut'] ?? null))) ? sql_in('rubriques.statut', $in) :
array('=', 'rubriques.statut', sql_quote(($Pile[0]['statut'] ?? null), '','varchar(10) NOT NULL DEFAULT \'0\'')))), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('../prive/squelettes/navigation/rubrique.html','html_6e32751bc81ca0e8fe11b139c7bdb479','_nav',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 .= (
'
' .
retablir_echappements_modeles(boite_ouvrir('', 'info')) .
retablir_echappements_modeles(pipeline( 'boite_infos' , (array('data' => '', 'args' => (array('type' => 'rubrique', 'id' => (interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_rubrique', null),true))))))) )) .
retablir_echappements_modeles(boite_fermer()) .
'
<div class="ajax">
' .
retablir_echappements_modeles(executer_balise_dynamique('FORMULAIRE_EDITER_LOGO',
array('rubrique',($Pile[$SP]['id_rubrique']),'',(serialize($Pile[0]??[]))),
array('../prive/squelettes/navigation/rubrique.html','html_6e32751bc81ca0e8fe11b139c7bdb479','_nav',5,$GLOBALS['spip_lang']))) .
'</div>
' .
retablir_echappements_modeles(pipeline( 'afficher_config_objet' , (array('args' => (array('type' => 'rubrique', 'id' => ($Pile[$SP]['id_rubrique']))), 'data' => '')) )));
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 @ ../prive/squelettes/navigation/rubrique.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/squelettes/navigation/rubrique.html
// Temps de compilation total: 0.464 ms
//
function html_6e32751bc81ca0e8fe11b139c7bdb479($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_6e32751bc81ca0e8fe11b139c7bdb479($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
$t1 :
(( '
' .
(($t2 = strval(retablir_echappements_modeles(interdire_scripts((((entites_html(table_valeur($Pile[0]??[], (string)'exec', null),true) == 'rubrique_edit')) ?' ' :'')))))!=='' ?
($t2 .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('prive/squelettes/navigation/rubrique_edit') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'../prive/squelettes/navigation/rubrique.html\',\'html_6e32751bc81ca0e8fe11b139c7bdb479\',\'\',13,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\');
?'.'>') :
'') .
'
')));
return analyse_resultat_skel('html_6e32751bc81ca0e8fe11b139c7bdb479', $Cache, $page, '../prive/squelettes/navigation/rubrique.html');
}