|
|
@ -2,7 +2,7 @@
|
|
|
|
require_once ('../connexionBD.php');
|
|
|
|
require_once ('../connexionBD.php');
|
|
|
|
require_once ('../ressources/user.php');
|
|
|
|
require_once ('../ressources/user.php');
|
|
|
|
require_once ('verifconnecte.php');
|
|
|
|
require_once ('verifconnecte.php');
|
|
|
|
if (getUser($db, $mail)['estadmin']){
|
|
|
|
if (!strcmp(getUser($db, $mail)['estadmin'], 't')) {
|
|
|
|
require_once ('../ressources/navbaradminhtml.php');
|
|
|
|
require_once ('../ressources/navbaradminhtml.php');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|