<?php
/* Smarty version 4.5.2, created on 2024-05-16 12:52:16
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-service.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66460180201d41_00040258',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'cff6d5143b2f50f964ed581ae29047d16a7376c1' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-service.tpl',
      1 => 1715585365,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:items/service.tpl' => 1,
    'file:blocks/contacts.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_66460180201d41_00040258 (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',),));
$_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">

	<section class="flex:col pad-tb-50">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<a class="btn-back" href="#" onclick="window.history.back();return false;">Назад</a>
				<div class="text-tmp title-48 title-tt-up">
					<h1><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h1>
					<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
">
				</div>
				<div class="text-tmp title-48 title-tt-up max-w-768 x-center">
					<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'page_break' ][ 0 ], array( $_smarty_tpl->tpl_vars['section']->value['content'],null ));?>

				</div>
			</div>
		</div>
	</section>

		<?php echo smarty_function_fetch_sections(array('assign'=>'services','from'=>3,'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>Другие услуги</h2></div>
					</div>

					<div class="grid:fr-4 g-gap-20 max">
						<?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;
if ($_smarty_tpl->tpl_vars['service']->value['sectionId'] != $_smarty_tpl->tpl_vars['section']->value['sectionId']) {?>
														<?php $_smarty_tpl->_subTemplateRender("file:items/service.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
													<?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);
}
}
