<?php /* Smarty version 2.6.25, created on 2012-08-15 05:47:57
         compiled from contact.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contact.tpl', 15, false),array('modifier', 'trim', 'contact.tpl', 15, false),)), $this); ?>
<?php ob_start(); ?> - Contact Us<?php $this->_smarty_vars['capture']['title'] = ob_get_contents(); ob_end_clean(); ?>
<?php ob_start(); ?>Contact Us<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('in_page_title', ob_get_contents());ob_end_clean(); ?>
<?php ob_start(); ?>Contact Us<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('description', ob_get_contents());ob_end_clean(); ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "validation.tpl", 'smarty_include_vars' => array('form_id' => 'submit_form','validators' => $this->_tpl_vars['validators'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo '<form method="post" action="" id="submit_form"><table border="0" class="formPage">'; ?><?php if ($this->_tpl_vars['error']): ?><?php echo '<tr><td colspan="2" class="err">An error occured while sending contact email.'; ?><?php if (! empty ( $this->_tpl_vars['errorMsg'] )): ?><?php echo '<p>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['errorMsg'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</p>'; ?><?php endif; ?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['contactSent']): ?><?php echo '<tr><td colspan="2" class="msg">Contact message sent.</td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label"><span class=\'req\'>*</span>Name:</td><td class="field"><input type="text" id="NAME" name="NAME" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Your Email:</td><td class="field"><input type="text" id="EMAIL" name="EMAIL" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['EMAIL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="255" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Subject:</td><td class="field"><input type="text" id="SUBJECT" name="SUBJECT" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['SUBJECT'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="255" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Message:</td><td class="field"><textarea id="MESSAGE" name="MESSAGE" rows="3" cols="37" class="text">'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['MESSAGE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</textarea></td></tr>'; ?><?php if (@VISUAL_CONFIRM == 2): ?><?php echo '<tr><td class="label"<span class=\'req\'>*</span>DO THE MATH:</td><td class="field"><span style="color: red;">'; ?><?php $_from = $this->_tpl_vars['error_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['errorList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['errorList']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['errorKey'] => $this->_tpl_vars['errorItem']):
        $this->_foreach['errorList']['iteration']++;
?><?php echo ''; ?><?php if ($this->_tpl_vars['errorKey'] == 'DO_MATH'): ?><?php echo ''; ?><?php if (is_array ( $this->_tpl_vars['errorItem'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']['remote']; ?><?php echo '<br/>'; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']; ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</span><font style="font-weight: bold; font-size: 14pt; color: red; margin-right: 10px;">'; ?><?php echo $this->_tpl_vars['DO_MATH_N1']; ?><?php echo ' + '; ?><?php echo $this->_tpl_vars['DO_MATH_N2']; ?><?php echo ' = </font><input type="text" id="DO_MATH" name="DO_MATH" value=\''; ?><?php echo $this->_tpl_vars['DO_MATH']; ?><?php echo '\' class="text" style="width: 60px;"/><br/><br/></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@VISUAL_CONFIRM == 1): ?><?php echo ''; ?><?php if ($this->_tpl_vars['dont_show_captch'] != 1): ?><?php echo '<tr id="'; ?><?php echo $this->_tpl_vars['item']['NAME']; ?><?php echo '"><td class="label"><span class=\'req\'>*</span>Enter the code shown:</td><td class="field"><input id="IMAGEHASH" name="IMAGEHASH" type="hidden" value="'; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" /><input class="required text" id="CAPTCHA" name="CAPTCHA" type="text" value="" size="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" maxlength="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" class="text" /><label for="CAPTCHA" id="captcha_validation" style="float: none; color: red; padding-left: .5em; "></label><div style="clear: both;"></div><p class="small">This helps prevent automated registrations.</p><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/captcha.php?imagehash='; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" class="captcha" alt="Visual Confirmation Security Code" title="Visual Confirmation Security Code" /></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '<tr><td colspan="2" class="buttons"><input type="submit" id="continue" name="continue" value="Continue" class="btn" /></td></tr></table><input type="hidden" name="formSubmitted" value="1" /></form>'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?>