37 lines
1.3 KiB
PHP
37 lines
1.3 KiB
PHP
<?php
|
|
session_set_cookie_params([
|
|
'httponly' => true,
|
|
'samesite' => 'Strict',
|
|
'secure' => !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off',
|
|
'use_strict_mode' => true,
|
|
]);
|
|
session_start();
|
|
header('X-Content-Type-Options: nosniff');
|
|
header('X-Frame-Options: DENY');
|
|
header('Referrer-Policy: no-referrer');
|
|
header('Permissions-Policy: camera=(), microphone=(), geolocation=()');
|
|
header("Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; base-uri 'self'; frame-ancestors 'none'");
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Chorwochenende</title>
|
|
<link rel="stylesheet" href="./css/index.css">
|
|
</head>
|
|
<body>
|
|
<main class="start-page">
|
|
<p class="eyebrow">Chorwochenende</p>
|
|
<h1>Willkommen</h1>
|
|
<p class="intro">Bitte wählen Sie den gewünschten Bereich aus.</p>
|
|
|
|
<nav class="main-actions" aria-label="Hauptnavigation">
|
|
<a class="action-button" href="booking.php">Neue Registrierung</a>
|
|
<a class="action-button" href="edit_registration.php">Registrierung ändern</a>
|
|
<a class="action-button action-button-secondary" href="admin.php">Administration</a>
|
|
</nav>
|
|
</main>
|
|
</body>
|
|
</html>
|