Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/univers/tmp/cache/skel/ |
<?php /* * Squelette : ../prive/objets/contenu/rubrique.html * Date : Sat, 29 Jun 2024 13:04:44 GMT * Compile : Tue, 13 Aug 2024 14:54:24 GMT * Boucles : _afficher_contenu */ function BOUCLE_afficher_contenuhtml_45f843a813317e7d9ee1dc9c283d59b9(&$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.descriptif", "rubriques.texte"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'rubriques.id_rubrique', sql_quote(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id', null),true)), '', 'bigint(21) 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\''))))); 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_45f843a813317e7d9ee1dc9c283d59b9','_afficher_contenu',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 .= ( ' ' . changer_typo(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])) . ' <div class="champ contenu_titre' . (($t1 = strval(interdire_scripts((strlen($Pile[$SP]['titre']) ? '':'vide'))))!=='' ? (' ' . $t1) : '') . '"> <div class=\'label\'>' . label_nettoyer(_T('public|spip|ecrire:info_titre')) . '</div> <div dir=\'' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '\' class=\'' . 'titre\'>' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</div> </div> <div class="champ contenu_descriptif' . (($t1 = strval(interdire_scripts((strlen($Pile[$SP]['descriptif']) ? '':'vide'))))!=='' ? (' ' . $t1) : '') . '"> <div class=\'label\'>' . _T('public|spip|ecrire:info_descriptif') . '</div> <div dir=\'' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '\' class=\'' . 'descriptif\'>' . 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(interdire_scripts((strlen($Pile[$SP]['texte']) ? '':'vide'))))!=='' ? (' ' . $t1) : '') . '"> <div class=\'label\'>' . _T('public|spip|ecrire:info_texte') . '</div> <div dir=\'' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '\' class=\'' . 'texte\'>' . 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(interdire_scripts(calculer_notes())))!=='' ? (( '<div class="champ contenu_notes"> <div class=\'label\'>' . _T('public|spip|ecrire:info_notes') . '</div> <div dir=\'' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '\' class=\'' . 'notes\'>') . $t1 . '</div> </div>') : '') . ' ' . 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: 2.148 ms // function html_45f843a813317e7d9ee1dc9c283d59b9($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_afficher_contenuhtml_45f843a813317e7d9ee1dc9c283d59b9($Cache, $Pile, $doublons, $Numrows, $SP); return analyse_resultat_skel('html_45f843a813317e7d9ee1dc9c283d59b9', $Cache, $page, '../prive/objets/contenu/rubrique.html'); }