";}
mysqli_close($link);
} else {
if($debug) { echo "destination is not set
";}
$destination = "Maui";
}
if (isset($_REQUEST['prop'])) {
/*
* SIELOCK SQL INJECTION FIX
*/
$link = dbConnect2();
$prop = mysqli_real_escape_string($link, $_REQUEST['prop']);
mysqli_close($link);
} else {
$prop = "Polo Beach";
}
$link = dbConnect2();
$query = "SELECT * FROM PropertyInfo WHERE Location = '$destination' AND Prop = '$prop' LIMIT 0, 1";
$result = mysqli_query($link, $query);
mysqli_close($link);
if($debug) { echo 'REQUEST[destination]: '.$_REQUEST['destination'].'
';}
if($debug) { echo 'destination: '.$destination.'
';}
if($debug) { echo 'prop: '.$prop.'
';}
if($debug) { echo 'query: '.$query.'
';}
$row = mysqli_fetch_assoc($result);
$UnitInfo = $row['UnitInfo'];
$CancelPolicy = $row['CancelPolicy'];
$PayInfo = $row['PayInfo'];
?>