Actualiser dashboard.php

This commit is contained in:
2026-03-19 15:00:08 +00:00
parent e52f6cacc7
commit b250f3f832

View File

@@ -1,2 +1,17 @@
<?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'; ?>