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_auteur';
static $from = array('articles' => 'spip_articles','L1' => 'spip_auteurs_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('=', 'L1.id_auteur', sql_quote($Pile[$SP]['id_auteur'])),
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('L1' => array('articles','id_article'));
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_auteur.html','html_6dcdcae9b96e1b74e09aa2a11f4cece1','_articles_auteur',8,$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_auteur.html','html_6dcdcae9b96e1b74e09aa2a11f4cece1','_articles_auteur',13,$GLOBALS['spip_lang'])), '')))!=='' ?
('
' . $t1 . '
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE auteurs */
function BOUCLE_auteurshtml_6dcdcae9b96e1b74e09aa2a11f4cece1(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
static $table = 'auteurs';
static $id = '_auteurs';
static $from = array('auteurs' => 'spip_auteurs');
static $type = array();
static $groupby = array();
static $select = array("auteurs.id_auteur",
"auteurs.nom");
static $orderby = array('auteurs.nom');
static $where =
array(
array('!=', 'auteurs.statut', '\'5poubelle\''));
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_auteur.html','html_6dcdcae9b96e1b74e09aa2a11f4cece1','_auteurs',2,$GLOBALS['spip_lang']));
if ($result) {
$l1 = _T('sarkaspip:navigation_bulle_vers_auteur');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
' .
(($t1 = BOUCLE_articles_auteurhtml_6dcdcae9b96e1b74e09aa2a11f4cece1($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['nom']), "TYPO", $connect)) .
'
') :
'') .
'
');
}
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_auteur.html
// Temps de compilation total: 2.181 ms
//
function html_6dcdcae9b96e1b74e09aa2a11f4cece1($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_auteurshtml_6dcdcae9b96e1b74e09aa2a11f4cece1($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_auteur') . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_auteur.html\',\'html_6dcdcae9b96e1b74e09aa2a11f4cece1\',\'\',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_auteur') . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_auteur.html\',\'html_6dcdcae9b96e1b74e09aa2a11f4cece1\',\'\',26,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
')) :
'') .
'
')) :
'') .
'
');
return analyse_resultat_skel('html_6dcdcae9b96e1b74e09aa2a11f4cece1', $Cache, $page, 'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_auteur.html');
}
?>