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/trousse_consignes_medias.html * Date : Sun, 01 Jan 2023 17:24:14 GMT * Compile : Wed, 20 Mar 2024 16:44:47 GMT * Boucles : _rubmere_i, _images, _rubmere_s, _sons, _rubmere_v, _videos */ function BOUCLE_rubmere_ihtml_f6c7bf1b9ab515d47375b0c621073990(&$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'] = '_rubmere_i'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_rubmere_i',52,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( '<a class="btn btn-small module2" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) . '"><i class="oi oi-zoom-in"></i> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a>'); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_rubmere_i @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_imageshtml_f6c7bf1b9ab515d47375b0c621073990(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : null), 10);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'] = '_images'; $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.date", "articles.id_article", "articles.titre", "articles.texte", "articles.id_rubrique", "articles.id_article", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_secteur', "4"), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L2.titre', "'media-image'"), array('NOT', array('IN', 'articles.id_article', array('SELF', 'articles.id_article', array('=', 'L2.titre', "'trousse_consigne_vierge'")))), 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('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), '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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_images',48,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_images']['compteur_boucle'] = 0; $Numrows['_images']['command'] = $command; $Numrows['_images']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : _request('debut'.($Pile[0]['id_article'] ?? null)); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),10,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_images']['total']-1)/(10))*(10))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_images']['total'] : $debut_boucle + 9), $Numrows['_images']['total'] - 1); $Numrows['_images']['grand_total'] = $Numrows['_images']['total']; $Numrows['_images']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_images']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_images']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_images']['compteur_boucle']++; if ($Numrows['_images']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_images']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <div class="pave_video"> <h5 class="titre_consigne">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</h5> ' . interdire_scripts(filtrer('image_graver',filtrer('image_reduire',target(propre($Pile[$SP]['texte'], $connect, $Pile[0])),'500','0'))) . ' <div style="text-align:right"> ' . BOUCLE_rubmere_ihtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP) . ' <a class="btn btn-small module1 no_imprim" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '"><i class="oi oi-pencil"></i> Ecrire mon texte</a> </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_images @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubmere_shtml_f6c7bf1b9ab515d47375b0c621073990(&$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'] = '_rubmere_s'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_rubmere_s',68,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( '<a class="btn btn-small module2" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) . '"><i class="oi oi-zoom-in"></i> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a>'); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_rubmere_s @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_sonshtml_f6c7bf1b9ab515d47375b0c621073990(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : null), 10);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'] = '_sons'; $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.date", "articles.id_article", "articles.titre", "articles.texte", "articles.id_rubrique", "articles.id_article", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_secteur', "4"), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L2.titre', "'media-son'"), array('NOT', array('IN', 'articles.id_article', array('SELF', 'articles.id_article', array('=', 'L2.titre', "'trousse_consigne_vierge'")))), 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('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), '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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_sons',64,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_sons']['compteur_boucle'] = 0; $Numrows['_sons']['command'] = $command; $Numrows['_sons']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : _request('debut'.($Pile[0]['id_article'] ?? null)); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),10,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_sons']['total']-1)/(10))*(10))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_sons']['total'] : $debut_boucle + 9), $Numrows['_sons']['total'] - 1); $Numrows['_sons']['grand_total'] = $Numrows['_sons']['total']; $Numrows['_sons']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_sons']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_sons']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_sons']['compteur_boucle']++; if ($Numrows['_sons']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_sons']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <div class="pave_video"> <h5 class="titre_consigne">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</h5> ' . interdire_scripts(filtrer('image_graver',filtrer('image_reduire',target(propre($Pile[$SP]['texte'], $connect, $Pile[0])),'500','0'))) . ' <div style="text-align:right"> ' . BOUCLE_rubmere_shtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP) . ' <a class="btn btn-small module1 no_imprim" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '"><i class="oi oi-pencil"></i> Ecrire mon texte</a> </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_sons @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_rubmere_vhtml_f6c7bf1b9ab515d47375b0c621073990(&$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'] = '_rubmere_v'; $command['from'] = array('rubriques' => 'spip_rubriques'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("rubriques.id_rubrique", "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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_rubmere_v',84,$GLOBALS['spip_lang']) ); if (!$iter->err()) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( '<a class="btn btn-small module2" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) . '"><i class="oi oi-zoom-in"></i> ' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</a>'); lang_select(); } lang_select(); $iter->free(); } if (defined("_BOUCLE_PROFILER") AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER) spip_log(intval(1000*$timer)."ms BOUCLE_rubmere_v @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } function BOUCLE_videoshtml_f6c7bf1b9ab515d47375b0c621073990(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $command = array(); static $connect; $command['connect'] = $connect = ''; $command['pagination'] = array((isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : null), 10);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'] = '_videos'; $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.date", "articles.id_article", "articles.titre", "articles.texte", "articles.id_rubrique", "articles.id_article", "articles.lang"); $command['orderby'] = array('articles.date DESC'); $command['where'] = array( quete_condition_statut('articles.statut','publie,prop,prepa/auteur','publie',''), array('=', 'articles.id_secteur', "4"), 'JOIN-L1' => array('=', 'L1.objet', sql_quote('article')), array('=', 'L2.titre', "'media-video'"), array('NOT', array('IN', 'articles.id_article', array('SELF', 'articles.id_article', array('=', 'L2.titre', "'trousse_consigne_vierge'")))), 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('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')), '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/trousse_consignes_medias.html','html_f6c7bf1b9ab515d47375b0c621073990','_videos',80,$GLOBALS['spip_lang']) ); if (!$iter->err()) { // COMPTEUR $Numrows['_videos']['compteur_boucle'] = 0; $Numrows['_videos']['command'] = $command; $Numrows['_videos']['total'] = @intval($iter->count()); $debut_boucle = isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]) ? $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] : _request('debut'.($Pile[0]['id_article'] ?? null)); if ($debut_boucle && $debut_boucle[0] === '@') { $debut_boucle = $Pile[0]['debut'.($Pile[0]['id_article'] ?? null)] = quete_debut_pagination('id_article',$Pile[0]['@id_article'] = substr($debut_boucle,1),10,$iter); $iter->seek(0); } $debut_boucle = intval($debut_boucle); $debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle)); $debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_videos']['total']-1)/(10))*(10))); $debut_boucle = intval($debut_boucle); $fin_boucle = min(($tout ? $Numrows['_videos']['total'] : $debut_boucle + 9), $Numrows['_videos']['total'] - 1); $Numrows['_videos']['grand_total'] = $Numrows['_videos']['total']; $Numrows['_videos']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_videos']['grand_total'] AND $iter->seek($debut_boucle,'continue')) $Numrows['_videos']['compteur_boucle'] = $debut_boucle; lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP]=$iter->fetch()) { $Numrows['_videos']['compteur_boucle']++; if ($Numrows['_videos']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_videos']['compteur_boucle']-1 > $fin_boucle) break; lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' <div class="pave_video"> <h5 class="titre_consigne">' . interdire_scripts(supprimer_numero(typo($Pile[$SP]['titre'], "TYPO", $connect, $Pile[0]))) . '</h5> ' . interdire_scripts(filtrer('image_graver',filtrer('image_reduire',target(propre($Pile[$SP]['texte'], $connect, $Pile[0])),'500','0'))) . ' <div style="text-align:right"> ' . BOUCLE_rubmere_vhtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP) . ' <a class="btn btn-small module1 no_imprim" href="' . vider_url(urlencode_1738(generer_objet_url($Pile[$SP]['id_article'], 'article', '', '', true))) . '"><i class="oi oi-pencil"></i> Ecrire mon texte</a> </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_videos @ squelettes/trousse_consignes_medias.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes/trousse_consignes_medias.html // Temps de compilation total: 7.929 ms // function html_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) { if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"])) $doublons = nettoyer_env_doublons($Pile[0]["doublons"]); $connect = ''; $page = ( '<!DOCTYPE html 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[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie6"> <![endif]--> <!--[if IE 7 ]> <html dir="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie7"> <![endif]--> <!--[if IE 8 ]> <html dir="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie8"> <![endif]--> <!--[if IE 9 ]> <html dir="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])))!=='' ? (' ' . $t1) : '') . ' no-js ie ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html dir="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . '" lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']) . '" class="' . lang_dir(($Pile[0]['lang'] ?? null), 'ltr','rtl') . (($t1 = strval(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $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>La trousse à écrire - ' . interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]))) . '</title> ' . (($t1 = strval(interdire_scripts(textebrut(generer_objet_introduction((int)($Pile[0][''] ?? null), '', array(), null, '150', null, $connect)))))!=='' ? ('<meta name="description" content="' . $t1 . '" />') : '') . ' ' . (($t1 = strval(url_absolue(vider_url(urlencode_1738(generer_objet_url(($Pile[0]['id_rubrique'] ?? null), '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/trousse_consignes_medias.html\',\'html_f6c7bf1b9ab515d47375b0c621073990\',\'\',12,$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[0]['id_rubrique'] ?? null))) . '" /> </head> <body> <div class="container page_rubrique4"> <div class="row"><!-- ligne principale --> <div class="span3 colonne_laterale"><!-- colonne latérale --> <a data-hint="Accueil de la trousse à outils" href="spip.php?rubrique4"><img class="img-full-width" style="margin-bottom:20px;" alt="Accueil de la trousse à outils" src="' . find_in_path((string)'images/logo_trousse_256.png') . '" /></a> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-trousse_pave_inventer') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/trousse_consignes_medias.html\',\'html_f6c7bf1b9ab515d47375b0c621073990\',\'\',26,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-trousse_pave_transformer') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/trousse_consignes_medias.html\',\'html_f6c7bf1b9ab515d47375b0c621073990\',\'\',27,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('inclure/inc-trousse_pave_autre') . ', array_merge('.var_export($Pile[0],1).',array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'squelettes/trousse_consignes_medias.html\',\'html_f6c7bf1b9ab515d47375b0c621073990\',\'\',28,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'> </div><!-- fin colonne latérale --> <div class="span9 colonne_principale sommaire"><!-- colonne principale --> <h2 style="margin-bottom:20px">Les consignes par médias</h2> <ul class="tabs"> <li class="active"><a href="#images">Images</a></li> <li><a href="#sons">Séquences audio</a></li> <li><a href="#videos">Séquences video</a></li> </ul> <div class="tabs-content"> <div id="images"> ' . (($t1 = BOUCLE_imageshtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' ' . filtre_pagination_dist($Numrows["_images"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, false, '', '', array()) . ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_images"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ') . $t1 . ( ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_images"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ')) : '') . ' </div> <div id="sons"> ' . (($t1 = BOUCLE_sonshtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' ' . filtre_pagination_dist($Numrows["_sons"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, false, '', '', array()) . ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_sons"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ') . $t1 . ( ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_sons"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ')) : '') . ' </div> <div id="videos"> ' . (($t1 = BOUCLE_videoshtml_f6c7bf1b9ab515d47375b0c621073990($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' ' . filtre_pagination_dist($Numrows["_videos"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, false, '', '', array()) . ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_videos"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ') . $t1 . ( ' <p class="pagination" style="text-align:right">' . filtre_pagination_dist($Numrows["_videos"]["grand_total"], ($Pile[0]['id_article'] ?? null), isset($Pile[0]['debut'.($Pile[0]['id_article'] ?? null)])?$Pile[0]['debut'.($Pile[0]['id_article'] ?? null)]:intval(_request('debut'.($Pile[0]['id_article'] ?? null))), 10, true, 'prive', '', array()) . '</a><p> ')) : '') . ' </div> </div> </div><!-- fin colonne principale --> </div><!-- fin ligne principale --> </div><!-- fin container --> <div style="display:none">' . '<'.'?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/trousse_consignes_medias.html\',\'html_f6c7bf1b9ab515d47375b0c621073990\',\'\',60,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\'); ?'.'></div> </body> </html> '); return analyse_resultat_skel('html_f6c7bf1b9ab515d47375b0c621073990', $Cache, $page, 'squelettes/trousse_consignes_medias.html'); } ?>