prepare("SELECT * FROM citycostscalc WHERE citcalc_id = $cityid ");
$st->execute();
$result = $st->Fetch();
$city_typecalc = $result['citcalc_type'];
$city_plusnumber = $result['citcalc_plusnumber'];
// ...[1]... calc 1
$streetfence = filter_var($_POST['stfence'], FILTER_SANITIZE_NUMBER_INT);
$sidefence = filter_var($_POST['sifence'], FILTER_SANITIZE_NUMBER_INT);
if($_POST['finishfence'] == "naturalstone"){
$ftf1 = 1000;
$ftf2 = 900;
}elseif($_POST['finishfence'] == "dye"){
$ftf1 = 800;
$ftf2 = 700;
}
$calc1 = ($streetfence * $ftf1)+($sidefence * $ftf2);
// ...[2]... calc 2
if($_POST['finishinglevel'] == "normal"){
$finishinglevelprice = 200;
}elseif($_POST['finishinglevel'] == "good"){
$finishinglevelprice = 240;
}elseif($_POST['finishinglevel'] == "excellent"){
$finishinglevelprice = 280;
}
// spaces
// 1 (basementspace)
if(isset($_POST['isabasement']) && ($_POST['basement_space'] > 0 ) ){
$basementspace = filter_var($_POST['basement_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$basementspace = 0 ;}
// 2 (Groundfloorspace)
if(isset($_POST['groundfloor']) && ($_POST['groundfloor_space'] > 0 ) ){
$groundfloorspace = filter_var($_POST['groundfloor_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$groundfloorspace = 0 ;}
// 3 (firstfloorspace)
if(isset($_POST['firstfloor']) && ($_POST['firstfloor_space'] > 0 ) ){
$firstfloorspace = filter_var($_POST['firstfloor_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$firstfloorspace = 0 ;}
// 4 (Secound Floor Space)
if(isset($_POST['secoundfloor']) && ($_POST['secoundfloor_space'] > 0 ) ){
$secoundfloorspace = filter_var($_POST['secoundfloor_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$secoundfloorspace = 0 ;}
// 5 (Secound Floor Space)
if(isset($_POST['supplement']) && ($_POST['supplement_space'] > 0 ) ){
$supplementspace = filter_var($_POST['supplement_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$supplementspace = 0 ;}
// 6 (Secound Floor Space)
if(isset($_POST['driverroom']) && ($_POST['driverroom_space'] > 0 ) ){
$driverroomspace = filter_var($_POST['driverroom_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$driverroomspace = 0 ;}
// 7 (Secound Floor Space)
if(isset($_POST['externalcouncil']) && ($_POST['externalcouncil_space'] > 0 ) ){
$externalcouncilspace = filter_var($_POST['externalcouncil_space'], FILTER_SANITIZE_NUMBER_INT);
}else{$externalcouncilspace = 0 ;}
$allfloorspaces = $basementspace + $groundfloorspace + $firstfloorspace + $secoundfloorspace + $supplementspace + $driverroomspace + $externalcouncilspace ;
$ca = $basementspace * $finishinglevelprice;
$cb = $groundfloorspace * $finishinglevelprice;
$cc = $firstfloorspace * $finishinglevelprice;
$cd = $secoundfloorspace * $finishinglevelprice;
$ce = $supplementspace * $finishinglevelprice;
$cf = $driverroomspace * $finishinglevelprice;
$cg = $externalcouncilspace * $finishinglevelprice;
$calc2 = $ca + $cb + $cc + $cd + $ce + $cf + $cg ;
// ...[3]... calc 3
$parkingnum = filter_var($_POST['parking_number'], FILTER_SANITIZE_NUMBER_INT);
$calc3 = $parkingnum * 3000 ;
// ...[4]... calc 4
if($_POST['laddertoroof'] == 1){
$calc4 = 32000;
}elseif($_POST['laddertoroof'] == 0){
$calc4 = 0;
}
// ...[5]... calc 5
if($_POST['roadsite'] == 1){
$calc5 = 5000;
}elseif($_POST['roadsite'] == 0){
$calc5 = 0;
}
// ...[6]... calc 6
if($_POST['drawer'] == 1){
$calc6 = 10000;
}elseif($_POST['drawer'] == 0){
$calc6 = 0;
}
// ...[7]... calc 7
if($_POST['heater'] == 1){
$calc7 = 15000;
}elseif($_POST['heater'] == 0){
$calc7 = 0;
}
// ...[8]... calc 8
if($_POST['elevator'] == 1){
$calc8 = 100000;
}elseif($_POST['elevator'] == 0){
$calc8 = 0;
}
// ...[9]... calc 9
if($_POST['gaz'] == 1){
$calc9 = 6000;
}elseif($_POST['gaz'] == 0){
$calc9 = 0;
}
// ...[10]... calc 10
if($_POST['actype'] == "a"){
$calc10 = $allfloorspaces * 0.092903 / 15 * 1800 ;
}elseif($_POST['actype'] == "b"){
$calc10 = $allfloorspaces * 0.092903 / 15 * 3200 ;
}
// ...[11]... calc 11
if($_POST['roomdecor'] == 1){
$calc11 = $allfloorspaces * 0.092903 * 120 ;
}elseif($_POST['roomdecor'] == 0){
$calc11 = 0 ;
}
// ...[12]... calc 12
if($_POST['outdecortype'] == 1){
$calc12 = $allfloorspaces * 20 ;
}elseif($_POST['outdecortype'] == 2){
$calc12 = $allfloorspaces * 20 ;
}elseif($_POST['outdecortype'] == 0){
$calc12 = 0 ;
}
// ...[13]... calc 13
if($_POST['sanitation'] == 1){
$calc13 = 0;
}elseif($_POST['sanitation'] == 0){
$calc13 = 15000;
}
// ...[14]... calc 14
$interlockspace = filter_var($_POST['interlock_space'], FILTER_SANITIZE_NUMBER_INT);
$calc14 = $interlockspace * 70 ;
// SUM ALL CALCS
$sumallcalc = $calc1 + $calc2 + $calc3 + $calc4 + $calc5 + $calc6 + $calc7 + $calc8 + $calc9 + $calc10 + $calc11 + $calc12 + $calc13 + $calc14;
// afteercityeffect
if($city_typecalc == 1){
$sumwithcityeffect = $city_plusnumber + $sumallcalc ;
}elseif($city_typecalc == 2){
$sumwithcityeffect = $city_plusnumber * $sumallcalc ;
}
?>
The approximate cost of construction is
Architectural Design
Architectural Concept Design
Detailed working Drawings
Drawing approvals from municipalities
Interior Design
Landscape Design
Engineering Design
Structural Design
Electrical Design
Mechanical Design
Drainage Design
Bills of Quantities and specifications
Technical – Advisory
Construction Supervision
Cost Estimation
Value Engineering
Ppayment approvals
Feasibility Assessment
Auditing architectural plans
report will be prepared to develop and address the defects.
Reviewing the elevations plans .
Reviewing the general site plan .
Reviewing the internal distribution scheme .
Final project inspection
This service is for under construction projects that are in the final inspection phase .
The project will be inspected by a committee of three engineers consisting of a site civil engineer, an architect, and an electrical and sanitary engineer. The entire work carried out will be inspected and then an inspection report will be delivered
The site visit will take place within three working days from the date of submitting the application .
Value engineering
studying specifications, bills of quantities and project drawings (architectural, structural , drainage, electricity, water, gas, Etisalat and civil defense) to reduce the cost and develop the design to provide new alternatives without affecting the quality and value of the project
The service will be free if there was no savings of the project cost after the end of the value study .
In the event that there is a saving in the value of the project without affecting the quality, 10% of the saving value will be requested for the value study fees .
Auditing contracts and specifications
Studying contracts and specifications of the residential project in order to give the legal and technical observations.
The cost of the service is 500 dirhams for auditing contracts and 500 dirhams for checking specifications
Learn More