Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/pragmatice/public_html/lesite/tmp/cache/skel/ |
<?php /* * Squelette : squelettes/inclure/header.html * Date : Sun, 01 Jan 2023 17:24:39 GMT * Compile : Sun, 07 Apr 2024 15:28:59 GMT * Boucles : _rubencours, _art, _art_secteur, _rub, _rub_secteur, _rubencours2, _art_s, _site_secteur, _rubencours3, _bre, _videos-portail, _aumenu */ function BOUCLE_rubencourshtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rubencours'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_secteur", "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.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_rubencours',2,$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 .= vide($Pile['vars'][$_zzz=(string)'secteur_art'] = $Pile[$SP]['id_secteur']); 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_rubencours @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_arthtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'articles'; $command['id'] = '_art'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_rubrique", "articles.id_rubrique", "articles.id_article", "articles.lang", "articles.titre"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_article', sql_quote(($Pile[0]['id_article'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('articles.id_article', accesrestreint_liste_objets_exclus('articles', !test_espace_prive()), 'NOT'), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_art',2,$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_rubencourshtml_1d3ba09af010430e0ee0350f32c67035($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_art @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_art_secteurhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_art_secteur'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), array('=', 'rubriques.id_rubrique', sql_quote(table_valeur($Pile["vars"]??[], (string)'secteur_art', null), '', 'bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_art_secteur',3,$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 .= vide($Pile['vars'][$_zzz=(string)'titre_rub_art'] = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))); 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_art_secteur @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } 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_secteur", "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.id_rubrique', sql_quote(($Pile[0]['id_rubrique'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_rub',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 .= vide($Pile['vars'][$_zzz=(string)'secteur_rub'] = $Pile[$SP]['id_secteur']); 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 @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rub_secteurhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rub_secteur'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), array('=', 'rubriques.id_rubrique', sql_quote(table_valeur($Pile["vars"]??[], (string)'secteur_rub', null), '', 'bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_rub_secteur',7,$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 .= vide($Pile['vars'][$_zzz=(string)'titre_rub_rub'] = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))); 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_secteur @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubencours2html_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rubencours2'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_secteur", "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.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_rubencours2',10,$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 .= vide($Pile['vars'][$_zzz=(string)'secteur_site'] = $Pile[$SP]['id_secteur']); 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_rubencours2 @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_art_shtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'syndic'; $command['id'] = '_art_s'; $command['from'] = array('syndic' => 'spip_syndic'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("syndic.id_rubrique"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('syndic.statut','publie,prop','publie',''), array('=', 'syndic.id_syndic', sql_quote(($Pile[0]['id_syndic'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_art_s',10,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= BOUCLE_rubencours2html_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_art_s @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_site_secteurhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_site_secteur'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), array('=', 'rubriques.id_rubrique', sql_quote(table_valeur($Pile["vars"]??[], (string)'secteur_site', null), '', 'bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_site_secteur',11,$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 .= vide($Pile['vars'][$_zzz=(string)'titre_rub_site'] = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))); 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_site_secteur @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubencours3html_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_rubencours3'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), array('=', 'rubriques.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_rubencours3',14,$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 .= vide($Pile['vars'][$_zzz=(string)'titre_rub_breve'] = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))); 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_rubencours3 @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_brehtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'breves'; $command['id'] = '_bre'; $command['from'] = array('breves' => 'spip_breves'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("breves.id_rubrique", "breves.id_rubrique", "breves.id_breve", "breves.lang", "breves.titre"); $command['orderby'] = array(); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('breves.statut','publie,prop','publie',''), array('=', 'breves.id_breve', sql_quote(($Pile[0]['id_breve'] ?? null), '','bigint(21) NOT NULL AUTO_INCREMENT')), sql_in('breves.id_breve', accesrestreint_liste_objets_exclus('breves', !test_espace_prive()), 'NOT'), sql_in('breves.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_bre',14,$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_rubencours3html_1d3ba09af010430e0ee0350f32c67035($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_bre @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_videos_portailhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $in = array(); $in[]= 1; $in[]= 2; $in[]= 3;if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_videos-portail'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['orderby'] = array(((!$zqv=sql_quote($in) OR $zqv==="''") ? 0 : ('FIELD(rubriques.id_rubrique,' . $zqv . ')'))); $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), sql_in('rubriques.id_rubrique', $in), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_videos-portail',17,$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 .= vide($Pile['vars'][$_zzz=(string)'titre_page'] = interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])))); 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_videos-portail @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_aumenuhtml_1d3ba09af010430e0ee0350f32c67035(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = '';if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) { $link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin'); $message_fr = 'La restriction d\'accès a ete desactivée. <a href="'.$link_plugin.'">Corriger le problème</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.'; die($message_fr.'<br />'.$message_en); } if (!isset($command['table'])) { $command['table'] = 'rubriques'; $command['id'] = '_aumenu'; $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.id_rubrique", "rubriques.titre", "rubriques.id_rubrique", "rubriques.lang"); $command['orderby'] = array(); $command['where'] = array( quete_condition_statut('rubriques.statut','!','publie',''), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('rubrique')), array('=', 'L2.titre', "'menu_header'"), sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); $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(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','_aumenu',44,$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 .= ( '<li><a href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a></li>'); 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_aumenu @ squelettes/inclure/header.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes/inclure/header.html // Temps de compilation total: 6.299 ms // function html_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) { if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"])) $doublons = nettoyer_env_doublons($Pile[0]["doublons"]); $connect = ''; $page = ( ' ' . BOUCLE_arthtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_art_secteurhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_rubhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_rub_secteurhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_art_shtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_site_secteurhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_brehtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_videos_portailhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' <div class="top-bar no_imprim"> <div class="container"> <div class="row"> <div class="span3"> <a href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '" class="logo" style=\'letter-spacing: -2px;\'>PragmaTICE</a><a href=\'spip.php?article1539\'><img class=\'logo bt_scale_2\' src=\'' . find_in_path((string)'images/logo_soutien_32.png') . '\' style=\'margin:5px 0 0 5px; width:28px;\' title="Soutenir PragmaTICE" /></a> </div> <div class="span9"> <ul class="menu"> <li style="font-weight:bold;"> ' . ((table_valeur($Pile["vars"]??[], (string)'titre_rub_art', null)) ? (' ' . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-header_article') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/inclure/header.html\',\'html_1d3ba09af010430e0ee0350f32c67035\',\'\',24,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ' . ((table_valeur($Pile["vars"]??[], (string)'titre_rub_rub', null)) ? (' ' . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-header_rubrique') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/inclure/header.html\',\'html_1d3ba09af010430e0ee0350f32c67035\',\'\',25,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ' . ((table_valeur($Pile["vars"]??[], (string)'titre_rub_site', null)) ? (' ' . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-header_site') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/inclure/header.html\',\'html_1d3ba09af010430e0ee0350f32c67035\',\'\',26,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ' . ((table_valeur($Pile["vars"]??[], (string)'titre_rub_breve', null)) ? (' ' . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-header_breve') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/inclure/header.html\',\'html_1d3ba09af010430e0ee0350f32c67035\',\'\',27,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ' . ((table_valeur($Pile["vars"]??[], (string)'titre_page', null)) ? (' ' . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-header_page') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/inclure/header.html\',\'html_1d3ba09af010430e0ee0350f32c67035\',\'\',28,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ')) : '') . ' ' . (!(table_valeur($Pile["vars"]??[], (string)'titre_rub_art', null)) ? (' ' . ( ' ' . (!(table_valeur($Pile["vars"]??[], (string)'titre_rub_rub', null)) ? (' ' . ( ' ' . (!(table_valeur($Pile["vars"]??[], (string)'titre_rub_site', null)) ? (' ' . ( ' ' . (!(table_valeur($Pile["vars"]??[], (string)'titre_rub_breve', null)) ? (' ' . ( ' ' . (!(table_valeur($Pile["vars"]??[], (string)'titre_page', null)) ? (' ' . ( ' <a href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '"><i class="oi oi-home"></i> Accueil de PragmaTICE</a> ')) : ''))) : ''))) : ''))) : ''))) : '') . ' </li> <li class="has-sub"><a href="#">Au menu</a> <ul class="sub-menu"> <li><a href="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '">Accueil de PragmaTICE</a></li> ' . BOUCLE_aumenuhtml_1d3ba09af010430e0ee0350f32c67035($Cache, $Pile, $doublons, $Numrows, $SP) . ' </ul> </li> <li class="champ_recherche">' . executer_balise_dynamique('FORMULAIRE_RECHERCHE', array(), array('squelettes/inclure/header.html','html_1d3ba09af010430e0ee0350f32c67035','',41,$GLOBALS['spip_lang'])) . '</li> </ul> </div> </div> </div> </div>'); return analyse_resultat_skel('html_1d3ba09af010430e0ee0350f32c67035', $Cache, $page, 'squelettes/inclure/header.html'); } ?>