Commit 8d6acadf5ea89bdb3fb0ab01ecb4a13e11db56e2
1 parent
3c458fd6
MAJ
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
site/inscrire.php
@@ -17,6 +17,7 @@ $membres = members(); | @@ -17,6 +17,7 @@ $membres = members(); | ||
17 | include("header.php"); | 17 | include("header.php"); |
18 | if(getGroupe($_SESSION['Login'])==1) | 18 | if(getGroupe($_SESSION['Login'])==1) |
19 | { | 19 | { |
20 | + include("formInscription.php"); | ||
20 | ?> | 21 | ?> |
21 | <div class="row"> | 22 | <div class="row"> |
22 | <div class="col-6 col-md-6 offset-md-3 offset-3"> | 23 | <div class="col-6 col-md-6 offset-md-3 offset-3"> |
@@ -39,7 +40,7 @@ $membres = members(); | @@ -39,7 +40,7 @@ $membres = members(); | ||
39 | <td><?php echo $membre['nom'];?></td> | 40 | <td><?php echo $membre['nom'];?></td> |
40 | <td><?php echo $membre['prenom'];?></td> | 41 | <td><?php echo $membre['prenom'];?></td> |
41 | <td><?php echo $membre['identifiant'];?></td> | 42 | <td><?php echo $membre['identifiant'];?></td> |
42 | - <td><?php echo groupeId($membre['groupe']);?></td> | 43 | + <td><?php echo groupeId($membre['identifiant']);?></td> |
43 | <td> | 44 | <td> |
44 | <form action="suppression.php" method="POST"> | 45 | <form action="suppression.php" method="POST"> |
45 | <input type="hidden" name="id" value="<?php echo $membre['identifiant'];?>"> | 46 | <input type="hidden" name="id" value="<?php echo $membre['identifiant'];?>"> |
@@ -55,8 +56,6 @@ $membres = members(); | @@ -55,8 +56,6 @@ $membres = members(); | ||
55 | </div> | 56 | </div> |
56 | </div> | 57 | </div> |
57 | <?php | 58 | <?php |
58 | - include("formSuppression.php"); | ||
59 | - include("formInscription.php"); | ||
60 | } | 59 | } |
61 | else | 60 | else |
62 | { header("Location: accueil.php"); } | 61 | { header("Location: accueil.php"); } |