<?php
include_once('../funtions/myfunctions.php');

if(isset($_SESSION['auth']))
{
    if($_SESSION['role_as'] != 1)
    {
    redirect("../index.php", "You are not authorized to access this page.");
    }
}
else
{
    redirect("../login.php", "Login to continue");
}


?>