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/universe/tmp/cache/skel/ |
<?php /* * Squelette : squelettes-dist/modeles/lesauteurs.html * Date : Fri, 28 Jul 2023 07:14:18 GMT * Compile : Sat, 29 Jul 2023 05:47:44 GMT * Boucles : _auteurs */ function BOUCLE_auteurshtml_8acd1bdc564544d98510079a93575eb8(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_auteurs'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array("auteurs.id_auteur"); $command['select'] = array("auteurs.nom", "auteurs.id_auteur"); $command['orderby'] = array('auteurs.nom'); $command['join'] = array('L1' => array('auteurs','id_auteur')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('auteurs.statut','!5poubelle','!5poubelle',''), array('=', 'L1.id_objet', sql_quote(($Pile[0]['id_objet'] ?? null), '','bigint(21) NOT NULL DEFAULT \'0\'')), array('=', 'L1.objet', sql_quote(($Pile[0]['objet'] ?? null), '','varchar(25) NOT NULL DEFAULT \'\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('squelettes-dist/modeles/lesauteurs.html','html_8acd1bdc564544d98510079a93575eb8','_auteurs',9,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t1 = ( ' <span class="vcard author"><a class="url fn spip_in" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_auteur'], 'auteur', '', '', true))) . '">' . interdire_scripts(safehtml(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0])))) . '</a></span>'); $t0 .= ((strlen($t1) && strlen($t0)) ? ', ' : '') . $t1; } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_auteurs @ squelettes-dist/modeles/lesauteurs.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes-dist/modeles/lesauteurs.html // Temps de compilation total: 1.432 ms // function html_8acd1bdc564544d98510079a93575eb8($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_auteurshtml_8acd1bdc564544d98510079a93575eb8($Cache, $Pile, $doublons, $Numrows, $SP)); return analyse_resultat_skel('html_8acd1bdc564544d98510079a93575eb8', $Cache, $page, 'squelettes-dist/modeles/lesauteurs.html'); }