<?php
/* Smarty version 3.1.29, created on 2016-11-09 20:18:48
  from "C:\OpenServer\domains\LastExTeam\views\templates\ex-games\site\news.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_58235a785d08e3_40686892',
  'file_dependency' => 
  array (
    '10d88ebf6987d916f87131778e8bbf7011d88110' => 
    array (
      0 => 'C:\\OpenServer\\domains\\LastExTeam\\views\\templates\\ex-games\\site\\news.tpl',
      1 => 1478711780,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_58235a785d08e3_40686892 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once 'C:/OpenServer/domains/LastExTeam/library/Smarty/plugins\\modifier.date_format.php';
?>
<div id="content">
    <div id="box1">
        <?php if (empty($_smarty_tpl->tpl_vars['News']->value)) {?>
            <h2>List Empty</h2>
        <?php } else { ?>
            <?php
$_from = $_smarty_tpl->tpl_vars['News']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_article_0_saved_item = isset($_smarty_tpl->tpl_vars['article']) ? $_smarty_tpl->tpl_vars['article'] : false;
$_smarty_tpl->tpl_vars['article'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['article']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['article']->value) {
$_smarty_tpl->tpl_vars['article']->_loop = true;
$__foreach_article_0_saved_local_item = $_smarty_tpl->tpl_vars['article'];
?>
                <div class="col-lg-12">
                    <div class="thumbnail">
                        <div class="thumbnail-header">
                            <h3><a href="#" class="hvr-underline-from-center"><?php echo $_smarty_tpl->tpl_vars['article']->value[0];?>
</a></h3>
                            <div class="social" style="    margin-top: -34px;
    margin-left: 385px;
    position: absolute;
">
                                <?php echo '<script'; ?>
 type="text/javascript" src="http://yastatic.net/es5-shims/0.0.2/es5-shims.min.js" tppabs="http://yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"><?php echo '</script'; ?>
>
                                <?php echo '<script'; ?>
 type="text/javascript" src="http://yastatic.net/share2/share.js" tppabs="http://yastatic.net/share2/share.js" charset="utf-8"><?php echo '</script'; ?>
>
                                <div class="ya-share2" style="" data-services="vkontakte,facebook,twitter" data-size="s"></div>
                            </div>
                            <span class="clock"><img src="/web/templates/ex-games/images/clocks.png" alt="clocks"><time><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['article']->value[1],"%D %H:%M");?>
</time>
		</span>
                        </div>

                        <div class="caption">
                            <?php echo $_smarty_tpl->tpl_vars['article']->value[2];?>

                            
                            
                        </div>
                    </div>
                </div>
            <?php
$_smarty_tpl->tpl_vars['article'] = $__foreach_article_0_saved_local_item;
}
if ($__foreach_article_0_saved_item) {
$_smarty_tpl->tpl_vars['article'] = $__foreach_article_0_saved_item;
}
?>
            <!-- <div class="paging2"><b class="subpage-href"><a href="page-al-gameplay.html">&nbsp;1&nbsp;</a></b> <b class="subpage-href"><a href="page-al-gameplay-pg-2.html">&nbsp;2&nbsp;</a></b> <b class="subpage-href"><a href="page-al-gameplay-pg-3.html">&nbsp;3&nbsp;</a></b> <b class="subpage-cur">&nbsp;4&nbsp;</b> <b class="subpage-href"><a href="page-al-gameplay-pg-5.html">&nbsp;5&nbsp;</a></b> <b class="subpage-href"><a href="page-al-gameplay-pg-6.html">&nbsp;6&nbsp;</a></b> </div>
             -->
            <div class="pagination">
                <ul>
                    <?php
$_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int) ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? $_smarty_tpl->tpl_vars['Paginator']->value['CountPage']+1 - (1) : 1-($_smarty_tpl->tpl_vars['Paginator']->value['CountPage'])+1)/abs($_smarty_tpl->tpl_vars['i']->step));
if ($_smarty_tpl->tpl_vars['i']->total > 0) {
for ($_smarty_tpl->tpl_vars['i']->value = 1, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++) {
$_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
                        <?php if ($_smarty_tpl->tpl_vars['i']->value-1 == $_smarty_tpl->tpl_vars['Paginator']->value['ActivePage']) {?>
                            <li><span><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</span></li>
                        <?php } else { ?>
                             <li>
                                <a href="/site/news/<?php echo $_smarty_tpl->tpl_vars['i']->value-1;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</a>
                             </li>
                        <?php }?>
                    <?php }
}
?>

                </ul>
                <div class="clear"></div>
            </div>
         <!-- 
                     <div class="paging2">
                         <?php
$_smarty_tpl->tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int) ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? $_smarty_tpl->tpl_vars['Paginator']->value['CountPage']+1 - (1) : 1-($_smarty_tpl->tpl_vars['Paginator']->value['CountPage'])+1)/abs($_smarty_tpl->tpl_vars['i']->step));
if ($_smarty_tpl->tpl_vars['i']->total > 0) {
for ($_smarty_tpl->tpl_vars['i']->value = 1, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++) {
$_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
                    <?php if ($_smarty_tpl->tpl_vars['i']->value-1 == $_smarty_tpl->tpl_vars['Paginator']->value['ActivePage']) {?>
                        <b class="subpage-cur">&nbsp;<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
&nbsp;</b>
                       <?php } else { ?>
                             <b class="subpage-href">
                                 <a style="font-size: 14px; text-decoration: none; font-weight: bold; vertical-align: unset;" href="/site/news/<?php echo $_smarty_tpl->tpl_vars['i']->value-1;?>
">&nbsp;<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
&nbsp;</a>
                             </b>
                    <?php }?>
                <?php }
}
?>

                     </div> -->
        <?php }?>
    </div>
</div><?php }
}
