include "Includeables.php";
//checks if the value exists in the specialization array
function exists($value, $array)
{
    for ($i = 0; $i < 5; $i++) {
        if ($value == $array[$i]) {
            return TRUE;
        }
    }
    return FALSE;
}
//in here we are going to fetch data that is going to feel the drop downs
$user = $_SESSION['Logged_In_User'];
$encoder = new Encoder_Controller($user);
//make an encoder object
$Regions = $encoder->Get_Regions();
//get regions
$Cities = $encoder->Get_City();
//get cities
$SubCities = $encoder->Get_Sub_City();
//get sub cities
$Weredas = $encoder->Get_Wereda();
//get weredas
$Sefers = $encoder->Get_Sefer();
//get sefer
$buildings = $encoder->Get_Buildings();
//get the buildings
$Street = $encoder->Get_Streets();
//get street
$categories = $encoder->GetGeneralCategory(GeneralCategory::EDUCATIONAL);
//get category that are in a generic Education category