add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } // BOF Anti Robot Registration v4.5 if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') { include('includes/modules/validation_check.php'); if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } // EOF Anti Robot Registration v4.5 $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name); if (!$actionRecorder->canPerform()) { $error = true; $actionRecorder->record(false); $messageStack->add('contact', sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES') ? (int)MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES : 15))); } if ($error == false) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); $actionRecorder->record(); tep_redirect(tep_href_link('contact_us.php', 'action=success')); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link('contact_us.php')); require('includes/template_top.php'); ?> size('contact') > 0) { echo $messageStack->output('contact'); } if (isset($_GET['action']) && ($_GET['action'] == 'success')) { ?>
getContent('contact_us'); ?>