<?php /* Smarty version 2.6.26, created on 2020-06-25 13:11:46
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/categories_icons/icons_pre_category.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'version_compare', '/home3/bargaip4/public_html/gevimmo/plugins/categories_icons/icons_pre_category.tpl', 4, false),array('modifier', 'cat', '/home3/bargaip4/public_html/gevimmo/plugins/categories_icons/icons_pre_category.tpl', 13, false),)), $this); ?>
<!-- categories_icons plugin -->

<?php if ($this->_tpl_vars['cat']['Icon'] && ( $this->_tpl_vars['config']['categories_icons_position'] == 'left' || $this->_tpl_vars['config']['categories_icons_position'] == 'top' )): ?>
    <?php if (((is_array($_tmp=$this->_tpl_vars['config']['rl_version'])) ? $this->_run_mod_handler('version_compare', true, $_tmp, "4.4.0") : version_compare($_tmp, "4.4.0")) >= 0): ?>
        <?php $this->assign('lt_tmp', $this->_tpl_vars['listing_types'][$this->_tpl_vars['cat']['Type']]); ?>
    <?php else: ?>
        <?php if (isset ( $this->_tpl_vars['listing_types'][$this->_tpl_vars['type']] )): ?>
            <?php $this->assign('lt_tmp', $this->_tpl_vars['listing_types'][$this->_tpl_vars['type']]); ?>
        <?php else: ?>
            <?php $this->assign('lt_tmp', $this->_tpl_vars['listing_type']); ?>
        <?php endif; ?>
    <?php endif; ?>
    <?php $this->assign('lt_page_path', ((is_array($_tmp='lt_')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lt_tmp']['Key']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lt_tmp']['Key']))); ?>
	<div style="<?php if ($this->_tpl_vars['config']['categories_icons_position'] == 'left'): ?>display: inline;<?php else: ?>display: block;<?php endif; ?>">
		<a class="category cat_icon" title="<?php echo $this->_tpl_vars['cat']['name']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['lt_page_path']]; ?>
/<?php echo $this->_tpl_vars['cat']['Path']; ?>
<?php if ($this->_tpl_vars['lt_tmp']['Cat_postfix']): ?>.html<?php else: ?>/<?php endif; ?><?php else: ?>?page=<?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['lt_page_path']]; ?>
&category=<?php echo $this->_tpl_vars['cat']['ID']; ?>
<?php endif; ?>">
			<img src="<?php echo @RL_URL_HOME; ?>
files/<?php echo $this->_tpl_vars['cat']['Icon']; ?>
" title="<?php echo $this->_tpl_vars['cat']['name']; ?>
" alt="<?php echo $this->_tpl_vars['cat']['name']; ?>
" />
		</a>
	</div>
<?php endif; ?>

<!-- end categories_icons plugin -->