Files

30 lines
980 B
PHP
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
http_response_code(404);
$pageStylesheets = ['/css/404.css'];
$bodyClass = 'page-404';
require_once __DIR__ . '/header.php';
?>
<section class="error-shell">
<article class="error-card">
<h1 class="error-headline">404</h1>
<p class="error-subtitle">La transaction est introuvable. Le cours de cette page a chuté et le marché nen veut plus.</p>
<div class="error-meta">
<span class="meta-chip">Route : /404</span>
<span class="meta-chip">Status : Page non cotée</span>
<span class="meta-chip">Session : <?= htmlspecialchars((string) ($_SESSION['user_id'] ?? 'invité'), ENT_QUOTES, 'UTF-8') ?></span>
</div>
<div class="error-actions">
<a href="/index.php" class="button-return">Retour à la base</a>
</div>
</article>
</section>
<?php require_once __DIR__ . '/footer.php'; ?>