Commit b250f65357a7999dde33797c17ff0ef33669e14a

Authored by grouille
1 parent 6bfaf251

Test

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
site/accesBase.php
... ... @@ -70,7 +70,7 @@
70 70 return $tab['groupe'];
71 71 }
72 72  
73   - /*functin getGroupes()
  73 + function getGroupes()
74 74 {
75 75 $db = connexion();
76 76 $query = "SELECT * FROM groupes";
... ... @@ -78,7 +78,7 @@
78 78 $tab = pg_fetch_all($result);
79 79 deconnexion($db);
80 80 return $tab;
81   - }*/
  81 + }
82 82  
83 83 function getMembreByIdPwd($id, $pwd)
84 84 {
... ...
site/header.php
... ... @@ -17,7 +17,7 @@
17 17 <a href="rechercheGraphe.php"><i class="fas fa-chart-line"></i> Graphiques</a>
18 18 <a href="data.php"><i class="fas fa-database"></i> Valeurs</a>
19 19 <?php
20   - //if(getGroupe($_SESSION['Login'])==0)
  20 + if(getGroupe($_SESSION['Login'])==0)
21 21 {
22 22 echo '<a href="inscrire.php"><i class="far fa-plus-square"></i> Compte</a>';
23 23 }
... ...