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/rubrique=3.html * Date : Sun, 01 Jan 2023 17:24:11 GMT * Compile : Sat, 30 Mar 2024 13:31:08 GMT * Boucles : _tousart, _art_sect, _nbartrub3, _mc5, _gp5, _nb-tous-intervenantsbis, _mc_6, _gp6, _breve-menu, _mc5bis, _mc6bis, _mcdusite, _lesmc5, _lesmc6, _lesart, _principale */ function BOUCLE_tousarthtml_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_tousart'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_article", "articles.id_rubrique", "articles.id_article", "articles.lang", "articles.titre"); $command['orderby'] = array(); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), 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')); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_tousart',4,$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)'touslesarticles'] = filtre_push(table_valeur($Pile["vars"]??[], (string)'touslesarticles', null),$Pile[$SP]['id_article']))); 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_tousart @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_art_secthtml_eb41449909f3e2ae60978a82b6d2f718(&$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_sect'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_secteur", "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(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)), '', '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/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_art_sect',15,$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)'art_sect'] = $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_art_sect @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_nbartrub3html_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_nbartrub3'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_rubrique", "articles.id_article"); $command['orderby'] = array(); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_rubrique', "3"), 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')); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_nbartrub3',26,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_nbartrub3']['command'] = $command; $Numrows['_nbartrub3']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_nbartrub3']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_nbartrub3 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mc5html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mc5'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'mots.id_groupe', sql_quote($Pile[$SP]['id_groupe'], '','bigint(21) NOT NULL DEFAULT 0'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_mc5',65,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<li><a id="mc_' . $Pile[$SP]['id_mot'] . '" href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g5',$Pile[$SP]['id_mot']),'mc-g6',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g6', null),true)))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_mot') . ', array(\'id_mot\' => ' . argumenter_squelette($Pile[$SP]['id_mot']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',65,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a></li>'); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mc5 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_gp5html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'groupes_mots'; $command['id'] = '_gp5'; $command['from'] = array('groupes_mots' => 'spip_groupes_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("groupes_mots.id_groupe", "groupes_mots.descriptif"); $command['orderby'] = array(); $command['where'] = array( array('=', 'groupes_mots.id_groupe', "5")); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_gp5',60,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' <h5>' . interdire_scripts(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))) . '</h5> <div class="pave_contenu"> <ul> <li><a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g5',($Pile[0]['id_mot'] ?? null)),'mc-g6',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g6', null),true)))) . '">Tous les mots-clés ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_gpe') . ', array(\'id_groupe\' => ' . argumenter_squelette($Pile[$SP]['id_groupe']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',64,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a></li> ' . BOUCLE_mc5html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </ul> </div> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_gp5 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_nb_tous_intervenantsbishtml_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_nb-tous-intervenantsbis'; $command['from'] = array('articles' => 'spip_articles','L1' => 'spip_mots_liens','L2' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array("articles.id_article"); $command['select'] = array("articles.id_rubrique", "articles.id_article"); $command['orderby'] = array(); $command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), 'L2' => array('L1','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L2.id_groupe', sql_quote($Pile[$SP]['id_groupe'], '','bigint(21) NOT NULL DEFAULT 0')), 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/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_nb-tous-intervenantsbis',82,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $Numrows['_nb-tous-intervenantsbis']['command'] = $command; $Numrows['_nb-tous-intervenantsbis']['total'] = @intval($iter->count()); $SP++; // RESULTATS $t0 = str_repeat(' ', $Numrows['_nb-tous-intervenantsbis']['total']); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_nb-tous-intervenantsbis @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mc_6html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mc_6'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'mots.id_groupe', sql_quote($Pile[$SP]['id_groupe'], '','bigint(21) NOT NULL DEFAULT 0'))); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_mc_6',83,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g6',$Pile[$SP]['id_mot']),'mc-g5',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g5', null),true)))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_mot') . ', array(\'id_mot\' => ' . argumenter_squelette($Pile[$SP]['id_mot']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',83,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a> - '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mc_6 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_gp6html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'groupes_mots'; $command['id'] = '_gp6'; $command['from'] = array('groupes_mots' => 'spip_groupes_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("groupes_mots.id_groupe", "groupes_mots.descriptif"); $command['orderby'] = array(); $command['where'] = array( array('=', 'groupes_mots.id_groupe', "6")); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_gp6',72,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( ' <h5>' . interdire_scripts(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))) . '</h5> <div class="pave_contenu"> <ul> <li><a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g6',($Pile[0]['id_mot'] ?? null)),'mc-g5',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g5', null),true)))) . '">Tous les intervenants ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_gpe') . ', array(\'id_groupe\' => ' . argumenter_squelette($Pile[$SP]['id_groupe']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',76,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a></li> <div style="text-align:center; margin:10px"> <a href="#" data-modal="#modal_choix_mc' . $Pile[$SP-1]['id_rubrique'] . '" class="btn btn-small module2">Choisir un intervenant</a> <div class="modal span9" id="modal_choix_mc' . $Pile[$SP-1]['id_rubrique'] . '"> <div class="modal-title"><h5>Choisir un intervenant</h5> <div class="close">×</div></div> <div class="modal-content pave_forum"> <a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g6',($Pile[0]['id_mot'] ?? null)),'mc-g5',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g5', null),true)))) . '">Tous les intervenants' . (($t1 = BOUCLE_nb_tous_intervenantsbishtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . ( '<span class="info2">(' . ($Numrows['_nb-tous-intervenantsbis']['total'] ?? 0) . ')</span>')) : '') . '</a> - ' . BOUCLE_mc_6html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> </div> </div> </ul> </div> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_gp6 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_breve_menuhtml_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_breve-menu'; $command['from'] = array('breves' => 'spip_breves','L1' => 'spip_mots_liens','L2' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array("breves.id_breve"); $command['select'] = array("breves.id_breve", "breves.titre", "breves.id_rubrique", "breves.id_breve", "breves.lang"); $command['orderby'] = array(); $command['join'] = array('L1' => array('breves','id_objet','id_breve','L1.objet='.sql_quote('breve')), 'L2' => array('L1','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('breves.statut','publie,prop','publie',''), array('=', 'breves.id_rubrique', sql_quote($Pile[$SP]['id_secteur'], '','bigint(21) NOT NULL DEFAULT 0')), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('breve')), array('=', 'L2.titre', "'menu_breve'"), 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/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_breve-menu',97,$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_breve'], 'breve', '', '', 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_breve-menu @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mc5bishtml_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mc5bis'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['where'] = array( array('=', 'mots.id_groupe', "5")); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_mc5bis',128,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g5',$Pile[$SP]['id_mot']),'mc-g6',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g6', null),true)))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_mot') . ', array(\'id_mot\' => ' . argumenter_squelette($Pile[$SP]['id_mot']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',128,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a> - '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mc5bis @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mc6bishtml_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mc6bis'; $command['from'] = array('mots' => 'spip_mots'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['where'] = array( array('=', 'mots.id_groupe', "6")); $command['join'] = array(); $command['limit'] = ''; $command['having'] = array(); } if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_mc6bis',130,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a href="' . interdire_scripts(parametre_url(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g6',$Pile[$SP]['id_mot']),'mc-g5',interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'mc-g6', null),true)))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-nb_art_mot') . ', array(\'id_mot\' => ' . argumenter_squelette($Pile[$SP]['id_mot']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',130,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></a> - '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mc6bis @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_mcdusitehtml_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_mcdusite'; $command['from'] = array('mots' => 'spip_mots','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.descriptif", "mots.id_mot"); $command['orderby'] = array(); $command['join'] = array('L1' => array('mots','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'L1.id_objet', sql_quote($Pile[$SP]['id_article'], '','bigint(21) NOT NULL DEFAULT 0')), array('=', 'L1.objet', sql_quote('article')), array('=', 'mots.type', "'site-source'")); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_mcdusite',165,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a target="_blank" title="' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '" href="' . interdire_scripts(textebrut(propre($Pile[$SP]['descriptif'], $connect, $Pile[0]))) . '">' . filtrer('image_graver',filtrer('image_reduire',inserer_attribut(quete_html_logo(quete_logo('id_mot', 'ON', $Pile[$SP]['id_mot'],'', 0), '', ''),'style','margin:0 10px 0 0'),'0','24')) . '</a>'); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_mcdusite @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_lesmc5html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_lesmc5'; $command['from'] = array('mots' => 'spip_mots','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['join'] = array('L1' => array('mots','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'L1.id_objet', sql_quote($Pile[$SP]['id_article'], '','bigint(21) NOT NULL DEFAULT 0')), array('=', 'L1.objet', sql_quote('article')), array('=', 'mots.id_groupe', "5")); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_lesmc5',176,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a class="btn btn-small module1" style="margin-bottom:1px" href="' . interdire_scripts(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g5',$Pile[$SP]['id_mot'])) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_lesmc5 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_lesmc6html_eb41449909f3e2ae60978a82b6d2f718(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; if (!isset($command['table'])) { $command['table'] = 'mots'; $command['id'] = '_lesmc6'; $command['from'] = array('mots' => 'spip_mots','L1' => 'spip_mots_liens'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("mots.titre", "mots.id_mot"); $command['orderby'] = array('mots.titre'); $command['join'] = array('L1' => array('mots','id_mot')); $command['limit'] = ''; $command['having'] = array(); } $command['where'] = array( array('=', 'L1.id_objet', sql_quote($Pile[$SP]['id_article'], '','bigint(21) NOT NULL DEFAULT 0')), array('=', 'L1.objet', sql_quote('article')), array('=', 'mots.id_groupe', "6")); if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime(); $t0 = ""; // REQUETE $iter = IterFactory::create( "SQL", $command, array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_lesmc6',177,$GLOBALS['spip_lang']) ); if (!$iter->err()) { $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $t0 .= ( '<a class="btn btn-small module2" style="margin-bottom:1px" href="' . interdire_scripts(parametre_url(generer_url_public('videos-veill-v', ''),'mc-g6',$Pile[$SP]['id_mot'])) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a> '); } $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_lesmc6 @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_lesarthtml_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_lesart'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.id_article", "rand() AS hasard", "articles.chapo", "articles.titre", "articles.surtitre", "articles.soustitre", "articles.descriptif", "articles.date", "articles.ps", "articles.id_rubrique", "articles.id_article", "articles.lang"); $command['orderby'] = array('hasard'); $command['join'] = array(); $command['limit'] = '0,3'; $command['having'] = array(); } $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'], '','bigint(21) NOT NULL DEFAULT 0')), 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/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_lesart',136,$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="pave_video"> <div class="video_temps">' . interdire_scripts(textebrut(propre($Pile[$SP]['chapo'], $connect, $Pile[0]))) . '</div> <a title="Partager ou exploiter cette vidéo" href="#" data-modal="#modal_partage' . $Pile[$SP]['id_article'] . '"><img style="float:right" src="' . find_in_path((string)'images/info_partage.png') . '" /></a> <div class="modal span9" id="modal_partage' . $Pile[$SP]['id_article'] . '"> <div class="modal-title"><h5>Partager ou exploiter cette vidéo</h5> <div class="close">×</div></div> <div class="modal-content pave_forum"> <div> <p style="text-align:right; font-weight:bold; font-style:italic"><a href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '">Voir la vidéo et ses ressources... >>></a></p> <h2 style="margin:0 0 5px 0">Partager cette vidéo</h2> <div style="float:right; margin-left:10px">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-boutons-partage') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',146,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></div> <p style="font-weight:bold">Lien vers "<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>"</p> </div> <input type="text" style="width:100%" onfocus="this.select();" onclick="this.select();" value="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '" /> <h2 style="margin:10px 0 5px 0">Référence de la vidéo : <span class="ref_video"> ' . $Pile[$SP]['id_article'] . ' </span></h2> <p>Ce numéro peut être saisi dans l\'onglet "<a target="_parent" href="spip.php?rubrique1#tabs-1">Rechercher</a>" pour accéder à la page de la vidéo.</p> </div> </div> <div class="video_logo"> ' . (($t1 = strval(interdire_scripts(((typo($Pile[$SP]['surtitre'], "TYPO", $connect, $Pile[0])) ?' ' :''))))!=='' ? ($t1 . ( ' <a title="Consulter la vidéo ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '" href="' . interdire_scripts(textebrut(typo($Pile[$SP]['surtitre'], "TYPO", $connect, $Pile[0]))) . '" class=\'mediabox boxIframe boxWidth-720px boxHeight-500px boxOverlayClose-false\'>' . inserer_attribut(quete_html_logo(quete_logo('id_article', 'on', $Pile[$SP]['id_article'],'', 0), '', ''),'class','pale') . '</a> ')) : '') . ' ' . (($t1 = strval(interdire_scripts(((typo($Pile[$SP]['surtitre'], "TYPO", $connect, $Pile[0])) ?'' :' '))))!=='' ? ($t1 . ( ' ' . inserer_attribut(quete_html_logo(quete_logo('id_article', 'ON', $Pile[$SP]['id_article'],'', 0), '', ''),'class','tres_pale') . ' ')) : '') . ' </div> <div class="video_descriptif"> <h5> ' . BOUCLE_mcdusitehtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' <a title="Consulter la vidéo sur le site source" target="_blank" href="' . interdire_scripts(textebrut(typo($Pile[$SP]['soustitre'], "TYPO", $connect, $Pile[0]))) . '">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a> </h5> <div class="info1"> ' . interdire_scripts(textebrut(target(propre($Pile[$SP]['descriptif'], $connect, $Pile[0])))) . ' ' . (($t1 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date'])))))!=='' ? ('<span class="affdate">(réf. ' . $t1 . ')</span>') : '') . ' ' . (($t1 = strval(interdire_scripts(((propre($Pile[$SP]['ps'], $connect, $Pile[0])) ?' ' :''))))!=='' ? ($t1 . ( ' <span class="plier_deplier_brut lien_afficher_objectifs">Objectifs</span> <div class="afficher_objectifs">' . interdire_scripts(propre($Pile[$SP]['ps'], $connect, $Pile[0])) . '</div> ')) : '') . ' </div> <div> ' . BOUCLE_lesmc5html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . BOUCLE_lesmc6html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> </div> <div style="clear:left"></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_lesart @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_principalehtml_eb41449909f3e2ae60978a82b6d2f718(&$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'] = '_principale'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "rubriques.id_secteur", "rubriques.lang", "rubriques.titre", "rubriques.descriptif", "rubriques.texte", "rubriques.id_rubrique"); $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/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_principale',28,$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 .= ( ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--[if lt IE 7 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie6"> <![endif]--> <!--[if IE 7 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie7"> <![endif]--> <!--[if IE 8 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie8"> <![endif]--> <!--[if IE 9 ]> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html dir="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . '" lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang']) . '" class="' . lang_dir($Pile[$SP]['lang'], 'ltr','rtl') . (($t1 = strval(spip_htmlentities($Pile[$SP]['lang'] ? $Pile[$SP]['lang'] : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js"> <!--<![endif]--> <head> <script type=\'text/javascript\'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\\bno-js\\b/,\'js\')})(document.documentElement);/*]]>*/</script> <title>' . (($t1 = strval(interdire_scripts(textebrut(couper(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0])),'80')))))!=='' ? ($t1 . ' - ') : '') . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> ' . (($t1 = strval(interdire_scripts(textebrut(generer_objet_introduction((int)$Pile[$SP]['id_rubrique'], 'rubriques', array('descriptif' => $Pile[$SP]['descriptif'],'texte' => $Pile[$SP]['texte'],), '600', '150', null, $connect)))))!=='' ? ('<meta name="description" content="' . $t1 . '" />') : '') . ' ' . (($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))))))!=='' ? ('<link rel="canonical" href="' . $t1 . '" />') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/head') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',40,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> <link rel="alternate" type="application/rss+xml" title="' . _T('public|spip|ecrire:syndiquer_rubrique') . '" href="' . interdire_scripts(parametre_url(generer_url_public('backend', ''),'id_rubrique',$Pile[$SP]['id_rubrique'])) . '" /> <script> $(function() { $( "#tabs" ).tabs(); }); </script> </head> <body class="with-top-bar"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/header') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',52,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> <div class="container"> <div class="row ligne_principale"> <div class="span3 colonne_laterale"> <div class="pave_lateral cadre1"> ' . BOUCLE_gp5html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> <div class="pave_lateral cadre2"> ' . BOUCLE_gp6html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> ' . (($t1 = BOUCLE_breve_menuhtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (' <div class="pave_lateral cadre3"> <h5>En savoir plus...</h5> <div class="pave_contenu"> <ul> ' . $t1 . ' </ul> </div> </div> ') : '') . ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-menu_portails') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',68,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div><!-- fin colonne latérale --> <div class="span9 colonne_principale"> <div class="aplat2 rounded shadow bloc_titre" style="margin-bottom:20px"> <div class="logo_imprimer no_imprim"><a title="Partager cette ressource" href="#" data-modal="#modal_partage' . $Pile[$SP]['id_rubrique'] . '"><img src="' . find_in_path((string)'images/info_partage.png') . '" /></a></div> <div class="modal span9" id="modal_partage' . $Pile[$SP]['id_rubrique'] . '"> <div class="modal-title"><h5>Partager cette ressource</h5> <div class="close">×</div></div> <div class="modal-content pave_forum"> <div> <div style="float:right; margin-left:10px">' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-boutons-partage') . ', array(\'id_rubrique\' => ' . argumenter_squelette($Pile[$SP]['id_rubrique']) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',80,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></div> <p style="font-weight:bold">Lien vers "<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>"</p> </div> <input type="text" style="width:100%" onfocus="this.select();" onclick="this.select();" value="' . spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) . '/' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) . '" /> </div> </div> ' . (($t1 = strval(filtrer('image_graver',filtrer('image_reduire',inserer_attribut(inserer_attribut(quete_html_logo(quete_logo('id_rubrique', 'ON', $Pile[$SP]['id_rubrique'],quete_parent($Pile[$SP]['id_rubrique']), 0), '', ''),'style','margin:0 10px 0 0; float:left'),'class',''),'128','*'))))!=='' ? ($t1 . ' ') : '') . ' ' . (($t1 = strval(interdire_scripts(target(propre($Pile[$SP]['texte'], $connect, $Pile[0])))))!=='' ? ('<div class="surlignable">' . $t1 . '</div>') : '') . ' <div style="clear:both"></div> <div class="fleche_bas lien_afficher_mc"><a href="#">Afficher les mots-clés</a></div> <div class="afficher_mc"> <div><a href="' . interdire_scripts(generer_url_public('videos-veill-v', '')) . '">Toutes les vidéos ' . table_valeur($Pile["vars"]??[], (string)'nbartrub3', null) . '</a></div> <div class="choisir1">Choisir une ressource</div> ' . BOUCLE_mc5bishtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' <div class="choisir2">Choisir un intervenant</div> ' . BOUCLE_mc6bishtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' </div> <div style="clear:both"></div> </div> ' . (($t1 = BOUCLE_lesarthtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (' ' . $t1 . ' ') : (( ' <div class="aplat rounded shadow" style="margin-bottom:20px; text-align:center"> <p>Désolé, aucune vidéo ne correspond à ces critères.</p> <img src="' . find_in_path((string)'images/desole.png') . '" /> </div> '))) . ' <div class="onglets"> <div id="tabs"> <ul> <li><a href="#tabs-1">Rechercher</a></li> <li><a href="#tabs-2">Trier par ordre alph.</a></li> <li><a href="#tabs-3">Trier par date</a></li> <li><a href="#tabs-4">Trier par site</a></li> <li><a href="#tabs-5">Proposer</a></li> </ul> <div id="tabs-1"> ' . (($t1 = strval(interdire_scripts(((((((entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)) AND (table_valeur($Pile["vars"]??[], (string)'article_present', null))) ?' ' :'')) AND (table_valeur($Pile["vars"]??[], (string)'art_hors_secteur', null))) ?' ' :''))))!=='' ? ($t1 . ( ' <p class="ui-state-highlight ui-corner-all" style="padding:5px; text-align:center; font-weight:bold"><img src="' . find_in_path((string)'images/warning_24.png') . '" /> Oups ! Cette ressource ne fait pas partie de "' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '".</p> ')) : '') . ' ' . (($t1 = strval(interdire_scripts((((entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)) AND (table_valeur($Pile["vars"]??[], (string)'article_absent', null))) ?' ' :''))))!=='' ? ($t1 . ( ' <p class="ui-state-highlight ui-corner-all" style="padding:5px; text-align:center; font-weight:bold"> <img src="' . find_in_path((string)'images/warning_24.png') . '" /> Oups ! Aucune ressource ne porte ce numéro !</p> ')) : '') . ' <h5>Je connais le numéro de la vidéo qui m\'intéresse.</h5> <p class="videos_recherche" style="margin-left:5px; margin-top:0"><input type="text" class="cherche_sect3" id="numero_saisi" value="Saisir le numéro de la vidéo" onfocus="if (this.value==\'Saisir le numéro de la vidéo\')this.value=\'\'" onblur="if (this.value==\'\')this.value=\'Saisir le numéro de la vidéo\'" /><input type="submit" class="btn btn-small" onclick="chercheVideo(3)" value="Voir cette vidéo" /></p> <h5>Je saisis un mot présent dans le titre ou le descriptif de la vidéo.</h5> ' . executer_balise_dynamique('FORMULAIRE_RECHERCHESECTEUR3', array(), array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_principale',121,$GLOBALS['spip_lang'])) . ' </div> <div id="tabs-2"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-art_alpha') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',124,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div> <div id="tabs-3"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-art_recents') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',127,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div> <div id="tabs-4"> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-art_source') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',130,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div> <div id="tabs-5"> <h5>Proposer une ressource à publier sur cet espace</h5> ' . executer_balise_dynamique('FORMULAIRE_SITE_VIDEOS', array(), array('squelettes/rubrique=3.html','html_eb41449909f3e2ae60978a82b6d2f718','_principale',134,$GLOBALS['spip_lang'])) . ' </div> </div> </div> </div><!-- fin colonne principale --> </div><!-- fin ligne principale --> </div><!-- fin container --> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/footer') . ', array_merge('.var_export($Pile[0],1).',array(\'self\' => ' . argumenter_squelette(self()) . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/rubrique=3.html\',\'html_eb41449909f3e2ae60978a82b6d2f718\',\'\',143,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </body> </html> '); 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_principale @ squelettes/rubrique=3.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes/rubrique=3.html // Temps de compilation total: 120.556 ms // function html_eb41449909f3e2ae60978a82b6d2f718($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 = ( '<'.'?php header("X-Spip-Cache: 0"); ?'.'>'.'<'.'?php header("Cache-Control: no-cache, must-revalidate"); ?'.'><'.'?php header("Pragma: no-cache"); ?'.'> ' . vide($Pile['vars'][$_zzz=(string)'touslesarticles'] = array()) . BOUCLE_tousarthtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . vide($Pile['vars'][$_zzz=(string)'article_absent'] = ((filtre_find(table_valeur($Pile["vars"]??[], (string)'touslesarticles', null),interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)))) ?'' :' ')) . ' ' . vide($Pile['vars'][$_zzz=(string)'article_present'] = ((filtre_find(table_valeur($Pile["vars"]??[], (string)'touslesarticles', null),interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)))) ?' ' :'')) . ' ' . BOUCLE_art_secthtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' ' . vide($Pile['vars'][$_zzz=(string)'art_hors_secteur'] = (((table_valeur($Pile["vars"]??[], (string)'art_sect', null) !== '3')) ?' ' :'')) . ' ' . (((table_valeur($Pile["vars"]??[], (string)'art_sect', null) == '3')) ? (' ' . ( ' <?php header(\'Location: spip.php?article' . interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'art', null),true)) . '\'); exit(); ?> ')) : '') . ' ' . (($t1 = BOUCLE_nbartrub3html_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? ($t1 . vide($Pile['vars'][$_zzz=(string)'nbartrub3'] = ( '<span class="info2">(' . ($Numrows['_nbartrub3']['total'] ?? 0) . ')</span>'))) : '') . ' ' . BOUCLE_principalehtml_eb41449909f3e2ae60978a82b6d2f718($Cache, $Pile, $doublons, $Numrows, $SP) . ' '); return analyse_resultat_skel('html_eb41449909f3e2ae60978a82b6d2f718', $Cache, $page, 'squelettes/rubrique=3.html'); } ?>