<?php
/* Smarty version 4.5.2, created on 2024-05-13 11:51:44
  from '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/section-about.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_6641b8809659f8_51154242',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'c45c6693527d5ff06b4a14f6f06e39bae7878e23' => 
    array (
      0 => '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/section-about.tpl',
      1 => 1715583103,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:modules/banner.tpl' => 2,
    'file:blocks/about-numbers.tpl' => 2,
    'file:blocks/why.tpl' => 2,
    'file:blocks/contacts.tpl' => 2,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_6641b8809659f8_51154242 (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',),));
$_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);
?>
	
	<section class="flex:col pad-t-50 over-hide">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="both-diff">
					<div class="grid:fr-1 g-gap-40">
						<div class="text-tmp title-40 title-accent-2">
							<h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
 «<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_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['section']->value['content'],null ));?>

						</div>

					</div>

					<div class="grid:fr-1 g-gap-40">
												<?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['section']->value), 0, false);
?>
											</div>
				</div>
			</div>
		</div>
		<div class="decor-img-left 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.png" alt=""></div>
		<div class="decor-img-right 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.png" alt=""></div>
	</section>

		<?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'=>'historySection','section'=>16,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['historySection']->value) && $_smarty_tpl->tpl_vars['historySection']->value['status'] == 'V') {?>
	<section class="flex:col pad-tb-50">
		<div class="history history_js">
			<div class="flex:col-max">
				<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['historySection']->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['historySection']->value['content'],null ));?>

					</div>
				</div>
			</div>
			<?php echo smarty_function_fetch_sections(array('assign'=>'historys','from'=>$_smarty_tpl->tpl_vars['historySection']->value['sectionId'],'status'=>"V",'getContent'=>true,'image'=>true),$_smarty_tpl);?>

			<div class="history__inner">
				<div class="history__content history-content_js">
					<div class="history__row">

						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['historys']->value, 'history', false, NULL, 'historys', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['history']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['history']->value) {
$_smarty_tpl->tpl_vars['history']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration'] : null)%2 != 0) {?>
							<div class="history__item">
								<div class="history__item-date"><span><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['alias'], 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['history']->value['content'],null ));?>

									</div>

									<div class="history__item-img">
										<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
">
									</div>
								</div>
							</div>
						<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</div>

					<span class="history__line"></span>

					<div class="history__row">
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['historys']->value, 'history', false, NULL, 'historys', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['history']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['history']->value) {
$_smarty_tpl->tpl_vars['history']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration'] : null)%2 == 0) {?>
							<div class="history__item">
								<div class="history__item-date"><span><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['alias'], 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['history']->value['content'],null ));?>

									</div>

									<div class="history__item-img">
										<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
">
									</div>
								</div>
							</div>
						<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</div>
				</div>
			</div>
		</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>

<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, true);
?>
	
	<section class="flex:col pad-t-50">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="both-diff">
					<div class="grid:fr-1 g-gap-40">
						<div class="text-tmp title-40 title-accent-2">
							<h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
 «<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_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['section']->value['content'],null ));?>

						</div>
					</div>

					<div class="grid:fr-1 g-gap-40">
												<?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['section']->value), 0, true);
?>
											</div>
				</div>
			</div>
		</div>

		<div class="decor-img-left"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/claud-left.png" alt=""></div>
		<div class="decor-img-right"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['ASSETS_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/images/common/decor/claud-right.png" alt=""></div>
	</section>

		<?php $_smarty_tpl->_subTemplateRender("file:blocks/why.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
	

		<?php echo smarty_function_fetch_section(array('assign'=>'historySection','section'=>16,'getContent'=>true),$_smarty_tpl);
if (!empty($_smarty_tpl->tpl_vars['historySection']->value) && $_smarty_tpl->tpl_vars['historySection']->value['status'] == 'V') {?>
	<section class="flex:col pad-tb-50">

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

				<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['historySection']->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['historySection']->value['content'],null ));?>

					</div>
				</div>

			</div>

			<?php echo smarty_function_fetch_sections(array('assign'=>'historys','from'=>$_smarty_tpl->tpl_vars['historySection']->value['sectionId'],'status'=>"V",'getContent'=>true,'image'=>true),$_smarty_tpl);?>

			<div class="history__inner">
				<div class="history__content history-content_js">

					<div class="history__row">
						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['historys']->value, 'history', false, NULL, 'historys', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['history']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['history']->value) {
$_smarty_tpl->tpl_vars['history']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration'] : null)%2 != 0) {?>
							<div class="history__item">
								<div class="history__item-date"><span><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['alias'], 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['history']->value['content'],null ));?>

									</div>

									<div class="history__item-img">
										<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
">
									</div>
								</div>
							</div>
						<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

					</div>

					<span class="history__line"></span>

					<div class="history__row">

						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['historys']->value, 'history', false, NULL, 'historys', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['history']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['history']->value) {
$_smarty_tpl->tpl_vars['history']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']++;
if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_historys']->value['iteration'] : null)%2 == 0) {?>
							<div class="history__item">
								<div class="history__item-date"><span><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['alias'], 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['history']->value['content'],null ));?>

									</div>

									<div class="history__item-img">
										<img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['history']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
">
									</div>
								</div>
							</div>
						<?php }
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</div>

				</div>
			</div>
		</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, true);
?>
	
</main>


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