Sindbad~EG File Manager

Current Path : /var/www/html/amopropiedades.com/wp-content/themes/houzez/template/
Upload File :
Current File : /var/www/html/amopropiedades.com/wp-content/themes/houzez/template/template-idx.php

<?php
/**
 * Template Name: IDX Template
 * Created by PhpStorm.
 * User: waqasriaz
 * Date: 21/12/15
 * Time: 1:35 PM
 */
global $houzez_local, $post, $page_bg;

$page_bg = 'page-content-wrap';
$content_area = $row_class = '';

$page_sidebar = get_post_meta( $post->ID, 'fave_page_sidebar', true );
$page_title = get_post_meta( $post->ID, 'fave_page_title', true );
$page_breadcrumb = get_post_meta( $post->ID, 'fave_page_breadcrumb', true );
$page_background = get_post_meta( $post->ID, 'fave_page_background', true );

$content_area = 'col-lg-8 col-md-12 bt-content-wrap';
if( $page_sidebar == 'none' ) {
	$content_area = 'col-lg-12';
} else if( $page_sidebar == 'left_sidebar' ) {

	$row_class = 'flex-row-reverse';

} else if( $page_sidebar == 'right_sidebar' ) {
	$row_class = '';
}

if( $page_background == 'none' && $page_sidebar == 'none' ) {
	$page_bg = '';
}
$sticky_sidebar = houzez_option('sticky_sidebar');
$sidebar_meta = houzez_get_sidebar_meta($post->ID);
?>

<?php get_header(); ?>
	
<section class="page-wrap">
    <div class="container">
        
        <div class="row <?php echo esc_attr( $row_class ); ?>">
            <div class="<?php echo esc_attr( $content_area ); ?>">                      
                <div class="article-wrap">
                	<?php
                    // Start the loop.
                    while ( have_posts() ) : the_post();

                        the_content();

                        // End the loop.
                    endwhile;
                    ?>
                </div>
            </div><!-- bt-content-wrap -->

            <?php if( $page_sidebar != 'none' ) { ?>
            <div class="col-lg-4 col-md-12 bt-sidebar-wrap <?php if( $sticky_sidebar['page_sidebar'] != 0 ){ echo 'houzez_sticky'; }?>">
                <div class="theiaStickySidebar">
                    <?php
					if( $sidebar_meta['specific_sidebar'] == 'yes' ) {
						if( is_active_sidebar( $sidebar_meta['selected_sidebar'] ) ) {
							dynamic_sidebar( $sidebar_meta['selected_sidebar'] );
						}
					} else {
						if( is_active_sidebar( 'page-sidebar' ) ) {
							dynamic_sidebar( 'page-sidebar' );
						}
					}
					?>
                </div><!-- theiaStickySidebar -->
            </div><!-- bt-sidebar-wrap -->
        	<?php } ?>

        </div><!-- row -->
    </div><!-- container -->
</section><!-- listing-wrap -->

<?php get_footer(); ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists