"; // AFFICHAGE COMMENTAIRES if ($id_topic != "0") { $requete = mysql_query("SELECT * from post where id_topic='$id_topic' order by id"); $nbr_post = mysql_numrows($requete); $post_par_page = req_id("interface","post_par_page","1","0"); $i = $post_par_page*($page_actuelle-1); if ($i == "0") { $i = "1"; } $i_max = $post_par_page*$page_actuelle; if ($nbr_post < $i_max) $i_max = $nbr_post; if ($i < $i_max) { WHILE ($i != $i_max) { $id_post = @mysql_result($requete,$i,"id"); $id_auteur = @mysql_result($requete,$i,"id_auteur"); $j = $i+1; if ($j == $i_max) { echo ""; } include 'forum/post.php'; $i++; } echo pages_topic($id_topic,$page_actuelle,"3"); } // FORMULAIRE BAS echo ""; $texte_rows = req_id("interface","texte_rows","1","0"); $texte_cols = req_id("interface","texte_cols","1","0"); $form_style = theme("form_style",$id_visiteur); echo "

Répondre

"; echo liste_smileys(0,1); } } include 'interface_bas.php'; ?>