Sindbad~EG File Manager

Current Path : /home/copmadinaarea/www/wp-content__80fcb17/themes/AdoreChurch/
Upload File :
Current File : /home/copmadinaarea/www/wp-content__80fcb17/themes/AdoreChurch/page.php

<?php
get_header();
imic_sidebar_position_module();
$options = get_option('imic_options');
if (is_home())
{
    $id = get_option('page_for_posts');
}
else
{
    $id = get_the_ID();
}
$page_header = get_post_meta($id, 'imic_pages_Choose_slider_display', true);
if ($page_header == 3)
{
    get_template_part('pages', 'flex');
}
elseif ($page_header == 4)
{
    get_template_part('pages', 'nivo');
}
elseif ($page_header == 5)
{
    get_template_part('pages', 'revolution');
}
elseif ($page_header == 6)
{
    get_template_part('pages', 'layer');
}
else
{
    get_template_part('pages', 'banner');
}
$pageSidebarGet = get_post_meta(get_the_ID() , 'imic_select_sidebar_from_list', true);
$pageSidebarStrictNo = get_post_meta(get_the_ID() , 'imic_strict_no_sidebar', true);
$pageSidebarOpt = (isset($options['pages_sidebar'])) ? $options['pages_sidebar'] : '';
if ($pageSidebarGet != '')
{
    $pageSidebar = $pageSidebarGet;
}
elseif ($pageSidebarOpt != '')
{
    $pageSidebar = $pageSidebarOpt;
}
else
{
    $pageSidebar = '';
}
if ($pageSidebarStrictNo == 1)
{
    $pageSidebar = '';
}
$sidebar_column = get_post_meta(get_the_ID() , 'imic_sidebar_columns_layout', true);
if (!empty($pageSidebar) && is_active_sidebar($pageSidebar))
{
    $left_col = 12 - intval($sidebar_column);
    $class = $left_col;
}
else
{
    $class = 12;
}
if (!defined('ADORECHURCH_CORE__PLUGIN_URL') && is_active_sidebar('page-sidebar'))
{
    $pageSidebar = 'page-sidebar';
    $class = 9;
    $sidebar_column = 3;
}
?>
<!-- Start Body Content -->
  	<div class="main" role="main">
    	<div id="content" class="content full">
        	<div class="container">
            <div class="row">
            <div class="col-md-<?php echo esc_attr($class); ?>" id="content-col">
            <?php if (have_posts()):
    while (have_posts()):
        the_post();
        echo '<div class="post-content">';
        the_content();
        echo '</div>';
        echo '<div class="clearfix"></div>';
    endwhile;
endif;
if (isset($options['switch_sharing']) && $options['switch_sharing'] == 1 && $options['share_post_types']['2'] == '1')
{
    imic_share_buttons();

} ?>
                </div>
                <?php if (is_active_sidebar($pageSidebar))
{ ?>
                    <!-- Sidebar -->
                    <div class="col-md-<?php echo esc_attr($sidebar_column); ?>" id="sidebar-col">
                    	<?php dynamic_sidebar($pageSidebar); ?>
                    </div>
                    <?php
} ?>
            </div>
           	</div>
     	</div>
 	</div>
<?php get_footer(); ?>

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