<?php
/* Smarty version 4.5.3, created on 2025-04-23 09:54:30
  from '/home/w/wmaster77/corp.site-77.ru/public_html/design/default/html/photo-gallery.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.3',
  'unifunc' => 'content_68088ea65ab187_23728878',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'e3ca9a4359fa97ec2703e0d877f8e28253bee49b' => 
    array (
      0 => '/home/w/wmaster77/corp.site-77.ru/public_html/design/default/html/photo-gallery.tpl',
      1 => 1745391266,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:breadcrumbs.tpl' => 1,
  ),
),false)) {
function content_68088ea65ab187_23728878 (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="article-text"><?php echo $_smarty_tpl->tpl_vars['page']->value->body;?>
</div>
        <div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,auto));gap:20px;">
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['page']->value->images, 'photo', false, 'key');
$_smarty_tpl->tpl_vars['photo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['photo']->value) {
$_smarty_tpl->tpl_vars['photo']->do_else = false;
?>
            <a href="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'resize' ][ 0 ], array( $_smarty_tpl->tpl_vars['photo']->value ));?>
" data-fancybox="gallery" data-caption="<?php echo $_smarty_tpl->tpl_vars['page']->value->name;?>
">
                <img style="width: 100%; height: 100%; object-fit: cover;" alt="<?php echo $_smarty_tpl->tpl_vars['page']->value->name;?>
" src="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'resize' ][ 0 ], array( $_smarty_tpl->tpl_vars['photo']->value,400,300,'crop' ));?>
">
            </a>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        </div>
    </div>
</section>
<?php }
}
