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
| <? include("connect.inc") ?>
<html>
<link rel="stylesheet" href="sitebn.css" type="text/css">
<head>
<META HTTP-EQUIV="Refresh" CONTENT="10";>
<body>
<form name="liste.php" action="unepers.php" method="post">
<center><font color='red'><h1><i>Liste des réservations et gestion de la base de donnée</i></h1></center>
<a href="effacertoutroulage.php"><br><font color='yellow'>Cliquez ici pour effacer toutes les réservations de votre liste</a></font></p>
<table class="frm" align="center">
<tr><th bgcolor='#99CCFF' width="1%">Numéro</th><th bgcolor='#99CCFF' width="3%">Grade</th><th bgcolor='#99CCFF' width="15%">Nom</th><th bgcolor='#99CCFF' width="15%">Prénom</th><th bgcolor='#99CCFF' width="5%">Téléphone</th><th bgcolor='#99CCFF' width="20%">Motif</th><th bgcolor='#99CCFF' width="2%">Jour</th><th bgcolor='#99CCFF' width="2%">Mois</th><th bgcolor='#99CCFF' width="4%">Année</th><th bgcolor='#99CCFF' width="3%">Heure début</th><th bgcolor='#99CCFF' width="2%">Minutes début</th><th bgcolor='#99CCFF' width="3%">Heure fin</th><th bgcolor='#99CCFF' width="3%">Minutes fin</th><th bgcolor='#99CCFF' width="6%">Effacer</th><th bgcolor='#99CCFF' width="10%">Tout sélectionner</th></tr>
<?
$resultat = mysql_query("select `id` , `grade` , `nom` , `prenom` , `telephone` , `motif` , `From_day` , `From_month` , `From_year` , `heuredebut` , `minutesdebut` , `heurefin` , `minutesfin` from roulage");
while($ligne= mysql_fetch_object($resultat))
{
echo "<tr onclick=\ onmouseover=\"this.className='over'\" onmouseout=\"this.className='out'\" class=\"out\">
<td><font color='yellow'><center>$ligne->id</center></font></td>
<td><font color='yellow'><center>$ligne->grade</center></font></td>
<td><font color='yellow'><center>$ligne->nom</center></font></td>
<td><font color='yellow'><center>$ligne->prenom</center></font></td>
<td><font color='yellow'><center>$ligne->telephone</center></font></td>
<td><font color='yellow'><center>$ligne->motif</center></font></td>
<td><font color='yellow'>$ligne->From_day</font></td>
<td><font color='yellow'>$ligne->From_month</font></td>
<td><font color='yellow'>$ligne->From_year</font></td>
<td><font color='yellow'><right>$ligne->heuredebut</right></font></td>
<td><font color='yellow'><left>$ligne->minutesdebut</left></font></td>
<td><font color='yellow'>$ligne->heurefin</font></td>
<td><font color='yellow'>$ligne->minutesfin</font></td>
<td><CENTER><INPUT TYPE='checkbox' value='$ligne->id' NAME='sel[]'/></CENTER></font></td>
<td>CENTER><INPUT TYPE='checkbox' value='$ligne->id' NAME='sel[]'/></CENTER></font></td>
</tr>";
}
?>
</table>
</head>
</body>
</p><input type="submit" NAME="submit" value="Supprimer" action="unepers.php">
</html> |
Partager