This cost calculator is intended to give you a general idea of what your redesign will cost.

[insert_php]
if(isset($result)) {
$result = NULL;
$footageValue = ”;
$floorValue = ”;
$qualityValue = ”;
$serviceValue = ”;
$search=”;
}

[/insert_php]







[insert_php]

if(isset($_POST[‘search’]))
{

$footageValue = $_POST[‘footage’]; // make value
$floorValue = $_POST[‘floor’]; // make value
$qualityValue = $_POST[‘quality’]; // make value
$serviceValue = $_POST[‘service’]; // make value

if(($floorValue==1)&&($qualityValue==1)&&($serviceValue==1))
{
$result=$footageValue*3.99;
}elseif(($floorValue==1)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*6.99;
}elseif(($floorValue==1)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*7.99;
}elseif(($floorValue==1)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*5.49;
}elseif(($floorValue==1)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*8.49;
}elseif(($floorValue==1)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*9.49;
}elseif(($floorValue==1)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*6.99;
}elseif(($floorValue==1)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*9.99;
}elseif(($floorValue==1)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*10.99;
}elseif(($floorValue==2)&&($qualityValue==1)&&($serviceValue==1))
{
//Type: Laminate Starts from here
$result=$footageValue*1.49;
}elseif(($floorValue==2)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*3.75;
}elseif(($floorValue==2)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*4.75;
}elseif(($floorValue==2)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*2.69;
}elseif(($floorValue==2)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*5.19;
}elseif(($floorValue==2)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*6.19;
}elseif(($floorValue==2)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*3.99;
}elseif(($floorValue==2)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*6.49;
}elseif(($floorValue==2)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*7.49;
// Carpet Starts from here
}elseif(($floorValue==3)&&($qualityValue==1)&&($serviceValue==1))
{
$result=$footageValue*1.29;
}elseif(($floorValue==3)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*2.49;
}elseif(($floorValue==3)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*2.99;
}elseif(($floorValue==3)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*2.29;
}elseif(($floorValue==3)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*3.85;
}elseif(($floorValue==3)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*4.29;
}elseif(($floorValue==3)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*3.59;
}elseif(($floorValue==3)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*5.19;
}elseif(($floorValue==3)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*5.59;
//Tiles start from below
}elseif(($floorValue==4)&&($qualityValue==1)&&($serviceValue==1))
{
$result=$footageValue*1.99;
}elseif(($floorValue==4)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*7.25;
}elseif(($floorValue==4)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*8.75;
}elseif(($floorValue==4)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*3.59;
}elseif(($floorValue==4)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*8.99;
}elseif(($floorValue==4)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*10.69;
}elseif(($floorValue==4)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*4.99;
}elseif(($floorValue==4)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*10.98;
}elseif(($floorValue==4)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*12.25;
//CORK starts from here
}elseif(($floorValue==5)&&($qualityValue==1)&&($serviceValue==1))
{
$result=$footageValue*3.99;
}elseif(($floorValue==5)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*6.49;
}elseif(($floorValue==5)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*8.99;
}elseif(($floorValue==5)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*4.99;
}elseif(($floorValue==5)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*7.49;
}elseif(($floorValue==5)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*8.49;
}elseif(($floorValue==5)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*7.99;
}elseif(($floorValue==5)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*10.49;
}elseif(($floorValue==5)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*12.49;
//VINYL starts from here
}elseif(($floorValue==6)&&($qualityValue==1)&&($serviceValue==1))
{
$result=$footageValue*1.99;
}elseif(($floorValue==6)&&($qualityValue==1)&&($serviceValue==2))
{
$result=$footageValue*4.49;
}elseif(($floorValue==6)&&($qualityValue==1)&&($serviceValue==3))
{
$result=$footageValue*5.49;
}elseif(($floorValue==6)&&($qualityValue==2)&&($serviceValue==1))
{
$result=$footageValue*2.99;
}elseif(($floorValue==6)&&($qualityValue==2)&&($serviceValue==2))
{
$result=$footageValue*5.49;
}elseif(($floorValue==6)&&($qualityValue==2)&&($serviceValue==3))
{
$result=$footageValue*6.49;
}elseif(($floorValue==6)&&($qualityValue==3)&&($serviceValue==1))
{
$result=$footageValue*3.99;
}elseif(($floorValue==6)&&($qualityValue==3)&&($serviceValue==2))
{
$result=$footageValue*5.49;
}elseif(($floorValue==6)&&($qualityValue==3)&&($serviceValue==3))
{
$result=$footageValue*6.49;
}

$footage = mysql_real_escape_string($_POST[‘selected_text’]); // get the selected text
$floor = mysql_real_escape_string($_POST[‘selected_text’]); // get the selected text
$quality = mysql_real_escape_string($_POST[‘selected_text’]); // get the selected text

//echo $footageValue;
//echo $floorValue;
//echo $qualityValue;
if ($result>0)
{

// echo “Footage: “.$footageValue.”
“;
// echo “Floor Type: “.$floorValue.”
“;
// echo “Quality: “.$qualityValue.”
“;

echo “Estimated value based on given selection“;
echo “Square Footage : “.$footageValue.”
“;

if ($floorValue==1)
echo “Floor Type: Hardwood
“;
elseif($floorValue==2)
echo “Floor Type: Laminate
“;
elseif($floorValue==3)
echo “Floor Type: Carpet
“;
elseif($floorValue==4)
echo “Floor Type: Tiles
“;
elseif($floorValue==5)
echo “Floor Type: Cork
“;
elseif($floorValue==6)
echo “Floor Type: Vinyl
“;

if ($qualityValue==1)
echo “Quality: Good
“;
elseif($qualityValue==2)
echo “Quality: Better
“;
elseif($qualityValue==3)
echo “Quality: Best
“;

if ($serviceValue==1)
echo “Service: Do it yourself
“;
elseif($serviceValue==2)
echo “Service: Install only
“;
elseif($serviceValue==3)
echo “Service: Full Service
“;

echo “Estimated Value: “.$result.”“;
} else
echo “

Please select all options

“;

}
[/insert_php]