<?php /* Smarty version 2.6.26, created on 2020-06-26 07:05:33
         compiled from blocks/recently.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'blocks/recently.tpl', 5, false),array('modifier', 'count', 'blocks/recently.tpl', 7, false),array('modifier', 'regex_replace', 'blocks/recently.tpl', 26, false),array('function', 'paging', 'blocks/recently.tpl', 16, false),)), $this); ?>
<!-- recently listings area -->
<?php $this->assign('partition', $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Page_key']); ?>

<?php if ($this->_tpl_vars['listings']): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'grid.tpl') : smarty_modifier_cat($_tmp, 'grid.tpl')), 'smarty_include_vars' => array('periods' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

	<?php if (count($this->_tpl_vars['listing_types']) > 1): ?>
		<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
			<?php $this->assign('type_url', $this->_tpl_vars['pages'][$this->_tpl_vars['partition']]); ?>
		<?php else: ?>
			<?php $this->assign('type_url', ((is_array($_tmp='type=')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['pages'][$this->_tpl_vars['partition']]) : smarty_modifier_cat($_tmp, $this->_tpl_vars['pages'][$this->_tpl_vars['partition']]))); ?>
		<?php endif; ?>
	<?php endif; ?>

	<!-- paging block -->
	<?php echo rlSmarty::paging(array('calc' => $this->_tpl_vars['pInfo']['calc'],'total' => count($this->_tpl_vars['listings']),'current' => $this->_tpl_vars['pInfo']['current'],'per_page' => $this->_tpl_vars['config']['listings_per_page'],'url' => $this->_tpl_vars['type_url']), $this);?>

	<!-- paging block end -->
<?php else: ?>
	<div class="text-notice">
		<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
			<?php $this->assign('href', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['pages']['add_listing']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['pages']['add_listing'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '.html') : smarty_modifier_cat($_tmp, '.html'))); ?>
		<?php else: ?>
			<?php $this->assign('href', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['rlBase'])) ? $this->_run_mod_handler('cat', true, $_tmp, '?page=') : smarty_modifier_cat($_tmp, '?page=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['pages']['add_listing']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['pages']['add_listing']))); ?>
		<?php endif; ?>
		<?php $this->assign('link', ((is_array($_tmp=((is_array($_tmp='<a href="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['href']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['href'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">$1</a>') : smarty_modifier_cat($_tmp, '">$1</a>'))); ?>
		<?php echo ((is_array($_tmp=$this->_tpl_vars['lang']['no_listings_here'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['link']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['link'])); ?>

	</div>
<?php endif; ?>

<!-- recently listings area end -->