include_once('inc/configure.php'); //include_once("inc/functions/general.functions.php"); //session_start(); if($_GET['pageid']=="inquiry") { //NUCaptch Code//////////////////////////////////////////// require("inc/php/leapmarketingclient.php"); Leap::SetClientKey("LEAP|0|4|TYPE|9|CLIENTKEY|CID|5|11169|KID|5|11103|SKEY|32|Y2o3eXVZMUo0SlFYN0FrM1JhV1Z6Zyws"); $transaction_status = "New Transaction"; $player_output = ""; $t = Leap::InitializeTransaction(); $_SESSION['leap'] = $t->GetPersistentData(); $player_output = $t->GetWidget(); } if($_POST['subInq']==1) { $dbdata['FullName']=$_POST['FullName']; $dbdata['Gender']=$_POST['Gender']; $dbdata['Email']=$_POST['Email']; $dbdata['Address']=$_POST['Address']; $dbdata['State']=$_POST['State']; $dbdata['Country']=$_POST['Country']; $dbdata['ContactNo']=$_POST['ContactNo']; $dbdata['Feedback']=$_POST['Feedback']; if(true === array_key_exists('leap', $_SESSION) && true === Leap::WasSubmitted()) { $subject="Inquiry/Feedback From Website"; $EmailContent="
Following is the information of visitor:
Full Name: ".$dbdata['FullName']."
Gender: ".$dbdata['Gender']."
Email: ".$dbdata['Email']."
Address: ".$dbdata['Address']."
State: ".$dbdata['State']."
Country: ".$dbdata['Country']."
Contact No.: ".$dbdata['ContactNo']."
Inquiry/Feedback: ".$dbdata['Feedback']."
"; SendHTMLMail1('inquiry@rawtechindustries.com',$subject,$EmailContent,$dbdata['Email']); header("location:thankyou.html"); /* // validate the transaction $valid = Leap::ValidateTransaction($_SESSION['leap']); // check the result if (true === $valid) { // We have a valid captcha //print_r($dbdata); $subject="Inquiry/Feedback From Website"; $EmailContent="Following is the information of visitor:
Full Name: ".$dbdata['FullName']."
Gender: ".$dbdata['Gender']."
Email: ".$dbdata['Email']."
Address: ".$dbdata['Address']."
State: ".$dbdata['State']."
Country: ".$dbdata['Country']."
Contact No.: ".$dbdata['ContactNo']."
Inquiry/Feedback: ".$dbdata['Feedback']."
"; SendHTMLMail1('hiren.joshi@hotmail.com','$subject',$EmailContent,$dbdata['Email']); header("location:thankyou.html"); } else { $msg = 'Invalid Security Code!'; } */ } } if($_GET['pageid']=="") $_GET['pageid']="index"; if($_GET['pageid']) { $seftitle=$_GET['pageid'].".html"; $pageinfo=$pageObj->getpageinfo_sef($seftitle); $titletag=$pageinfo['htmltitle']; $metadesc=$pageinfo['metadesc']; $metakeyword=$pageinfo['metakeyword']; } if($_GET['pageid']=="contactus") $titletag="Contact Us: Raw Tech Engineers, Rajkot, Gujarat"; elseif($_GET['pageid']=="inquiry") $titletag="Inquiry: Raw Tech Engineers, Rajkot, Gujarat"; ?>