summaryrefslogtreecommitdiff
path: root/pages/emergency.php
blob: 0405bca08c1ef8fba42c1f31f65bb8cbb096223f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;
if (!$isLoggedIn) header("Location: /login") and die();

$emergencyHeader = true;
$title = "Emergency alert"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';

?>

<br>
<div class="container">
    <div id="page-content">
        <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/emergency.php"; ?>
    </div>
</div>

<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'; ?>