<?php
/* Smarty version 4.5.2, created on 2024-08-15 07:51:18
  from '/home/life/public_html/teg.lifestyle.uz/themes/template-ru/footer.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66bdb376036317_55657830',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd2f5b1e31fb316568ffc01e2770e7c504782516c' => 
    array (
      0 => '/home/life/public_html/teg.lifestyle.uz/themes/template-ru/footer.tpl',
      1 => 1723708275,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:modules/socials.tpl' => 1,
    'file:init/script-recaptcha.tpl' => 1,
  ),
),false)) {
function content_66bdb376036317_55657830 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/smarty_plugins/function.fetch_sections.php','function'=>'smarty_function_fetch_sections',),1=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/smarty_plugins/function.logo.php','function'=>'smarty_function_logo',),2=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),3=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.explode.php','function'=>'smarty_modifier_explode',),4=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/smarty_plugins/function.yandex_metrika.php','function'=>'smarty_function_yandex_metrika',),5=>array('file'=>'/home/life/public_html/teg.lifestyle.uz/includes/smarty_plugins/function.google_analytics.php','function'=>'smarty_function_google_analytics',),));
?>
<footer class="footer">
	
	<?php echo smarty_function_fetch_sections(array('assign'=>'footerMenus','status'=>"V",'footerMenu'=>1,'level'=>1),$_smarty_tpl);?>

	
	<div class="flex:col-max">

		<div class="footer__inner">

			<div class="footer__content">

				
<?php echo smarty_function_logo(array('link'=>true,'classLink'=>"header__logo"),$_smarty_tpl);?>


				<nav class="footer__nav">
					<ul>
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['footerMenus']->value, 'footerMenu', false, 'key', 'footerMenus', array (
));
$_smarty_tpl->tpl_vars['footerMenu']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['footerMenu']->value) {
$_smarty_tpl->tpl_vars['footerMenu']->do_else = false;
?>
							<li><a <?php if ((isset($_smarty_tpl->tpl_vars['section']->value['sectionId'])) && $_smarty_tpl->tpl_vars['section']->value['sectionId'] == $_smarty_tpl->tpl_vars['footerMenu']->value['sectionId']) {?>class="active"<?php }?> href="<?php if (!empty($_smarty_tpl->tpl_vars['footerMenu']->value['externalLink'])) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['footerMenu']->value['externalLink'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
#<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['footerMenu']->value['fileName'], ENT_QUOTES, 'UTF-8', true);
}?>"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['footerMenu']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</a></li>
						<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</ul>
				</nav>

				<div class="social accent-3">
					<?php $_smarty_tpl->_subTemplateRender("file:modules/socials.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('path'=>"/images/icons/social/"), 0, false);
?>
				</div>

			</div>

			<div class="footer__copy">
				<div class="footer__copy-item">
					<div class="text-tmp mar-all-0">
						<p>&copy;2024 «<a href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
" title="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_name'], ENT_QUOTES, 'UTF-8', true);?>
"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_name'], ENT_QUOTES, 'UTF-8', true);?>
</a>»</p>
					</div>
				</div>

				<div class="footer__copy-item">
					<div class="text-tmp mar-all-0">
						<p><a href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/policy/">Политика конфиденциальности</a></p>
					</div>
				</div>

				<div class="footer__copy-item">
					<a href="https://www.life-style.uz/" title="Создание и поддержка сайтов в Ташкенте" target="_blank">Создание сайтов: <i>LIFESTYLE CREATIVE</i></a>
				</div>
			</div>

		</div>

	</div>
</footer>


<?php echo '<script'; ?>
 src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/js/vendor/jquery.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/js/vendor/fancybox.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/js/vendor/swiper-bundle.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/js/main.js<?php if (!$_smarty_tpl->tpl_vars['config']->value['compress_js_css']) {?>?v<?php echo htmlspecialchars((string)smarty_modifier_date_format(time(),"%s"), ENT_QUOTES, 'UTF-8', true);
}?>"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="module" src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/js/moduls/moduls.js" async><?php echo '</script'; ?>
>

<?php $_smarty_tpl->_subTemplateRender("file:init/script-recaptcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<?php echo '<script'; ?>
 src="https://api-maps.yandex.ru/2.1/?apikey=<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['maps']->value['api_key'], ENT_QUOTES, 'UTF-8', true);?>
&amp;lang=<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_language'], ENT_QUOTES, 'UTF-8', true);?>
" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
	ymaps.ready(init);

	function init() {
		const mapNode = document.querySelector('#map')

		if (mapNode) {
			var sizeZoom = <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['maps']->value['zoom'], ENT_QUOTES, 'UTF-8', true);?>

			if (window.innerWidth < 768) {
				sizeZoom = 12
			}

			var myMap = new ymaps.Map("map", { center: [<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['maps']->value['coordinates'], ENT_QUOTES, 'UTF-8', true);?>
], zoom: sizeZoom, controls: [] }, { suppressMapOpenBlock: true }),
					myGeoObject = new ymaps.GeoObject();

			let arrCords = [[<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['maps']->value['coordinates'], ENT_QUOTES, 'UTF-8', true);?>
]]

			let arrText = [['<h2><?php echo smarty_function_logo(array('link'=>false,'classLink'=>"header__logo",'style'=>"width:120px"),$_smarty_tpl);?>
</h2><p><b>Contacts</b><br><?php $_smarty_tpl->_assignInScope('phones', smarty_modifier_explode(", ",$_smarty_tpl->tpl_vars['config']->value['phone']));
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['phones']->value, 'phone');
$_smarty_tpl->tpl_vars['phone']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['phone']->value) {
$_smarty_tpl->tpl_vars['phone']->do_else = false;
?><a href="<?php echo htmlspecialchars((string)call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'strip_phone' ][ 0 ], array( $_smarty_tpl->tpl_vars['phone']->value )), ENT_QUOTES, 'UTF-8', true);?>
"><?php echo htmlspecialchars((string)call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'format_phone' ][ 0 ], array( $_smarty_tpl->tpl_vars['phone']->value )), ENT_QUOTES, 'UTF-8', true);?>
</a><br><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?></p><p><b>Address</b><br><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['address'], ENT_QUOTES, 'UTF-8', true);?>
</p>']]

			for (let index = 0; index < arrCords.length; index++) {
				const element = arrCords[index];
				const text = arrText[index];

				myMap.geoObjects.add(myGeoObject)
				myMap.geoObjects.add(new ymaps.Placemark(
						[element[0], element[1]],
						{ balloonContentHeader: text[0], balloonContentBody: text[1],},
						{ preset: '<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/icon/map/icon.png', iconCaptionMaxWidth: '30', iconColor: '#e2000f',}
					)
				)
			}
		}
	}
<?php echo '</script'; ?>
>

<?php if ((isset($_smarty_tpl->tpl_vars['config']->value['yandex_metrika'])) && !empty($_smarty_tpl->tpl_vars['config']->value['yandex_metrika'])) {?>
	<?php echo smarty_function_yandex_metrika(array('code'=>$_smarty_tpl->tpl_vars['config']->value['yandex_metrika']),$_smarty_tpl);?>

<?php }
if ((isset($_smarty_tpl->tpl_vars['config']->value['google_analytics'])) && !empty($_smarty_tpl->tpl_vars['config']->value['google_analytics'])) {?>
	<?php echo smarty_function_google_analytics(array('code'=>$_smarty_tpl->tpl_vars['config']->value['google_analytics']),$_smarty_tpl);?>

<?php }?>

</body>
</html><?php }
}
