session_start(); if(!isset($_SESSION['Unit']) && !isset($_SESSION['user_type'])){ header("Location: ../index.php"); } ?>