Commit 58d24ca1a4fe482ffd603f7ae17ebc076ad33159

Authored by grouille
1 parent de42133d

Test

Showing 2 changed files with 3 additions and 4 deletions   Show diff stats
site/formInscription.php
... ... @@ -2,7 +2,6 @@
2 2 require_once("accesBase.php");
3 3 if(getGroupe($_SESSION['Login'])!=1)
4 4 { header("Location: accueil.php"); }
5   -
6 5 $groupes = getGroupes();
7 6 ?>
8 7 <div class="row">
... ... @@ -28,10 +27,10 @@ $groupes = getGroupes();
28 27 <select id="groupe" name="groupe" required />
29 28 <option> </option>
30 29 <?php
31   - /*foreach($groupes as $groupe)
  30 + foreach($groupes as $groupe)
32 31 {
33 32 echo "<option value=$groupe['id']>$groupe['nom']</option>";
34   - }*/
  33 + }
35 34 ?>
36 35 </select>
37 36 </td>
... ...
site/inscrire.php
... ... @@ -15,7 +15,7 @@ session_start();
15 15 include("header.php");
16 16 require_once("accesBase.php");
17 17 if(getGroupe($_SESSION['Login'])==1)
18   - { include("formConnexion.php"); }
  18 + { include("formInscription.php"); }
19 19 else
20 20 { header("Location: accueil.php"); }
21 21 ?>
... ...