Your IP : 216.73.216.59


Current Path : /home/quelfutuu/www/lchg/tmp/cache/skel/
Upload File :
Current File : /home/quelfutuu/www/lchg/tmp/cache/skel/html_6357bcaf5811c122984a82928f1c34fe.php

<?php

/*
 * Squelette : ../prive/objets/contenu/rubrique.html
 * Date :      Mon, 08 Sep 2025 10:55:56 GMT
 * Compile :   Tue, 05 May 2026 09:03:48 GMT
 * Boucles :   _afficher_contenu
 */ 

function BOUCLE_afficher_contenuhtml_6357bcaf5811c122984a82928f1c34fe(&$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 (!defined('_DIR_PLUGIN_ACCESRESTREINT')) {
			$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
			$message_fr = 'La restriction d\'acc&egrave;s a ete desactiv&eacute;e. <a href="'.$link_plugin.'">Corriger le probl&egrave;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'] = '_afficher_contenu';
		$command['from'] = array('rubriques' => 'spip_rubriques');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("rubriques.lang",
		"rubriques.titre",
		"rubriques.descriptif",
		"rubriques.texte",
		"rubriques.id_rubrique");
		$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) 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/objets/contenu/rubrique.html','html_6357bcaf5811c122984a82928f1c34fe','_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('') .
'titre\'>' .
retablir_echappements_modeles(interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $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('') .
'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('') .
'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('') .
	'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: 1.721 ms
//

function html_6357bcaf5811c122984a82928f1c34fe($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_6357bcaf5811c122984a82928f1c34fe($Cache, $Pile, $doublons, $Numrows, $SP));

	return analyse_resultat_skel('html_6357bcaf5811c122984a82928f1c34fe', $Cache, $page, '../prive/objets/contenu/rubrique.html');
}