0) { if ( hasLetters($field['bene1_FirstName'],1) == false) { $errField .= ",bene1_FirstName"; $errName .= ",Beneficiary 1 First Name"; $errTab_addl = true; } if ( hasLetters($field['bene1_LastName'],1) == false) { $errField .= ",bene1_LastName"; $errName .= ",Beneficiary 1 Last Name"; $errTab_addl = true; } if ( hasLetters($field['bene1_Address'],4) == false) { $errField .= ",bene1_Address"; $errName .= ",Beneficiary 1 Mailing Address"; $errTab_addl = true; } if ( hasLetters($field['bene1_City'],4) == false) { $errField .= ",bene1_City"; $errName .= ",Beneficiary 1 Mailing City"; $errTab_addl = true; } if ( hasLetters($field['bene1_State'],2) == false) { $errField .= ",bene1_State"; $errName .= ",Beneficiary 1 Mailing State"; $errTab_addl = true; } if ( hasNumbers($field['bene1_Zip'],4) == false) { $errField .= ",bene1_Zip"; $errName .= ",Beneficiary 1 Mailing Zip"; $errTab_addl = true; } // if ( ( hasNumbers($field['bene1_Phone1'],3) == false) || ( hasNumbers($field['bene1_Phone2'],3) == false) || ( hasNumbers($field['bene1_Phone3'],4) == false)) { $errField .= ",bene1_Phone"; $errName .= ",Beneficiary 1 Phone"; $errTab_addl = true; } } if ($field['beneficiaryCount'] > 1) { if ( hasLetters($field['bene2_FirstName'],1) == false) { $errField .= ",bene2_FirstName"; $errName .= ",Beneficiary 2 First Name"; $errTab_addl = true; } if ( hasLetters($field['bene2_LastName'],1) == false) { $errField .= ",bene2_LastName"; $errName .= ",Beneficiary 2 Last Name"; $errTab_addl = true; } if ( hasLetters($field['bene2_Address'],4) == false) { $errField .= ",bene2_Address"; $errName .= ",Beneficiary 2 Mailing Address"; $errTab_addl = true; } if ( hasLetters($field['bene2_City'],4) == false) { $errField .= ",bene2_City"; $errName .= ",Beneficiary 2 Mailing City"; $errTab_addl = true; } if ( hasLetters($field['bene2_State'],2) == false) { $errField .= ",bene2_State"; $errName .= ",Beneficiary 2 Mailing State"; $errTab_addl = true; } if ( hasNumbers($field['bene2_Zip'],4) == false) { $errField .= ",bene2_Zip"; $errName .= ",Beneficiary 2 Mailing Zip"; $errTab_addl = true; } // if ( ( hasNumbers($field['bene2_Phone1'],3) == false) || ( hasNumbers($field['bene2_Phone2'],3) == false) || ( hasNumbers($field['bene2_Phone3'],4) == false)) { $errField .= ",bene2_Phone"; $errName .= ",Beneficiary 2 Phone"; $errTab_addl = true; } } if ($field['jointPresent'] == "Y") { if ( hasLetters($field['joint_FirstName'],1) == false) { $errField .= ",joint_FirstName"; $errName .= ",Joint App. First Name"; $errTab_addl = true; } if ( hasLetters($field['joint_LastName'],1) == false) { $errField .= ",joint_LastName"; $errName .= ",Joint App. Last Name"; $errTab_addl = true; } if ( hasLetters($field['joint_Address'],4) == false) { $errField .= ",joint_Address"; $errName .= ",Joint App. Mailing Address"; $errTab_addl = true; } if ( hasLetters($field['joint_City'],4) == false) { $errField .= ",joint_City"; $errName .= ",Joint App. Mailing City"; $errTab_addl = true; } if ( hasLetters($field['joint_State'],2) == false) { $errField .= ",joint_State"; $errName .= ",Joint App. Mailing State"; $errTab_addl = true; } if ( hasNumbers($field['joint_Zip'],4) == false) { $errField .= ",joint_Zip"; $errName .= ",Joint App. Mailing Zip"; $errTab_addl = true; } if ( ( hasNumbers($field['joint_Phone1'],3) == false) || ( hasNumbers($field['joint_Phone2'],3) == false) || ( hasNumbers($field['joint_Phone3'],4) == false)) { $errField .= ",joint_Phone"; $errName .= ",Joint App. Phone"; $errTab_addl = true; } if ( ( hasNumbers($field['joint_SS1'],3) == false) || ( hasNumbers($field['joint_SS2'],2) == false) || ( hasNumbers($field['joint_SS3'],4) == false)) { $errField .= ",joint_SSN"; $errName .= ",Joint App. Social Security Number"; $errTab_addl = true; } if ( hasLetters($field['joint_emp_occupation'],4) == false) { $errField .= ",joint_emp_occupation"; $errName .= ",Employment Occupation"; $errTab_addl = true; } if ( hasLetters($field['joint_emp_name'],3) == false) { $errField .= ",joint_emp_name"; $errName .= ",Employer / Company Name"; $errTab_addl = true; } if ( hasLetters($field['joint_emp_address'],4) == false) { $errField .= ",joint_emp_address"; $errName .= ",Employer Address"; $errTab_addl = true; } if ( hasLetters($field['joint_emp_city'],4) == false) { $errField .= ",joint_emp_city"; $errName .= ",Employer City"; $errTab_addl = true; } if ( hasLetters($field['joint_emp_state'],2) == false) { $errField .= ",joint_emp_state"; $errName .= ",Employer State"; $errTab_addl = true; } if ( hasNumbers($field['joint_emp_zip'],4) == false) { $errField .= ",joint_emp_zip"; $errName .= ",Employer Zip"; $errTab_addl = true; } if ( ( hasNumbers($field['joint_emp_phone1'],3) == false) || ( hasNumbers($field['joint_emp_phone2'],3) == false) || ( hasNumbers($field['joint_emp_phone3'],4) == false)) { $errField .= ",joint_emp_phone"; $errName .= ",Employer Phone"; $errTab_addl = true; } } if ($field['eStatement_eSignDisclosure'] == "") { $errField .= ",services"; $errName .= ",eStatement & eSign Disclosure"; $errTab_acct = true; } // if ( ($field['serv_13moCD'] == "") && ($field['serv_Christmas_Club'] == "") && ($field['serv_Interest_Checking'] == "") ) { $errField .= ",services"; $errName .= ",Select an Accout / Service"; $errTab_acct = true; } if ( ($field['serv_NetChecking'] == "") && ($field['serv_FreeChecking'] == "") && ($field['serv_Interest_Checking'] == "") ) { $errField .= ",services"; $errName .= ",Select an Accout / Service"; $errTab_acct = true; } if ($field['funding_source'] == "") { $errField .= ",funding_source"; $errName .= ",Funding Source"; $errTab_funding = true; } if ($field['funding_source'] == "transfer") { if ( hasNumbers($field['transfer_routingno'],6) == false) { $errField .= ",transfer_routingno"; $errName .= ",Routing Number"; $errTab_funding = true; } if ( hasLetters($field['transfer_name'],6) == false) { $errField .= ",transfer_name"; $errName .= ",Instution Name"; $errTab_funding = true; } if ( hasNumbers($field['transfer_acctno'],6) == false) { $errField .= ",transfer_acctno"; $errName .= ",Funding Acct. Number"; $errTab_funding = true; } if ( hasLetters($field['transfer_nameonacct'],6) == false) { $errField .= ",transfer_nameonacct"; $errName .= ",Name on Funding Acct."; $errTab_funding = true; } if ( hasNumbers($field['transfer_amount'],3) == false) { $errField .= ",transfer_amount"; $errName .= ",Transfer Amount"; $errTab_funding = true; } if ( hasNumbers($field['transfer_amount'],3) == true) { if (($field['transfer_amount'] < 100) || ($field['transfer_amount'] > 500)) { $errField .= ",transfer_amount"; $errName .= ",Transfer Amount ($100 - $500)"; $errTab_funding = true; } } if ($field['ACH_Authorization'] == "") { $errField .= ",ACH_Authorization"; $errName .= ",ACH Authorization (Fund Transfer)"; $errTab_funding = true; } } if ($field['funding_source'] == "cc") { if ( hasLetters($field['fund_card_name'],6) == false) { $errField .= ",fund_card_name"; $errName .= ",Card Name"; $errTab_funding = true; } if ( hasNumbers($field['fund_card_no'],16) == false) { $errField .= ",fund_card_no"; $errName .= ",Card Number"; $errTab_funding = true; } if ( hasNumbers($field['fund_card_exp_mo'],2) == false) { $errField .= ",fund_card_date"; $errName .= ",Card Exp. Month"; $errTab_funding = true; } if ( hasNumbers($field['fund_card_exp_yr'],2) == false) { $errField .= ",fund_card_date"; $errName .= ",Card Exp. Year"; $errTab_funding = true; } if ( hasNumbers($field['fund_card_amount'],3) == false) { $errField .= ",fund_card_amount"; $errName .= ",Fund Card Amount"; $errTab_funding = true; } if ( hasNumbers($field['fund_card_amount'],3) == true) { if (($field['fund_card_amount'] < 100) || ($field['fund_card_amount'] > 500)) { $errField .= ",fund_card_amount"; $errName .= ",Fund Card Amount ($100 - $500)"; $errTab_funding = true; } } } if ($field['funding_source'] == "db") { if ( hasLetters($field['fund_db_name'],6) == false) { $errField .= ",fund_db_name"; $errName .= ",Debit Card Name"; $errTab_funding = true; } if ( hasNumbers($field['fund_db_no'],16) == false) { $errField .= ",fund_db_no"; $errName .= ",Debit Card Number"; $errTab_funding = true; } if ( hasNumbers($field['fund_db_exp_mo'],2) == false) { $errField .= ",fund_db_date"; $errName .= ",Debit Card Exp. Month"; $errTab_funding = true; } if ( hasNumbers($field['fund_db_exp_yr'],2) == false) { $errField .= ",fund_db_date"; $errName .= ",Debit Card Exp. Year"; $errTab_funding = true; } if ( hasNumbers($field['fund_db_amount'],3) == false) { $errField .= ",fund_db_amount"; $errName .= ",Debit Card Amount"; $errTab_funding = true; } if ( hasNumbers($field['fund_db_amount'],3) == true) { if (($field['fund_db_amount'] < 100) || ($field['fund_db_amount'] > 500)) { $errField .= ",fund_db_amount"; $errName .= ",Debit Card Amount ($100 - $500)"; $errTab_funding = true; } } } if(empty($_SESSION['captcha_code'] ) || strcasecmp($_SESSION['captcha_code'], $_POST['captcha_code']) != 0) { // Note: the captcha code is compared case insensitively. if you want case sensitive match, update the check above to strcmp() $errField .= ",captcha_code"; $errName .= ",Captcha Code is wrong (at bottom of form by Submit button)"; $errTab_captcha = true; // $errors .= "\n The captcha code does not match!"; } // prepare all fields for writing to db foreach($field as $var => $value) { $field[$var] = mysql_real_escape_string($field[$var]); } if ($errField == "") { $sql1 = " INSERT INTO onlineapps_personal ( terms_agree, fk_f_rando, ExistingCustomer, FirstName, MidName, LastName, suffix, dob, SSN1, SSN2, ResZip, email, photoId, idNumber, issueDate, expiryDate, issueState, motherName, backupWithheld, address1, address2, zipcode1, city, atThisAddressYrs, prevAddress, prevCity, prevState, prevZip, mailingSameCurrent, mailAddress, mailCity, mailState, mailZip, homePhone, cellPhone, workPhone, ext, employmentType, emp_occupation, emp_name, emp_address, emp_city, emp_state, emp_zip, emp_phone, joint_FirstName, joint_LastName, joint_Address, joint_City, joint_State, joint_Zip, joint_Phone, joint_SSN1, joint_SSN2, joint_employmentType, joint_emp_occupation, joint_emp_name, joint_emp_address, joint_emp_city, joint_emp_state, joint_emp_zip, joint_emp_phone, bene1_FirstName, bene1_LastName, bene1_Address, bene1_City, bene1_State, bene1_Zip, bene1_Phone, bene2_FirstName, bene2_LastName, bene2_Address, bene2_City, bene2_State, bene2_Zip, bene2_Phone, whereDidULearn, beneficiaryCount, promoCode, eStatement_eSignDisclosure, jointPresent, serv_NetChecking, servDetail_NetChecking, serv_FreeChecking, servDetail_FreeChecking, serv_Interest_Checking, servDetail_intChkg, ACH_Authorization, preferred_contact_time, preferred_contact_number ) VALUES ( '$field[terms_agree]', '$fk_rando', '$field[ExistingCustomer]', '$field[FirstName]', '$field[MidName]', '$field[LastName]', '$field[suffix]', '$field[dob]', '$field[SSN1]', '$field[SSN2]', '$field[ResZip]', '$field[email]', '$field[photoId]', '$field[idNumber]', '$field[issueDate]', '$field[expiryDate]', '$field[issueState]', '$field[motherName]', '$field[backupWithheld]', '$field[address1]', '$field[address2]', '$field[zipcode1]', '$field[city]', '$field[atThisAddressYrs]', '$field[prevAddress]', '$field[prevCity]', '$field[prevState]', '$field[prevZip]', '$field[mailingSameCurrent]', '$field[mailAddress]', '$field[mailCity]', '$field[mailState]', '$field[mailZip]', '$field[homePhone]', '$field[cellPhone]', '$field[workPhone]', '$field[ext]', '$field[employmentType]', '$field[emp_occupation]', '$field[emp_name]', '$field[emp_address]', '$field[emp_city]', '$field[emp_state]', '$field[emp_zip]', '$field[emp_phone]', '$field[joint_FirstName]', '$field[joint_LastName]', '$field[joint_Address]', '$field[joint_City]', '$field[joint_State]', '$field[joint_Zip]', '$field[joint_Phone]', '$field[joint_SSN1]', '$field[joint_SSN2]', '$field[joint_employmentType]', '$field[joint_emp_occupation]', '$field[joint_emp_name]', '$field[joint_emp_address]', '$field[joint_emp_city]', '$field[joint_emp_state]', '$field[joint_emp_zip]', '$field[joint_emp_phone]', '$field[bene1_FirstName]', '$field[bene1_LastName]', '$field[bene1_Address]', '$field[bene1_City]', '$field[bene1_State]', '$field[bene1_Zip]', '$field[bene1_Phone]', '$field[bene2_FirstName]', '$field[bene2_LastName]', '$field[bene2_Address]', '$field[bene2_City]', '$field[bene2_State]', '$field[bene2_Zip]', '$field[bene2_Phone]', '$field[whereDidULearn]', '$field[beneficiaryCount]', '$field[promoCode]', '$field[eStatement_eSignDisclosure]', '$field[jointPresent]', '$field[serv_NetChecking]', '$field[servDetail_NetChecking]', '$field[serv_FreeChecking]', '$field[servDetail_FreeChecking]', '$field[serv_Interest_Checking]', '$field[servDetail_intChkg]', '$field[ACH_Authorization]', '$field[preferred_contact_time]', '$field[preferred_contact_number]' ) "; $query = sqlQuery($sql1); $sql2 = " INSERT INTO onlineapps_funding ( fk_p_rando, funding_source, transfer_acct_type, transfer_routingno, transfer_name, transfer_acctno, transfer_nameonacct, transfer_amount, transDate, fund_card, fund_card_name, fund_cc_no, fund_card_ccv, fund_card_exp_mo, fund_card_exp_yr, fund_card_amount, fund_db, fund_db_name, fund_db_no, fund_db_exp_mo, fund_db_exp_yr, fund_db_amount ) VALUES ( '$fk_rando', '$field[funding_source]', '$field[transfer_acct_type]', '$field[transfer_routingno_E]', '$field[transfer_name]', '$field[transfer_acctno_E]', '$field[transfer_nameonacct]', '$field[transfer_amount]', '$field[transDate]', '$field[fund_card]', '$field[fund_card_name]', '$field[fund_card_no_E]', '', '$field[fund_card_exp_mo]', '$field[fund_card_exp_yr]', '$field[fund_card_amount]', '$field[fund_db]', '$field[fund_db_name]', '$field[fund_db_no_E]', '$field[fund_db_exp_mo]', '$field[fund_db_exp_yr]', '$field[fund_db_amount]' ) "; $query = sqlQuery($sql2); // email notification $headers = 'From: info@firstfreedombank.com' . "\r\n" . 'Reply-To: info@firstfreedombank.com' . "\r\n" ; $message = "The FFB Online Application has been completed. Go here to view latest online applications: https://secure.icglink.com/icglink/cms/files/2758/app_admin/ "; mail('jbradshaw@firstfreedombank.com,ljohnson@firstfreedombank.com', 'First Freedom Bank Online Application', $message, $headers); // mail('dave@icglink.com', 'First Freedom Bank Online Application', $message, $headers); go('thanks.php'); } // if no errors // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- } ?> Select... '; } */ ?>

Please provide valid information for the following:\n
    \n"; foreach($errNames as $Ename) { if ($Ename != "") { echo "
  • ".$Ename."
  • \n"; } } echo "

"; // output some css classes for those error items $cssErr = ""; echo "\n\n"; } ?>

DISCLOSURE

Please carefully read the following Electronic Communication and eSignature Disclosure and acknowledge by checking the box below. If you do not wish to conduct business with us or receive electronic communications from us, you may apply for your account in person at any of our Financial Center locations.

*/ ?>
* = required field

Thank you for choosing First Freedom Bank.

We welcome all residents of Tennessee to apply.

You can feel safe inputting your data on our pages. Keeping your personal information secure is a top priority at First Freedom Bank. We have significant safeguards in place including industry standard data encryption, antivirus/antispam, and we continuously monitor and implement technological and procedural improvements to increase data security.

This application process should take approximately 10 minutes. You will need the following items:

  • Any one of Driver's License, Passport, Military ID, State ID
  • U.S. Social Security Number
  • U.S. Citizenship
  • External account information if funding from an external account

For your security, the system will log you off if there is no activity for 15 minutes.

Thank you for visiting First Freedom Bank online. We look forward to helping you meet all your financial goals.

Important Information About Procedures for Opening a New Account
To help the government fight the funding of terrorism and money laundering activities, Federal law requires all financial institutions to obtain, verify and record information that identifies each person who opens an account.

What This Means to You:
When you open a new account, we will ask for your name, address, date of birth and other information that will allow us to identify you. We may also ask to see your driver's license or other identifying documents.

PERSONAL & IDENTITY INFORMATION