21 lines
566 B
PHP
21 lines
566 B
PHP
<?php
|
|
session_start();
|
|
|
|
if (!isset($_SESSION['user_id'])) {
|
|
header("Location: login.php");
|
|
exit;
|
|
}
|
|
?>
|
|
<?php include 'partials/header.php'; ?>
|
|
|
|
<div class="container py-5">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h2 class="text-center mb-4">Dashboard</h2>
|
|
<p class="text-center">Welcome, <?php echo htmlspecialchars($_SESSION['user_email']); ?>!</p>
|
|
<p class="text-center">This is your dashboard. More features will be added soon.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php include 'partials/footer.php'; ?>
|