<?php include('partie1_admin.php');?>
<div id="coverer" align="center">

<h2><img src="img/fleche.gif" style="margin-bottom:-10px;" height="40" width="40">&nbsp;Inscrit</h2>	
<p class="bouton_design" style="display:inline-block; list-style:outside;">
<a href="liste_inscrits.php">Retour</a></p>

<?php
if (isset($_GET['consulter_fiche'])) // Si l'on demande de supprimerune news.
{
include ('connexion_mysql.php');
$retour = 'SELECT * FROM inscrits WHERE id=\'' .
$_GET['consulter_fiche'] . '\'';	
$res = $conn->query($retour);
while ($donnees = mysqli_fetch_array($res)) // On fait une boucle
{

?>
<table border="0" cellspacing="0" cellpadding="0">
<tr style="background:#eee; color:#fff; font-weight:bold; text-shadow:1px 1px 1px #eee; border-radius:0px; font-size:22px; color:green;"><td colspan="2">Fiche d'Inscription</td></tr>

  <tr>
    <th scope="row" style="text-align:right;">Nom et Pr&eacute;nom</th>
    <td><?php echo $donnees['nom_prenom'];?></td>
  </tr>
  <tr>
    <th scope="row" style="text-align:right;">Service command&eacute;</th>
    <td><?php echo $donnees['type_service'];?></td>
  </tr>
  <tr>
    <th scope="row" style="text-align:right;">E-mail</th>
    <td><?php echo $donnees['email'];?></td>
  </tr>
  
    <tr>
    <th scope="row" style="text-align:right;">T&eacute;l&eacute;phone</th>
    <td><?php echo $donnees['tel'];?></td>
  </tr>

  
  <tr>
  </tr>
  
  


  

  
  <tr>
    <th scope="row" style="text-align:right;">Date d'inscription</th>
    <td><?php echo $donnees['date'];}?></td>
  </tr>


</table>

<?php }?>

<?php include('partie3_admin.php'); ?>