<th><a href="?order=date">Date d'envoi</a></th> <th nowrap="nowrap">Etat</th> <th>Rép</th> <th>Suppr</th> </tr> <?php $i = 0; while ($email = @mysql_fetch_array($r_email)) { $sql = 'SELECT * FROM user WHERE email = \''.$email['expediteur'].'\''; $user = CBdd::select_row($sql); $nom = $prenom = $link = $groupe = null; if($user) { $link = '/adminpanther/src/user.php?id='.$user['id'].'&a=5'; $groupe = CTableUser::get_groupe($user['id']); $nom = $user['nom']; } ?> <tr> <td><a href="show_reception.php?id=<?php echo stripslashes($email['id']) ?>" target="popup" onclick="popup(this.href, this.target, '800', '600');"> <?php echo $email['id'] ?> </a></td> <td> <?php if($link) { ?> <a href="<?php echo $link; ?>"><?php echo $nom; ?></a> <?php } else { echo utf8_encode(stripslashes($email['exp_nom'])); }