<?php /* Smarty version 3.1.27, created on 2018-08-18 15:58:33
         compiled from "/home/hyipsou1/public_html/tmpl/news_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:5198895115b784229917e96_69173468%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6196959126d24687453162e6826a153210c9ec9b' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/news_box.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5198895115b784229917e96_69173468',
  'variables' => 
  array (
    'news_box' => 0,
    'news' => 0,
    'n' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b78422992d289_26057842',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b78422992d289_26057842')) {
function content_5b78422992d289_26057842 ($_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'] = '5198895115b784229917e96_69173468';
?>
<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 }
}
?>