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_articles'; static $id = '_sites'; static $from = array('syndic_articles' => 'spip_syndic_articles','L1' => 'spip_syndic'); static $type = array(); static $groupby = array(); static $select = array("syndic_articles.date", "syndic_articles.titre", "syndic_articles.url", "L1.url_site", "L1.nom_site", "syndic_articles.id_syndic_article"); static $orderby = array('syndic_articles.date DESC'); $where = array( array('=', 'syndic_articles.statut', '\'publie\''), (!(is_array($Pile[0]['id_secteur'])?count($Pile[0]['id_secteur']):strlen($Pile[0]['id_secteur'])) ? '' : ((is_array($Pile[0]['id_secteur'])) ? sql_in('L1.id_secteur',sql_quote($in)) : array('=', 'L1.id_secteur', sql_quote($Pile[0]['id_secteur'])))), array('NOT', array('REGEXP', 'L1.id_rubrique', sql_quote(calcul_rubrique_specialisee("galerie",branche,"not_in")))), array('NOT IN','syndic_articles.id_syndic_article','(SELECT * FROM('.sql_get_select('zzzs.id_syndic','spip_syndic as zzzs',sql_in('zzzs.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'), array('=', 'L1.statut', '\'publie\'')); static $join = array('L1' => array('syndic_articles','id_syndic')); 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_sites_recents_2.html','html_5d5ad390b8e39e7ca7b2fa1b51d5f32e','_sites',2,$GLOBALS['spip_lang'])); if ($result) { // COMPTEUR $Numrows['_sites']['compteur_boucle'] = 0; $Numrows['_sites']['total'] = @intval(sql_count($result)); $debut_boucle = 0; $fin_boucle = min($debut_boucle+intval(interdire_scripts(lire_config('sarkaspip_noisettes/max_syndic','5',false))) - 1, $Numrows['_sites']['total'] - 1); $Numrows['_sites']['grand_total'] = $Numrows['_sites']['total']; $Numrows['_sites']["total"] = max(0,$fin_boucle - $debut_boucle + 1); if ($debut_boucle>0 AND $debut_boucle < $Numrows['_sites']['grand_total'] AND sql_seek($result,$debut_boucle,'','continue')) $Numrows['_sites']['compteur_boucle'] = $debut_boucle; $SP++; // RESULTATS while ($Pile[$SP] = @sql_fetch($result)) { $Numrows['_sites']['compteur_boucle']++; if ($Numrows['_sites']['compteur_boucle'] <= $debut_boucle) continue; if ($Numrows['_sites']['compteur_boucle']-1 > $fin_boucle) break; $t0 .= ( ' ' . (($t1 = strval(interdire_scripts($Pile[$SP]['titre'])))!=='' ? (( '

' . (($t2 = strval(interdire_scripts(affdate_court(normaliser_date($Pile[$SP]['date'])))))!=='' ? ($t2 . ' - ') : '')) . $t1 . '

') : '') . ' '); } @sql_free($result); } return $t0; } // // Fonction principale du squelette plugins/auto/sarkaspip_31_dev/noisettes/site/inc_sites_recents_2.html // Temps de compilation total: 0.789 ms // function html_5d5ad390b8e39e7ca7b2fa1b51d5f32e($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_siteshtml_5d5ad390b8e39e7ca7b2fa1b51d5f32e($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ? (( '

' . _T('sarkaspip:sur_web') . '

') . $t1 . '
') : '') . ' '); return analyse_resultat_skel('html_5d5ad390b8e39e7ca7b2fa1b51d5f32e', $Cache, $page, 'plugins/auto/sarkaspip_31_dev/noisettes/site/inc_sites_recents_2.html'); } ?>