<?php
/* Smarty version 4.5.2, created on 2024-05-13 21:08:25
  from '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/section-teams.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66423af9e3d791_31398044',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'f4c4d8ae0400243e92b0397898fa2bfaa4a325c6' => 
    array (
      0 => '/Users/nikolaimv/Sites/yzb.loc/themes/template-ru/section-teams.tpl',
      1 => 1715616502,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:modules/banner.tpl' => 1,
    'file:icon/svg.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_66423af9e3d791_31398044 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>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);
?>

<?php echo smarty_function_fetch_articles(array('perPage'=>50,'assign'=>'teams','section'=>$_smarty_tpl->tpl_vars['section']->value['sectionId'],'assignPagination'=>'pagination','page'=>$_smarty_tpl->tpl_vars['page']->value,'path'=>$_smarty_tpl->tpl_vars['section']->value['path'],'seFriendly'=>true,'image'=>true),$_smarty_tpl);?>


<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-tb-50">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="block-head">
					<div class="text-tmp title-32 title-tt-up title-accent all-center max-w-768 x-center">
						<?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-3 g-gap-20 max">
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['teams']->value, 'team');
$_smarty_tpl->tpl_vars['team']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['team']->value) {
$_smarty_tpl->tpl_vars['team']->do_else = false;
?>
						<div class="team-card">
							<div class="team-card__img"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['team']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['team']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div>
							<div class="team-card__info">
								<div class="text-tmp title-20 title-dec-14 title-accent title-tt-up marg-all-10">
									<h3><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['team']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h3>
									<h4><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['team']->value['alias'], ENT_QUOTES, 'UTF-8', true);?>
</h4>
									<?php echo $_smarty_tpl->tpl_vars['team']->value['summary'];?>

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

						<div class="decor-triangle">
				<?php $_smarty_tpl->_subTemplateRender("file:icon/svg.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('svgId'=>"decor_triangle",'fill'=>"none"), 0, false);
?>
			</div>
			
		</div>
	</section>

</main>


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