File "html_e676e5abe31798bee38db6dbc2250b40.php"
Full Path: /home/spiraleeea/www/spirale/tmp/cache/skel/html_e676e5abe31798bee38db6dbc2250b40.php
File size: 5.95 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : ../prive/objets/contenu/rubrique.html
* Date : Wed, 12 Aug 2026 11:11:36 GMT
* Compile : Wed, 26 Aug 2026 18:57:43 GMT
* Boucles : _afficher_contenu
*/
function BOUCLE_afficher_contenuhtml_e676e5abe31798bee38db6dbc2250b40(&$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($command['table'])) {
$command['table'] = 'rubriques';
$command['id'] = '_afficher_contenu';
$command['from'] = array('rubriques' => 'spip_rubriques');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("rubriques.lang",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.descriptif",
"rubriques.texte");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'rubriques.id_rubrique', sql_quote(retablir_echappements_modeles(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id', null),true))), '', '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) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL')))));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"SQL",
$command,
array('../prive/objets/contenu/rubrique.html','html_e676e5abe31798bee38db6dbc2250b40','_afficher_contenu',2,$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(changer_typo(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']))) .
'
<div class="champ contenu_titre' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts((strlen($Pile[$SP]['titre']) ? '':'vide')))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
label_nettoyer(_T('public|spip|ecrire:info_titre')) .
'</div>
<div dir=\'' .
retablir_echappements_modeles(lang_dir($Pile[$SP]['lang'], 'ltr','rtl')) .
'\' class=\'' .
retablir_echappements_modeles(classe_boucle_crayon('rubriques','titre',$Pile[$SP]['id_rubrique']).' ') .
'titre\'>' .
retablir_echappements_modeles(interdire_scripts(titres_typographies_supprimer_liens(trim(PtoBR(propre(supprimer_numero($Pile[$SP]['titre']), $connect, $Pile[0])))))) .
'</div>
</div>
<div class="champ contenu_descriptif' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts((strlen($Pile[$SP]['descriptif']) ? '':'vide')))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_descriptif') .
'</div>
<div dir=\'' .
retablir_echappements_modeles(lang_dir($Pile[$SP]['lang'], 'ltr','rtl')) .
'\' class=\'' .
retablir_echappements_modeles(classe_boucle_crayon('rubriques','descriptif',$Pile[$SP]['id_rubrique']).' ') .
'descriptif\'>' .
retablir_echappements_modeles(interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['descriptif'], $connect, $Pile[0]),((defined('_IMG_ADMIN_MAX_WIDTH')?constant('_IMG_ADMIN_MAX_WIDTH'):'')),'0')))) .
'</div>
</div>
<div class="champ contenu_texte' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts((strlen($Pile[$SP]['texte']) ? '':'vide')))))!=='' ?
(' ' . $t1) :
'') .
'">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_texte') .
'</div>
<div dir=\'' .
retablir_echappements_modeles(lang_dir($Pile[$SP]['lang'], 'ltr','rtl')) .
'\' class=\'' .
retablir_echappements_modeles(classe_boucle_crayon('rubriques','texte',$Pile[$SP]['id_rubrique']).' ') .
'texte\'>' .
retablir_echappements_modeles(interdire_scripts(filtrer('image_graver',filtrer('image_reduire',propre($Pile[$SP]['texte'], $connect, $Pile[0]),((defined('_IMG_ADMIN_MAX_WIDTH')?constant('_IMG_ADMIN_MAX_WIDTH'):'')),'0')))) .
'</div>
</div>
' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts(calculer_notes()))))!=='' ?
(( '<div class="champ contenu_notes">
<div class=\'label\'>' .
_T('public|spip|ecrire:info_notes') .
'</div>
<div dir=\'' .
retablir_echappements_modeles(lang_dir($Pile[$SP]['lang'], 'ltr','rtl')) .
'\' class=\'' .
retablir_echappements_modeles(classe_boucle_crayon('rubriques','notes',$Pile[$SP]['id_rubrique']).' ') .
'notes\'>') . $t1 . '</div>
</div>') :
'') .
'
' .
retablir_echappements_modeles(changer_typo('')) .
'
');
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_afficher_contenu @ ../prive/objets/contenu/rubrique.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/objets/contenu/rubrique.html
// Temps de compilation total: 0.728 ms
//
function html_e676e5abe31798bee38db6dbc2250b40($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 = (
retablir_echappements_modeles(invalideur_session($Cache, sinon_interdire_acces(((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('voir', 'rubrique', (interdire_scripts(invalideur_session($Cache, entites_html(table_valeur($Pile[0]??[], (string)'id', null),true)))))?" ":"")))) .
'
' .
BOUCLE_afficher_contenuhtml_e676e5abe31798bee38db6dbc2250b40($Cache, $Pile, $doublons, $Numrows, $SP));
return analyse_resultat_skel('html_e676e5abe31798bee38db6dbc2250b40', $Cache, $page, '../prive/objets/contenu/rubrique.html');
}