<?php
/* Smarty version 4.5.3, created on 2025-02-23 10:42:36
  from '/home/w/wmaster77/corp.site-77.ru/public_html/design/default/html/news.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.3',
  'unifunc' => 'content_67bad16cd8f108_01859522',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '7074b6d30878b99e858236a7ca422dc60320ae31' => 
    array (
      0 => '/home/w/wmaster77/corp.site-77.ru/public_html/design/default/html/news.tpl',
      1 => 1720633154,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:breadcrumbs.tpl' => 1,
    'file:pagination.tpl' => 1,
  ),
),false)) {
function content_67bad16cd8f108_01859522 (Smarty_Internal_Template $_smarty_tpl) {
?><section class="section section--page pt-0">
    <div class="container">
        <?php $_smarty_tpl->_subTemplateRender("file:breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
        <div class="section__head mb-md-5 mb-4">
            <h2 class="h2">Новости</h2>
        </div>
        <div class="row row-cols-lg-4 row-cols-sm-2 row-cols-1 g-4">
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['page']->value->subpages, 'item');
$_smarty_tpl->tpl_vars['item']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->do_else = false;
?>
                <div class="col">
                    <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value->url;?>
" class="blog">
                        <img src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'resize' ][ 0 ], array( $_smarty_tpl->tpl_vars['item']->value->image,550,370,'crop' ));?>
" alt="" class="blog__picture img-fluid">

                        <span class="blog__content">
                            <span class="blog__cat">СТАТЬИ</span>

                            <span class="blog__title blog__title--sm">
                                <?php echo $_smarty_tpl->tpl_vars['item']->value->name;?>

                            </span>

                            <span class="blog__date"><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'date' ][ 0 ], array( $_smarty_tpl->tpl_vars['item']->value->added ));?>
</span>
                        </span>
                    </a>
                </div>
            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        </div>
        <?php $_smarty_tpl->_subTemplateRender('file:pagination.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
    </div>
</section><?php }
}
