<?php
/* Smarty version 4.5.2, created on 2024-05-14 10:15:08
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/blocks/why.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_664339acda8c80_22818585',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'a43409586a66a3a194cb34d6c40e235fdae92a31' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/blocks/why.tpl',
      1 => 1715578044,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:icon/svg.tpl' => 1,
  ),
),false)) {
function content_664339acda8c80_22818585 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.fetch_section.php','function'=>'smarty_function_fetch_section',),));
echo smarty_function_fetch_section(array('assign'=>'whySection','section'=>15,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['whySection']->value) && $_smarty_tpl->tpl_vars['whySection']->value['status'] == 'V') {?><section class="flex:col pad-t-150 pad-b-200"><div class="flex:col-max"><div class="grid:fr-1 g-gap-40"><div class="block-head"><div class="text-tmp title-36 title-tt-up"><h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['whySection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div></div><?php if (!empty($_smarty_tpl->tpl_vars['whySection']->value['gallery'])) {?><div class="benefit"><div class="grid:fr-1 g-gap-40"><?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['whySection']->value['gallery'], 'gallery', false, NULL, 'galleries', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['gallery']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gallery']->value) {
$_smarty_tpl->tpl_vars['gallery']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration'] : null) < 3) {?><div class="benefit__item" data-aos="fade-up" data-aos-duration="400" data-aos-easing="linear"><div class="benefit__item-title"><div class="benefit__item-icon"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div><h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h3></div><div class="text-tmp"><p><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['description'], ENT_QUOTES, 'UTF-8', true);?>
</p></div></div><?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?></div><div class="benefit__banner"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['whySection']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['whySection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
"></div><div class="grid:fr-1 g-gap-40"><?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['whySection']->value['gallery'], 'gallery', false, NULL, 'galleries', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['gallery']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gallery']->value) {
$_smarty_tpl->tpl_vars['gallery']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_galleries']->value['iteration'] : null) > 2) {?><div class="benefit__item" data-aos="fade-up" data-aos-duration="400" data-aos-easing="linear"><div class="benefit__item-title"><div class="benefit__item-icon"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div><h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h3></div><div class="text-tmp"><p><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['gallery']->value['description'], ENT_QUOTES, 'UTF-8', true);?>
</p></div></div><?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?></div></div><?php }?></div></div><div class="decor-bg"><?php $_smarty_tpl->_subTemplateRender("file:icon/svg.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('svgId'=>"why_decor_bg",'fill'=>"none"), 0, false);
?></div></section><?php }
}
}
