<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 20:10:05
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/box.newsletter.php" */ ?>
<?php /*%%SmartyHeaderCode:2095704990553e271de3c774-44549918%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5ab0d52b35cd67d2d7945b27f9cfbc145c2d0dfa' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/box.newsletter.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2095704990553e271de3c774-44549918',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'LANG' => 0,
    'IS_USER' => 0,
    'CTRL_SUBSCRIBED' => 0,
    'STORE_URL' => 0,
    'VAL_SELF' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e271de8a436_52075183',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e271de8a436_52075183')) {function content_553e271de8a436_52075183($_smarty_tpl) {?>
<div id="box-newsletter">
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['mailing_list'];?>
</h3>
   <?php if ($_smarty_tpl->tpl_vars['IS_USER']->value) {?>
   <?php if (($_smarty_tpl->tpl_vars['CTRL_SUBSCRIBED']->value)) {?>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['customer_is_subscribed'];?>
<br><a href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/index.php?_a=newsletter&action=unsubscribe"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['click_to_unsubscribe'];?>
</a></p>
   <?php } else { ?>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['customer_not_subscribed'];?>
<br><a href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/index.php?_a=newsletter&action=subscribe"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['click_to_subscribe'];?>
</a></p>
   <?php }?>
   <?php } else { ?>
   <form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post" id="newsletter_form_box">
      <div class="hide"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['enter_email_signup'];?>
</div>
      <div class="row collapse">
         <div class="small-9 columns"><input name="subscribe" id="newsletter_email" type="text" size="18" maxlength="250" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['subscribe'];?>
"/></div>
         <div class="small-3 columns"><input type="submit" class="button postfix" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['subscribe'];?>
"></div>
      </div>
   </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_already_subscribed"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['newsletter']['notify_already_subscribed'];?>
</div>
   <?php }?>
</div><?php }} ?>
