<?php
/* Smarty version 4.5.2, created on 2024-05-13 14:22:42
  from '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/index.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_6641dbe2746461_93755435',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '2204cb87ae354cf54b44f6b1a865c75ad63136d0' => 
    array (
      0 => '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/index.tpl',
      1 => 1715592160,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:modules/slider.tpl' => 1,
    'file:blocks/about-numbers.tpl' => 1,
    'file:blocks/why.tpl' => 1,
    'file:items/service.tpl' => 1,
    'file:items/news.tpl' => 2,
    'file:icon/svg.tpl' => 1,
    'file:blocks/contacts.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_6641dbe2746461_93755435 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Users/nikolaimv/Sites/yzb.loc/includes/smarty_plugins/function.fetch_section.php','function'=>'smarty_function_fetch_section',),1=>array('file'=>'/Users/nikolaimv/Sites/yzb.loc/includes/smarty_plugins/function.fetch_sections.php','function'=>'smarty_function_fetch_sections',),2=>array('file'=>'/Users/nikolaimv/Sites/yzb.loc/includes/smarty_plugins/function.fetch_articles.php','function'=>'smarty_function_fetch_articles',),));
$_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/slider.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
	
		<?php echo smarty_function_fetch_section(array('assign'=>'aboutSection','section'=>2,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['aboutSection']->value) && $_smarty_tpl->tpl_vars['aboutSection']->value['status'] == 'V') {?>
	<section class="flex:col pad-t-50 over-hide">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-150">
				<div class="text-tmp title-40 title-tt-up title-accent-2 all-center x-center max-w-768">
					<h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['aboutSection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2>
					<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'page_break' ][ 0 ], array( $_smarty_tpl->tpl_vars['aboutSection']->value['content'],0 ));?>

				</div>

								<?php $_smarty_tpl->_subTemplateRender("file:blocks/about-numbers.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('items'=>$_smarty_tpl->tpl_vars['aboutSection']->value), 0, false);
?>
							</div>
		</div>
				<div class="decor-img-left building large bot anim-left_js"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/claud-left-building.png" alt=""></div>
		<div class="decor-img-right building large bot anim-right_js"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/claud-right-building.png" alt=""></div>
	</section>
	<?php }?>
	
		<?php $_smarty_tpl->_subTemplateRender("file:blocks/why.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
	

		<?php echo smarty_function_fetch_section(array('assign'=>'servicesSection','section'=>3,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['servicesSection']->value) && $_smarty_tpl->tpl_vars['servicesSection']->value['status'] == 'V') {?>
	<section class="flex:col pad-tb-50 over-hide">
		<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><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['servicesSection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div>
					<a class="link-more" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['servicesSection']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">Подробнее</a>
				</div>

				<?php echo smarty_function_fetch_sections(array('assign'=>'services','from'=>$_smarty_tpl->tpl_vars['servicesSection']->value['sectionId'],'status'=>"V",'image'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['services']->value)) {?>
				<div class="service-slider" data-aos="fade-up" data-aos-duration="1000">
					<div class="swiper service-slider_js">
						<div class="swiper-wrapper">
							<?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;
?>
								<div class="swiper-slide">
																		<?php $_smarty_tpl->_subTemplateRender("file:items/service.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
																	</div>
							<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
						</div>
					</div>

					<div class="service-slider__ui">
						<button class="arrow-slider service-prev_js">
							<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
								<path d="M366.924-213.463 100.001-480.385l266.923-266.922 41.768 41.768-194.54 195.155h646.231v59.999H214.537l195.155 195.154-42.768 41.768Z" />
							</svg>
						</button>
						<div class="service-slider__pagination"></div>
						<button class="arrow-slider service-next_js">
							<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
								<path d="m593.461-213.463-42.768-41.768 195.155-195.154H100.001v-59.999h646.231L551.693-705.539l41.768-41.768 266.922 266.922-266.922 266.922Z" />
							</svg>
						</button>
					</div>
				</div>
				<?php }?>
			</div>
		</div>
	</section>
	<?php }?>
	
		<?php echo smarty_function_fetch_section(array('assign'=>'newsSection','section'=>5,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['newsSection']->value) && $_smarty_tpl->tpl_vars['newsSection']->value['status'] == 'V') {?>
		<section class="flex:col pad-tb-50 over-hide">
			<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><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['newsSection']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div>
						<a class="link-more" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['newsSection']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">Подробнее</a>
					</div>

					<?php echo smarty_function_fetch_articles(array('limit'=>4,'assign'=>'news','section'=>$_smarty_tpl->tpl_vars['newsSection']->value['sectionId'],'image'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['news']->value)) {?>
					<div class="news">
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['news']->value, 'new', false, NULL, 'news', array (
  'first' => true,
  'index' => true,
));
$_smarty_tpl->tpl_vars['new']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['new']->value) {
$_smarty_tpl->tpl_vars['new']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['index'];
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first'] : null)) {?>
														<?php $_smarty_tpl->_subTemplateRender("file:items/news.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('type'=>'','position'=>"right",'truncateTitle'=>64,'truncateSummary'=>200), 0, true);
?>
													<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
						<div class="news__col">
							<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['news']->value, 'new', false, NULL, 'news', array (
  'first' => true,
  'index' => true,
));
$_smarty_tpl->tpl_vars['new']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['new']->value) {
$_smarty_tpl->tpl_vars['new']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['index'];
if (!(isset($_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_news']->value['first'] : null)) {?>
																<?php $_smarty_tpl->_subTemplateRender("file:items/news.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('type'=>"gorizontal",'position'=>"left",'truncateTitle'=>34,'truncateSummary'=>100), 0, true);
?>
															<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
						</div>
					</div>
					<?php }?>
				</div>
			</div>
		</section>
	<?php }?>
	
		<?php echo smarty_function_fetch_section(array('assign'=>'projectsSection','section'=>4,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['projectsSection']->value) && $_smarty_tpl->tpl_vars['projectsSection']->value['status'] == 'V') {?>
	<section class="flex:col pad-tb-50 over-hide">
		<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><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['projectsSection']->value['alias'], ENT_QUOTES, 'UTF-8', true);?>
</h2></div>
					<a class="link-more" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['projectsSection']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">Подробнее</a>
				</div>

				<?php echo smarty_function_fetch_articles(array('limit'=>2,'assign'=>'projects','section'=>$_smarty_tpl->tpl_vars['projectsSection']->value['sectionId'],'typeContent'=>"projects",'image'=>true),$_smarty_tpl);?>

				<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['projects']->value, 'project', false, NULL, 'projects', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['project']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['project']->value) {
$_smarty_tpl->tpl_vars['project']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_projects']->value['iteration']++;
?>
					<div class="grid:fr-2 g-gap-40">
						<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_projects']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_projects']->value['iteration'] : null)%2 != 0) {?>
						<div class="grid:fr-1 g-gap-40" data-aos="fade-up" data-aos-duration="500">
							<div class="text-tmp title-36 title-accent max-w-650"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div>
						</div>
						<?php }?>

						<div class="grid:fr-1 g-gap-40 y-center" data-aos="fade-up" data-aos-duration="500">
							<div class="text-tmp title-36 title-accent ">
								<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h3>
								<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'page_break' ][ 0 ], array( $_smarty_tpl->tpl_vars['project']->value['summary'],0 ));?>

							</div>
							<a class="btn accent" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">Подробнее</a>
						</div>
						<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_projects']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_projects']->value['iteration'] : null)%2 == 0) {?>
						<div class="grid:fr-1 g-gap-40" data-aos="fade-up" data-aos-duration="500">
							<div class="text-tmp title-36 title-accent max-w-650"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div>
						</div>
						<?php }?>

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

			</div>
		</div>

				<div class="decor-bg">
			<?php $_smarty_tpl->_subTemplateRender("file:icon/svg.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('svgId'=>"project_decor_bg",'fill'=>"none"), 0, false);
?>
		</div>
		
		<div class="decor-img-left building small" data-aos="fade-right" data-aos-duration="1000"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/building-left.png" alt=""></div>
		<div class="decor-img-right building bot" data-aos="fade-left" data-aos-duration="1000"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/building-right.png" alt=""></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);
}
}
