<?php
ob_start();
session_start();
$pageTitle = 'Construction Costs Result';
include 'init.php';
?>
<div class="nohead"></div>
<?php if (($_SERVER['REQUEST_METHOD'] == 'POST') && isset($_POST['Const_Cost_Calc'])) { ?>
<?php
// ...[0]... calc 0 depend on city choeses city_is
$cityid = filter_var($_POST['city_is'], FILTER_SANITIZE_NUMBER_INT);
$st = $conn->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 ;
}
?>
<div class="py-4">
<div class="container-xl">
<div class="row justify-content-center">
<div class="col-md-10 text-center">
<h2 class="section-title" data-aos="fade-up" data-aos-delay=""> The approximate cost of construction is </h2><hr class="m-auto">
<div class="my-5">
<p class=" rounded-pill w-50 m-auto shadow py-5 text-center result_final"> <?php echo number_format($sumwithcityeffect); ?><sub class="fw-bold fs-2"> AED </sub></p>
</div>
<hr class="m-auto"></div>
</div>
</div>
</div>
<section class="site-section border-bottom bg-light" id="services-section">
<div class="container">
<div class="row mb-5">
<div class="col-12 text-center" data-aos="fade">
<h2 class="section-title mb-3">Our Services</h2>
</div>
</div>
<div class="row align-items-stretch">
<div class="owl-serv owl-carousel">
<div class="mb-4" data-aos="fade-up">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/arch.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Architectural Design</h3>
<ul class="list-unstyled ul-check primary mt-4">
<li>Architectural Concept Design</li>
<li>Detailed working Drawings</li>
<li>Drawing approvals from municipalities</li>
<li>Interior Design</li>
<li>Landscape Design</li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" data-aos-delay="100">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/eng.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Engineering Design</h3>
<ul class="list-unstyled ul-check primary mt-4">
<li>Structural Design</li>
<li>Electrical Design</li>
<li>Mechanical Design</li>
<li>Drainage Design</li>
<li>Bills of Quantities and specifications</li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" data-aos-delay="200">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/tec.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Technical – Advisory</h3>
<ul class="list-unstyled ul-check primary mt-4">
<li>Construction Supervision</li>
<li>Cost Estimation</li>
<li>Value Engineering</li>
<li>Ppayment approvals </li>
<li>Feasibility Assessment </li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" >
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/plan.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Auditing architectural plans</h3>
<ul class="list-unstyled ul-check primary mt-4">
<li>report will be prepared to develop and address the defects.</li>
<li>Reviewing the elevations plans .</li>
<li>Reviewing the general site plan .</li>
<li>Reviewing the internal distribution scheme .</li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" data-aos-delay="100">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/done.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Final project inspection</h3>
<ul class="list-unstyled ul-check primary">
<li>This service is for under construction projects that are in the final inspection phase .</li>
<li>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</li>
<li>The site visit will take place within three working days from the date of submitting the application .</li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" data-aos-delay="200">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/value.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Value engineering</h3>
<ul class="list-unstyled ul-check primary">
<li>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</li>
<li>The service will be free if there was no savings of the project cost after the end of the value study .</li>
<li>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 .</li>
</ul>
</div>
</div>
</div>
<div class="mb-4" data-aos="fade-up" data-aos-delay="200">
<div class="unit-4 text-center px-2">
<div class="unit-4-icon">
<img src="img/serv_ico/contract.png" alt="alliwan_services" class="img-fluid w-25 mb-4 m-auto">
</div>
<div>
<h3 class="mt-3">Auditing contracts and specifications</h3>
<ul class="list-unstyled ul-check primary">
<li>Studying contracts and specifications of the residential project in order to give the legal and technical observations.</li>
<li>The cost of the service is 500 dirhams for auditing contracts and 500 dirhams for checking specifications</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<a href="services.php"><button class="btn btn-primary mt-5">Learn More</button></a>
</div>
</section>
<section class="site-section" id="blog-section">
<div class="container">
<div class="row mb-5">
<div class="col-12 text-center" data-aos="fade">
<h2 class="section-title mb-3">Our Projects</h2>
</div>
</div>
<div class="owl-serv owl-carousel">
<?php foreach (getprojhead() as $key ) {?>
<div class="item" data-aos="fade-up" data-aos-delay="">
<div class="h-entry text-center">
<a href="details.php?projectcode=<?php echo $key['code']; ?>">
<img style="height: 220px;width: 100%" src="admin/images/uploads/projects/<?php echo $key['img1'];?>" alt="Image" class="img-fluid">
</a>
<h2 class="font-size-regular"><a href="#"><?php echo $key['tittle']?></a></h2>
<div class="meta mb-4"><?php echo $key['compname'] ?><span class="mx-2">•</span> <?php echo $key['donedate'] ?></div>
<hr>
<p class="mypr_desc"><?php echo substr($key['description'], 0, 60) . "..."?></p>
<hr>
<p><a href="details.php?projectcode=<?php echo $key['code']; ?>" class="btn btn-primary m-auto text-center mr-2 mb-2">view Project</a></p>
</div>
</div>
<?php }?>
</div>
</div>
</section>
<?php }else{
header('Location:index.php');
exit;
} ?>
<?php
include $tpl . 'footer.php';
ob_end_flush();
?>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .well-known | Folder | 0755 |
|
|
| admin | Folder | 0755 |
|
|
| ar | Folder | 0755 |
|
|
| cgi-bin | Folder | 0755 |
|
|
| css | Folder | 0755 |
|
|
| fonts | Folder | 0755 |
|
|
| images | Folder | 0755 |
|
|
| img | Folder | 0755 |
|
|
| includes | Folder | 0755 |
|
|
| js | Folder | 0755 |
|
|
| set | Folder | 0755 |
|
|
| aboutus.php | File | 13.61 KB | 0644 |
|
| add_consultation.php | File | 2.94 KB | 0644 |
|
| amp.php | File | 26.25 KB | 0644 |
|
| contact.php | File | 3.96 KB | 0644 |
|
| costresult.php | File | 13.62 KB | 0644 |
|
| costscalc.php | File | 42.66 KB | 0644 |
|
| costscalc2.php | File | 42.68 KB | 0644 |
|
| customer_special.php | File | 17.66 KB | 0644 |
|
| details.php | File | 6.1 KB | 0644 |
|
| error_log | File | 63.37 KB | 0644 |
|
| favicon.jpg | File | 604 B | 0644 |
|
| googleb1aa3c3470ce80fb (16).html | File | 53 B | 0644 |
|
| googleb1aa3c3470ce80fb.html | File | 53 B | 0644 |
|
| googlef3aa636d4a99ee0b.html | File | 53 B | 0644 |
|
| index.php | File | 20.92 KB | 0644 |
|
| init.php | File | 560 B | 0644 |
|
| liwan2023.zip | File | 10.56 MB | 0644 |
|
| projects.php | File | 2.72 KB | 0644 |
|
| ret.php | File | 2.9 KB | 0644 |
|
| robots.txt | File | 65 B | 0644 |
|
| services.php | File | 8.58 KB | 0644 |
|
| sitemap.xml | File | 491 B | 0644 |
|