<?php /* Smarty version 3.1.27, created on 2018-08-18 15:58:33
         compiled from "/home/hyipsou1/public_html/tmpl/subscribe_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:14746085305b7842298fc4d6_95511245%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '22830685f6bb6a4a066ba979ff6816504fd98ee1' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/subscribe_box.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '14746085305b7842298fc4d6_95511245',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b7842299060c3_22893552',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b7842299060c3_22893552')) {
function content_5b7842299060c3_22893552 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/block.t.php';

$_smarty_tpl->properties['nocache_hash'] = '14746085305b7842298fc4d6_95511245';
?>
<h2><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Subscription<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</h2>
<div class="subscribe">

<?php echo '<script'; ?>
 language=javascript type="text/javascript"><!--
function checkSubscribe()
{
  status = checkEmail(document.subscribe.email.value);

  if (status > 0) {
    if (status == 1)
	    alert('Please, enter your E-mail address!');
    if (status == 2)
	    alert('Please, enter a valid E-mail address!');

    document.subscribe.email.focus();
    return false;
  }

  return true;
}
--><?php echo '</script'; ?>
>


<form method="post" onsubmit="return checkSubscribe()" name="subscribe" action="">
<input type="hidden" name="a" value="maillist">
<input type="hidden" name="display" value="">
<table class="form">
<tr>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
E-mail:<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <td><input type="text" name="email"></td>
</tr>
<tr>
 <th><input type="radio" name="action" value="subscribe" checked></th>
 <td><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Subscribe<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</td>
</tr>
<tr>
 <th><input type="radio" name="action" value="unsubscribe"></th>
 <td><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Unsubscribe<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</td>
</tr>
<tr>
 <td colspan=2><input type="submit" value="Subscribe"></td>
</tr>
</table>
</form>

</div><?php }
}
?>