<?php /* Smarty version 2.6.26, created on 2020-06-27 09:04:32
         compiled from blocks/news_block.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'blocks/news_block.tpl', 9, false),array('modifier', 'strip_tags', 'blocks/news_block.tpl', 14, false),array('modifier', 'truncate', 'blocks/news_block.tpl', 14, false),array('modifier', 'strlen', 'blocks/news_block.tpl', 14, false),)), $this); ?>
<!-- news block tpl -->

<?php if (! empty ( $this->_tpl_vars['all_news'] )): ?>
	<ul class="news">
	<?php $_from = $this->_tpl_vars['all_news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['news']):
?>
		<li>
			<div>
				<div class="date">
					<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['Date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d') : smarty_modifier_date_format($_tmp, '%d')); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['news']['Date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%b') : smarty_modifier_date_format($_tmp, '%b')); ?>

				</div>
				
				<a title="<?php echo $this->_tpl_vars['news']['title']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['news']; ?>
/<?php echo $this->_tpl_vars['news']['Path']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['news']; ?>
&amp;id=<?php echo $this->_tpl_vars['news']['ID']; ?>
<?php endif; ?>"><h4><?php echo $this->_tpl_vars['news']['title']; ?>
</h4></a>
			</div>			
			<article><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['news']['content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp, false) : smarty_modifier_strip_tags($_tmp, false)))) ? $this->_run_mod_handler('truncate', true, $_tmp, $this->_tpl_vars['config']['news_block_content_length'], "", false) : smarty_modifier_truncate($_tmp, $this->_tpl_vars['config']['news_block_content_length'], "", false)); ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['news']['content'])) ? $this->_run_mod_handler('strlen', true, $_tmp) : strlen($_tmp)) > $this->_tpl_vars['config']['news_block_content_length']): ?>...<?php endif; ?></article>
		</li>
	<?php endforeach; endif; unset($_from); ?>
	</ul>
	<div class="ralign">
		<a title="<?php echo $this->_tpl_vars['lang']['all_news']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['news']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['news']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['all_news']; ?>
</a>
	</div>
<?php else: ?>
	<?php echo $this->_tpl_vars['lang']['no_news']; ?>

<?php endif; ?>

<!-- news block tpl end -->