'Armed Forces Americas',
'AE' => 'Armed Forces Europe',
'AK' => 'Alaska',
'AL' => 'Alabama',
'AP' => 'Armed Forces Pacific',
'AR' => 'Arkansas',
'AS' => 'American Samoa',
'AZ' => 'Arizona',
'CA' => 'California',
'CO' => 'Colorado',
'CT' => 'Connecticut',
'DC' => 'District of Columbia',
'DE' => 'Delaware',
'FL' => 'Florida',
'GA' => 'Georgia',
'GU' => 'Guam',
'HI' => 'Hawaii',
'IA' => 'Iowa',
'ID' => 'Idaho',
'IL' => 'Illinois',
'IN' => 'Indiana',
'KS' => 'Kansas',
'KY' => 'Kentucky',
'LA' => 'Louisiana',
'MA' => 'Massachusetts',
'MD' => 'Maryland',
'ME' => 'Maine',
'MI' => 'Michigan',
'MN' => 'Minnesota',
'MO' => 'Missouri',
'MP' => 'Northern Mariana Islands',
'MS' => 'Mississippi',
'MT' => 'Montana',
'NC' => 'North Carolina',
'ND' => 'North Dakota',
'NE' => 'Nebraska',
'NH' => 'New Hampshire',
'NJ' => 'New Jersey',
'NM' => 'New Mexico',
'NV' => 'Nevada',
'NY' => 'New York',
'OH' => 'Ohio',
'OK' => 'Oklahoma',
'OR' => 'Oregon',
'PA' => 'Pennsylvania',
'PR' => 'Puerto Rico',
'PW' => 'Palau',
'RI' => 'Rhode Island',
'SC' => 'South Carolina',
'SD' => 'South Dakota',
'TN' => 'Tennessee',
'TX' => 'Texas',
'UT' => 'Utah',
'VA' => 'Virginia',
'VI' => 'U.S. Virgin Islands',
'VT' => 'Vermont',
'WA' => 'Washington',
'WI' => 'Wisconsin',
'WV' => 'West Virginia',
'WY' => 'Wyoming',
);
$form = new ContactForm();
$form_is_valid = TRUE;
$form_completed = FALSE;
if (isset($_POST['Submit_x'])) {
$form->first_name = isset($_POST['first_name']) ? $_POST['first_name'] : $form->first_name;
$form->last_name = isset($_POST['last_name']) ? $_POST['last_name'] : $form->last_name;
$form->company = isset($_POST['company']) ? $_POST['company'] : $form->company;
$form->address = isset($_POST['address']) ? $_POST['address'] : $form->address;
$form->city = isset($_POST['city']) ? $_POST['city'] : $form->city;
$form->state = isset($_POST['state']) ? $_POST['state'] : $form->state;
$form->zip_code = isset($_POST['zip_code']) ? $_POST['zip_code'] : $form->zip_code;
$form->telephone_number = isset($_POST['telephone_number']) ? $_POST['telephone_number'] : $form->telephone_number;
$form->email_address = isset($_POST['email_address']) ? $_POST['email_address'] : $form->email_address;
$form->send_newsletter = isset($_POST['send_newsletter']) ? $_POST['send_newsletter'] : $form->comments;
$form->comments = isset($_POST['comments']) ? $_POST['comments'] : $form->comments;
$form_is_valid = $form->valid();
if ($form_is_valid) {
$form_completed = $form->send();
}
}
?>
City-Works
|
|
|
|
© 2007 City-Works. All rights reserved |
Design by Artifex |
|
|