/////////paramtres de connexion///////////////////
include ("../site/fr/parametres.php");
include("../web_manager/config/connect.php");
$con = conct();
$xml='';
$date=date("D, d M Y H:i:s +0100");
$titre="www.jetsetmagazine.net : Revue de presse culturelle";
$url_rss="http://www.jetsetmagazine.net/rss/revue.php";
$linkflux="http://www.jetsetmagazine.net/site/fr/revue_details.php?id_article=".$article_revue;
$limit_art=20;
$requete="select distinct revue.id,headline,item,minimage,alt_min,place_min,sdate from revue
where revue.id_langue='$id_langue' and statut_news='t' and deleted='n' and old='n' ";
$requete.=" order by sdate desc,revue.id desc limit 0,$limit_art";
$xml.='';
$xml.='';
$xml.='';
$xml.=''.$titre.'';
$xml.=''.$linkflux.'';
$xml.='Premier magazine people tunisien retrouvez les informations culturelles et nocturnes en tunisie, programme des soirées, photos et vidéos exclusives, agenda culturel, revue de presse culturelle, potins et news, bonnes adresses';
$xml.='';
$xml.='fr-FR';
$xml.='Droits de reproduction et de diffusion réservés © jetsetmagazine.net';
$xml.='[email protected] (jetset magazine)';
$xml.='[email protected] (SAME TEAM)';
$xml.=''.$date.'';
$xml.=''.$date.'';
$xml.='Premier magazine people tunisien : Articles exclusifs, soirées, sorties, culture';
$xml.=''.$url_rss.'';
$xml.='1';
$xml.='';
$xml.=''.$titre.'';
$xml.='http://jetsetmagazine.net/rss/logo_jetset.gif';
$xml.=''.$linkflux.'';
$xml.='Premier magazine people tunisien retrouvez les informations culturelles et nocturnes en tunisie, programme des soirées, photos et vidéos exclusives, agenda culturel, revue de presse culturelle, potins et news, bonnes adresses';
$xml.='';
$req=query($requete);
while($rec=mysql_fetch_array($req))
{
$idt_article=$rec["id"];
$ex=explode('-',$rec["sdate"]);
$timestamp=mktime(0,0,0,$ex[1],$ex[2],$ex[0]);
$date_article=date("D, d M Y H:m:s +0100",$timestamp);
$titre_cat_mag="Revue de presse culturelle";
$titre_article=$rec["headline"];
$resume_article=$rec["item"];
if($rec["minimage"]) {
$image_min="http://www.jetsetmagazine.net/images/revue/".$rec["minimage"];
$image_chemin="../images/revue/".$rec["minimage"];
$poids_image=filesize($image_chemin);
}
else $image_min='';
$rep=$rep_culture."/".$rep_revue."/";
$link_article=$nom_de_domaine.$rep.reecritureUrl($titre_article).".".$article_detail_revue.".".$idt_article.".html";
//$link_article='http://www.jetsetmagazine.net/site/fr/revue_details.php?id_article='.$article_detail_revue.'&id_revue='.$idt_article;
$xml.='- ';
$xml.='';
$xml.=''.$link_article.'';
$xml.='';
$xml.='[email protected] (www.jetsetmagazine.net)';
$xml.=''.$titre_cat_mag.'';
$xml.=''.$link_article.'';
if ($image_min) $xml.='';
$xml.=''.$date_article.'';
$xml.=''.$link_article.'';
$xml.='
';
}
$xml.='';
echo $xml;
?>