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 : plugins/auto/escal/mot.html * Date : Fri, 28 Jul 2023 08:12:44 GMT * Compile : Sun, 13 Aug 2023 03:07:01 GMT * Boucles : _compte, _compte2, _Rub, _test, _auteurs_art, _articles, _articles_aumoinsun, _contexte_rubrique, _lien, _documents, _mot_principal */ function BOUCLE_comptehtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_compte'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("1"); $command['orderby'] = array(); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), array('=', 'articles.lang', sql_quote($GLOBALS['spip_lang'], '','varchar(10) NOT NULL DEFAULT \'\'')), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L1.id_mot', sql_quote($Pile[$SP]['id_mot'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_compte',46,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_compte']['command'] = $command; $Numrows['_compte']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_compte']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_compte @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_compte2html_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'documents'; $command['id'] = '_compte2'; $command['from'] = array('documents' => 'spip_documents','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array("documents.id_document"); $command['select'] = array("1"); $command['orderby'] = array(); $command['join'] = array('L1' => array('documents','id_objet','id_document','L1.objet='.sql_quote('document'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), quete_condition_postdates('documents.date_publication',''), array('IN', 'documents.mode', '(\'image\',\'document\')'), array('(documents.taille > 0 OR documents.distant=\'oui\')'), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('document')), array('=', 'L1.id_mot', sql_quote($Pile[$SP]['id_mot'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_compte2',56,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_compte2']['command'] = $command; $Numrows['_compte2']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_compte2']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_compte2 @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_Rubhtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!($id_rubrique = intval($Pile[$SP]['id_rubrique']))) return ''; include_spip('inc/rubriques'); $hierarchie = calcul_hierarchie_in($id_rubrique,true); if (!$hierarchie) return ""; if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_Rub'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "rubriques.descriptif", "rubriques.titre", "rubriques.lang"); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['orderby'] = array("FIELD(rubriques.id_rubrique, $hierarchie)"); $command['where'] = array( array('IN', 'rubriques.id_rubrique', "($hierarchie)")); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_Rub',66,$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']); $t1 = ( ' <a href="' . interdire_scripts((((include_spip('inc/config')?lire_config('gerer_trad',null,false):'') == 'oui') ? parametre_url(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true))):vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))))) . '" title="' . interdire_scripts(entites_html(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0])))) . '"> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' </a> '); $t0 .= ((strlen($t1) && strlen($t0)) ? '-' : '') . $t1; 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_Rub @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_testhtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($si_init)) { $command['si'] = array(); $si_init = true; } $command['si'][] = interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/auteurrub',null,false):'') == 'non')) ?'' :' ')); if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_test'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("count(*)"); $command['orderby'] = array(); $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[$SP]['id_article'], '','bigint(21) NOT NULL DEFAULT \'0\'')), array('=', 'L1.objet', sql_quote('article'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_test',99,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_test']['command'] = $command; $Numrows['_test']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_test']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_test @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_auteurs_arthtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_auteurs_art'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("auteurs.id_auteur", "auteurs.nom", "auteurs.lang"); $command['orderby'] = array(); $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[$SP]['id_article'], '','bigint(21) NOT NULL DEFAULT \'0\'')), array('=', 'L1.objet', sql_quote('article'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_auteurs_art',102,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], 'oui'); $t1 = ( ' <a class="auteur" href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('auteur', ''),'id_auteur',$Pile[$SP]['id_auteur']),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true)))) . '" title="' . _T('escal:page_auteur') . '">' . interdire_scripts(safehtml(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0])))) . '</a> '); $t0 .= ((strlen($t1) && strlen($t0)) ? ', ' : '') . $t1; 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_auteurs_art @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_articleshtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut_articles']) ? $Pile[0]['debut_articles'] : null), 10); if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_articles'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.id_article", "articles.date", "articles.descriptif", "articles.id_rubrique", "articles.titre", "articles.texte", "articles.chapo", "articles.date_modif", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), array('=', 'articles.lang', sql_quote($GLOBALS['spip_lang'], '','varchar(10) NOT NULL DEFAULT \'\'')), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L1.id_mot', sql_quote($Pile[$SP-2]['id_mot'], '','bigint(21) NOT NULL DEFAULT \'0\'')), array('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_articles',76,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_articles']['compteur_boucle'] = 0; $Numrows['_articles']['command'] = $command; $Numrows['_articles']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_articles']) ? $Pile[0]['debut_articles'] : _request('debut_articles'); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut_articles'] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),10,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_articles']['total']-1)/(10))*(10))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_articles']['total'] : $debut_boucle + 9), $Numrows['_articles']['total'] - 1); $Numrows['_articles']['grand_total'] = $Numrows['_articles']['total']; $Numrows['_articles']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_articles']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_articles']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_articles']['compteur_boucle']++; if ($Numrows['_articles']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_articles']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <!-- on affiche le ou les article(s) --> <div class="cadre-articles-rubrique"> <!-- affichage mots-clés associés --> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/motsclesune',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-mots_cles') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',81,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' <a href="' . interdire_scripts((((include_spip('inc/config')?lire_config('gerer_trad',null,false):'') == 'oui') ? parametre_url(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))),'lang',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'lang', null),true))):vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))))) . '" title="' . interdire_scripts(entites_html(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0])))) . '"> <div class="titre-articles-rubrique"> <div class="logorub"> ' . filtrer('image_graver',filtrer('image_reduire',quete_html_logo(quete_logo('id_article', 'ON', $Pile[$SP]['id_article'], $Pile[$SP]['id_rubrique']), '', ''),'0',interdire_scripts((include_spip('inc/config')?lire_config('escal/config/taillelogoart','150',false):'')))) . ' </div> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' </div> <div class="introduction-articles-rubrique"> ' . interdire_scripts(couper(supprimer_tags(generer_objet_introduction((int)$Pile[$SP]['id_article'], 'articles', array('descriptif' => $Pile[$SP]['descriptif'],'texte' => $Pile[$SP]['texte'],'chapo' => $Pile[$SP]['chapo'],), '500', null, null, $connect)),'150')) . ' </div> </a> <div class="auteur-articles-rubrique"> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/daterub',null,false):'') == 'non')) ?'' :' '))))!=='' ? ($t1 . ( ' <div class="date-article">' . (($t2 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ? (( _T('escal:article_mise_en_ligne') . ' <span class="majuscules">') . $t2 . '</span>') : '') . ' </div> <div class="date-modif-article">' . ((affdate(normaliser_date($Pile[$SP]['date_modif'])) !== interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))) ? (($t3 = strval(affdate(normaliser_date($Pile[$SP]['date_modif']))))!=='' ? (( _T('escal:article_modifie') . ' ') . $t3) : ''):'') . '</div> ')) : '') . ' ' . (($t1 = BOUCLE_testhtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ( ' <br />' . (!((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ' . BOUCLE_auteurs_arthtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . (((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ')) : '') . ' </div> <div class="nettoyeur"></div> </div> '); 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_articles @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_articles_aumoinsunhtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_articles_aumoinsun'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.id_rubrique", "articles.lang", "articles.titre"); $command['orderby'] = array(); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article'))); $command['limit'] = '0,1'; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), array('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL DEFAULT \'0\'')), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L1.id_mot', sql_quote($Pile[$SP-1]['id_mot'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_articles_aumoinsun',64,$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 .= ( ' <div class="rubrique-mere "> ' . BOUCLE_Rubhtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> ' . (($t1 = BOUCLE_articleshtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <div class="liste-articles-rubrique" > ' . (($t3 = strval(filtre_pagination_dist($Numrows["_articles"]["grand_total"], '_articles', isset($Pile[0]['debut_articles'])?$Pile[0]['debut_articles']:intval(_request('debut_articles')), 10, true, '', '', array())))!=='' ? ('<nav class="pagination">' . $t3 . '</nav> <div class="nettoyeur"></div>') : '') . ' ') . $t1 . ' </div> ') : '') . ' '); 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_articles_aumoinsun @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_contexte_rubriquehtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_contexte_rubrique'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "rubriques.lang", "rubriques.titre"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), 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/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_contexte_rubrique',63,$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 .= ( ' ' . BOUCLE_articles_aumoinsunhtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' '); 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_contexte_rubrique @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_lienhtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_lien'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_documents_liens'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.id_article", "articles.titre", "articles.lang"); $command['orderby'] = array(); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article'))); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), quete_condition_postdates('articles.date',''), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L1.id_document', sql_quote($Pile[$SP]['id_document'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_lien',141,$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="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '" >' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a><br> '); 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_lien @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_documentshtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut_documents']) ? $Pile[0]['debut_documents'] : null), 5); if (!isset($command['table'])) { $command['table'] = 'documents'; $command['id'] = '_documents'; $command['from'] = array('documents' => 'spip_documents','L1' => 'spip_mots_liens','L2' => 'spip_types_documents'); $command['type'] = array(); $command['groupby'] = array("documents.id_document"); $command['select'] = array("documents.id_document", "documents.titre", "documents.fichier", "documents.descriptif", "documents.taille", "L2.titre AS type_document"); $command['orderby'] = array(); $command['join'] = array('L1' => array('documents','id_objet','id_document','L1.objet='.sql_quote('document')), 'L2' => array('documents','extension')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('documents.statut','publie,prop,prepa','publie',''), quete_condition_postdates('documents.date_publication',''), array('IN', 'documents.mode', '(\'image\',\'document\')'), array('(documents.taille > 0 OR documents.distant=\'oui\')'), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('document')), array('=', 'L1.id_mot', sql_quote($Pile[$SP]['id_mot'], '','bigint(21) NOT NULL DEFAULT \'0\''))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_documents',125,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_documents']['compteur_boucle'] = 0; $Numrows['_documents']['command'] = $command; $Numrows['_documents']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_documents']) ? $Pile[0]['debut_documents'] : _request('debut_documents'); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut_documents'] = quete_debut_pagination('id_document',$Pile[0]['@id_document'] = substr($debut_boucle,1),5,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_documents']['total']-1)/(5))*(5))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_documents']['total'] : $debut_boucle + 4), $Numrows['_documents']['total'] - 1); $Numrows['_documents']['grand_total'] = $Numrows['_documents']['total']; $Numrows['_documents']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_documents']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_documents']['compteur_boucle'] = $debut_boucle; $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_documents']['compteur_boucle']++; if ($Numrows['_documents']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_documents']['compteur_boucle']-1 > $fin_boucle) break; $t0 .= ( ' <div class="texte-doc" > <div class="vignette"> ' . quete_logo_document(quete_document($Pile[$SP]['id_document'], ''), vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_document'], 'document', '', '', true))), '', '', 0, 0, '') . '</div> <div class="description"> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/motsclesune',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-mots_cles') . ', array(\'id_document\' => ' . argumenter_squelette($Pile[$SP]['id_document']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',133,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' <span class="titre-doc">' . interdire_scripts(((($a = supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(basename(get_spip_doc($Pile[$SP]['fichier']))))) . '</span> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/descriptifdoc',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(couper(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]),interdire_scripts((include_spip('inc/config')?lire_config('escal/config/descriptifdoccouper','300',false):''))))))!=='' ? ('<span class="descriptif-doc">' . $t2 . '</span>') : '') . ' ')) : '') . ' <span class="taille-doc">' . interdire_scripts(taille_en_octets($Pile[$SP]['taille'])) . ' / ' . interdire_scripts($Pile[$SP]['type_document']) . '</span> <span class="lien-doc"> ' . BOUCLE_lienhtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' </span> </div> </div><!-- fin texte-doc --> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_documents @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mot_principalhtml_d5145b91218b6ba4100f0e308d0c90ed(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mot_principal'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.id_mot", "mots.titre"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'mots.id_mot', sql_quote(($Pile[0]['id_mot'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_mot_principal',4,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' <head> <title>' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' - [' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . ']</title> ' . (($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_mot'], 'mot', '', '', true))))))!=='' ? ('<link rel="canonical" href="' . $t1 . '" />') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-head') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',9,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </head> <body id="top" ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/menuH',null,false):'') == 'non')) ?'' :' '))))!=='' ? ($t1 . ' onload="setHover(\'menu\')"') : '') . ' class="page-mot"> <div id="ombre-gauche"> <div id="ombre-droite"> <div id="conteneur"> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/espace',null,false):'') == 'haut')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-espace') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',15,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' <div id="entete"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-entete') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',20,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/espace',null,false):'') == 'haut')) ?'' :' '))))!=='' ? ($t1 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-espace') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',21,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' <div class="nettoyeur"></div> <div id="page"> <main id="contenu"> <div id="cadre-article"> <div id="cadre-titre-article"> <div id="titre-article"> ' . _T('escal:articles_associes_mot') . ' "<strong>' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</strong>" </div> ' . (($t1 = BOUCLE_comptehtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <!-- si au moins un article trouvé, on affiche le nombre trouvé --> <div class="cadre-resultat"> ' . ($Numrows['_compte']['grand_total'] ?? $Numrows['_compte']['total'] ?? 0) . ' ' . (((($Numrows['_compte']['grand_total'] ?? $Numrows['_compte']['total'] ?? 0) > '01')) ? (' ' . ( ' ' . _T('escal:articles_trouves'))) : '') . ' ' . (!((($Numrows['_compte']['grand_total'] ?? $Numrows['_compte']['total'] ?? 0) > '01')) ? (' ' . ( ' ' . _T('escal:article_trouve'))) : '') . ' ' . _T('escal:dans_site') . ' </div> ') . $t1) : '') . ' ' . (($t1 = BOUCLE_compte2html_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <!-- si au moins un document trouvé, on affiche le nombre trouvé --> <div class="cadre-resultat"> ' . ($Numrows['_compte2']['grand_total'] ?? $Numrows['_compte2']['total'] ?? 0) . ' ' . (((($Numrows['_compte2']['grand_total'] ?? $Numrows['_compte2']['total'] ?? 0) > '01')) ? (' ' . ( ' ' . _T('escal:documents_trouves'))) : '') . ' ' . (!((($Numrows['_compte2']['grand_total'] ?? $Numrows['_compte2']['total'] ?? 0) > '01')) ? (' ' . ( ' ' . _T('escal:document_trouve'))) : '') . ' ' . _T('escal:dans_site') . ' </div> ') . $t1) : '') . ' </div> <div id="texte-article" > <h1 class="section-title "> <span>' . _T('public|spip|ecrire:articles') . '</span> </h1> ' . BOUCLE_contexte_rubriquehtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . (($t1 = BOUCLE_documentshtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <h1 class="section-title "> <span>' . _T('escal:documents') . '</span> </h1> ' . (($t3 = strval(filtre_pagination_dist($Numrows["_documents"]["grand_total"], '_documents', isset($Pile[0]['debut_documents'])?$Pile[0]['debut_documents']:intval(_request('debut_documents')), 5, true, '', '', array())))!=='' ? ('<nav class="pagination">' . $t3 . '</nav> <div class="nettoyeur"></div>') : '') . ' ') . $t1) : '') . ' </div><!-- fin texte-article --> </div><!-- fin cadre-article --> </main> </div> ' . (((lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') == 'ltr')) ? (' ' . '<section id="navigation">') : '') . ' ' . (((lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') == 'rtl')) ? (' ' . '<section id="extra">') : '') . ' <!-- affichage du formulaire de recherche--> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/formrecherche',null,false):'') == 'colgauche')) ?' ' :''))))!=='' ? ($t1 . ( executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_mot_principal',45,$GLOBALS['spip_lang'])) . '<br />')) : '') . ' <!-- affichage des noisettes selectionnees dans la page de configuration --> ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages1',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages1',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages1',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',50,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages2',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages2',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages2',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',51,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages3',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t1 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages3','edito',false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',52,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : '') . ' ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages4',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t1 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages4','acces_direct',false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',53,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages5',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages5',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages5',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',54,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages6',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages6',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages6',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',55,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages7',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages7',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages7',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',56,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages8',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages8',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages8',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',57,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages9',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages9',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages9',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',58,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocnavpages10',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocnavpages10',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocnavpages10',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',59,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' </section> <!-- fin navigation --> ' . (((lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') == 'ltr')) ? (' ' . '<section id="extra">') : '') . ' ' . (((lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') == 'rtl')) ? (' ' . '<section id="navigation">') : '') . ' <!-- affichage du formulaire de recherche--> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/formrecherche',null,false):'') == 'coldroite')) ?' ' :''))))!=='' ? ($t1 . ( executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('plugins/auto/escal/mot.html','html_d5145b91218b6ba4100f0e308d0c90ed','_mot_principal',65,$GLOBALS['spip_lang'])) . '<br />')) : '') . ' <!-- affichage des noisettes selectionnees dans la page de configuration --> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages1',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t1 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages1','top',false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',69,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages2',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages2',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages2',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',70,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages3',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages3',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages3',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',71,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages4',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages4',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages4',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',72,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages5',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages5',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages5',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',73,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages6',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages6',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages6',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',74,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages7',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages7',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages7',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',75,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages8',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages8',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages8',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',76,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages9',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages9',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages9',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',77,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' ' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/blocextrapages10',null,false):'')) ?' ' :''))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/blocextrapages10',null,false):'') == 'rien')) ?'' :' '))))!=='' ? ($t2 . ( ' <div class="cadre-couleur">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette(( 'inclusions/inc-' . interdire_scripts((include_spip('inc/config')?lire_config('escal/config/blocextrapages10',null,false):'')))) . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',78,$GLOBALS[\'spip_lang\']),\'ajax\' => ($v=( ' . argumenter_squelette(($Pile[0]['ajax'] ?? null)) . '))?$v:true), _request(\'connect\') ?? \'\'); ?'.'></div> ')) : ''))) : '') . ' </section> <!-- fin extra --> <div id="pied"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclusions/inc-pied') . ', array_merge('.var_export($Pile[0],1).',array(\'skel\' => ' . argumenter_squelette('plugins/auto/escal/mot.html') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/escal/mot.html\',\'html_d5145b91218b6ba4100f0e308d0c90ed\',\'\',95,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div> </div><!-- fin conteneur --> </div> </div> </body> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mot_principal @ plugins/auto/escal/mot.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/escal/mot.html // Temps de compilation total: 574.976 ms // function html_d5145b91218b6ba4100f0e308d0c90ed($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 lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" > ' . BOUCLE_mot_principalhtml_d5145b91218b6ba4100f0e308d0c90ed($Cache, $Pile, $doublons, $Numrows, $SP) . ' </html> '); return analyse_resultat_skel('html_d5145b91218b6ba4100f0e308d0c90ed', $Cache, $page, 'plugins/auto/escal/mot.html'); }