0"); $numrows=mysql_result($res1,0,0); $nblignes=20; $nbpages=ceil($numrows/$nblignes); if(isset($page_s)){ if($page_s>$nbpages) Header("Location: liste_sujets.php?page_s=$nbpages"); $debut=$page_s*$nblignes-$nblignes; } else{ $debut=0; $page_s=1; } $req = mysql_query("SELECT titre,nom_util,Date_Format(date_mess,'%d/%m/%Y %H:%i')as dadate,texte,icone,nb_mess,Date_Format(date_util,'%d/%m/%Y')as datutil,idmessage,Date_Format(date_edit,'%d/%m/%Y %H:%i')as datedit, localisation, album_pref,album_pref2 FROM forum_messages, forum_util WHERE (mess_init=$id OR idmessage=$id) AND statut =1 AND idauteur=idutil ORDER BY $triforum LIMIT $debut,$nblignes"); $reqinit = mysql_query("SELECT titre,nom_util,Date_Format(date_mess,'%d/%m/%Y %H:%i')as dadate FROM forum_messages, forum_util WHERE idmessage=$id AND idauteur=idutil"); $sujinit=mysql_result($reqinit,0,0); $autinit=mysql_result($reqinit,0,1); $datinit=mysql_result($reqinit,0,2); if($mk==1) $req2 = mysql_query("UPDATE forum_messages SET vu=vu+1 WHERE idmessage=$id"); ?> Forum

 Retour     Répondre    Afficher :

Sujet : "" (démarré par le )

Inscrit le :
Messages :
Localisation :
Album préféré :
Album abhorré :
".nl2br(str_replace("\\\\\\","",$res[3])).""); ?>
  '')echo("  [édité le $res[8]]")?>
>>Editer


1){ echo(""); } ?>
 
"); if($page_s != 1){ $tempage=$page_s-1; echo(""); } ?> "); ?>
"); for($count = 1; $count <= $nbpages; ++$count){ echo("
"); } echo("