<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 20:10:06
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.contact.php" */ ?>
<?php /*%%SmartyHeaderCode:1009016761553e271e8bad65-08517661%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1aba91a46ace6a1b2221e9cba994b06a4cb51544' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.contact.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1009016761553e271e8bad65-08517661',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'LANG' => 0,
    'CONTACT' => 0,
    'VAL_SELF' => 0,
    'MESSAGE' => 0,
    'DEPARTMENTS' => 0,
    'dept' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e271e98fe23_65264549',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e271e98fe23_65264549')) {function content_553e271e98fe23_65264549($_smarty_tpl) {?>
<h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['documents']['document_contact'];?>
</h2>
<p><?php echo $_smarty_tpl->tpl_vars['CONTACT']->value['description'];?>
</p>
<form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" id="contact_form" method="post">
   <div class="row">
      <div class="small-12 large-8 columns"><label for="contact_name"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['name'];?>
</label><input type="text" name="contact[name]" id="contact_name" value="<?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value['name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['name'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="contact_email"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
</label><input type="text" name="contact[email]" id="contact_email" value="<?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value['email'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <?php if (isset($_smarty_tpl->tpl_vars['DEPARTMENTS']->value)) {?>
   <div class="row">
      <div class="small-12 large-8 columns">
         <label for="contact_dept"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['department'];?>
</label>
         <select name="contact[dept]" id="contact_dept">
            <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['please_select'];?>
</option>
            <?php  $_smarty_tpl->tpl_vars['dept'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dept']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['DEPARTMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dept']->key => $_smarty_tpl->tpl_vars['dept']->value) {
$_smarty_tpl->tpl_vars['dept']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['dept']->value['key'];?>
"<?php echo $_smarty_tpl->tpl_vars['dept']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['dept']->value['name'];?>
</option>
            <?php } ?>
         </select>
      </div>
   </div>
   <?php }?>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="contact_subject"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['subject'];?>
</label><input type="text" name="contact[subject]" id="contact_subject" value="<?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value['subject'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['subject'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="contact_enquiry"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['enquiry'];?>
</label><textarea name="contact[enquiry]" id="contact_enquiry" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['enquiry'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
" required><?php echo $_smarty_tpl->tpl_vars['MESSAGE']->value['enquiry'];?>
</textarea></div>
   </div>
   <?php echo $_smarty_tpl->getSubTemplate ('templates/content.recaptcha.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

   <input type="submit" class="button" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['documents']['send_message'];?>
">
</form>
<div class="hide" id="validate_email"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['error_email_invalid'];?>
</div>
<div class="hide" id="validate_field_required"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['field_required'];?>
</div><?php }} ?>
