<?php /* Smarty version 2.6.26, created on 2020-06-25 13:10:58
         compiled from menus/main_menu.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'menus/main_menu.tpl', 18, false),)), $this); ?>
<!-- main menu block -->

<?php echo '<div><span class="menu-button hide" title="'; ?><?php echo $this->_tpl_vars['lang']['menu']; ?><?php echo '"><span></span><span></span><span></span></span><span class="mobile-menu-header hide"><span>'; ?><?php echo $this->_tpl_vars['lang']['menu']; ?><?php echo '</span><span></span></span>'; ?><?php $_from = $this->_tpl_vars['main_menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['mMenu'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['mMenu']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['mainMenu']):
        $this->_foreach['mMenu']['iteration']++;
?><?php echo ''; ?><?php if ($this->_tpl_vars['mainMenu']['Key'] == 'add_listing'): ?><?php echo '<a class="add-property button" '; ?><?php if ($this->_tpl_vars['mainMenu']['No_follow'] || $this->_tpl_vars['mainMenu']['Login']): ?><?php echo 'rel="nofollow" '; ?><?php endif; ?><?php echo 'title="'; ?><?php echo $this->_tpl_vars['mainMenu']['title']; ?><?php echo '" href="'; ?><?php echo $this->_tpl_vars['rlBase']; ?><?php echo ''; ?><?php if ($this->_tpl_vars['pageInfo']['Controller'] != 'add_listing' && ! empty ( $this->_tpl_vars['category']['Path'] ) && ! $this->_tpl_vars['category']['Lock']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '/'; ?><?php echo $this->_tpl_vars['category']['Path']; ?><?php echo '/'; ?><?php echo $this->_tpl_vars['steps']['plan']['path']; ?><?php echo '.html'; ?><?php else: ?><?php echo '?page='; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '&amp;step='; ?><?php echo $this->_tpl_vars['steps']['plan']['path']; ?><?php echo '&amp;id='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '.html'; ?><?php echo $this->_tpl_vars['mainMenu']['Get_vars']; ?><?php echo ''; ?><?php else: ?><?php echo '?page='; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['mainMenu']['name']; ?><?php echo '</a>'; ?><?php break; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '<ul class="menu">'; ?><?php $_from = $this->_tpl_vars['main_menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['mMenu'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['mMenu']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['mainMenu']):
        $this->_foreach['mMenu']['iteration']++;
?><?php echo ''; ?><?php if ($this->_tpl_vars['mainMenu']['Key'] == 'add_listing'): ?><?php echo ''; ?><?php $this->assign('add_listing_button', $this->_tpl_vars['mainMenu']); ?><?php echo ''; ?><?php continue; ?><?php echo ''; ?><?php endif; ?><?php echo '<li '; ?><?php if ($this->_tpl_vars['pageInfo']['Key'] == $this->_tpl_vars['mainMenu']['Key']): ?><?php echo 'class="active"'; ?><?php endif; ?><?php echo '><a '; ?><?php if ($this->_tpl_vars['mainMenu']['No_follow'] || $this->_tpl_vars['mainMenu']['Login']): ?><?php echo 'rel="nofollow" '; ?><?php endif; ?><?php echo 'title="'; ?><?php echo $this->_tpl_vars['mainMenu']['title']; ?><?php echo '" href="'; ?><?php if ($this->_tpl_vars['mainMenu']['Page_type'] != 'external'): ?><?php echo ''; ?><?php echo $this->_tpl_vars['rlBase']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['pageInfo']['Controller'] != 'add_listing' && $this->_tpl_vars['mainMenu']['Controller'] == 'add_listing' && ! empty ( $this->_tpl_vars['category']['Path'] ) && ! $this->_tpl_vars['category']['Lock']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '/'; ?><?php echo $this->_tpl_vars['category']['Path']; ?><?php echo '/'; ?><?php echo $this->_tpl_vars['steps']['plan']['path']; ?><?php echo '.html'; ?><?php else: ?><?php echo '?page='; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '&amp;step='; ?><?php echo $this->_tpl_vars['steps']['plan']['path']; ?><?php echo '&amp;id='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['mainMenu']['Page_type'] == 'external'): ?><?php echo ''; ?><?php echo $this->_tpl_vars['mainMenu']['Controller']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['mainMenu']['Path'] != ''): ?><?php echo ''; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo '.html'; ?><?php echo $this->_tpl_vars['mainMenu']['Get_vars']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['mainMenu']['Path'] != ''): ?><?php echo '?page='; ?><?php echo $this->_tpl_vars['mainMenu']['Path']; ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['mainMenu']['Get_vars'])) ? $this->_run_mod_handler('replace', true, $_tmp, '?', '&amp;') : smarty_modifier_replace($_tmp, '?', '&amp;')); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['mainMenu']['name']; ?><?php echo '</a></li>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '<li class="more" style="display: none;"><span><span></span><span></span><span></span></span></li></ul></div>'; ?>


<ul id="main_menu_more"></ul>

<!-- main menu block end -->