include('controller/settings.php');
include('controller/csrf_token.php');
include('controller/head.php');
use csrfhandler\csrf as csrf;
?>
echo $title;?>
include('parts/statics/header.php');
if(isset($_GET['location'])){
$get_Location=htmlspecialchars($_GET['location']);
$check_file_exists = $_SERVER['DOCUMENT_ROOT']."/frontend/parts/$get_Location.php";
if(file_exists($check_file_exists)) {
include('parts/'.$get_Location.'.php');
}else{
header("location: $portal_url");
}
}
else{
include ('parts/main.php');
}
include('parts/statics/footer.php');
?>