Example #1
0
     ?>
 </div>
 <div id="corps">
     <div class="titre_corps">
         <h3 class="centrer">Affecter une matière à un élève</h3>
     </div>
     <fieldset>
         <legend>Choisir un &Eacute;l&egrave;ve</legend>
         <table>
             <tr>
                 <td>&Eacute;l&egrave;ve : </td>
                 <td>
                     <select id="eleve">
                         <option value=""></option>
                         <?php
                         $eleves = Eleve::getAllActif();
                         foreach ($eleves as $eleve){
                             echo "<option value='".$eleve->getIdEleve()."'>".$eleve->getLibelleUtilisatur().'</option>';
                         }
                         ?>
                     </select>
                 </td>
             </tr>
             <tr>
                 <td>Niveau : </td>
                 <td>
                     <select id="selectNiveau">
                         <option value=""></option>
                         <?php
                         $niveaux = Niveau::getAll();
                         foreach ($niveaux as $niv){