Actualiser dashboard.php
This commit is contained in:
@@ -1,2 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
echo "Dashboard en construction";
|
session_start();
|
||||||
|
|
||||||
|
// PROTECTION
|
||||||
|
if (!isset($_SESSION['user'])) {
|
||||||
|
header("Location: login.php");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
include 'include/header.php';
|
||||||
|
include 'include/nav.php';
|
||||||
|
?>
|
||||||
|
|
||||||
|
<h2>Dashboard</h2>
|
||||||
|
<p>Bienvenue <?= $_SESSION['user'] ?></p>
|
||||||
|
|
||||||
|
<?php include 'include/footer.php'; ?>
|
||||||
Reference in New Issue
Block a user