---Choose---"; $allStates = getStatePairs(); $stateList = $blankSelect; while($thisState = mysql_fetch_assoc($allStates)){ $stateList .= "\n"; } require_once('create_us.html'); } if($how_called == "POST"){ if($_POST['passOne'] == $_POST['passTwo']){ $_POST['firmPhone'] = $_POST['phoneAC'].".".$_POST['phonePre'].".".$_POST['phoneSuf']; $_POST['firmFAX'] = $_POST['faxAC'].".".$_POST['faxPre'].".".$_POST['faxSuf']; $_POST['acctPass'] = $_POST['passOne']; $_POST['acctType'] = "Sub"; $insAddDB = new thisDBIU; $insAddDB->Connect(); //Add user to subAccount if(!$insAddDB->AddToDB("subAccount")) die($insAddDB->GetError()); optimizeTable("subAccount"); $_POST['acctUser'] = $subAcctPrefix.$_SESSION['insertID']; $_POST['acctFirstName'] = $_POST['primaryFirst']; $_POST['acctLastName'] = $_POST['primaryLast']; $_POST['acctEmail'] = $_POST['primaryEmail']; $_POST['acctEmail2'] = $_POST['secondaryEmail']; $_POST['acctType'] = 'Sub'; $_POST['acctActive'] = 'Y'; $_POST['subID'] = $_SESSION['insertID']; if(!$insAddDB->AddToDB("accountList")) die($insAddDB->GetError()); $insAddDB->Disconnect(); optimizeTable("accountList"); $pageTitle = "Success! Your account has been created!"; $errorHead = $pageTitle; $emailList = $_POST['acctEmail']; if($_POST['acctEmail2'] != '' || isset($_POST['acctEmail2'])) $emailList .= ",".$_POST['acctEmail2']; $errorDesc = "

Your username is: ".$subAcctPrefix.$_POST['subID']."

Your password is: ".$_POST['passTwo']."

PLEASE MAKE A NOTE OF BOTH OF THEM RIGHT NOW.

A confirmation email has been sent to the following address(es): ".$emailList.". This email will contain your username for the site. IT IS FOR YOUR RECORDS ONLY, YOU DON'T ACTUALLY NEED TO SEE THE CONFIRMATION EMAIL TO BEGIN SUBMITTING YOUR ENTRIES. Your username and password are above, you can use them right now to begin the process! The confirmation email message will come from accounts@faithandformawards.com. If you do not receive this email, check your spam folder. To ensure that this message will get through, add 'accounts@faithandformawards.com' to your spam whitelist. Again, your account number and password are above, in big red characters. Please make a note of them now. Or copy them here and paste them into a document. Or take a screen capture of this page.

NOTE: YOU DO NOT ACTUALLY NEED TO SEE THE CONFIRMATION EMAIL IN ORDER TO BEGIN YOUR SUBMISSION. IT IS FOR YOUR RECORDS ONLY. YOU'VE JUST CHOSEN YOUR PASSWORD, AND BOTH THAT PASSWORD AND YOUR USERNAME ARE DISPLAYED ABOVE IN LARGE RED CHARACTERS. THEY ARE ALL YOU NEED IN ORDER TO LOG IN AND BEGIN THE SUBMISSION PROCESS.

Also note: by far the most common reason the submission process fails is that the user has not kept all of their files below the 2MB per file limit. Please be absolutely sure you've reduced your images as necessary before you try to upload them.

REGARDING YOUR RECEIPT

Our system WILL NOT send you a receipt – you will get receive a receipt directly from PayPal, as they handle the financial transaction. If you don't see your receipt, please check your spam filter. WE CANNOT SEND YOU A RECEIPT, as we do not have the transaction details to generate one. All we get from PayPal is confirmation that you've successfully made a payment.

"; require_once('accountMailScript.php'); } else { $errorList = ""; if($_POST['passOne'] != $_POST['passTwo']) $errorList .= "   The two passwords you entered did not match.
"; $pageTitle = "Error - Attention Required"; $errorHead = $pageTitle; $errorDesc = "

The following error(s) occurred:
".$errorList."Click here to go back and correct the problem.

"; } $_SESSION['leftBar'] = "loginWidget.html"; require_once('errorShell.html'); } ?>