0) $MM_referrer .= "?" . $_SERVER['QUERY_STRING']; $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer); header("Location: ". $MM_restrictGoTo); exit; } $query_rsUser = "SELECT user_id, user_email, user_first FROM user_data WHERE user_email = '".$findUser."'"; $r_User = mysqli_query($mlsMain, $query_rsUser); $row_rsUser = mysqli_fetch_array($r_User, MYSQLI_ASSOC); $totalRows_rsUser = mysqli_num_rows($r_User); $getUserId = $row_rsUser['user_id']; $getUserEmail = $row_rsUser['user_email']; $getUserFirst = $row_rsUser['user_first']; $getShow = $_GET['show']; $grabName = $_POST['Contact_Name']; $grabEmail = $_POST['Contact_Email']; $grabDate = $_POST['datepicker']; $grabMessage = $_POST['Contact_Message']; $public_key = "6LdQAbMZAAAAAKvWhXM5pHRo6kcZB2mdXUV2z1BY"; $private_key = "6LdQAbMZAAAAAKzNa8t0JHjA-kQH9x25yr4ju0YK"; $url = "https://www.google.com/recaptcha/api/siteverify"; $captchaWarning = ""; if (array_key_exists('submit',$_POST)) { $response_key = $_POST['g-recaptcha-response']; $response = file_get_contents($url.'?secret='.$private_key.'&response='.$response_key.'&remoteip='.$_SERVER['REMOTE_ADDR']); $response = json_decode($response); if($response->success == 1) { $to = "info@solituderealty.com"; $subject = "Contact Webform"; if ($getShow == "schedule") { $contactType = "

Showing Request For ".$grabDate."

"; } if ($getShow == "request") { $contactType = "

More Info Request

"; } $body = "Someone has used the Contact form on the website.

$contactType
Client Name: $getUserFirst
Return Email: $getUserEmail

$grabMessage

"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=utf-8\r\n"; $headers .= "From: Solitude Website <" . $getUserEmail . ">\r\n"; mail($to, $subject, $body, $headers); $_SERVER['QUERY_STRING'] = ""; $insertGoTo = "request.php?show=ty"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } else { $captchaWarning = "You Must Use The reCAPTCHA system below the form"; } } ?> Solitude Lake Tahoe Real Estate Brokerage | Find Your Solitude




Contact Us


Call Us:
1-530-318-0411


Email Us:
info@SolitudeRealty.com


Click Here To Send Email



Your Request Has Been Sent

Thank You








"; } else { ?>

Schedule A Showing Of Your Saved Homes







Select The Date You're Available




Request More Information On Your Saved Homes