34494-vm/dashboard.php
Flatlogic Bot 5acb599929 v2
2025-09-30 03:50:50 +00:00

43 lines
1.2 KiB
PHP

<?php
session_start();
if (!isset($_SESSION['user_id'])) {
header('Location: login.php');
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - Aperture</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<header class="app-header">
<div class="container">
<div class="header-content">
<a href="index.php" class="logo">Aperture</a>
<nav class="main-nav">
<a href="logout.php">Logout</a>
</nav>
</div>
</div>
</header>
<main class="container page-section">
<h2>Welcome, <?php echo htmlspecialchars($_SESSION['username']); ?>!</h2>
<p>This is your dashboard. You are successfully logged in.</p>
</main>
<footer class="app-footer">
<div class="container">
<p>&copy; <?php echo date('Y'); ?> Aperture. All rights reserved. | <a href="privacy.php">Privacy Policy</a></p>
</div>
</footer>
</body>
</html>