<?php /* Smarty version 3.1.27, created on 2018-08-18 15:53:49
         compiled from "/home/hyipsou1/public_html/tmpl/report_scam.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:2697628895b78410d5c21e1_09776825%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2123f0eeab9299ba4b993ce4d7d4c2cc1285b416' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/report_scam.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2697628895b78410d5c21e1_09776825',
  'variables' => 
  array (
    'errors' => 0,
    'frm' => 0,
    'listing' => 0,
    'userinfo' => 0,
    'settings' => 0,
    'sesname' => 0,
    'sesid' => 0,
    'rand' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b78410d62d512_19460990',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b78410d62d512_19460990')) {
function content_5b78410d62d512_19460990 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/block.t.php';
if (!is_callable('smarty_modifier_encurl')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/modifier.encurl.php';

$_smarty_tpl->properties['nocache_hash'] = '2697628895b78410d5c21e1_09776825';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<?php echo '<script'; ?>
 type="text/javascript">

function checkReportScam()
{
  status = checkEmail(document.reportscam.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.reportscam.email.focus();
    return false;
  }
  return true;
}

<?php echo '</script'; ?>
>

<?php echo $_smarty_tpl->getSubTemplate ("program_details.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<h3><?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();?>
Report Scam<?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);?>
</h3>

<?php if ($_smarty_tpl->tpl_vars['errors']->value) {?>
<ul class="error">
<?php if ($_smarty_tpl->tpl_vars['errors']->value['turing']) {?><li> <?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();?>
Invalid turing image provided<?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);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['email']) {?><li> <?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();?>
Please enter your E-mail address<?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);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_email']) {?><li> <?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();?>
Please enter a valid E-mail address<?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);?>
</li><?php }?>
</ul>
<?php } elseif ($_smarty_tpl->tpl_vars['frm']->value['display'] == 'sent') {?>
<div class="ok"><?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();?>
Thank you. Your report has been sent to administrator.<?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);?>
</div>
<br><br>
<?php }?>
<form method="post" onsubmit="return checkReportScam()" name="reportscam" action="">
<input type=hidden name=a value=report_scam>
<input type=hidden name=action value=send>
<input type=hidden name=lid value=<?php echo $_smarty_tpl->tpl_vars['listing']->value['id'];?>
>
<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();?>
Your 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" value="<?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['frm']->value['email'])===null||$tmp==='' ? $_smarty_tpl->tpl_vars['userinfo']->value['email'] : $tmp), ENT_QUOTES, 'UTF-8', true);?>
"></td>
</tr>
<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();?>
Report:<?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><textarea name="report" cols=27 rows=4><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['report'], ENT_QUOTES, 'UTF-8', true);?>
</textarea></td>
</tr>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['use_turing']) {?>
<tr>
  <th><img src="<?php echo smarty_modifier_encurl("?a=turing&".((string)$_smarty_tpl->tpl_vars['sesname']->value)."=".((string)$_smarty_tpl->tpl_vars['sesid']->value)."&r=".((string)$_smarty_tpl->tpl_vars['rand']->value));?>
" alt="turing code"></th>
  <td><input type=text name="turing" maxlength=6 size=6></td>
</tr>
<?php }?>
<tr>
 <th></th>
 <td><input type="submit" value="<?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();?>
Submit<?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>
</form>
</table>

<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>