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 : plugins/auto/escal/inclusions/inc-meme_rub.html * Date : Thu, 10 Oct 2024 10:23:13 GMT * Compile : Thu, 10 Oct 2024 10:47:03 GMT * Boucles : _test, _auteurs, _meme_rubrique, _test2, _auteurs2, _meme_rubrique2 */ function BOUCLE_testhtml_26cdec9924df232b3a835c39aa01586b(&$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/auteurmemerub',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 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/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_test',34,$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/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_auteurshtml_26cdec9924df232b3a835c39aa01586b(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_auteurs'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("auteurs.nom", "auteurs.id_auteur", "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 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/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_auteurs',37,$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 = ( ' ' . (($t1 = strval(interdire_scripts(safehtml(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0]))))))!=='' ? (( '<a 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') . '">') . $t1 . '</a>') : '') . ' '); $t0 .= ((strlen($t1) && strlen($t0)) ? ',<br>' : '') . $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 @ plugins/auto/escal/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_meme_rubriquehtml_26cdec9924df232b3a835c39aa01586b(&$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/ordrememerub',null,false):'') == 'hasard')) ?'' :' ')); $command['pagination'] = array((isset($Pile[0]['debut_meme_rubrique']) ? $Pile[0]['debut_meme_rubrique'] : null), (($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)); if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_meme_rubrique'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_article", "articles.date", "articles.descriptif", "articles.titre", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['join'] = array(); $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_rubrique', sql_quote(($Pile[0]['id_rubrique'] ?? null), '','bigint NOT NULL DEFAULT \'0\'')), array('!=', 'articles.id_article', sql_quote(($Pile[0]['id_article'] ?? null), '', ''))); $command['limit'] = '0'.','.intval(table_valeur($Pile["vars"]??[], (string)'nombrememerub', null)); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_meme_rubrique',20,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_meme_rubrique']['compteur_boucle'] = 0; $Numrows['_meme_rubrique']['command'] = $command; $Numrows['_meme_rubrique']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_meme_rubrique']) ? $Pile[0]['debut_meme_rubrique'] : _request('debut_meme_rubrique'); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut_meme_rubrique'] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),(($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 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['_meme_rubrique']['total']-1)/((($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)))*((($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_meme_rubrique']['total'] : $debut_boucle+(($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10) - 1), $Numrows['_meme_rubrique']['total'] - 1); $Numrows['_meme_rubrique']['grand_total'] = $Numrows['_meme_rubrique']['total']; $Numrows['_meme_rubrique']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_meme_rubrique']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_meme_rubrique']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_meme_rubrique']['compteur_boucle']++; if ($Numrows['_meme_rubrique']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_meme_rubrique']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <!-- affichage du titre avec lien vers l\'article de la date de publication et de l\'auteur(s) avec un lien pour lui envoyer un message --> <div class="titre-article-cadre"> <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))))) . '" ' . (($t1 = strval(interdire_scripts(entites_html(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))))))!=='' ? ('title="' . $t1 . '"') : '') . '> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' </a> </div> <div class="date-auteur-cadre"> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/datememerub',null,false):'') == 'non')) ?'' :' '))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ? (( _T('escal:le') . ' ') . $t2 . ' ') : '') . ' <br>')) : '') . ' ' . (($t1 = BOUCLE_testhtml_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ( ' ' . (!((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ' . BOUCLE_auteurshtml_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . (((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ')) : '') . ' </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_meme_rubrique @ plugins/auto/escal/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_test2html_26cdec9924df232b3a835c39aa01586b(&$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/auteurmemerub',null,false):'') == 'non')) ?'' :' ')); if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_test2'; $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 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/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_test2',75,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_test2']['command'] = $command; $Numrows['_test2']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_test2']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_test2 @ plugins/auto/escal/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_auteurs2html_26cdec9924df232b3a835c39aa01586b(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'auteurs'; $command['id'] = '_auteurs2'; $command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("auteurs.nom", "auteurs.id_auteur", "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 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/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_auteurs2',78,$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 = ( ' ' . (($t1 = strval(interdire_scripts(safehtml(supprimer_numero(typo($Pile[$SP]['nom'], "TYPO", $connect, $Pile[0]))))))!=='' ? (( '<a 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') . '">') . $t1 . '</a>') : '') . ' '); $t0 .= ((strlen($t1) && strlen($t0)) ? ',<br>' : '') . $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_auteurs2 @ plugins/auto/escal/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_meme_rubrique2html_26cdec9924df232b3a835c39aa01586b(&$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/ordrememerub',null,false):'') == 'hasard')) ?' ' :'')); $command['pagination'] = array((isset($Pile[0]['debut_meme_rubrique2']) ? $Pile[0]['debut_meme_rubrique2'] : null), (($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)); if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_meme_rubrique2'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_article", "rand() AS hasard", "articles.descriptif", "articles.titre", "articles.date", "articles.lang"); $command['orderby'] = array('hasard'); $command['join'] = array(); $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_rubrique', sql_quote(($Pile[0]['id_rubrique'] ?? null), '','bigint NOT NULL DEFAULT \'0\'')), array('!=', 'articles.id_article', sql_quote(($Pile[0]['id_article'] ?? null), '', ''))); $command['limit'] = '0'.','.intval(table_valeur($Pile["vars"]??[], (string)'nombrememerub', null)); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = Spip\Compilateur\Iterateur\Factory::create( "SQL", $command, array('plugins/auto/escal/inclusions/inc-meme_rub.html','html_26cdec9924df232b3a835c39aa01586b','_meme_rubrique2',61,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_meme_rubrique2']['compteur_boucle'] = 0; $Numrows['_meme_rubrique2']['command'] = $command; $Numrows['_meme_rubrique2']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut_meme_rubrique2']) ? $Pile[0]['debut_meme_rubrique2'] : _request('debut_meme_rubrique2'); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut_meme_rubrique2'] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),(($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 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['_meme_rubrique2']['total']-1)/((($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)))*((($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10)))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_meme_rubrique2']['total'] : $debut_boucle+(($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10) - 1), $Numrows['_meme_rubrique2']['total'] - 1); $Numrows['_meme_rubrique2']['grand_total'] = $Numrows['_meme_rubrique2']['total']; $Numrows['_meme_rubrique2']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_meme_rubrique2']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_meme_rubrique2']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_meme_rubrique2']['compteur_boucle']++; if ($Numrows['_meme_rubrique2']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_meme_rubrique2']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <!-- affichage du titre avec lien vers l\'article de la date de publication et de l\'auteur(s) avec un lien pour lui envoyer un message --> <div class="titre-article-cadre"> <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))))) . '" ' . (($t1 = strval(interdire_scripts(entites_html(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))))))!=='' ? ('title="' . $t1 . '"') : '') . '> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' </a> </div> <div class="date-auteur-cadre"> ' . (($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/datememerub',null,false):'') == 'non')) ?'' :' '))))!=='' ? ($t1 . ( ' ' . (($t2 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ? (( _T('escal:le') . ' ') . $t2 . ' ') : '') . ' <br>')) : '') . ' ' . (($t1 = BOUCLE_test2html_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ( ' ' . (!((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ' . BOUCLE_auteurs2html_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . (((spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) == 'ja')) ? (' ' . _T('public|spip|ecrire:par_auteur')) : '') . ' ')) : '') . ' </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_meme_rubrique2 @ plugins/auto/escal/inclusions/inc-meme_rub.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette plugins/auto/escal/inclusions/inc-meme_rub.html // Temps de compilation total: 1.013 ms // function html_26cdec9924df232b3a835c39aa01586b($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 = ( '<section> <!-- Affichage des articles de la même rubrique s\'ils existent--> ' . vide($Pile['vars'][$_zzz=(string)'nombrememerub'] = interdire_scripts((include_spip('inc/config')?lire_config('escal/config/nombrememerub','10',false):''))) . vide($Pile['vars'][$_zzz=(string)'nbrpagmemerub'] = interdire_scripts((include_spip('inc/config')?lire_config('escal/config/paginmemerub','5',false):''))) . (($t1 = BOUCLE_meme_rubriquehtml_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <h1 class="cadre meme-rub" > ' . (($t3 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):'')) ?' ' :''))))!=='' ? ($t3 . ( ' ' . interdire_scripts(PtoBR(_T_ou_typo(propre((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):''))))) . ' ')) : '') . ' ' . (($t3 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):'')) ?'' :' '))))!=='' ? ($t3 . ( ' ' . _T('public|spip|ecrire:meme_rubrique') . ' ')) : '') . ' </h1> <div class="texte meme-rub ' . (($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglememerubrique',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t3 . 'toggle') : '') . '" > ' . (($t3 = strval(filtre_pagination_dist($Numrows["_meme_rubrique"]["grand_total"], '_meme_rubrique', isset($Pile[0]['debut_meme_rubrique'])?$Pile[0]['debut_meme_rubrique']:intval(_request('debut_meme_rubrique')), (($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10), true, '', '', array())))!=='' ? ('<nav class="pagination">' . $t3 . '</nav> <div class="nettoyeur"></div>') : '') . ' ') . $t1 . ' </div> ') : '') . ' ' . (($t1 = BOUCLE_meme_rubrique2html_26cdec9924df232b3a835c39aa01586b($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' <h1 class="cadre meme-rub" > ' . (($t3 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):'')) ?' ' :''))))!=='' ? ($t3 . ( ' ' . interdire_scripts(PtoBR(_T_ou_typo(propre((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):''))))) . ' ')) : '') . ' ' . (($t3 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('escal/config/titrememerub',null,false):'')) ?'' :' '))))!=='' ? ($t3 . ( ' ' . _T('public|spip|ecrire:meme_rubrique') . ' ')) : '') . ' </h1> <div class="texte meme-rub ' . (($t3 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('escal/config/togglememerubrique',null,false):'') == 'oui')) ?' ' :''))))!=='' ? ($t3 . 'toggle') : '') . '" > ' . (($t3 = strval(filtre_pagination_dist($Numrows["_meme_rubrique2"]["grand_total"], '_meme_rubrique2', isset($Pile[0]['debut_meme_rubrique2'])?$Pile[0]['debut_meme_rubrique2']:intval(_request('debut_meme_rubrique2')), (($a = intval(table_valeur($Pile["vars"]??[], (string)'nbrpagmemerub', null))) ? $a : 10), true, '', '', array())))!=='' ? ('<nav class="pagination">' . $t3 . '</nav> <div class="nettoyeur"></div>') : '') . ' ') . $t1 . ' </div> ') : '') . ' </section>'); return analyse_resultat_skel('html_26cdec9924df232b3a835c39aa01586b', $Cache, $page, 'plugins/auto/escal/inclusions/inc-meme_rub.html'); }