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_secteur';
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('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'],'','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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_articles_secteur',13,$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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_articles_secteur',17,$GLOBALS['spip_lang'])), '')))!=='' ?
('
' . $t1 . '
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_articles_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461(&$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 = '_articles_hierarchie';
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('=', 'articles.id_rubrique', sql_quote($Pile[$SP]['id_rubrique'],'','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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_articles_hierarchie',33,$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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_articles_hierarchie',37,$GLOBALS['spip_lang'])), '')))!=='' ?
('
' . $t1 . '
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE boucle */
function BOUCLE_sous_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$save_numrows = ($Numrows['_hierarchie']);
$t0 = (($t1 = BOUCLE_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
') :
'');
$Numrows['_hierarchie'] = ($save_numrows);
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461(&$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 = 'rubriques';
static $id = '_hierarchie';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"0+rubriques.titre AS num",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
static $orderby = array('num', 'rubriques.titre');
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_parent', sql_quote($Pile[$SP]['id_rubrique'],'','int')), sql_in('rubriques.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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_hierarchie',27,$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 .= (
'
' .
recuperer_fond( 'noisettes/rubrique/inc_rubrique_lien' , array('id_rubrique' => $Pile[$SP]['id_rubrique'] ,
'classe' => 'noeud' ), array('compil'=>array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_hierarchie',30,$GLOBALS['spip_lang'])), '') .
'
' .
(($t1 = BOUCLE_articles_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
') :
'') .
'
' .
BOUCLE_sous_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_secteurshtml_4c1bcc91b65730204f679de2a63e7461(&$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 = 'rubriques';
static $id = '_secteurs';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"0+rubriques.titre AS num",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
static $orderby = array('num', 'rubriques.titre');
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_parent', 0),
array('NOT',
array('REGEXP', 'rubriques.id_rubrique', sql_quote(calcul_rubrique_specialisee("",secteur,"in")))), sql_in('rubriques.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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_secteurs',9,$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 .= (
'
' .
recuperer_fond( 'noisettes/rubrique/inc_rubrique_lien' , array('id_rubrique' => $Pile[$SP]['id_rubrique'] ,
'classe' => 'noeud' ), array('compil'=>array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_secteurs',10,$GLOBALS['spip_lang'])), '') .
'
' .
(($t1 = BOUCLE_articles_secteurhtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
') :
'') .
'
' .
(($t1 = BOUCLE_hierarchiehtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_galeriehtml_4c1bcc91b65730204f679de2a63e7461(&$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 = 'rubriques';
static $id = '_galerie';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.id_rubrique",
"rubriques.lang",
"rubriques.titre");
static $orderby = array();
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_rubrique', sql_quote(calcul_rubrique_specialisee("galerie",secteur,"in"),'','int')), sql_in('rubriques.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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_galerie',56,$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 .= (
'
' .
recuperer_fond( 'noisettes/rubrique/inc_rubrique_lien' , array('id_rubrique' => $Pile[$SP]['id_rubrique'] ,
'classe' => 'noeud' ), array('compil'=>array('plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_galerie',57,$GLOBALS['spip_lang'])), '') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_albumshtml_4c1bcc91b65730204f679de2a63e7461(&$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 = '_albums';
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('=', '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 = '';
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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_albums',55,$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_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_albums',64,$GLOBALS['spip_lang'])), '')))!=='' ?
('
' . $t1 . '
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_non_videhtml_4c1bcc91b65730204f679de2a63e7461(&$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 = '_non_vide';
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_article', 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 = '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/noisettes/plan/inc_plan_rubrique.html','html_4c1bcc91b65730204f679de2a63e7461','_non_vide',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 .= (
'
' .
BOUCLE_secteurshtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
(($t1 = BOUCLE_albumshtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
' .
BOUCLE_galeriehtml_4c1bcc91b65730204f679de2a63e7461($Cache, $Pile, $doublons, $Numrows, $SP) .
'
') :
'') .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html
// Temps de compilation total: 5.197 ms
//
function html_4c1bcc91b65730204f679de2a63e7461($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_non_videhtml_4c1bcc91b65730204f679de2a63e7461($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_rubrique') . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html\',\'html_4c1bcc91b65730204f679de2a63e7461\',\'\',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_rubrique') . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html\',\'html_4c1bcc91b65730204f679de2a63e7461\',\'\',77,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
')) :
'') .
'
')) :
'') .
'
');
return analyse_resultat_skel('html_4c1bcc91b65730204f679de2a63e7461', $Cache, $page, 'plugins/auto/sarkaspip_31_dev/noisettes/plan/inc_plan_rubrique.html');
}
?>