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

$_smarty_tpl->properties['nocache_hash'] = '20653890135c83e68acb24f5_20120162';
?>
<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();?>
News<?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="news">
<ul class="stats">
<?php
$_from = $_smarty_tpl->tpl_vars['news_box']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['n'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['n']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['n']->value) {
$_smarty_tpl->tpl_vars['n']->_loop = true;
$foreach_n_Sav = $_smarty_tpl->tpl_vars['n'];
?>
<li class="<?php if ($_smarty_tpl->tpl_vars['news']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['sponsored']) {?>spons<?php }?>">
<a href="<?php echo smarty_modifier_encurl("?a=news&id=".((string)$_smarty_tpl->tpl_vars['n']->value['id']));?>
" class="title"><?php echo $_smarty_tpl->tpl_vars['n']->value['title'];?>
</a>
<p class="text"><?php echo $_smarty_tpl->tpl_vars['n']->value['small_text'];?>
 <a href="<?php echo smarty_modifier_encurl("?a=news&id=".((string)$_smarty_tpl->tpl_vars['n']->value['id']));?>
">more</a></p>
<p class="date"><?php echo $_smarty_tpl->tpl_vars['n']->value['d'];?>
</p>
</li>
<?php
$_smarty_tpl->tpl_vars['n'] = $foreach_n_Sav;
}
?>
</ul>
<p class="links"><a href="<?php echo smarty_modifier_encurl("?a=news");?>
"><?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();?>
All news<?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);?>
</a></p>
</div>
<?php }
}
?>