\n"; $xml .= "\n"; $xml .= "\n"; $xml .= "Format Concept\n"; $xml .= "Retrouvez toute l'actualité de Format Concept, centre de formation à Dunkerque\n"; $xml .= "".URL."\n"; $xml .= "fr-FR\n"; define('NBRE_AFF',10); include_once PATH.SEP."class/ListeActualites.class.php"; include_once PATH.SEP."fonctions/urlrewriting.php"; $news = new ListeActualites(); $news->recuperer(10,1); foreach($news->actualites as $k => $v) : $xml .= "\n"; $xml .= "".htmlspecialchars($v->titre)."\n"; $xml .= "".htmlspecialchars($v->introduction)."\n"; $xml .= "".URL."actualites/".$v->id."-".urlrewriting($v->titre).".html\n"; $xml .= "".date("D, d M Y H:i:s", mktime(intval(substr($v->date_ajout,11,2)-1),intval(substr($v->date_ajout,14,2)),intval(substr($v->date_ajout,17,2)),intval(substr($v->date_ajout,5,2)),intval(substr($v->date_ajout,8,2)),substr($v->date_ajout,0,4)))." GMT\n"; $xml .= "\n"; endforeach; $xml .= "\n"; $xml .= ""; echo $xml;?>