<?php
/* Smarty version 4.5.2, created on 2024-05-13 21:18:44
  from '/Users/nikolaimv/Sites/yzb.loc/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_66423d64d778f5_73893793',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '03f5c28fb22ffeab372e3a9b3581cdb337d04ffc' => 
    array (
      0 => '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/section-contacts.tpl',
      1 => 1715617120,
      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_66423d64d778f5_73893793 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Users/nikolaimv/Sites/yzb.loc/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);
}
}
