"Google Search", "Yahoo" => "Yahoo Search", "MSN" => "MSN Search", "Facebook" => "Facebook", "Twitter" => "Twitter", "other" => "Other" ); //Added on 02 July 2008 *** for redirecting to Short contact form if(isset($_GET['formpageid']) && isset($_GET['topmenuid'])) { if(!isset($_GET['fr']) && trim($_GET['formpageid'])=="10" && trim($_GET['topmenuid'])=="1") { header("location:property_contact_1.php?refno=contact"); die(); } else if(!isset($_GET['fr']) && trim($_GET['formpageid'])=="12" && trim($_GET['topmenuid'])=="5") { header("location:property_contact_1.php?refno=contact_seller1"); die(); } else if(!isset($_GET['fr']) && trim($_GET['formpageid'])=="13" && trim($_GET['topmenuid'])=="5") { header("location:property_contact_1.php?refno=contact_seller2"); die(); } } $menuid=8; $result="FALSE"; if ($_POST["submit"]=='SEND'){ /* if(isset($_POST['dynamiccode'])) if(strtoupper($_POST['dynamiccode'])==strtoupper($_SESSION["secret_s"])) $result="TRUE"; else $result="FALSE"; */ # the response from reCAPTCHA $resp = null; # the error code from reCAPTCHA, if any $error = null; if ($_POST["recaptcha_response_field"]) { $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { $result="TRUE"; //echo 'True'; die(); } else { # set the error code so that we can display it $error = $resp->error; // echo $error; // die(); } } $name=$_POST['name']; $lname=$_POST['lname']; $street=$_POST['street']; $town=$_POST['town']; $state=$_POST['state']; $country=$_POST['country']; $zip=$_POST['zip']; $email=$_POST['email']; $aemail=$_POST['aemail']; $hometel=$_POST['hometel']; $worktel=$_POST['worktel']; $mobiletel=$_POST['mobiletel']; $comments=$_POST['comments']; $hearaboutus=$_POST['hearaboutus']; $SpecifySource=$_POST['SpecifySource']; if($result=="TRUE") { // echo "The Result is ".$result;die(); $sqlcrm="insert into crm_contact (name,lname,street,town,state,country,zip,hometel,worktel,mobile,email,comments,prefno,date,source,othersource) values('".str_singleQuoteReplace($name)."','".str_singleQuoteReplace($lname)."','".str_singleQuoteReplace($street)."','".str_singleQuoteReplace($town)."','".str_singleQuoteReplace($state)."','".str_singleQuoteReplace($country)."','".str_singleQuoteReplace($zip)."','".str_singleQuoteReplace($hometel)."','".str_singleQuoteReplace($worktel)."','".str_singleQuoteReplace($mobiletel)."','".str_singleQuoteReplace($email)."','".str_singleQuoteReplace($comments)."','".str_singleQuoteReplace($refno)."','".date("Y-m-d h:i:s")."','".str_singleQuoteReplace($hearaboutus)."','".str_singleQuoteReplace($SpecifySource)."')"; $qrycrm=mysql_query($sqlcrm) or die(mysql_error()); $tomail="deb@caribbeanlandandproperty.com"; $tomail1="consultant@caribbeanlandandproperty.com"; // $tomail = "bradleyhicks@gmail.com"; // $tomail1 = "bradleyhicks@gmail.com"; if($_POST['fr']=='investmentproperty') { $message="INVESTMENT PROPERTY ENQUIRY

"; } $message=$message."Sir,
I am interested in knowing more about properties."; $message=$message."

Following are my details, please contact me.
"; $message=$message."
Name : ".str_htmlSpecialChars($name)." ".str_htmlSpecialChars($lname); $message=$message."
Street : ".str_htmlSpecialChars($street); $message=$message."
Town : ".str_htmlSpecialChars($town); $message=$message."
State / County : ".str_htmlSpecialChars($state); $message=$message."
Country : ".str_htmlSpecialChars($country); $message=$message."
Zip Code : ".str_htmlSpecialChars($zip); $message=$message."
Email : ".str_htmlSpecialChars($email); $message=$message."
Alternative Email : ".str_htmlSpecialChars($aemail); $message=$message."
Home Telephone : ".str_htmlSpecialChars($hometel); $message=$message."
Work Telephone : ".str_htmlSpecialChars($worktel); $message=$message."
Mobile Telephone : ".str_htmlSpecialChars($mobiletel); $message=$message."
Comments :
".nl2br(str_htmlSpecialChars($comments)); $message .= "

How did you hear about us : ".str_htmlSpecialChars($hearaboutus); if ($SpecifySource!="" && $hearaboutus=="other") { $message .= "

Source: ".str_htmlSpecialChars($SpecifySource); } $message .= "

Script ID: CLP4"; //$message=$message."

Last URL : ".$_SERVER['HTTP_REFERER'] . ""; // $message=$message."
IP Address : ".$_SERVER["REMOTE_ADDR"]; $subject="RE : ".$name." ".$lname." : General Enquiry"; if($_POST['fr']=='investmentproperty') { $subject=$name." ".$lname." : Investment Property"; } if (mail($tomail,$subject,$message,"From: ".$name." ".$lname."<".$email.">\nReturn-Path:".$email."\nContent-Type: text/html; charset=iso-8859-1") && mail($tomail1,$subject,$message,"From: ".$name." ".$lname."<".$email.">\nReturn-Path:".$email."\nContent-Type: text/html; charset=iso-8859-1")) $msuccess="Yes"; else $msuccess="No"; } else { $msuccess="security"; } } include "includes/keywords.php"; ?>
'; } if($_POST['fr'] == 'investmentproperty') { echo ''; } ?>
CONTACT US

Our representative will respond within 48 hours of any working day.

If you have not already signed up for our Newsletter and Property Updates, please take this opportunity to do so by clicking on the link - Newsletter sign-up.

Make sure you specify which countries you are interested in and we will email you as soon as new properties come onto the market in those countries.



Error sending mail.


Wrong security code typed. Try again.


toptextcontent; else $content=""; if($_GET['fr'] != 'investmentproperty' && $_POST['fr'] != 'investmentproperty') { echo $content; } ?>
Christian/First Name :