admin regle2
This commit is contained in:
parent
c8308b0504
commit
78eac17d42
@ -24,11 +24,14 @@ $result = pg_query_params($db, $requete, array($mail));
|
|||||||
<meta charset = "UTF-8">
|
<meta charset = "UTF-8">
|
||||||
<link rel = "stylesheet" href = "avis_laisses.css">
|
<link rel = "stylesheet" href = "avis_laisses.css">
|
||||||
<link rel="icon" href="../ressources/favicon.ico" />
|
<link rel="icon" href="../ressources/favicon.ico" />
|
||||||
|
<link rel="stylesheet" href="../ressources/navbarhtml.css" />
|
||||||
<title>Avis Laissés</title>
|
<title>Avis Laissés</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<?php require_once ("../ressources/navbarhtml.php"); ?>
|
||||||
|
|
||||||
<div id = "container">
|
<div id = "container">
|
||||||
|
|
||||||
<div id ="entete">
|
<div id ="entete">
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user