<?php /* Smarty version 3.1.27, created on 2026-01-07 01:24:03
         compiled from "/home/austintr/public_html/tmpl/news_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:785456819695db5b38a1e75_07026295%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2b26c54938aeebb9e4b3bace82c6dc834b042fa0' => 
    array (
      0 => '/home/austintr/public_html/tmpl/news_box.tpl',
      1 => 1599251234,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '785456819695db5b38a1e75_07026295',
  'variables' => 
  array (
    'settings' => 0,
    'news' => 0,
    'n' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_695db5b38ba382_20828570',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_695db5b38ba382_20828570')) {
function content_695db5b38ba382_20828570 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/austintr/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '785456819695db5b38a1e75_07026295';
?>

<?php echo loaddata_smarty(array('name'=>"news",'var'=>'news','limit'=>(($tmp = @$_smarty_tpl->tpl_vars['settings']->value['last_news_count'])===null||$tmp==='' ? 5 : $tmp)),$_smarty_tpl);?>

<?php
$_from = $_smarty_tpl->tpl_vars['news']->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'];
?>
<div class="col-sm-6 col-lg-4">
                        <div class="blog-item">
                            <div class="blog-top">
                                <a href="<?php echo smarty_modifier_myescape(encurl("?a=news#".((string)$_smarty_tpl->tpl_vars['n']->value['id'])));?>
" target="_blank">
                                    <img src="assets/img/news.jpg" alt="Latest News">
                                </a>
                                <span>News #<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['n']->value['id']);?>
</span>
                            </div>
                            <div class="blog-bottom">
                                <ul>
                                    <li>
                                        <i class='bx bx-time-five'></i>
                                        <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['n']->value['d']);?>

                                    </li>
                                </ul>
                                <h3>
                                    <a href="<?php echo smarty_modifier_myescape(encurl("?a=news#".((string)$_smarty_tpl->tpl_vars['n']->value['id'])));?>
" target="_blank"><?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['n']->value['title'], ENT_QUOTES, 'UTF-8', true));?>
</a>
                                </h3>
                                <img src="assets/img/blog1.png" alt="Blog">
                                <p><a href="#" target="_blank">By</a> Author</p>
                            </div>
                        </div>
                    </div>
                    

<?php
$_smarty_tpl->tpl_vars['n'] = $foreach_n_Sav;
}
?>

<?php }
}
?>