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 = '_ariane_site';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
$orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)");
$where =
array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),
array('IN', 'rubriques.id_rubrique', "($hierarchie)"));
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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_site',45,$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 .= (
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE syndication */
function BOUCLE_contexte_sitehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'syndic';
static $id = '_contexte_site';
static $from = array('syndic' => 'spip_syndic');
static $type = array();
static $groupby = array();
static $select = array("syndic.id_syndic",
"syndic.id_rubrique",
"syndic.id_rubrique");
static $orderby = array();
$where =
array(
array('=', 'syndic.statut', '\'publie\''),
array('=', 'syndic.id_syndic', sql_quote($Pile[0]['id_syndic'],'','int')), sql_in('syndic.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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_site',44,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
' .
BOUCLE_ariane_sitehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) .
'
> ' .
interdire_scripts(couper(typo(supprimer_numero(@$Pile[0]['titre']), "TYPO", $connect),'80')) .
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE hierarchie */
function BOUCLE_ariane_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
if (!($id_rubrique = intval($Pile[$SP]['id_rubrique'])))
return '';
$hierarchie = '';
while ($id_rubrique = sql_getfetsel("id_parent","spip_rubriques","id_rubrique=" . $id_rubrique,"","","", "", $connect)) {
$hierarchie = ",$id_rubrique$hierarchie";
}
if (!$hierarchie) return "";
$hierarchie = substr($hierarchie,1);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 = '_ariane_rubrique';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
$orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)");
$where =
array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),
array('IN', 'rubriques.id_rubrique', "($hierarchie)"));
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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_rubrique',38,$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 .= (
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_contexte_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_contexte_rubrique';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
static $orderby = array();
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_rubrique', sql_quote($Pile[0]['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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_rubrique',37,$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_ariane_rubriquehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) .
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE rubriques */
function BOUCLE_ariane_brevehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_ariane_breve';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
static $orderby = array();
$where =
array(
array('=', 'rubriques.statut', '\'publie\''),
array('=', 'rubriques.id_rubrique', 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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_breve',31,$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 .= (
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE breves */
function BOUCLE_contexte_brevehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'breves';
static $id = '_contexte_breve';
static $from = array('breves' => 'spip_breves');
static $type = array();
static $groupby = array();
static $select = array("breves.id_rubrique",
"breves.id_breve",
"breves.titre",
"breves.id_rubrique",
"breves.lang");
static $orderby = array();
$where =
array(
array('=', 'breves.statut', '\'publie\''),
array('=', 'breves.id_breve', sql_quote($Pile[0]['id_breve'],'','int')), sql_in('breves.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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_breve',30,$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_ariane_brevehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) .
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE hierarchie */
function BOUCLE_ariane_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
if (!($id_rubrique = intval($Pile[$SP]['id_rubrique'])))
return '';
$hierarchie = ",$id_rubrique";
while ($id_rubrique = sql_getfetsel("id_parent","spip_rubriques","id_rubrique=" . $id_rubrique,"","","", "", $connect)) {
$hierarchie = ",$id_rubrique$hierarchie";
}
if (!$hierarchie) return "";
$hierarchie = substr($hierarchie,1);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 = '_ariane_article';
static $from = array('rubriques' => 'spip_rubriques');
static $type = array();
static $groupby = array();
static $select = array("rubriques.id_rubrique",
"rubriques.titre",
"rubriques.id_rubrique",
"rubriques.lang");
$orderby = array("FIELD(rubriques.id_rubrique, $hierarchie)");
$where =
array(sql_in('rubriques.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),
array('IN', 'rubriques.id_rubrique', "($hierarchie)"));
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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_ariane_article',23,$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 .= (
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_contexte_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_contexte_article';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_article",
"articles.titre",
"articles.id_rubrique",
"articles.id_rubrique",
"articles.lang");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('=', 'articles.id_article', sql_quote($Pile[0]['id_article'],'','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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_article',22,$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_ariane_articlehtml_b8ab21db19ce6dce0a2477b0866126d5($Cache, $Pile, $doublons, $Numrows, $SP) .
'
> ' .
interdire_scripts(couper(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect),'80')) .
'
');
}
lang_select();
@sql_free($result);
}
return $t0;
}
/* BOUCLE forums */
function BOUCLE_contexte_forumhtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = 'forum';
static $id = '_contexte_forum';
static $from = array('forum' => 'spip_forum');
static $type = array();
static $groupby = array();
static $select = array("forum.id_forum",
"forum.titre",
"forum.id_rubrique",
"forum.id_article",
"forum.id_breve");
static $orderby = array();
$where =
array(
array('=', 'forum.statut', '\'publie\''),
array('=', 'forum.id_forum', sql_quote($Pile[0]['id_forum'],'','int')), array('OR',array('OR','forum.id_rubrique > 0 AND '.sql_in('forum.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('AND', 'forum.id_article > 0', array('NOT IN','forum.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND', 'forum.id_breve > 0', array('NOT IN','forum.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))));
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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_contexte_forum',56,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
> ' .
interdire_scripts(couper(safehtml(typo($Pile[$SP]['titre'], "TYPO", $connect)),'80')) .
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE articles */
function BOUCLE_articlehtml_b8ab21db19ce6dce0a2477b0866126d5(&$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 = '_article';
static $from = array('articles' => 'spip_articles');
static $type = array();
static $groupby = array();
static $select = array("articles.id_article",
"articles.titre",
"articles.date",
"articles.texte",
"articles.descriptif",
"articles.chapo",
"articles.id_rubrique",
"articles.lang");
static $orderby = array();
$where =
array(
array('=', 'articles.statut', '\'publie\''),
array('<', 'articles.date', sql_quote(quete_date_postdates())),
array('=', 'articles.id_article', sql_quote($Pile[0]['id_article'],'','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('squelettes-dist/forum.html','html_b8ab21db19ce6dce0a2477b0866126d5','_article',77,$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 .= (
'
' .
filtrer('image_graver',filtrer('image_reduire',
((!is_array($l = quete_logo('id_article', 'ON', $Pile[$SP]['id_article'],'', 0))) ? '':
("')),'150','100')) .
'