<?php /* Smarty version 2.6.26, created on 2017-03-20 01:44:33
         compiled from content.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'content.tpl', 9, false),array('modifier', 'escape', 'content.tpl', 77, false),array('modifier', 'regex_replace', 'content.tpl', 79, false),array('function', 'rlHook', 'content.tpl', 53, false),)), $this); ?>
<!-- page content -->

<?php $this->assign('featured_gallary', false); ?>

<div id="wrapper">
	<div id="push-header"></div>
	
	<section id="main_container">
		<?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, 'bread_crumbs.tpl') : smarty_modifier_cat($_tmp, 'bread_crumbs.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

		<div class="inside-container point1 clearfix">
			<?php if ($this->_tpl_vars['pageInfo']['Key'] == 'home'): ?>
				<?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, 'home_content.tpl') : smarty_modifier_cat($_tmp, 'home_content.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
			<?php endif; ?>

			<div class="row">
			<!-- sidebar area -->
			<?php if (( $this->_tpl_vars['blocks']['left'] && $this->_tpl_vars['pageInfo']['Controller'] != 'listing_details' ) || $this->_tpl_vars['pageInfo']['Key'] == 'search_on_map'): ?>
				<aside class="left col-md-<?php if (( $this->_tpl_vars['pageInfo']['Key'] == 'home' || $this->_tpl_vars['pageInfo']['Controller'] == 'listing_details' || ! $this->_tpl_vars['blocks']['left'] ) && $this->_tpl_vars['pageInfo']['Key'] != 'search_on_map'): ?>12<?php else: ?>4<?php endif; ?> col-sm-12">
					<?php echo ''; ?><?php if ($this->_tpl_vars['pageInfo']['Key'] == 'search_on_map'): ?><?php echo ''; ?><?php 
							global $lang;
							$search_on_map_box = array(
								'name' => $lang['blocks+name+ltsb_listings'],
								'Key' => 'search_on_map_filter',
								'Tpl' => true,
								'Header' => true
							);
							$this -> assign('search_on_map_box', $search_on_map_box);
						 ?><?php echo ''; ?><?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, 'side_block_header.tpl') : smarty_modifier_cat($_tmp, 'side_block_header.tpl')), 'smarty_include_vars' => array('block_class' => 'side_block_search stick','block' => $this->_tpl_vars['search_on_map_box'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?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, 'refine_search.tpl') : smarty_modifier_cat($_tmp, 'refine_search.tpl')), 'smarty_include_vars' => array('refine_search_form' => $this->_tpl_vars['search_form'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?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, 'side_block_footer.tpl') : smarty_modifier_cat($_tmp, 'side_block_footer.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['block']['Side'] == 'left'): ?><?php echo ''; ?><?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?>

				</aside>
			<?php endif; ?>
			<!-- sidebar area end -->

				<!-- content area -->
				<section id="content" class="col-md-<?php if (( $this->_tpl_vars['pageInfo']['Key'] == 'home' || $this->_tpl_vars['pageInfo']['Controller'] == 'listing_details' || ! $this->_tpl_vars['blocks']['left'] ) && $this->_tpl_vars['pageInfo']['Key'] != 'search_on_map'): ?>12<?php else: ?>8<?php endif; ?> col-sm-12">
					<?php if ($this->_tpl_vars['pageInfo']['Key'] != 'home' && ! $this->_tpl_vars['no_h1']): ?>
						<?php if ($this->_tpl_vars['navIcons']): ?>
							<div class="h1-nav">
								<nav id="content_nav_icons">
									<?php echo rlHook::load(array('name' => 'pageNavIcons'), $this);?>

									
									<?php if (! empty ( $this->_tpl_vars['navIcons'] )): ?>
										<?php $_from = $this->_tpl_vars['navIcons']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['icon']):
?>
											<?php echo $this->_tpl_vars['icon']; ?>

										<?php endforeach; endif; unset($_from); ?>
									<?php endif; ?>
								</nav>	
						<?php endif; ?>

							<h1><?php if ($this->_tpl_vars['pageInfo']['h1']): ?><?php echo $this->_tpl_vars['pageInfo']['h1']; ?>
<?php else: ?><?php echo $this->_tpl_vars['pageInfo']['name']; ?>
<?php endif; ?></h1>

						<?php if ($this->_tpl_vars['navIcons']): ?>
							</div>
						<?php endif; ?>
					<?php endif; ?>

					<div id="system_message">
                        <?php if ($this->_tpl_vars['errors'] || $this->_tpl_vars['pNotice'] || $this->_tpl_vars['pAlert']): ?>
                            <script class="fl-js-dynamic">
                                var fixed_message = <?php if ($this->_tpl_vars['fixed_message']): ?>false<?php else: ?>true<?php endif; ?>;
                                var message_text = '', error_fields = '';
                                var message_type = 'error';
                                <?php if (isset ( $this->_tpl_vars['errors'] )): ?>
                                    error_fields = <?php if ($this->_tpl_vars['error_fields']): ?>'<?php echo ((is_array($_tmp=$this->_tpl_vars['error_fields'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
'<?php else: ?>false<?php endif; ?>;
                                    message_text += '<ul>';
                                    <?php $_from = $this->_tpl_vars['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['error']):
?>message_text += '<li><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['error'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/[\r\t\n]/", "<br />") : smarty_modifier_regex_replace($_tmp, "/[\r\t\n]/", "<br />")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
</li>';<?php endforeach; endif; unset($_from); ?>
                                    message_text += '</ul>';
                                <?php endif; ?>
                                <?php if (isset ( $this->_tpl_vars['pNotice'] )): ?>
                                    message_text = '<?php echo ((is_array($_tmp=$this->_tpl_vars['pNotice'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
';
                                    message_type = 'notice';
                                <?php endif; ?>
                                <?php if (isset ( $this->_tpl_vars['pAlert'] )): ?>
                                    var message_text = '<?php echo ((is_array($_tmp=$this->_tpl_vars['pAlert'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript')); ?>
';
                                    message_type = 'warning';
                                <?php endif; ?>
                                <?php echo '
                                $(document).ready(function(){
                                    if (message_text) {
                                        printMessage(message_type, message_text, error_fields, fixed_message);
                                    }
                                });
                            '; ?>
</script>
                        <?php endif; ?>

					<!-- no javascript mode -->
					<?php if (! @IS_BOT): ?>
					<noscript>
					<div class="warning">
						<div class="inner">
							<div class="icon"></div>
							<div class="message"><?php echo $this->_tpl_vars['lang']['no_javascript_warning']; ?>
</div>
						</div>
					</div>
					</noscript>
					<?php endif; ?>
					<!-- no javascript mode end -->
				</div>
				
				<?php if ($this->_tpl_vars['blocks']['top']): ?>
				<!-- top blocks area -->
				<aside class="top">
					<?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
					<?php if ($this->_tpl_vars['block']['Side'] == 'top'): ?>
						<?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
					<?php endif; ?>
					<?php endforeach; endif; unset($_from); ?>
				<!-- top blocks area end -->
				</aside>
				<?php endif; ?>
				
				<section id="controller_area"><?php echo ''; ?><?php if ($this->_tpl_vars['pageInfo']['Page_type'] == 'system'): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['content'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php else: ?><?php echo '<div class="content-padding">'; ?><?php echo $this->_tpl_vars['staticContent']; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?>
</section>
				
				<!-- middle blocks area -->
					<?php if ($this->_tpl_vars['blocks']['middle'] && $this->_tpl_vars['pageInfo']['Controller'] != 'listing_details'): ?>
				<aside class="middle">
					<?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
						<?php if ($this->_tpl_vars['block']['Side'] == 'middle'): ?>
							<?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
						<?php endif; ?>
					<?php endforeach; endif; unset($_from); ?>
				</aside>
				<?php endif; ?>
				<!-- middle blocks area end -->
				
				<?php if ($this->_tpl_vars['blocks']['middle_left'] || $this->_tpl_vars['blocks']['middle_right']): ?>
				<!-- middle blocks area -->
					<aside class="<?php if ($this->_tpl_vars['blocks']['middle'] && $this->_tpl_vars['pageInfo']['Key'] == 'home'): ?>three<?php else: ?>two<?php endif; ?>-middle row">
						<div class="col-md-<?php if ($this->_tpl_vars['blocks']['middle'] && $this->_tpl_vars['pageInfo']['Key'] == 'home'): ?>4<?php else: ?>6<?php endif; ?> col-sm-6">
							<?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
							<?php if ($this->_tpl_vars['block']['Side'] == 'middle_left'): ?>
								<?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
							<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?>
						</div>
					
						<?php if ($this->_tpl_vars['blocks']['middle'] && $this->_tpl_vars['pageInfo']['Key'] == 'home'): ?><div class="middle-center col-md-4 col-sm-6"></div><?php endif; ?>
					
						<div class="col-md-<?php if ($this->_tpl_vars['blocks']['middle'] && $this->_tpl_vars['pageInfo']['Key'] == 'home'): ?>4<?php else: ?>6<?php endif; ?> col-sm-6">
							<?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
							<?php if ($this->_tpl_vars['block']['Side'] == 'middle_right'): ?>
								<?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
							<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?>
						</div>
				</aside>
				<!-- middle blocks area end -->
				<?php endif; ?>
				
				<?php if ($this->_tpl_vars['blocks']['bottom']): ?>
				<!-- bottom blocks area -->
				<aside class="bottom">
					<?php $_from = $this->_tpl_vars['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
					<?php if ($this->_tpl_vars['block']['Side'] == 'bottom'): ?>
						<?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, 'blocks_manager.tpl') : smarty_modifier_cat($_tmp, 'blocks_manager.tpl')), 'smarty_include_vars' => array('block' => $this->_tpl_vars['block'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
					<?php endif; ?>
					<?php endforeach; endif; unset($_from); ?>
				</aside>
				<!-- bottom blocks area end -->
				<?php endif; ?>
			</section>
				<!-- content area -->
		</div>
		</div>

	</section>
	
	<div id="push-footer"></div>
</div>

<!-- page content end -->