<?php
/* Smarty version 4.5.2, created on 2024-05-17 06:57:38
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-contacts.tpl' */

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

		<?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 $_smarty_tpl->_subTemplateRender("file:blocks/contacts.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'=>'branches','from'=>$_smarty_tpl->tpl_vars['section']->value['sectionId'],'status'=>"V",'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['branches']->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-36 title-tt-up title-accent ">
						<h2>Наши филиалы</h2>
					</div>
				</div>

				<div class="grid:fr-3 g-gap-20 max">
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['branches']->value, 'branch');
$_smarty_tpl->tpl_vars['branch']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['branch']->value) {
$_smarty_tpl->tpl_vars['branch']->do_else = false;
?>
						<div class="contact-card">
							<div class="text-tmp title-18 title-accent"><h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['branch']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h3></div>
							<?php echo $_smarty_tpl->tpl_vars['branch']->value['content'];?>

						</div>
					<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
				</div>
			</div>
		</div>
	</section>
	<?php }?>

	<div class="flex:col pad-tb-50">
		<div class="flex:col-max">
			<div class="map" id="map"></div>
		</div>
	</div>

</main>



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