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/genius/tmp/cache/skel/ |
<?php /* * Squelette : squelettes-dist/forum.html * Date : Sat, 03 Dec 2022 21:05:04 GMT * Compile : Sat, 03 Dec 2022 21:10:59 GMT * Boucles : _mots, _principale */ function BOUCLE_motshtml_474461c6884cc0db593cf86b0bc691d9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $in = array(); if (!(is_array($a = (table_valeur($Pile[0]??[], (string)'ajouter_mot', null))))) $in[]= $a; else $in = array_merge($in, $a); if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mots'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("0+mots.type AS num", "CASE ( 0+mots.type ) WHEN 0 THEN 1 ELSE 0 END AS sinum", "mots.type", "0+mots.titre AS num2", "CASE ( 0+mots.titre ) WHEN 0 THEN 1 ELSE 0 END AS sinum2", "mots.titre"); $command['orderby'] = array('sinum, num', 'mots.type', 'sinum2, num2', 'mots.titre'); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array(sql_in('mots.id_mot', $in)); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes-dist/forum.html','html_474461c6884cc0db593cf86b0bc691d9','_mots',33,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t1 = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))); $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_mots @ squelettes-dist/forum.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_principalehtml_474461c6884cc0db593cf86b0bc691d9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'forum'; $command['id'] = '_principale'; $command['from'] = array('forum' => 'spip_forum'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("forum.id_forum", "forum.titre", "forum.date_heure AS date", "forum.auteur AS nom", "forum.texte", "forum.url_site", "forum.nom_site", "forum.id_objet AS id_article", "forum.id_objet AS id_breve", "forum.id_objet AS id_rubrique", "forum.id_objet AS id_syndic"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('forum.statut','publie,prop','publie',''), array('=', 'forum.id_forum', sql_quote(($Pile[0]['id_forum'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes-dist/forum.html','html_474461c6884cc0db593cf86b0bc691d9','_principale',1,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' <!DOCTYPE html> <html dir="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js"> <head> <script type=\'text/javascript\'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\\bno-js\\b/,\'js\')})(document.documentElement);/*]]>*/</script> <title>' . _T('forum:forum') . ' ' . $Pile[$SP]['id_forum'] . ' - ' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/head') . ', array(\'robots\' => ' . argumenter_squelette('none') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_474461c6884cc0db593cf86b0bc691d9\',\'\',7,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </head> <body class="pas_surlignable page_forum"> <div class="page"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/header') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_474461c6884cc0db593cf86b0bc691d9\',\'\',13,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/nav') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_474461c6884cc0db593cf86b0bc691d9\',\'\',14,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> <main class="main" role="main"> <div class="wrapper"> <div class="content" id="content"> <p class="arbo"><a href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/">' . _T('public|spip|ecrire:accueil_site') . '</a> > ... > <strong class="on">' . _T('forum:forum') . ' ' . $Pile[$SP]['id_forum'] . '</strong></p><!--.arbo--> <div class="cartouche"> ' . (($t1 = strval(interdire_scripts(((($a = liens_nofollow(safehtml(typo(interdit_html($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])))) OR (is_string($a) AND strlen($a))) ? $a : ( _T('forum:forum') . ' ' . $Pile[$SP]['id_forum'])))))!=='' ? ('<h1>' . $t1 . '</h1>') : '') . ' </div> <p class="comment-meta"> <small><abbr class="dtreviewed"' . (($t1 = strval(interdire_scripts(date_iso(normaliser_date($Pile[$SP]['date'])))))!=='' ? (' title="' . $t1 . '"') : '') . '>' . interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date']))) . (($t1 = strval(interdire_scripts(heures(normaliser_date($Pile[$SP]['date'])))))!=='' ? (', ' . $t1) : '') . (($t1 = strval(interdire_scripts(minutes(normaliser_date($Pile[$SP]['date'])))))!=='' ? (':' . $t1) : '') . '</abbr>' . (($t1 = strval(interdire_scripts(couper(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0])),'80'))))!=='' ? (( '<span class="sep">, </span>' . _T('public|spip|ecrire:par_auteur') . ' <span class="">') . $t1 . '</span>') : '') . '</small> </p> <div class="comment-content"> ' . (($t1 = strval(interdire_scripts(lignes_longues(liens_nofollow(safehtml(propre(interdit_html($Pile[$SP]['texte']), $connect, $Pile[0])))))))!=='' ? (( '<div class="comment-texte">') . $t1 . '</div>') : '') . ' ' . (($t1 = strval(interdire_scripts(lignes_longues(liens_nofollow(safehtml(propre(interdit_html(calculer_notes()), $connect, $Pile[0])))))))!=='' ? ('<div class="comment-notes">' . $t1 . '</div>') : '') . ' ' . (($t1 = strval(attribut_html(safehtml(vider_url(calculer_url($Pile[$SP]['url_site'],'','url', $connect))))))!=='' ? (( '<p class="hyperlien">' . _T('public|spip|ecrire:voir_en_ligne') . ' : <a href="') . $t1 . ( '" class="spip_out">' . interdire_scripts(((($a = liens_nofollow(safehtml(typo(interdit_html(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false))), "TYPO", $connect, $Pile[0])))) OR (is_string($a) AND strlen($a))) ? $a : couper(safehtml(vider_url(calculer_url($Pile[$SP]['url_site'],'','url', $connect))),'80'))) . '</a></p>')) : '') . ' ' . (($t1 = strval(interdire_scripts(table_valeur(entites_html(table_valeur($Pile[0]??[], (string)'ajouter_document', null),true),'name'))))!=='' ? (( '<div class="comment-doc">' . _T('medias:info_document') . ' : ') . $t1 . '</div>') : '') . ' ' . (($t1 = BOUCLE_motshtml_474461c6884cc0db593cf86b0bc691d9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( '<p class="comment-mots">' . _T('forum:forum_avez_selectionne') . ' ') . $t1 . '</p>') : '') . ' </div> ' . (($t1 = strval(executer_balise_dynamique('FORMULAIRE_FORUM', array($Pile[$SP]['id_forum'],$Pile[$SP]['id_forum'],($Pile[0]['ajouter_mot'] ?? null),($Pile[0]['ajouter_groupe'] ?? null),($Pile[0]['forcer_previsu'] ?? null),$Pile[$SP]['id_article'],$Pile[$SP]['id_breve'],$Pile[$SP]['id_rubrique'],$Pile[$SP]['id_syndic']), array('squelettes-dist/forum.html','html_474461c6884cc0db593cf86b0bc691d9','_principale',29,$GLOBALS['spip_lang'], 'forum',4))))!=='' ? (( '<h2>' . _T('forum:form_pet_message_commentaire') . '</h2> ') . $t1) : '') . ' </div><!--.content--> </div><!--.wrapper--> <aside class="aside" role="complementary"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/navsub') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_474461c6884cc0db593cf86b0bc691d9\',\'\',42,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ' . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('squelettes-dist/forum.html','html_474461c6884cc0db593cf86b0bc691d9','_principale',43,$GLOBALS['spip_lang'])) . ' </aside><!--.aside--> </main><!--.main--> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/footer') . ', array_merge('.var_export($Pile[0],1).',array(\'self\' => ' . argumenter_squelette(self()) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes-dist/forum.html\',\'html_474461c6884cc0db593cf86b0bc691d9\',\'\',47,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div><!--.page--> </body> </html> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_principale @ squelettes-dist/forum.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes-dist/forum.html // Temps de compilation total: 67.892 ms // function html_474461c6884cc0db593cf86b0bc691d9($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_principalehtml_474461c6884cc0db593cf86b0bc691d9($Cache, $Pile, $doublons, $Numrows, $SP); return analyse_resultat_skel('html_474461c6884cc0db593cf86b0bc691d9', $Cache, $page, 'squelettes-dist/forum.html'); } ?>