'.$sql3.'
'.mysql_error()); $limite = mysql_num_rows($req3); $nbr = (isset($_GET['nbr']) ? (int)$_GET['nbr'] : 0); $sql2 = 'SELECT tid,title,start_date FROM '.$table.' WHERE forum_id = "'.$idforum.'" ORDER BY tid DESC LIMIT '.$nbr.','.$nbrnews.''; $req2 = mysql_query($sql2) or die('Erreur SQL'); $nbrn = mysql_num_rows($req2); $nbrsuivant = $nbr + 50; $nbrprecedent = $nbr - 50; echo '

Archives

'; if($nbrprecedent >= 0) { echo'
<< Pr�c�dent
'; } if($nbrsuivant < $limite) { echo'
Suivant >>
'; } echo'

    '; while($data = mysql_fetch_assoc($req2)) { $start_date = $data['start_date']; $date = date("j/n/y � H:i",$start_date); $title = $data['title']; $id = $data['tid']; echo'
'; } echo'
  • '.$title.'
  • '.$date.'

    '; if($nbrprecedent >= 0) { echo'
    << Pr�c�dent
    '; } if($nbrsuivant < $limite) { echo'
    Suivant >>

    '; } echo '
    '; ?>
    - Design par DeadPixel