<?php
    // make sure the user is logged in as a valid administrator
    if (!isset($_SESSION['admin'])) {
        header('Location: ' . $app_path . 'admin/account/' );
    }
?>
 