33 lines
1.5 KiB
PHP
Executable File
33 lines
1.5 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Bourse</title>
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
<?php if (!empty($pageStylesheets) && is_array($pageStylesheets)): ?>
|
|
<?php foreach ($pageStylesheets as $sheet): ?>
|
|
<link rel="stylesheet" href="<?= htmlspecialchars($sheet, ENT_QUOTES, 'UTF-8') ?>">
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
<link rel="shortcut icon" href="/assets/images/favicon.png" type="image/x-icon">
|
|
</head>
|
|
|
|
<body class="<?= !empty($bodyClass) ? htmlspecialchars($bodyClass, ENT_QUOTES, 'UTF-8') : '' ?>">
|
|
<header class="header">
|
|
<div class="container">
|
|
<div class="logo">
|
|
<img src="/assets/images/GFBlancLogo.png" alt="Logo GF Blanc" class="logo-img">
|
|
</div>
|
|
<h1 class="site-title">Positions en bourse</h1>
|
|
<?php if (isset($_SESSION['user_id'])): ?>
|
|
<div class="user-info">
|
|
<span>Nom : <?= htmlspecialchars((string) ($_SESSION['user_name'] ?? ''), ENT_QUOTES, 'UTF-8') ?></span>
|
|
<span>IP : <?= htmlspecialchars((string) ($_SERVER['REMOTE_ADDR'] ?? 'N/A'), ENT_QUOTES, 'UTF-8') ?></span>
|
|
<span class="info-date">Date : <?= date('d/m/Y') ?></span>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</header>
|
|
<main class="main-content">
|