<?php
/* Smarty version 4.5.2, created on 2024-05-17 07:04:23
  from '/home/life/public_html/yzb.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_66470177d851a7_59032805',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'ee4544953eb6fd5788487dbd9204a6a9ca4a38f0' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/footer.tpl',
      1 => 1715929462,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:modules/socials.tpl' => 1,
    'file:init/script-recaptcha.tpl' => 1,
  ),
),false)) {
function content_66470177d851a7_59032805 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.logo.php','function'=>'smarty_function_logo',),1=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.fetch_sections.php','function'=>'smarty_function_fetch_sections',),2=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.explode.php','function'=>'smarty_modifier_explode',),3=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),4=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.yandex_metrika.php','function'=>'smarty_function_yandex_metrika',),5=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.google_analytics.php','function'=>'smarty_function_google_analytics',),));
?>
<footer class="footer">
	<div class="flex:col-max">

		<div class="footer__inner">
						<?php echo smarty_function_logo(array('link'=>true,'classLink'=>"footer__logo logo"),$_smarty_tpl);?>

			
			<div class="footer__nav">
				<div class="footer__list">
					<div class="text-tmp title-22 color-white"><h4>Меню</h4></div>
					<ul>
						<?php echo smarty_function_fetch_sections(array('assign'=>'footerMenus','status'=>"V",'footerMenu'=>1,'level'=>1),$_smarty_tpl);?>

						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['footerMenus']->value, 'footerMenu', false, NULL, 'footerMenus', array (
));
$_smarty_tpl->tpl_vars['footerMenu']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['footerMenu']->value) {
$_smarty_tpl->tpl_vars['footerMenu']->do_else = false;
?>
							<li><a 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);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['footerMenu']->value['url'], ENT_QUOTES, 'UTF-8', true);
}?>"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['footerMenu']->value['alias'], ENT_QUOTES, 'UTF-8', true);?>
</a></li>
						<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</ul>
				</div>

				<div class="footer__list">
					<div class="text-tmp title-22 color-white"><h4>Информация</h4></div>
					<ul>
						<?php echo smarty_function_fetch_sections(array('assign'=>'otherPages','sections'=>array(31,32,33),'status'=>"V",'getContent'=>true),$_smarty_tpl);?>

						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['otherPages']->value, 'otherPage');
$_smarty_tpl->tpl_vars['otherPage']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['otherPage']->value) {
$_smarty_tpl->tpl_vars['otherPage']->do_else = false;
?>
						<li><a href="<?php if (!empty($_smarty_tpl->tpl_vars['otherPage']->value['externalLink'])) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['otherPage']->value['externalLink'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['otherPage']->value['url'], ENT_QUOTES, 'UTF-8', true);
}?>"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['otherPage']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</a></li>
						<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</ul>
				</div>

				<div class="footer__list">
					<div class="text-tmp title-22 color-white"><h4>Контакты</h4></div>
					<div class="footer__list-phone">
						<ul>
							<?php $_smarty_tpl->_assignInScope('phones', smarty_modifier_explode(", ",$_smarty_tpl->tpl_vars['config']->value['phone']));?>
							<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['phones']->value, 'phone', false, NULL, 'phones', array (
));
$_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;
?>
								<li><a href="tel:<?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></li>
							<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
							<li>Консультации и расчёт</li>
						</ul>
					</div>

					<div class="footer__list-mail">
						<ul>
							<li>Электронная почта:</li>
							<li><a href="mailto:<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['email'], ENT_QUOTES, 'UTF-8', true);?>
"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['email'], ENT_QUOTES, 'UTF-8', true);?>
</a></li>
						</ul>
					</div>

					<div class="footer__list-adress">
						<ul>
							<li>Адрес:</li>
							<li><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['address'], ENT_QUOTES, 'UTF-8', true);?>
</li>
						</ul>
					</div>
				</div>

				<div class="footer__list">
					<div class="text-tmp title-22 color-white"><h4>Соц. сети</h4></div>
					<div class="social"><?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 class="footer__list-adress">
						<ul>
							<li>“<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_name'], ENT_QUOTES, 'UTF-8', true);?>
”</li>
							<li>© yazb.uz <?php if (smarty_modifier_date_format(time(),"%Y") != 2023) {?>2023 - <?php }
echo htmlspecialchars((string)smarty_modifier_date_format(time(),"%Y"), ENT_QUOTES, 'UTF-8', true);?>
</li>
							<li>ИНН <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['inn'], ENT_QUOTES, 'UTF-8', true);?>
</li>
						</ul>
					</div>
				</div>
			</div>

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

<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<?php echo '<script'; ?>
 src="https://unpkg.com/aos@2.3.1/dist/aos.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
	AOS.init();
<?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/gsap.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/ScrollSmoother.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/ScrollTrigger.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>Контакты</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>Адрес</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 }
}
