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 = '_sites_freres';
static $from = array('syndic' => 'spip_syndic');
static $type = array();
static $groupby = array();
static $select = array("syndic.nom_site",
"syndic.id_syndic",
"syndic.url_site",
"syndic.id_rubrique",
"syndic.id_rubrique");
static $orderby = array('syndic.nom_site');
$where =
array(
array('=', 'syndic.statut', '\'publie\''),
array('=', 'syndic.syndication', "'oui'"),
array('NOT',
array('REGEXP', 'syndic.id_rubrique', sql_quote(calcul_rubrique_specialisee("galerie",branche,"not_in")))), 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('plugins/auto/sarkaspip_31_dev/noisettes/site/inc_site_freres.html','html_2a2656e24ab309a9591ceaea26dd6dbd','_sites_freres',5,$GLOBALS['spip_lang']));
if ($result) {
// COMPTEUR
$Numrows['_sites_freres']['compteur_boucle'] = 0;
$Numrows['_sites_freres']['total'] = @intval(sql_count($result));
$debut_boucle = isset($Pile[0]['debut_sites_freres']) ? $Pile[0]['debut_sites_freres'] : _request('debut_sites_freres');
if(substr($debut_boucle,0,1)=='@'){
$debut_boucle = $Pile[0]['debut_sites_freres'] = quete_debut_pagination('id_syndic',$Pile[0]['@id_syndic'] = substr($debut_boucle,1),(($a = intval(interdire_scripts(lire_config('sarkaspip_noisettes/pas_pagination_filtre','10',false)))) ? $a : 10),$result,'');
if (!sql_seek($result,0,'')){
@sql_free($result,'');
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect);
}
}
$debut_boucle = intval($debut_boucle);
$debut_boucle = (($tout=($debut_boucle == -1))?0:($debut_boucle));
$debut_boucle = max(0,min($debut_boucle,floor(($Numrows['_sites_freres']['total']-1)/((($a = intval(interdire_scripts(lire_config('sarkaspip_noisettes/pas_pagination_filtre','10',false)))) ? $a : 10)))*((($a = intval(interdire_scripts(lire_config('sarkaspip_noisettes/pas_pagination_filtre','10',false)))) ? $a : 10))));
$fin_boucle = min(($tout ? $Numrows['_sites_freres']['total'] : $debut_boucle+(($a = intval(interdire_scripts(lire_config('sarkaspip_noisettes/pas_pagination_filtre','10',false)))) ? $a : 10) - 1), $Numrows['_sites_freres']['total'] - 1);
$Numrows['_sites_freres']['grand_total'] = $Numrows['_sites_freres']['total'];
$Numrows['_sites_freres']["total"] = max(0,$fin_boucle - $debut_boucle + 1);
if ($debut_boucle>0 AND $debut_boucle < $Numrows['_sites_freres']['grand_total'] AND sql_seek($result,$debut_boucle,'','continue'))
$Numrows['_sites_freres']['compteur_boucle'] = $debut_boucle;
$l1 = _T('sarkaspip:filtre_bulle_syndications_1_site');$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$Numrows['_sites_freres']['compteur_boucle']++;
if ($Numrows['_sites_freres']['compteur_boucle'] <= $debut_boucle) continue;
if ($Numrows['_sites_freres']['compteur_boucle']-1 > $fin_boucle) break;
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(typo(supprimer_numero(calculer_url($Pile[$SP]['url_site'],$Pile[$SP]['nom_site'], 'titre', $connect)), "TYPO", $connect))))!=='' ?
(( (($t2 = strval((calcul_exposer($Pile[$SP]['id_syndic'], 'id_syndic', $Pile[0], $Pile[$SP]['id_rubrique'], 'id_syndic', '') ? 'span class="titre"' : ( 'a class="titre" title="' .
$l1 .
'"' .
(($t3 = strval(interdire_scripts(parametre_url(generer_url_public('site'),'id_syndic',$Pile[$SP]['id_syndic']))))!=='' ?
(' href="' . $t3 . '"') :
'')))))!=='' ?
('