<?php
/* Smarty version 4.5.2, created on 2024-05-15 07:10:38
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-services.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66445fee9ebac8_23042198',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '373fcbb757b13b94407da50a1f24899267828b75' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-services.tpl',
      1 => 1715614178,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:modules/banner.tpl' => 1,
    'file:items/service.tpl' => 1,
    'file:blocks/contacts.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_66445fee9ebac8_23042198 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.fetch_sections.php','function'=>'smarty_function_fetch_sections',),1=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.fetch_section.php','function'=>'smarty_function_fetch_section',),2=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.bracket_regex.php','function'=>'smarty_function_bracket_regex',),));
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title'=>$_smarty_tpl->tpl_vars['section']->value['name'],'keywords'=>$_smarty_tpl->tpl_vars['section']->value['keywords'],'description'=>$_smarty_tpl->tpl_vars['section']->value['description']), 0, false);
?>

<main class="main">

		<?php $_smarty_tpl->_subTemplateRender("file:modules/banner.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
	
		<?php echo smarty_function_fetch_sections(array('assign'=>'services','from'=>$_smarty_tpl->tpl_vars['section']->value['sectionId'],'status'=>"V",'image'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['services']->value)) {?>
	<section class="flex:col pad-tb-50">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="block-head">
					<div class="text-tmp title-40 title-tt-up title-accent-2"><h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div>
				</div>

				<div class="grid:fr-4 g-gap-20 max">
					<?php $_smarty_tpl->_assignInScope('delayNum', 0);?>
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['services']->value, 'service', false, NULL, 'services', array (
));
$_smarty_tpl->tpl_vars['service']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['service']->value) {
$_smarty_tpl->tpl_vars['service']->do_else = false;
?>
												<?php $_smarty_tpl->_subTemplateRender("file:items/service.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('delay'=>((string)$_smarty_tpl->tpl_vars['delayNum']->value)."00"), 0, true);
?>
												<?php if ($_smarty_tpl->tpl_vars['delayNum']->value == 4) {
$_smarty_tpl->_assignInScope('delayNum', 0);
}?>
						<?php $_smarty_tpl->_assignInScope('delayNum', $_smarty_tpl->tpl_vars['delayNum']->value+1);?>
					<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
				</div>
			</div>
		</div>
	</section>
	<?php }?>
	
		<?php echo smarty_function_fetch_section(array('assign'=>'stepsSection','section'=>24,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['stepsSection']->value) && $_smarty_tpl->tpl_vars['stepsSection']->value['status'] == 'V') {?>
	<section class="flex:col pad-tb-50 block-shadow">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="block-head">
					<div class="text-tmp title-40 title-tt-up title-accent-2"><h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['stepsSection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div>
				</div>

				<?php $_smarty_tpl->_assignInScope('delayNum2', 0);?>
				<?php echo smarty_function_bracket_regex(array('from'=>$_smarty_tpl->tpl_vars['stepsSection']->value['content'],'strip_tags'=>true),$_smarty_tpl);?>

				<div class="grid:fr-3 g-gap-20 max">
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['regex']->value, 'item', false, NULL, 'items', array (
  'iteration' => true,
));
$_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;
$_smarty_tpl->tpl_vars['__smarty_foreach_items']->value['iteration']++;
?>
						<div class="step-card" data-aos="zoom-out" data-aos-duration="500" data-aos-delay="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['delayNum2']->value, ENT_QUOTES, 'UTF-8', true);?>
00">
							<div class="step-card__number"><?php echo htmlspecialchars((string)(isset($_smarty_tpl->tpl_vars['__smarty_foreach_items']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_items']->value['iteration'] : null), ENT_QUOTES, 'UTF-8', true);?>
</div>
							<div class="step-card__info">
								<div class="text-tmp title-20 title-accent">
									<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['item']->value['code'], ENT_QUOTES, 'UTF-8', true);?>
</h3>
									<p><?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
</p>
								</div>
							</div>
						</div>

						<?php $_smarty_tpl->_assignInScope('delayNum2', $_smarty_tpl->tpl_vars['delayNum2']->value+1);?>
					<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
				</div>
			</div>

		</div>
	</section>
	<?php }?>
	
		<?php $_smarty_tpl->_subTemplateRender("file:blocks/contacts.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
	
</main>

<?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}
}
