<?php
/* Smarty version 3.1.29, created on 2017-01-06 04:32:30
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/site/news.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_586f0fced1af49_96007346',
  'file_dependency' => 
  array (
    '9f6f4f0f34301bae20129f51a9f460b4ba42f288' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/site/news.tpl',
      1 => 1483673529,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_586f0fced1af49_96007346 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/plfesycd/data/www/freyamu.ru/library/Smarty/plugins/modifier.date_format.php';
?>
<div class="animated" style="animation-delay: 0.5s; animation-name: zoomIn;">
    <div class="content-title"><img src="/web/templates/Freyamu/images/news-title.png"></div>
    <section class="news clear_fix">
        <div class="page all" data-bind="1">

            <div class="news-block animated active" style="animation-delay: 0.0s; animation-name: zoomIn;">
                <article>


<?php if (empty($_smarty_tpl->tpl_vars['News']->value)) {?>
<h2>List Empty</h2>
<?php } else {
$_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'];
?>
<article>
    <div class="post_wrapp">
        <header>
            <div class="title_news">
                <h2><a><?php echo $_smarty_tpl->tpl_vars['article']->value[0];?>
</a></h2>
            </div>
            <div class="date_news">
                <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['article']->value[1],"%D %H:%M");?>

            </div>
        </header>
        <div class="clear_gradient"></div>
        									<div style="margin:10px 0 10px 0;">
										<img src="/web/templates/Freyamu/images/55.png" class="post_image">
										<div class="post_text">
											
        <div style="margin:10px 0 10px 0;">
            <div class="post_text">
                <div class="post_about" style="margin:0 0 0 0;">
                    <?php echo $_smarty_tpl->tpl_vars['article']->value[2];?>

                </div>
            </div>
        </div>
        <div class="clear_gradient"></div>

    </div>
</article>
<?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;
}
if ($_smarty_tpl->tpl_vars['Paginator']->value['CountPage'] > 1) {?>
    <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>
            <a id="btn-more-news"><div class="fake-hover" style="opacity: 0;"></div></a>
    </section>

</div><?php }
}
