<?php
/* Smarty version 4.5.2, created on 2024-05-14 10:15:08
  from '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/items/news.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_664339acdf92a9_52504496',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '70e5b44eed1fa1eb4b6c0158c34bf4f2590ae8bb' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/themes/template-ru/items/news.tpl',
      1 => 1715584417,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_664339acdf92a9_52504496 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/life/public_html/yzb.lifestyle.uz/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),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',),));
?>
<a class="news-card <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['type']->value, ENT_QUOTES, 'UTF-8', true);?>
" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['new']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
"  data-aos="<?php if ($_smarty_tpl->tpl_vars['position']->value == 'right') {?>fade-right<?php } else { ?>fade-left<?php }?>" data-aos-duration="500"'><div class="news-card__img"><img src="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['new']->value['image']['original'], ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['new']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></div><div class="news-card__info"><div class="text-tmp title-28 txt-14"><h3><?php echo htmlspecialchars((string)smarty_modifier_truncate($_smarty_tpl->tpl_vars['new']->value['title'],$_smarty_tpl->tpl_vars['truncateTitle']->value), ENT_QUOTES, 'UTF-8', true);?>
</h3><p><?php echo htmlspecialchars((string)smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', (string) $_smarty_tpl->tpl_vars['new']->value['summary']),$_smarty_tpl->tpl_vars['truncateSummary']->value), ENT_QUOTES, 'UTF-8', true);?>
</p></div><div class="news-card__footer"><p><time><?php echo htmlspecialchars((string)smarty_modifier_date_format($_smarty_tpl->tpl_vars['new']->value['publishedOn'],$_smarty_tpl->tpl_vars['config']->value['date_format_custom']), ENT_QUOTES, 'UTF-8', true);?>
</time></p></div></div></a><?php }
}
