error_reporting(E_ERROR | E_WARNING | E_PARSE);
$STATES_ARRAY = array(
"Alabama" => "Alabama",
"Alaska" => "Alaska",
"Arizona" => "Arizona",
"Arkansas" => "Arkansas",
"California" => "California",
"Colorado" => "Colorado",
"Connecticut" => "Connecticut",
"Washington D.C." => "Washington D.C.",
"Delaware" => "Delaware",
"Florida" => "Florida",
"Georgia" => "Georgia",
"Hawaii" => "Hawaii",
"Idaho" => "Idaho",
"Illinois" => "Illinois",
"Indiana" => "Indiana",
"Iowa" => "Iowa",
"Kansas" => "Kansas",
"Kentucky" => "Kentucky",
"Louisiana" => "Louisiana",
"Maine" => "Maine",
"Maryland" => "Maryland",
"Massachusetts" => "Massachusetts",
"Michigan" => "Michigan",
"Minnesota" => "Minnesota",
"Mississippi" => "Mississippi",
"Missouri" => "Missouri",
"Montana" => "Montana",
"Nebraska" => "Nebraska",
"Nevada" => "Nevada",
"New Hampshire" => "New Hampshire",
"New Jersey" => "New Jersey",
"New Mexico" => "New Mexico",
"New York" => "New York",
"North Carolina" => "North Carolina",
"North Dakota" => "North Dakota",
"Ohio" => "Ohio",
"Oklahoma" => "Oklahoma",
"Oregon" => "Oregon",
"Pennsylvania" => "Pennsylvania",
"Puerto Rico" => "Puerto Rico",
"Rhode Island" => "Rhode Island",
"South Carolina" => "South Carolina",
"South Dakota" => "South Dakota",
"Tennessee" => "Tennessee",
"Texas" => "Texas",
"Utah" => "Utah",
"Vermont" => "Vermont",
"Virginia" => "Virginia",
"Washington" => "Washington",
"West Virginia" => "West Virginia",
"Wisconsin" => "Wisconsin",
"Wyoming" => "Wyoming");
$FOUND_ARRAY = array( "Online Search " => "Online Search ",
"Advertisement" => "Advertisement",
"Friend/Co-Worker",
"Friend/Co-Worker" => "Studio Imagen Client",
"Web Site Link" => "Web Site Link",
"Flyer" => "Flyer",
"Banner Ad" => "Banner Ad",
"Direct Mail" => "Direct Mail",
"Auction" => "Auction");
$error_array = array();
$ADMIN_EMAIL_ADDRESS = "mdibattista@all-starsecurity.com";
$FIELDS = array( "first_from" => array( "printable" => "First Name",
"required" => 1),
"last_from" => array( "printable" => "Last Name",
"required" => 0),
"address" => array( "printable" => "Last Name",
"required" => 0),
"city" => array( "printable" => "City",
"required" => 0),
"state" => array( "printable" => "State",
"required" => 1),
"zip" => array( "printable" => "Zip",
"required" => 0),
"phone_from" => array( "printable" => "Phone Number",
"required" => 0),
"email" => array( "printable" => "Email Address",
"required" => 1),
"website" => array( "printable" => "Website",
"required" => 0),
"how_did_you_hear" => array( "printable" => "How did you hear about All-Star?",
"required" => 1),
"how_did_details" => array( "printable" => "How did you hear... (details)",
"required" => 0),
"interested_in" => array( "printable" => "Interested In",
"required" => 1),
"comments" => array( "printable" => "Comments/Questions",
"required" => 0));
// If someone submitted the form,
// review the data, flag any errors, and form the email.
if($_POST['contractor_form_submit'] || $_POST['contractor_form_submit_x'])
{
// echo '
';
// print_r($_POST);
// echo ' ';
// Form the email
$referral_email = "The following contact us submission just came in:\n\n";
foreach($_POST['referral_contact'] as $rkey => $rval)
{
if($FIELDS[$rkey]['required'] && !$_POST['referral_contact'][$rkey])
$error_array[] = $FIELDS[$rkey]['printable']. ' is a required field.';
$referral_email_body .= $FIELDS[$rkey]['printable']. ": $rval\n";
}
$referral_email .= $referral_email_body;
}
?>
All Star Security Home Security
All
Star Clients
Other Info
Free Home Evaluation
False Alarm Prevention
Upgrade Your Services
FAQ
Existing Systems
ALREADY HAVE A SECURITY SYSTEM?
How did you hear about us? Have an alarm system in your home that isnt being monitored? We can help!
If you are not currently under contract and not receiving monitoring services for your alarm, All-Star can arrange for simple activation of your existing system . .
See
our Online Brochure!
Information is knowledge and
understanding is the key to making right choice
when it comes to your security company!
Read Now >>