<?php /* Smarty version 3.1.27, created on 2019-03-09 16:15:06
         compiled from "/home/hyipsour/public_html/tmpl/subscribe_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:8608547605c83e68ab6cfc7_13656627%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '028e5b00add1e075b3817e08a4cdd60a1fba672e' => 
    array (
      0 => '/home/hyipsour/public_html/tmpl/subscribe_box.tpl',
      1 => 1534608042,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8608547605c83e68ab6cfc7_13656627',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5c83e68ab93540_77167976',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5c83e68ab93540_77167976')) {
function content_5c83e68ab93540_77167976 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsour/public_html/inc/libs/smarty3/plugins/block.t.php';

$_smarty_tpl->properties['nocache_hash'] = '8608547605c83e68ab6cfc7_13656627';
?>
<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 }
}
?>