<?php /* Smarty version 2.6.26, created on 2020-06-26 20:59:17
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/booking/availability_listings.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', '/home3/bargaip4/public_html/gevimmo/plugins/booking/availability_listings.tpl', 5, false),array('modifier', 'count', '/home3/bargaip4/public_html/gevimmo/plugins/booking/availability_listings.tpl', 10, false),array('modifier', 'regex_replace', '/home3/bargaip4/public_html/gevimmo/plugins/booking/availability_listings.tpl', 26, false),array('function', 'paging', '/home3/bargaip4/public_html/gevimmo/plugins/booking/availability_listings.tpl', 10, false),)), $this); ?>
<!-- booking availability search tpl -->

<?php if (! empty ( $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_navbar.tpl') : smarty_modifier_cat($_tmp, 'grid_navbar.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<?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()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

	<!-- paging block -->
	<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?>
		<?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['category']['Path'],'var' => 'listing'), $this);?>

	<?php else: ?>
		<?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['category']['ID'],'var' => 'category'), $this);?>

	<?php endif; ?>
	<!-- paging block end -->

<?php else: ?>

	<div class="<?php if ($this->_tpl_vars['tpl_settings']['type'] == 'responsive_42'): ?>text-notice<?php else: ?>info<?php endif; ?>">
		<?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_found'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/\[(.+)\]/', $this->_tpl_vars['link']) : smarty_modifier_regex_replace($_tmp, '/\[(.+)\]/', $this->_tpl_vars['link'])); ?>

	</div>

<?php endif; ?>

<!-- booking availability search tpl end -->