<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); include("fotoweb46.php"); include("fotoweb19.php"); $queryPart = "SELECT * FROM participants ORDER BY 'nom' ASC"; $resultPart = mysql_query ($queryPart) or die ("La requête de sélection des Participants a échoué");  ?> <html> <head> <link rel='stylesheet' href='../ergonomie/style.css'> <script language='javascript' src='script/scriptadmin.js'></script> </head> <body> <form id='formAdmin'> <br><br><br><br> <span class='textSimple'>&nbsp; &nbsp; - Cette étape permet de supprimer un utilisateur.</span> <br><br><br> &nbsp; &nbsp; &nbsp; <center> <table border='0' width='50%'> <tr> <td width='25%'> <select id='selParticipant' name='selParticipant'><option value=""><- PARTICIPANTS -></option> <?php
while ($linePart = mysql_fetch_row($resultPart)) { $nom = $linePart[0]; if ( ($nom != getValeurIni("loginAdministrateur")) && ($nom != 'public') ) echo "<option value='".$nom."'>&nbsp; ".$nom."</option>"; } /* Free resultset */ mysql_free_result($resultPart); ?> </select> </td> <td width='25%'> <?php
echo "<img src='../ergonomie/_images/supprimer.gif' id='supprimer' title='Supprimer un utilisateur' style='cursor:pointer;cursor:hand' onClick=\"supprimerParticipant(document.getElementById('selParticipant').value)\">"; ?> </td> </tr> </table>  </body> </form> </html> 