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/liberlog/tmp/cache/skel/ |
<?php /* * Squelette : plugins-dist/medias/modeles/document_legende.html * Date : Sat, 03 Dec 2022 21:39:46 GMT * Compile : Sat, 03 Dec 2022 21:46:14 GMT * Boucles : _legendaire */ function BOUCLE_legendairehtml_36c10cb8f2c619e5fb72351c030c0edd(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; 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 = IterFactory::create( "SQL", $command, array('plugins-dist/medias/modeles/document_legende.html','html_36c10cb8f2c619e5fb72351c030c0edd','_legendaire',3,$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\'> ' . (($t2 = strval(interdire_scripts(ptobr(propre(sinon(table_valeur($Pile[0]??[], (string)'titre', null), interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))))))))!=='' ? (( '<div class=\'spip_doc_titre ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'titre', null),true)) ?'' :' ')) . '\'><strong>') . $t2 . '</strong></div>') : '') . ' ' . (($t2 = strval(interdire_scripts(PtoBR(propre(sinon(table_valeur($Pile[0]??[], (string)'descriptif', null), interdire_scripts(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))))))))!=='' ? (( '<div class=\'spip_doc_descriptif ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'descriptif', null),true)) ?'' :' ')) . '\'>') . $t2 . ( interdire_scripts(PtoBR(calculer_notes())) . '</div>')) : '') . ' ' . (($t2 = strval(interdire_scripts(PtoBR(propre(sinon(table_valeur($Pile[0]??[], (string)'credits', null), interdire_scripts(typo($Pile[$SP]['credits'], "TYPO", $connect, $Pile[0]))))))))!=='' ? (( '<div class=\'spip_doc_credits ' . interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'credits', null),true)) ?'' :' ')) . '\'>') . $t2 . '</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.340 ms // function html_36c10cb8f2c619e5fb72351c030c0edd($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_legendairehtml_36c10cb8f2c619e5fb72351c030c0edd($Cache, $Pile, $doublons, $Numrows, $SP); return analyse_resultat_skel('html_36c10cb8f2c619e5fb72351c030c0edd', $Cache, $page, 'plugins-dist/medias/modeles/document_legende.html'); } ?>