"".$_POST['amount']."", "rp--Please enter purpose of loan" => "".$_POST['purpose']."","rp-2-Please enter your first name" => "".$_POST['firstName']."", "rp-2-Please enter your last name" => "".$_POST['lastName']."","rp--Please enter your address" => "".$_POST['address']."", "rp--Please Enter Mobile Phone" => "".$_POST['phone']."", "rp--Please Enter Home Phone" => "".$_POST['phone']."","p-4-Please enter valid email-ID" => "".$_POST['email']."", "rp--Please select how you hear about us" => "".$_POST['hearus']."" ), $validation_ans_arr); if($_POST[spoken]=="Y" && $_POST[agentName]==""){ $form_check_alert.="
  • Please Enter Agent Name
  • "; } if(!strlen($form_check_alert)>0){ checkHTTPREFERER(); $ipTrack=$_SERVER['REMOTE_ADDR']; mysql_query("insert into main_enquiry set firstName='$firstName',lastName='$lastName',email='$email',address='$address',status='Y',recv_date=now(),ipTrack='$ipTrack',phone ='$phone',phoneHome='$phoneHome',fax='$fax',purpose='$purpose',amount='$amount',incomeType='$incomeType',annualIncome='$annualIncome',hearus='$hearus',cfirstName='$cfirstName',clastName='$clastName',cincomeType='$cincomeType',cannualIncome='$cannualIncome',agentName='$agentName'"); $eID=mysql_insert_id(); ############# Send Email ########################## $mess=view_main_enquiry($eID); $ContactPerson=$firstName." ".$lastName; $admineMail=getAdminemail(); $subject="Enquiry"; sent_mail($ContactPerson,$email,$admineMail,$subject,$mess); sent_mail($ContactPerson,$email,"raj_monga@centum.ca",$subject,$mess); ############################################ $_SESSION['message']=" *** Your Enquiry has been received. We will get back to you soon. "; header("Location: ".SITE_WS_PATH."/enquiry.htm"); exit; } if($form_check_alert!=""){ $msg=html_head(); $msg.=$form_check_alert; $msg.=html_foot(); } } echo mainHeader("Get in Touch"); ?>
    Loan information
    Amount Requested:
    Purpose of Loan:
    Applicant Personal Information
    First Name:
    Last Name:
    Address:
    Home Phone:
    Mobile Phone:
    Fax
    Email
    Type of Income
    Total Annual Income
    How did you hear about us
    Co - Applicant Personal Informaition
    First Name :
    Last Name :
    Type of Income :
    Total Annual Income
    Have you spoken with one of our Morgage Agents already ?   /> If Yes Click on the check box
    Agent's Name :