array('exec'=>'sites_tous'),'data'=>'')); $commencer_page = charger_fonction('commencer_page', 'inc'); echo $commencer_page(_T('titre_page_sites_tous'),"naviguer","sites"); echo debut_gauche('', true); echo pipeline('affiche_gauche',array('args'=>array('exec'=>'sites_tous'),'data'=>'')); echo creer_colonne_droite('', true); echo pipeline('affiche_droite',array('args'=>array('exec'=>'sites_tous'),'data'=>'')); echo debut_droite('', true); echo afficher_objets('site','' . _T('titre_sites_tous') . '', array("FROM" => 'spip_syndic', 'WHERE' => "syndication='non' AND statut='publie'", 'ORDER BY'=> "nom_site")); echo afficher_objets('site','' . _T('titre_sites_syndiques') . '', array('FROM' => 'spip_syndic', 'WHERE' => "(syndication='oui' OR syndication='sus') AND statut='publie'", 'ORDER BY' => "nom_site")); echo afficher_objets('site','' . _T('titre_sites_proposes') . '', array("FROM" => 'spip_syndic', 'WHERE' => "statut='prop'", 'ORDER BY' => "nom_site")); if ($connect_statut == '0minirezo' OR $GLOBALS['meta']["proposer_sites"] > 0) { echo "
", icone_inline(_T('icone_referencer_nouveau_site'), generer_url_ecrire('sites_edit'), "site-24.gif", "creer.gif", 'right'), "
"; } echo pipeline('affiche_milieu',array('args'=>array('exec'=>'sites_tous'),'data'=>'')); echo afficher_objets('site','' . _T('avis_sites_probleme_syndication') . '', array("FROM" => 'spip_syndic', 'WHERE' => "syndication='off' AND statut='publie'", 'ORDER BY' => "nom_site")); if ($connect_statut == '0minirezo') { echo afficher_objets('site','' . _T('info_sites_refuses') . '', array("FROM" => 'spip_syndic', 'WHERE' => "statut='refuse'", 'ORDER BY' => "nom_site")); } echo afficher_objets('syndic_article','' . _T('titre_dernier_article_syndique') . '', array('FROM' => 'spip_syndic_articles', 'ORDER BY' => "date DESC")); echo fin_gauche(), fin_page(); } ?>