\n"; //if (empty($_POST['contact_name']) || strlen($_POST['contact_name'])>50) $error_name = TRUE; //if (!empty($_POST['contact_email']) && (strlen($_POST['contact_email']) < 6 || strlen($_POST['contact_email']) > 100)) $error_eml = TRUE; //else if ((strpos($_POST['contact_email'], "@")===false) || (strpos($_POST['contact_email'], ".")===false)) $error_eml = TRUE; if (!array_key_exists($_POST["contact_subject"], $contacts)) $error_subj = TRUE; else $email_to = $contacts[$_POST["contact_subject"]]; //compile all errors to be easier to check.// if($error_subj || $error_eml) $error = TRUE; if ($error==FALSE) { echo "\n"; $information = "Name: ".$_POST['contact_name']."\n"; $information .= "Phone: ".$_POST['contact_phone']."\n"; $information .= "Email: ".$_POST['contact_email']."\n"; $information .= "Address: ".$_POST['contact_address']."\n"; $information .= "City: ".$_POST['contact_city']."\n"; $information .= "State: ".$_POST['contact_state']."\n"; $information .= "Zip: ".$_POST['contact_zip']."\n"; $information .= "-----------------------------------------\n"; if(!mail($email_to, $pre_subject.$_POST['contact_subject'], $information.$_POST['contact_message'], "From: ".$_POST['contact_name']." <".$_POST['contact_email'].">")) $error_sent = TRUE; } else //Define the colors to be used for the error output; { echo " \n"; $error_bg = "#EEEEEE;"; $error_fg = "#FF4444;"; $error_border = "#990000;"; } } ?>

Welcome to Paradise, California

Contact Town of Paradise

Thank you for your input. We appreciate your interest.

\n\n If you left contact information, someone will contact you shortly.

\n"; if($error_sent) echo "\t\t\t\t\t\t
\n\t\t\t\t\t\t

There was a problem sending your message. Please contact the webmaster directly here.

"; } } if(empty($_POST['contact_subject'])) { ?>

*All inquiries for the Police Department must be either telephoned in or sent in writing directly to them at:
5595 Black Olive, Paradise, CA 95969 / 530-872-6241

Please direct this message to:

Select a Department or Recipient:    

From:

Your Name: 

Phone:  Email:

Address:       

 City:  State:   Zip:

Please enter your message here:

Click the 'Submit Form' button to send your message.
If you make a mistake, you can click the 'Reset' button to clear your form.

         

 

There was an error submitting your form.

\n\nPlease hit the back button and check your submission.

\n"; } ?>

Site Map

Town of Paradise Home * Town Government * Town Council * Budget & Finance * Economic Development * Planning Commission * Building Permits * Economic Revitalization * Business & Housing * Public Works * What's New * Redevelopment * Police Dept. * Fire Dept. * Homeland Security * Public Meetings * Onsite * Links * Contacts * Feedback * Site Map