<p>Département :</p>
        </div>

        <div class="champsFormulaire">
          <!-- choix de la division -->
          <select class="zoneTexte" name="listerAnnees"><?php 
        foreach ($listeDivisions as $division) {
            echo "\n";
            ?>
              <option value="<?php 
            echo $division->getDivNum();
            ?>
"
              <?php 
            if ($managerE->isEtudiant($_SESSION['numPers'])) {
                $etudiant = $managerE->getEtudiant($_SESSION['numPers']);
                if ($division->getDivNum() == $etudiant->div_num) {
                    echo " selected ";
                    //on selectionne si correspond à la division actuelle
                }
            }
            ?>
              ><?php 
            echo $division->getDivNom();
            ?>
</option><?php 
        }
        echo "\n";
        ?>
          </select>
        ?>
 personnes sont enregistr&eacute;es. <br/>
						Cliquez sur une personne pour afficher plus de détails.
					</p>
					<?php 
        include "include/pages/tab/afficherListePersonne.tab.inc.php";
    }
} else {
    $id = $_GET['id'];
    if (!intval($id) || !$personneManager->isPerNumExistant($id)) {
        throw new ExceptionPerso("Merci de ne pas modifier l'url dans la barre d'adresse !", ExceptionPerso::ERR_URL);
    }
    if ($personneManager->isEtudiant($id)) {
        $etudiantManager = new EtudiantManager($pdo);
        $departementManager = new DepartementManager($pdo);
        $detailPersonne = $etudiantManager->getEtudiant($id);
        $detailsDepartement = $departementManager->getDetailsDepartement($detailPersonne->getDepNum());
        ?>
 <h1> D&eacute;tail sur l'étudiant <?php 
        echo $detailPersonne->getPerNom();
        ?>
 </h1><?php 
    } else {
        $salarieManager = new SalarieManager($pdo);
        $fonctionManager = new FonctionManager($pdo);
        $detailPersonne = $salarieManager->getSalarie($id);
        $fonction = $fonctionManager->getFonctionLibelle($detailPersonne->getFonNum());
        ?>
 <h1> D&eacute;tail sur le salari&eacute; <?php 
        echo $detailPersonne->getPerNom();
        ?>
        echo $personne->getPrenomPers();
        ?>
 </td>
			</tr> <?php 
    }
    ?>
	</table>

	<p> Cliquez sur le numéro d'une personne pour afficher plus de détails</p>

	<?php 
} else {
    $numPersonne = $_GET['personne'];
    //recuperer la liste des etudiants
    if ($managerE->isEtudiant($numPersonne)) {
        $etudiant = $managerE->getEtudiant($numPersonne);
        ?>

			<h1>Détail sur l'étudiant <?php 
        echo $etudiant->per_nom;
        ?>
 </h1>
			<table class="tableCli">
				<tr class="hautTableau">
					<td><b>Prénom        	</b></td>
					<td><b>Mail          	</b></td>
					<td><b>Tel          	</b></td>
					<td><b>Département  	</b></td>
					<td><b>Ville        	</b></td>
				</tr>