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/jobs/tmp/cache/skel/ |
<?php /* * Squelette : plugins-dist/medias/modeles/document_legende.html * Date : Sat, 29 Jun 2024 12:42:31 GMT * Compile : Sat, 29 Jun 2024 12:55:16 GMT * Boucles : _legendaire */ function BOUCLE_legendairehtml_82cbec79f41d10e15493a1853d16e74e(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($si_init)) { $command['si'] = array(); $si_init = true; } $command['si'][] = ((filtre_find(table_valeur($Pile["vars"]??[], (string)'masquer', null),'legende')) ?'' :' '); if (!isset($command['table'])) { $command['table'] = 'documents'; $command['id'] = '_legendaire'; $command['from'] = array('documents' => 'spip_documents'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("documents.titre", "documents.descriptif", "documents.credits"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('(documents.taille > 0 OR documents.distant=\'oui\')'), array('=', 'documents.id_document', sql_quote(interdire_scripts(entites_html(sinon(table_valeur($Pile[0]??[], (string)'id', null), interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_document', null),true))),true)), '', 'bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins-dist/medias/modeles/document_legende.html','html_82cbec79f41d10e15493a1853d16e74e','_legendaire',4,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' ' . (($t1 = strval(interdire_scripts(((((($a = ((($a = trim(sinon(table_valeur($Pile[0]??[], (string)'titre', null), interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(trim(sinon(table_valeur($Pile[0]??[], (string)'descriptif', null), interdire_scripts(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))))))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(trim(sinon(table_valeur($Pile[0]??[], (string)'credits', null), interdire_scripts(typo($Pile[$SP]['credits'], "TYPO", $connect, $Pile[0]))))))) ?' ' :''))))!=='' ? ($t1 . ( ' <figcaption class=\'spip_doc_legende\'> ' . (!(filtre_find(table_valeur($Pile["vars"]??[], (string)'masquer', null),'titre')) ? (' ' . (($t3 = strval(interdire_scripts(ptobr(propre(sinon(table_valeur($Pile[0]??[], (string)'titre', null), interdire_scripts(supprimer_numero($Pile[$SP]['titre']))))))))!=='' ? (( '<div class=\'spip_doc_titre ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'titre', null),true)) ?'' :' ')) . '\'><strong>') . $t3 . '</strong></div>') : '')) : '') . ' ' . (!(filtre_find(table_valeur($Pile["vars"]??[], (string)'masquer', null),'descriptif')) ? (' ' . (($t3 = strval(interdire_scripts(PtoBR(propre(sinon(table_valeur($Pile[0]??[], (string)'descriptif', null), interdire_scripts($Pile[$SP]['descriptif'])))))))!=='' ? (( '<div class=\'spip_doc_descriptif ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'descriptif', null),true)) ?'' :' ')) . '\'>') . $t3 . ( interdire_scripts(PtoBR(calculer_notes())) . '</div>')) : '')) : '') . ' ' . (!(filtre_find(table_valeur($Pile["vars"]??[], (string)'masquer', null),'credits')) ? (' ' . (($t3 = strval(interdire_scripts(PtoBR(propre(sinon(table_valeur($Pile[0]??[], (string)'credits', null), interdire_scripts($Pile[$SP]['credits'])))))))!=='' ? (( '<div class=\'spip_doc_credits ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'credits', null),true)) ?'' :' ')) . '\'>') . $t3 . '</div>') : '')) : '') . ' </figcaption> ')) : '') . ' '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_legendaire @ plugins-dist/medias/modeles/document_legende.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins-dist/medias/modeles/document_legende.html // Temps de compilation total: 1.244 ms // function html_82cbec79f41d10e15493a1853d16e74e($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 = ( vide($Pile['vars'][$_zzz=(string)'masquer'] = array_map('trim',interdire_scripts(filtre_explode_dist(entites_html(table_valeur($Pile[0]??[], (string)'masquer', null),true),',')))) . BOUCLE_legendairehtml_82cbec79f41d10e15493a1853d16e74e($Cache, $Pile, $doublons, $Numrows, $SP) . ' '); return analyse_resultat_skel('html_82cbec79f41d10e15493a1853d16e74e', $Cache, $page, 'plugins-dist/medias/modeles/document_legende.html'); }