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/modeles/article_clone.html * Date : Sun, 01 Jan 2023 17:24:54 GMT * Compile : Wed, 13 Mar 2024 20:47:47 GMT * Boucles : _clone */ function BOUCLE_clonehtml_b3598c39ef8865beeeb48fc4633f818a(&$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'] = '_clone'; $command['from'] = array('articles' => 'spip_articles'); $command['type'] = array(); $command['groupby'] = array(); $command['select'] = array("articles.texte", "articles.id_article", "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)'id', 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/modeles/article_clone.html','html_b3598c39ef8865beeeb48fc4633f818a','_clone',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 .= ( ' ' . (($t1 = strval(interdire_scripts(target(propre($Pile[$SP]['texte'], $connect, $Pile[0])))))!=='' ? ('<div class="surlignable">' . $t1 . '</div>') : '') . ' ' . recuperer_fond( 'inclure/documents' , array_merge($Pile[0],array('id_article' => $Pile[$SP]['id_article'] )), array('compil'=>array('squelettes/modeles/article_clone.html','html_b3598c39ef8865beeeb48fc4633f818a','_clone',4,$GLOBALS['spip_lang'])), _request('connect') ?? '') . ' <div style="clear:both"></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_clone @ squelettes/modeles/article_clone.html","profiler"._LOG_AVERTISSEMENT); return $t0; } // // Fonction principale du squelette squelettes/modeles/article_clone.html // Temps de compilation total: 1.500 ms // function html_b3598c39ef8865beeeb48fc4633f818a($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_clonehtml_b3598c39ef8865beeeb48fc4633f818a($Cache, $Pile, $doublons, $Numrows, $SP) . ' '); return analyse_resultat_skel('html_b3598c39ef8865beeeb48fc4633f818a', $Cache, $page, 'squelettes/modeles/article_clone.html'); } ?>