There was a problem with your submission. Errors are displayed below in bright red.

Thank you for taking the time to contact Graphic Awards, Inc.
A member of our staff will contact you soon.


Contact Us


 
Zip:
 

 
 

Subscribe to our mailing list         * indicates required
                             
$value) { if (!is_array($key)) { // sanitize the input data if ($key != 'ct_message') $value = strip_tags($value); $_POST[$key] = htmlspecialchars(stripslashes(trim($value))); } } $company = @$_POST['ct_company']; // lastname $name = @$_POST['ct_name']; // name from the form $email = @$_POST['ct_email']; // email from the form $lastname = @$_POST['ct_lastname']; // lastname $phone = @$_POST['ct_primary_phone']; // $address1 = @$_POST['ct_address_1']; // $address2 = @$_POST['ct_address_2']; // $city = @$_POST['ct_city']; // $state = @$_POST['state']; // $postal = @$_POST['ct_postal']; // $hear = @$_POST['ct_hear']; // $ct_cover_size = @$_POST['ct_cover_size']; // coversize $custom = @$_POST['ct_custom_size_field']; // coversize field $quantity = @$_POST['ct_quantity']; // $orientation = @$_POST['ct_orientation']; // $printing = @$_POST['ct_printing']; // $upgrades = @$_POST['ct_certificateupgrades']; $signatures = @$_POST['ct_customsignatures']; $personalize = @$_POST['ct_personalizing']; $questions = @$_POST['ct_questions']; $message = @$_POST['ct_message']; // the message from the form $captcha = @$_POST['ct_captcha']; // the user's entry for the captcha code $name = substr($name, 0, 64); // limit name to 64 characters $errors = array(); // initialize empty error array if (isset($GLOBALS['DEBUG_MODE']) && $GLOBALS['DEBUG_MODE'] == false) { // only check for errors if the form is not in debug mode if (strlen($name) < 3) { // name too short, add error $errors['name_error'] = 'Your first name is required'; } if (strlen($email) == 0) { // no email address given $errors['email_error'] = 'Email address is required'; } else if ( !preg_match('/^(?:[\w\d-]+\.?)+@(?:(?:[\w\d]\-?)+\.)+\w{2,63}$/i', $email)) { // invalid email format $errors['email_error'] = 'Email address entered is invalid'; } /* if (strlen($message) < 20) { // message length too short $errors['message_error'] = 'Your message must be longer than 20 characters'; }*/ } // Only try to validate the captcha if the form has no errors // This is especially important for ajax calls if (sizeof($errors) == 0) { require_once '../securimage/securimage.php'; $securimage = new Securimage(); if ($securimage->check($captcha) == false) { $errors['captcha_error'] = 'Incorrect security code entered
'; } } if (sizeof($errors) == 0) { // no errors, send the form $time = date('r'); $message = "A quote request was submitted from the contact form. The following information was provided.

" . "Company: $company

" . "First Name: $name

" . "Last Name: $lastname

" . "Email: $email

" . "Address: $address1

" . "Address 2: $address2

" . "City: $city

" . "State: $state

" . "Zip: $postal

" . "Questions:
" . "
$questions
" . "

IP Address: {$_SERVER['REMOTE_ADDR']}
" . "Time: $time
" . "Browser: {$_SERVER['HTTP_USER_AGENT']}
"; $message = wordwrap($message, 70); if (isset($GLOBALS['DEBUG_MODE']) && $GLOBALS['DEBUG_MODE'] == false) { // send the message with mail() mail($GLOBALS['ct_recipient'], $GLOBALS['ct_msg_subject'], $message, "From: {$GLOBALS['ct_sendfrom']}\r\nReply-To: {$email}\r\nContent-type: text/html; charset=UTF-8\r\nMIME-Version: 1.0"); } $_SESSION['ctform']['timetosolve'] = $securimage->getTimeToSolve(); $_SESSION['ctform']['error'] = false; // no error with form $_SESSION['ctform']['success'] = true; // message sent } else { // save the entries, this is to re-populate the form $_SESSION['ctform']['ct_company'] = $company; // $_SESSION['ctform']['ct_name'] = $name; // save name from the form submission $_SESSION['ctform']['ct_email'] = $email; // save email $_SESSION['ctform']['ct_lastname'] = $lastname; // $_SESSION['ctform']['ct_primary_phone'] = $phone; // $_SESSION['ctform']['ct_address_1'] = $address1; // $_SESSION['ctform']['ct_address_2'] = $address2; // $_SESSION['ctform']['ct_city'] = $city; $_SESSION['ctform']['state'] = $state; // // $_SESSION['ctform']['ct_postal'] = $postal; // $_SESSION['ctform']['ct_hear'] = $hear; // $_SESSION['ctform']['ct_cover_size'] = $ct_cover_size; // custom $_SESSION['ctform']['ct_custom_size_field'] = $custom; // custom $_SESSION['ctform']['ct_quantity'] = $quantity; // custom $_SESSION['ctform']['ct_orientation'] = $orientation; // custom $_SESSION['ctform']['ct_printing'] = $printing; // custom $_SESSION['ctform']['ct_certificateupgrades'] = $upgrades; // custom $_SESSION['ctform']['ct_customsignatures'] = $signatures; // custom $_SESSION['ctform']['ct_personalizing'] = $personalize; // custom $_SESSION['ctform']['ct_questions'] = $questions; // custom $_SESSION['ctform']['ct_message'] = $message; // save message foreach($errors as $key => $error) { // set up error messages to display with each field $_SESSION['ctform'][$key] = "$error"; } $_SESSION['ctform']['error'] = true; // set error floag } } // POST } $_SESSION['ctform']['success'] = false; // clear success value after running