//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::HEALTH); $company_ownership = $encoder->Get_Ownerships(); //get different type of ownership $specialization = $encoder->GetSpecialization(GeneralCategory::HEALTH); //get specialization ?> <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 Health Institutions (የጤና ተቋማት)</h4>
//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 if ($_SERVER['REQUEST_METHOD'] == 'GET') { if (isset($_GET['CA'])) { $Company_ID = $_GET['company_id']; $single_company = $encoder->Get_Company_With_Out_Building($Company_ID); $Company_Spec = mysqli_fetch_array($single_company, MYSQLI_ASSOC); //get place $Com_Region_ID = $Company_Spec["Region"]; $Com_City_ID = $Company_Spec["City"]; $Com_Sub_City_ID = $Company_Spec["Sub_City"]; $Com_Sefer_ID = $Company_Spec["Sefer"]; $Com_Wereda_ID = $Company_Spec["Wereda"]; $Com_Street_ID = $Company_Spec["Street"];
//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::RECREATIONAL); //get category that are in a generic Education category $company_ownership = $encoder->Get_Ownerships(); //get different type of ownership if ($_SERVER['REQUEST_METHOD'] == 'GET') { if (isset($_GET['CA'])) { $Company_ID = $_GET['company_id']; $single_company = $encoder->Get_Company_With_Out_Building($Company_ID); $Company_Spec = mysqli_fetch_array($single_company, MYSQLI_ASSOC); //get place $Com_Region_ID = $Company_Spec["Region"]; $Com_City_ID = $Company_Spec["City"]; $Com_Sub_City_ID = $Company_Spec["Sub_City"]; $Com_Sefer_ID = $Company_Spec["Sefer"]; $Com_Wereda_ID = $Company_Spec["Wereda"]; $Com_Street_ID = $Company_Spec["Street"];