Corriger le problème ou vider le cache pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.'; die($message_fr.'
'.$message_en); } static $table = 'articles'; static $id = '_articles_mois'; static $from = array('articles' => 'spip_articles'); static $type = array(); static $groupby = array(); static $select = array("articles.date", "articles.id_article", "articles.id_rubrique", "articles.lang", "articles.titre"); $orderby = array('articles.date' . ((interdire_scripts(lire_config('sarkaspip_plan/senstri_date','1',false)))?' DESC':'')); $where = array( array('=', 'articles.statut', '\'publie\''), array('<', 'articles.date', sql_quote(quete_date_postdates())), array('=', 'MONTH("' . normaliser_date($Pile[$SP]['date']) . '")-MONTH(articles.date)+12*(YEAR("' . normaliser_date($Pile[$SP]['date']) . '")-YEAR(articles.date))', sql_quote(@$Pile[0]['mois_relatif'],'','int')), array('NOT', array('REGEXP', 'articles.id_secteur', sql_quote(calcul_rubrique_specialisee("galerie",secteur,"not_in")))), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); static $join = array(); static $limit = ''; static $having = array(); $t0 = ""; // REQUETE $result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect, array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html','html_fc8032d5044b9f1dcfa769a41142503a','_articles_mois',12,$GLOBALS['spip_lang'])); if ($result) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' ' . vide($Pile['vars']['date'] = (($t2 = strval(interdire_scripts(affdate(normaliser_date($Pile[$SP]['date']),'d-m-Y'))))!=='' ? ('[' . $t2 . ']  ') : '')) . ' ' . (($t1 = strval(recuperer_fond( 'noisettes/article/inc_article_lien' , array('id_article' => $Pile[$SP]['id_article'] , 'classe' => 'feuille' , 'avant_titre' => (is_array($a = ($Pile["vars"])) ? $a['date'] : "") ), array('compil'=>array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html','html_fc8032d5044b9f1dcfa769a41142503a','_articles_mois',17,$GLOBALS['spip_lang'])), '')))!=='' ? ('
  • ' . $t1 . '
  • ') : '') . ' '); } lang_select(); @sql_free($result); } return $t0; } /* BOUCLE articles */ function BOUCLE_annee_relativehtml_fc8032d5044b9f1dcfa769a41142503a(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $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. Corriger le problème ou vider le cache pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.'; die($message_fr.'
    '.$message_en); } static $table = 'articles'; static $id = '_annee_relative'; static $from = array('articles' => 'spip_articles'); static $type = array(); $groupby = array("MONTH(date)"); $select = array("articles.date", "MONTH(date)", "articles.id_rubrique"); $orderby = array('articles.date' . ((interdire_scripts(lire_config('sarkaspip_plan/senstri_date','1',false)))?' DESC':'')); $where = array( array('=', 'articles.statut', '\'publie\''), array('<', 'articles.date', sql_quote(quete_date_postdates())), array('=', 'YEAR("' . normaliser_date($Pile[$SP]['date']) . '")-YEAR(articles.date)', sql_quote(@$Pile[0]['annee_relatif'],'','int')), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); static $join = array(); static $limit = ''; static $having = array(); $t0 = ""; // REQUETE $result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect, array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html','html_fc8032d5044b9f1dcfa769a41142503a','_annee_relative',8,$GLOBALS['spip_lang'])); if ($result) { $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $t0 .= ( ' ' . (($t1 = BOUCLE_articles_moishtml_fc8032d5044b9f1dcfa769a41142503a($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( '
  • ' . interdire_scripts(ucfirst(nom_mois(normaliser_date($Pile[$SP]['date'])))) . '
  • ') : '') . ' '); } @sql_free($result); } return $t0; } /* BOUCLE articles */ function BOUCLE_anneehtml_fc8032d5044b9f1dcfa769a41142503a(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) { static $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. Corriger le problème ou vider le cache pour supprimer les restrictions.'; $message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.'; die($message_fr.'
    '.$message_en); } static $table = 'articles'; static $id = '_annee'; static $from = array('articles' => 'spip_articles'); static $type = array(); $groupby = array("YEAR(date)"); $select = array("articles.date", "YEAR(date)", "articles.id_rubrique", "articles.lang", "articles.titre"); $orderby = array('articles.date' . ((interdire_scripts(lire_config('sarkaspip_plan/senstri_date','1',false)))?' DESC':'')); $where = array( array('=', 'articles.statut', '\'publie\''), array('<', 'articles.date', sql_quote(quete_date_postdates())), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')); static $join = array(); static $limit = ''; static $having = array(); $t0 = ""; // REQUETE $result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect, array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html','html_fc8032d5044b9f1dcfa769a41142503a','_annee',2,$GLOBALS['spip_lang'])); if ($result) { lang_select($GLOBALS['spip_lang']); $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']); $t0 .= ( ' ' . (($t1 = BOUCLE_annee_relativehtml_fc8032d5044b9f1dcfa769a41142503a($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( '
  • ' . interdire_scripts(annee(normaliser_date($Pile[$SP]['date']))) . '
  • ') : '') . ' '); } lang_select(); @sql_free($result); } return $t0; } // // Fonction principale du squelette plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html // Temps de compilation total: 1.303 ms // function html_fc8032d5044b9f1dcfa769a41142503a($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 = ( ' ' . (($t1 = BOUCLE_anneehtml_fc8032d5044b9f1dcfa769a41142503a($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( ' ' . (($t3 = strval(interdire_scripts((match(lire_config('sarkaspip_plan/position_pagination','1',false),'^(1|3)$') ? ' ':''))))!=='' ? ($t3 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/plan/inc_plan_pagination') . ', array(\'tri\' => ' . argumenter_squelette('par_date') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html\',\'html_fc8032d5044b9f1dcfa769a41142503a\',\'\',4,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> ')) : '') . ' ' . (($t3 = strval(interdire_scripts((match(lire_config('sarkaspip_plan/position_pagination','1',false),'^(2|3)$') ? ' ':''))))!=='' ? ($t3 . ( ' ' . '<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/plan/inc_plan_pagination') . ', array(\'tri\' => ' . argumenter_squelette('par_date') . ', \'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html\',\'html_fc8032d5044b9f1dcfa769a41142503a\',\'\',34,$GLOBALS[\'spip_lang\'])), _request("connect")); ?'.'> ')) : '') . ' ')) : '') . ' '); return analyse_resultat_skel('html_fc8032d5044b9f1dcfa769a41142503a', $Cache, $page, 'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_date.html'); } ?>