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/auto/escal/formulaires/suggerer-reponse.html * Date : Sat, 29 Jun 2024 07:47:43 GMT * Compile : Sat, 29 Jun 2024 09:34:33 GMT * Boucles : _thread, _recherche */ function BOUCLE_threadhtml_c789e450a282658e637e4386e5234728(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $t0 = ''; } function BOUCLE_recherchehtml_c789e450a282658e637e4386e5234728(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; // RECHERCHE { $prepare_recherche = charger_fonction('prepare_recherche', 'inc'); list($rech_select, $rech_where) = $prepare_recherche((isset($Pile[0]["recherche"])?$Pile[0]["recherche"]:(isset($GLOBALS["recherche"])?$GLOBALS["recherche"]:"")), "forum", "","",array ( ),"id_forum"); } if (!isset($command['table'])) { $command['table'] = 'forum'; $command['id'] = '_recherche'; $command['from'] = array('forum' => 'spip_forum','resultats' => 'spip_resultats'); $command['type'] = array(); $command['groupby'] = array(); $command['orderby'] = array('resultats.points DESC'); $command['join'] = array('resultats' => array('forum','id','id_forum')); $command['limit'] = '0,5'; $command['having'] = array(); } $command['select'] = array("forum.id_forum", "$rech_select", "resultats.points", "forum.texte", "forum.titre"); $command['where'] = array( quete_condition_statut('forum.statut','publie,prop','publie',''), array('=', 'forum.id_parent', 0), $rech_where?$rech_where:''); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/formulaires/suggerer-reponse.html','html_c789e450a282658e637e4386e5234728','_recherche',9,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' • <a href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_forum'], 'forum', '', '', true))) . '"' . (($t1 = strval(interdire_scripts(texte_backend(couper($Pile[$SP]['texte'],'500')))))!=='' ? (' title="' . $t1 . '"') : '') . '>' . interdire_scripts(liens_nofollow(safehtml(typo(interdit_html($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])))) . '</a><br> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_recherche @ plugins/auto/escal/formulaires/suggerer-reponse.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/escal/formulaires/suggerer-reponse.html // Temps de compilation total: 4.334 ms // function html_c789e450a282658e637e4386e5234728($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 = ( ' <div class="suggerer-reponse"> ' . BOUCLE_threadhtml_c789e450a282658e637e4386e5234728($Cache, $Pile, $doublons, $Numrows, $SP) . ( ' ' . (($t2 = BOUCLE_recherchehtml_c789e450a282658e637e4386e5234728($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <h4>' . _T('escal:suggerer_reponse') . '</h4> <blockquote> ') . $t2 . ' </blockquote> ') : '') . ' ') . ' </div>'); return analyse_resultat_skel('html_c789e450a282658e637e4386e5234728', $Cache, $page, 'plugins/auto/escal/formulaires/suggerer-reponse.html'); }