admin regle2

avisTrajet
remi.biette 6 years ago
parent c8308b0504
commit 78eac17d42

@ -24,11 +24,14 @@ $result = pg_query_params($db, $requete, array($mail));
<meta charset = "UTF-8">
<link rel = "stylesheet" href = "avis_laisses.css">
<link rel="icon" href="../ressources/favicon.ico" />
<link rel="stylesheet" href="../ressources/navbarhtml.css" />
<title>Avis Laissés</title>
</head>
<body>
<?php require_once ("../ressources/navbarhtml.php"); ?>
<div id = "container">
<div id ="entete">

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

Loading…
Cancel
Save