<?php
/* Smarty version 4.5.2, created on 2024-05-15 07:11:30
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-vacancies.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_6644602235a901_71245527',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '7d8dd900afb5b88a8d717eeb636f9e4c9bb47f72' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/section-vacancies.tpl',
      1 => 1715616399,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:modules/banner.tpl' => 1,
    'file:form/search-form.tpl' => 1,
    'file:modules/pagination.tpl' => 1,
    'file:icon/svg.tpl' => 1,
    'file:blocks/contacts.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_6644602235a901_71245527 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/smarty_plugins/function.fetch_articles.php','function'=>'smarty_function_fetch_articles',),1=>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',),));
$_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'=>5,'assign'=>'vacancies','query'=>$_smarty_tpl->tpl_vars['query']->value,'assignPagination'=>'pagination','page'=>$_smarty_tpl->tpl_vars['page']->value,'section'=>$_smarty_tpl->tpl_vars['section']->value['sectionId'],'path'=>$_smarty_tpl->tpl_vars['section']->value['path'],'seFriendly'=>true,'typeContent'=>"vacancys",'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="grid:fr-1 g-gap-40 max-w-1000 x-center">

										<?php $_smarty_tpl->_subTemplateRender("file:form/search-form.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
					
					<div class="grid:fr-1 g-gap-20">

						<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['vacancies']->value, 'vacancy');
$_smarty_tpl->tpl_vars['vacancy']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['vacancy']->value) {
$_smarty_tpl->tpl_vars['vacancy']->do_else = false;
?>
							<div class="job-card">
								<div class="job-card__head">
									<div class="text-tmp txt-accent-6 txt-14">
										<p>Дата публикации: <?php echo htmlspecialchars((string)smarty_modifier_date_format($_smarty_tpl->tpl_vars['vacancy']->value['publishedOn'],$_smarty_tpl->tpl_vars['config']->value['date_format_custom']), ENT_QUOTES, 'UTF-8', true);?>
</p>
									</div>
								</div>

								<div class="job-card__content">
									<div class="text-tmp title-20 title-tt-up title-accent">
										<h2><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['vacancy']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</h2>
										<?php echo $_smarty_tpl->tpl_vars['vacancy']->value['summary'];?>

									</div>
								</div>

								<div class="job-card__footer">
									<a class="btn accent transparent" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['vacancy']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">Откликнутся</a>
								</div>
							</div>
						<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
					</div>

										<?php $_smarty_tpl->_subTemplateRender("file:modules/pagination.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('class'=>"pagination x-right"), 0, false);
?>
									</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>

		<?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);
}
}
