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
$company_ownership = $encoder->Get_Ownerships();
//get different type of ownership
<?php

require "Require.php";
include "Encoder_Header.php";
include "Includeables.php";
//in here we are going to fetch the regions city sub city kebele sefer
$user = $_SESSION['Logged_In_User'];
$encoder = new Encoder_Controller($user);
//make an encoder object
$Regions = $encoder->Get_Regions();
//gets the region
$City = $encoder->Get_City();
//gets the city
$Sub_City = $encoder->Get_Sub_City();
//gets the sub city
$Wereda = $encoder->Get_Wereda();
//gets the wereda
$Sefer = $encoder->Get_Sefer();
//gets the sefer
$Street = $encoder->Get_Streets();
//gets the street name
?>

	<div class="col-sm-7 list_container margin_0">

	<div class="col-sm-12">

	<div class="panel panel-default">
		<div class="panel-body text-center">
			<h4>Add Building ( ህንጻ መጨመርያ )</h4>