Accueil';
if (has_any_role(['gestionnaire', 'administration'])) {
$nav .= 'Missions';
}
if (has_role('administration')) {
$nav .= 'Gestion des comptes';
}
$nav .= 'Déconnexion';
}
// --- BARRE DE SESSION ---
if (is_logged()) {
$session = 'Connecté : ' . htmlentities($_SESSION['login']) . ' (' . htmlentities($_SESSION['role']) . ')';
} else {
$session = 'Non connecté';
}
// --- NOTIFICATION ---
$notif = '';
if (!empty($_SESSION['notification'])) {
$notif = '' . htmlentities($_SESSION['notification']) . '
';
unset($_SESSION['notification']);
}
?>
SSF - Gestion des sauveteurs
= $session ?>
= $notif ?>