location.href='contact-us.php?err';"; exit; } else { $secretKey = $captchasecretkey; $ip = $_SERVER['REMOTE_ADDR']; $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$secretKey."&response=".$captcha."&remoteip=".$ip); $responseKeys = json_decode($response,true); if(intval($responseKeys["success"]) !== 1) { header("location:contact-us.php?mismatch"); echo ""; exit; } */ //else { $name = addslashes($name); $mail = addslashes($mail); $mnumber = addslashes($mnumber); $sub = addslashes($sub); $message = addslashes($message); $set="fb_name='$name'"; $set.=",fb_fromemail='$mail'"; $set.=",fb_mobile='$mnumber'"; $set.=",fb_subject='$sub'"; $set.=",fb_message='$message'"; $set.=",fb_ip='$ip'"; $set.=",fb_date='$current_date'"; $db->insertrec("insert into mlm_feedback set $set"); $msg="
 
Enquiry Details from ".$website_name."
Dear $name,
Your enquiry has been sent successfully, Concern person will contact you soon.
Regards,
".$website_name."
 
© Copyright " .date("Y")." "."".$website_name."."."
"; $res1 = $com_obj->email($website_admin,$mail,"Enquiry submission",$msg); $msg1="
 
Enquiry Details from ".$website_name."
Name : $name
Email : $mail
Subject : $sub
Message : $message
Click Here
Regards,
".$website_name."
 
© Copyright " .date("Y")." "."".$website_name."."."
"; $res2 = $com_obj->email($website_admin,$website_admin,"User Enquiry submission from $website_title",$msg1); if($res1 && $res2) { echo ""; header("location:contact-us.php?add"); } else { echo ""; header("location:contact-us.php?fail"); } //} } //} ?>

Leave Your Message

Please Check the Captcha!!!
Captcha Mismatch!!!
Your Enquiry submitted successfully!!!
There is some error. Try again later.!!!