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 = '_0_squelette';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_rubrique",
"articles.lang",
"articles.titre");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('=', 'articles.id_secteur', sql_quote(calcul_rubrique_specialisee("squelette",secteur,"in"),'','int')), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,1';
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/sommaire.html','html_bcdf878e0aae2446ff834fb700a37683','_0_squelette',16,$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 = strval(interdire_scripts(((lire_config('sarkaspip_sommaire/article_edito','0',false) != '0') ? ' ':''))))!=='' ?
($t1 . ( '
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/sommaire/inc_edito') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',19,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
vide($Pile['vars']['page_vide'] = '0'))) :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_unehtml_bcdf878e0aae2446ff834fb700a37683(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$doublons_index = array();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 = '_une';
static $from = array('articles' => 'spip_articles','L1' => 'spip_mots_articles','L2' => 'spip_mots');
static $type = array();
static $groupby = array("articles.id_article");
static $select = array("articles.date",
"articles.id_article",
"articles.id_rubrique",
"articles.id_rubrique",
"articles.lang",
"articles.titre");
static $orderby = array('articles.date DESC');
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('NOT',
array('REGEXP', 'articles.id_secteur', sql_quote(calcul_rubrique_specialisee("",secteur,"in")))),
array('=', 'L2.type', "'squelette_habillage'"),
array('=', 'L2.titre', "'article_une'"),
array(sql_in('articles.id_article', $doublons[$doublons_index[]= ('articles')], 'NOT')), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array('L1' => array('articles','id_article'), 'L2' => array('L1','id_mot'));
static $limit = '0,1';
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/sommaire.html','html_bcdf878e0aae2446ff834fb700a37683','_une',25,$GLOBALS['spip_lang']));
if ($result) {
lang_select($GLOBALS['spip_lang']);
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
foreach($doublons_index as $k) $doublons[$k] .= "," . $Pile[$SP]['id_article']; // doublons
lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
$t0 .= (
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/article/inc_article_description') . ', array(\'id_article\' => ' . argumenter_squelette($Pile[$SP]['id_article']) . ',
\'afficher_commentaires\' => ' . argumenter_squelette('non') . ',
\'logo_rubrique\' => ' . argumenter_squelette(interdire_scripts(lire_config('sarkaspip_article/logo_rubrique','oui',false))) . ',
\'taille_logo\' => ' . argumenter_squelette(interdire_scripts(lire_config('sarkaspip_article/taille_logo','150',false))) . ',
\'page\' => ' . argumenter_squelette('une') . ',
\'id_rubrique\' => ' . argumenter_squelette($Pile[$SP]['id_rubrique']) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',28,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
vide($Pile['vars']['page_vide'] = '0'));
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_0_articlehtml_bcdf878e0aae2446ff834fb700a37683(&$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 = '_0_article';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_rubrique",
"articles.lang",
"articles.titre");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('NOT',
array('REGEXP', 'articles.id_secteur', sql_quote(calcul_rubrique_specialisee("",secteur,"in")))), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,1';
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/sommaire.html','html_bcdf878e0aae2446ff834fb700a37683','_0_article',40,$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 = strval(interdire_scripts(((lire_config('sarkaspip_sommaire/position_secteurs','0',false) == '1') ? ' ':''))))!=='' ?
($t1 . ( '
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/sommaire/inc_secteurs') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',43,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
vide($Pile['vars']['page_vide'] = '0'))) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((lire_config('sarkaspip_sommaire/position_articles_recents','1',false) == '1') ? ' ':''))))!=='' ?
($t1 . ( '
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/sommaire/inc_articles_recents') . ', array(\'doublons\' => '.var_export($doublons,true).',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',46,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
vide($Pile['vars']['page_vide'] = '0'))) :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_0_albumhtml_bcdf878e0aae2446ff834fb700a37683(&$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 = '_0_album';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_rubrique",
"articles.lang",
"articles.titre");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('=', 'articles.id_secteur', sql_quote(calcul_rubrique_specialisee("galerie",secteur,"in"),'','int')), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
static $join = array();
static $limit = '0,1';
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/sommaire.html','html_bcdf878e0aae2446ff834fb700a37683','_0_album',54,$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 = strval(interdire_scripts(((lire_config('sarkaspip_sommaire/position_albums_recents','1',false) == '1') ? ' ':''))))!=='' ?
($t1 . ( '
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/sommaire/inc_albums_recents') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',57,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
vide($Pile['vars']['page_vide'] = '0'))) :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/sarkaspip_31_dev/sommaire.html
// Temps de compilation total: 25.702 ms
//
function html_bcdf878e0aae2446ff834fb700a37683($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 echo recuperer_fond( ' . argumenter_squelette('noisettes/inc_header') . ', array(\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/sommaire.html\',\'html_bcdf878e0aae2446ff834fb700a37683\',\'\',4,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>