|

|
$cpt=0;
$query = "SELECT article_id, titre, date_article, actif,une FROM site_article where actif=1 AND une=0 ORDER BY date_article desc limit 0,10";
$res = mysql_query($query);
while ($row=mysql_fetch_array($res))
{ $cpt=$cpt+1;
if (($cpt%2==0)) $color='#E5F5FB';
if (($cpt%2!=0)) $color='#D6EDF5';
?>
>
}if ($row['une']==0) {?>
>
}?>
|
}?>
|
Toutes les news
|
|
 |