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/aides/tmp/cache/skel/ |
<?php /* * Squelette : squelettes-dist/sommaire.html * Date : Thu, 10 Oct 2024 10:21:08 GMT * Compile : Thu, 10 Oct 2024 10:41:43 GMT * Boucles : _breves, _forums_liens, _syndic */ function BOUCLE_breveshtml_c9be170cbd1b61aca07043dd9dce75eb(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { return ''; } function BOUCLE_forums_lienshtml_c9be170cbd1b61aca07043dd9dce75eb(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'forum'; $command['id'] = '_forums_liens'; $command['from'] = array('forum' => 'spip_forum'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("forum.date_heure", "forum.texte", "forum.auteur AS nom", "forum.id_forum", "forum.titre"); $command['orderby'] = array('forum.date_heure DESC'); $command['where'] = array( quete_condition_statut('forum.statut','publie,prop','publie','')); $command['join'] = array(); $command['limit'] = '0,5'; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('squelettes-dist/sommaire.html','html_c9be170cbd1b61aca07043dd9dce75eb','_forums_liens',49,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' ' . (($t1 = strval(interdire_scripts(couper(liens_nofollow(safehtml(propre(interdit_html($Pile[$SP]['texte']), $connect, $Pile[0]))),'80'))))!=='' ? (( '<li>' . (($t2 = strval(interdire_scripts(((($a = supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0]))) OR (is_string($a) AND strlen($a))) ? $a : '...'))))!=='' ? ($t2 . ' : ') : '') . '<a href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_forum'], 'forum', '', '', true))) . '"' . (($t2 = strval(interdire_scripts(couper(attribut_html(liens_nofollow(safehtml(typo(interdit_html($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])))),'80'))))!=='' ? (' title="' . $t2 . '"') : '') . '>') . $t1 . '</a></li>') : '') . ' '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_forums_liens @ squelettes-dist/sommaire.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_syndichtml_c9be170cbd1b61aca07043dd9dce75eb(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'syndic_articles'; $command['id'] = '_syndic'; $command['from'] = array('syndic_articles' => 'spip_syndic_articles','L1' => 'spip_syndic'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("syndic_articles.date", "syndic_articles.url", "L1.url_site", "L1.nom_site", "syndic_articles.titre"); $command['orderby'] = array('syndic_articles.date DESC'); $command['where'] = array( quete_condition_statut('L1.statut','publie,prop','publie',''), quete_condition_statut('syndic_articles.statut','publie,prop','publie',''), array('<', 'TIMESTAMPDIFF(HOUR,syndic_articles.date,\'' . date('Y-m-d H:i:00') . '\')/24', "180")); $command['join'] = array('L1' => array('syndic_articles','id_syndic')); $command['limit'] = '0,5'; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('squelettes-dist/sommaire.html','html_c9be170cbd1b61aca07043dd9dce75eb','_syndic',61,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' <li>' . (($t1 = strval(interdire_scripts(affdate_jourcourt(normaliser_date($Pile[$SP]['date'])))))!=='' ? ($t1 . ' – ') : '') . '<a href="' . vider_url($Pile[$SP]['url']) . '"' . (($t1 = strval(interdire_scripts(couper(attribut_html(typo(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect, false)), "TYPO", $connect, $Pile[0])),'80'))))!=='' ? (' title="' . $t1 . '"') : '') . ' class="spip_out">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a></li> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_syndic @ squelettes-dist/sommaire.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes-dist/sommaire.html // Temps de compilation total: 264.418 ms // function html_c9be170cbd1b61aca07043dd9dce75eb($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 = ( '<!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>' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . (($t1 = strval(interdire_scripts(textebrut(typo($GLOBALS['meta']['slogan_site'], "TYPO", $connect, $Pile[0])))))!=='' ? (' - ' . $t1) : '') . '</title> ' . (($t1 = strval(interdire_scripts(attribut_html(couper(propre($GLOBALS['meta']['descriptif_site'], $connect, $Pile[0]),'150')))))!=='' ? ('<meta name="description" content="' . $t1 . '" />') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/head') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',7,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </head> <body class="pas_surlignable page_sommaire"> <div class="page"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/header') . ', array(\'home\' => ' . argumenter_squelette('oui') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes-dist/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',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/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',14,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> <main class="main" role="main"> <div class="wrapper hfeed"> <div class="content" id="content"> ' . (($t1 = strval(interdire_scripts(propre($GLOBALS['meta']['descriptif_site'], $connect, $Pile[0]))))!=='' ? ('<div class="chapo">' . $t1 . '</div>') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/recents') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes-dist/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',20,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'> </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/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',25,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ' . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('squelettes-dist/sommaire.html','html_c9be170cbd1b61aca07043dd9dce75eb','',26,$GLOBALS['spip_lang'])) . ' ' . (($t1 = BOUCLE_breveshtml_c9be170cbd1b61aca07043dd9dce75eb($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu menu_breves"> <h2>' . _T('public|spip|ecrire:dernieres_breves') . '</h2> <ul> ') . $t1 . ' </ul> </div> ') : '') . ' ' . (($t1 = BOUCLE_forums_lienshtml_c9be170cbd1b61aca07043dd9dce75eb($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu menu_comments"> <h2>' . _T('public|spip|ecrire:derniers_commentaires') . '</h2> <ul> ') . $t1 . ' </ul> </div> ') : '') . ' ' . (($t1 = BOUCLE_syndichtml_c9be170cbd1b61aca07043dd9dce75eb($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="menu"> <h2>' . _T('public|spip|ecrire:nouveautes_web') . '</h2> <ul> ') . $t1 . ' </ul> </div> ') : '') . ' ' . executer_balise_dynamique('FORMULAIRE_INSCRIPTION', array(), array('squelettes-dist/sommaire.html','html_c9be170cbd1b61aca07043dd9dce75eb','',37,$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/sommaire.html\',\'html_c9be170cbd1b61aca07043dd9dce75eb\',\'\',41,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div><!--.page--> </body> </html> '); return analyse_resultat_skel('html_c9be170cbd1b61aca07043dd9dce75eb', $Cache, $page, 'squelettes-dist/sommaire.html'); }