<?php
/* Smarty version 4.3.1, created on 2023-11-29 01:35:52
  from '/Users/nikolaimv/Sites/it-academy.loc/themes/template-uz/modules/slider.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_65664f289cee67_53326422',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '30679c7bbfdedb443bea538cf2ccf7122743b384' => 
    array (
      0 => '/Users/nikolaimv/Sites/it-academy.loc/themes/template-uz/modules/slider.tpl',
      1 => 1701203278,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65664f289cee67_53326422 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Users/nikolaimv/Sites/it-academy.loc/includes/smarty_plugins/function.fetch_banners.php','function'=>'smarty_function_fetch_banners',),));
echo smarty_function_fetch_banners(array('assign'=>'banners','limit'=>10,'section'=>$_smarty_tpl->tpl_vars['section']->value['sectionId']),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['banners']->value)) {?><section class="flex:col pad-t-static pad-b-100"><div class="flex:col-max"><div class="intro"><div class="swiper intro-slider_js"><div class="swiper-wrapper"><?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['banners']->value, 'banner', false, NULL, 'banners', array (
  'first' => true,
  'index' => true,
));
$_smarty_tpl->tpl_vars['banner']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['banner']->value) {
$_smarty_tpl->tpl_vars['banner']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_banners']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_banners']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_banners']->value['index'];
?><div class="swiper-slide"><div class="intro__banner"><div class="intro__banner-bg" data-swiper-parallax="90%"><picture><source srcset="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['banner']->value['images']['medium'], ENT_QUOTES, 'UTF-8', true);?>
" media="(max-width: 550px)" /><source srcset="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['banner']->value['images']['medium'], ENT_QUOTES, 'UTF-8', true);?>
" media="(max-width: 768px)" /><source srcset="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['banner']->value['images']['large'], ENT_QUOTES, 'UTF-8', true);?>
" media="(max-width: 1024px)" /><source srcset="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['banner']->value['images']['original'], ENT_QUOTES, 'UTF-8', true);?>
" media="(max-width: 1440px)" /><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['banner']->value['images']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo $_smarty_tpl->tpl_vars['banner']->value['title'];?>
" /></picture></div><div class="intro__banner-info"><div class="text-tmp color-white title-56 all-center" data-swiper-parallax="80%"><?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_banners']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_banners']->value['first'] : null)) {?><h1><?php echo $_smarty_tpl->tpl_vars['banner']->value['title'];?>
</h1><?php } else { ?><h2><?php echo $_smarty_tpl->tpl_vars['banner']->value['title'];?>
</h2><?php }?></div></div></div></div><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?></div></div></div></div></section><?php }
}
}
