summaryrefslogtreecommitdiff
path: root/pages/emergency.php
blob: 2e38a6f771ae7e4c3daac61df01162667fabfee1 (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'; ?>