1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
table#user_print th{
font-variant:small-caps; color:blue; font-weight:bold;
border:5px ridge red;
text-align:left;
}
table#user_print td{
font-weight:normal;
border-bottom: 3px dotted blue;
}
</style>
</head>
<body>
<table width=600px><tr><td><img src='../../images/logo.gif'></td><td valign=top><center><h1>Liste des membres</h1></center></td></tr></table><br />
<span style='background:#BBFFFF;'>Eveil musical</span> -
<span style='background:#98FB98;'>Débutant</span> -
<span style='background:#FFFFF0;'>Exécutant</span><br />
<table id="user_print" cellpadding="2" cellspacing="0">
<tr>
<th width="200px">Nom / Prénom</th>
<th width="200px">Adresse</th>
<th width="300px">Email</th>
<th width="100px">Téléphones</th><br/>
</tr>
<?php
$resultats = $connexion->query("SELECT * FROM cruet_membre WHERE `cruet_membre`.`id` <> 0 AND `cruet_membre`.`nom` <> 'ADMIN' ORDER BY nom, prenom ASC");
$nb = $resultats->setFetchMode(PDO::FETCH_OBJ);
while ($user = $resultats->fetch()){
?>
<tr>
<td><b><?php echo $user->nom.'</b><br/>'.$user->prenom; ?></td>
<td><?php echo $user->adresse.'<br/>'.$user->cp.''.$user->ville;?></td>
<td><?php echo $user->email; ?></td>
<td><?php echo $user->telephone_fixe.'<br/>'.$user->telephone_portable; ?></td>
</tr>
<?php
}
</table>";
// on ferme le curseur des résultats
$resultats->closeCursor();
?>
</table>
</body>
</html> |
Partager