"; $requete = mysql_query("SELECT * from news order by id desc limit $debut,10"); $nbr_news = mysql_num_rows($requete); $i = "0"; $id_news = "0"; WHILE ($i != $nbr_news) { $id_news = mysql_result($requete,$i,"id"); echo afficher_news($id_news,$id_visiteur); echo "
"; $i++; } echo "

"; if ($debut != "0") { $nouveau_debut = $debut-10; echo lien("< 10 News précédentes","$self?debut=$nouveau_debut","Consulter les 10 News précédentes"); } else { echo "< 10 News précédentes"; } echo " | "; if ($id_news != mysql_result(mysql_query("SELECT id from news order by id desc"),"0","id")) { $nouveau_debut = $debut+10; echo lien("10 News suivantes >","$self?debut=$nouveau_debut","Consulter les 10 News suivantes"); } else { echo "10 News suivantes >"; } echo "

"; include 'interface_bas.php'; ?>