13 lines
216 B
Plaintext
13 lines
216 B
Plaintext
<?php
|
|
require "../includes/config.php";
|
|
|
|
if (!isset($_SESSION["user_id"])) {
|
|
header("Location: login.php");
|
|
exit;
|
|
}
|
|
?>
|
|
|
|
<h2>Welcome <?php echo $_SESSION["username"]; ?>!</h2>
|
|
|
|
<a href="logout.php">Logout</a>
|