<?php
session_start();
?><!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <title>Debug Session Admin Support</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
</head>
<body class="bg-light">
    <div class="container py-5">
        <h2 class="mb-4">Debug Session Admin Support</h2>
        <div class="card shadow-sm">
            <div class="card-body">
                <h5>Contenu de la session&nbsp;:</h5>
                <pre class="bg-light border rounded p-3 text-dark"><?php var_dump($_SESSION); ?></pre>
                <hr>
                <h5>Nom personnalisé&nbsp;:</h5>
                <span class="badge bg-info text-dark" style="font-size:1.2em;padding:10px 24px;border-radius:16px;">
                    <?php echo isset($_SESSION['admin_support_name']) ? htmlspecialchars($_SESSION['admin_support_name']) : '(non défini)'; ?>
                </span>
            </div>
        </div>
    </div>
</body>
</html>
