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/inclusions/inc-espace_self.html * Date : Wed, 30 Aug 2023 22:31:48 GMT * Compile : Wed, 30 Aug 2023 23:10:37 GMT * Boucles : _forum, _langues */ function BOUCLE_forumhtml_179fd0a3496ec24dcd822317e60ded41(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_forum'; $command['from'] = array('rubriques' => 'spip_rubriques','L1' => 'spip_mots_liens','L2' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array("rubriques.id_rubrique"); $command['select'] = array("rubriques.lang", "rubriques.titre"); $command['orderby'] = array(); $command['join'] = array('L1' => array('rubriques','id_objet','id_rubrique','L1.objet='.sql_quote('rubrique')), 'L2' => array('L1','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('rubrique')), array('=', 'L2.titre', "'forum'"), array('=', 'rubriques.lang', sql_quote($GLOBALS['spip_lang'], '','varchar(10) NOT NULL DEFAULT \'\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/inclusions/inc-espace_self.html','html_179fd0a3496ec24dcd822317e60ded41','_forum',6,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <a href="' . interdire_scripts(parametre_url(generer_url_public('forumSite-rubrique', ''),'lang',spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']))) . '"><img id="boutonForum" src="' . find_in_path((string)'images/forum_bouton.svg') . '" alt="' . _T('escal:page_forum') . '" /></a> '); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_forum @ plugins/auto/escal/inclusions/inc-espace_self.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_langueshtml_179fd0a3496ec24dcd822317e60ded41(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_langues'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array("lang"); $command['select'] = array("lang", "rubriques.lang", "rubriques.titre"); $command['orderby'] = array('rubriques.lang'); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), array('=', 'rubriques.id_parent', 0), array('NOT', array('=', 'rubriques.lang', sql_quote(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true)), '', 'varchar(10) NOT NULL DEFAULT \'\'')))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/inclusions/inc-espace_self.html','html_179fd0a3496ec24dcd822317e60ded41','_langues',31,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <span lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '"> <a href="' . parametre_url(spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')),'lang',spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])) . '" title="' . traduire_nom_langue(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])) . '"> ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'')) ?'' :' '))))!=='' ? ($t1 . ( ' <strong>| ' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '</strong> ')) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'code')) ?' ' :''))))!=='' ? ($t1 . ( ' <strong>| ' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '</strong> ')) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'nom')) ?' ' :''))))!=='' ? ($t1 . ( ' <strong>| ' . traduire_nom_langue(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])) . '</strong> ')) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'drapeau')) ?' ' :''))))!=='' ? ($t1 . ( ' <img src="' . find_in_path((string)( 'images/img_' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '.jpg')) . '" alt="' . traduire_nom_langue(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])) . '" /> ')) : '') . ' </a> </span> '); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_langues @ plugins/auto/escal/inclusions/inc-espace_self.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/escal/inclusions/inc-espace_self.html // Temps de compilation total: 0.952 ms // function html_179fd0a3496ec24dcd822317e60ded41($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 = ( '<aside id="espace"> <!-- affichage de la version simplifiee du bloc d\'identification par defaut ou si selectionnee dans la page de configuration --> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/idlight',null,false):'') == 'non')) ?'' :' '))))!=='' ? ($t1 . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-identification_light') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/inclusions/inc-espace_self.html\',\'html_179fd0a3496ec24dcd822317e60ded41\',\'\',3,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'>') : '') . ' <!-- affichage du bouton d\'accès au forum si une rubrique a la mot-cle "forum" --> ' . BOUCLE_forumhtml_179fd0a3496ec24dcd822317e60ded41($Cache, $Pile, $doublons, $Numrows, $SP) . ' <!-- affichage du formulaire de recherche--> ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/formrecherche',null,false):'')) ?'' :' '))))!=='' ? ($t1 . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('plugins/auto/escal/inclusions/inc-espace_self.html','html_179fd0a3496ec24dcd822317e60ded41','',9,$GLOBALS['spip_lang']))) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/formrecherche',null,false):'') == 'espace')) ?' ' :''))))!=='' ? ($t1 . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('plugins/auto/escal/inclusions/inc-espace_self.html','html_179fd0a3496ec24dcd822317e60ded41','',10,$GLOBALS['spip_lang']))) : '') . ' <!-- affichage du menu de langue --> ' . (($t1 = BOUCLE_langueshtml_179fd0a3496ec24dcd822317e60ded41($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div id="drapeau"> <div id="langue"> ' . (($t3 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'')) ?'' :' '))))!=='' ? ($t3 . ( ' <strong>| ' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '</strong> ')) : '') . ' ' . (($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'code')) ?' ' :''))))!=='' ? ($t3 . ( ' <strong>| ' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '</strong> ')) : '') . ' ' . (($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'nom')) ?' ' :''))))!=='' ? ($t3 . ( ' <strong>| ' . traduire_nom_langue(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])) . '</strong> ')) : '') . ' ' . (($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/affichelangue',null,false):'') == 'drapeau')) ?' ' :''))))!=='' ? ($t3 . ( ' <img src="' . find_in_path((string)( 'images/img_' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '.jpg')) . '" alt="' . traduire_nom_langue(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])) . '" /> ')) : '') . ' </div> ') . $t1 . ' </div> ') : '') . ' ' . (($t1 = strval(interdire_scripts(((filtre_info_plugin_dist("SOCIAUX", "est_actif")) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/sociaux_espace',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t2 . ( ' <div class="texte-sociaux"> ' . interdire_scripts(((include_spip('inc/config')?lire_config('escal/config/sociaux_texte',null,false):'') ? interdire_scripts(_T_ou_typo((include_spip('inc/config')?lire_config('escal/config/sociaux_texte',null,false):''))):'')) . ' </div> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/sociaux') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/escal/inclusions/inc-espace_self.html\',\'html_179fd0a3496ec24dcd822317e60ded41\',\'\',20,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ')) : '') . ' <div class="nettoyeur"></div> </aside> '); return analyse_resultat_skel('html_179fd0a3496ec24dcd822317e60ded41', $Cache, $page, 'plugins/auto/escal/inclusions/inc-espace_self.html'); }