<?php /** The template for displaying Archive pages. **/
get_header();
$sidebar = weblusive_get_option('sidebar_archive');
$weblusive_sidebar_pos =  weblusive_get_option('sidebar_pos');
?>
<div class="banner">
    <div class="inner-banner">
        <?php if (!weblusive_get_option('hide_titles')):?>
            <div class="note"><?php printf( __( 'Search Results for: %s', 'Wecare' ), '<mark>' . get_search_query() . '</mark>' ); ?></div>
       <?php endif?>
       <?php if (!weblusive_get_option('hide_breadcrumbs')):?>
            <div class="site-map">
                <?php _e('You are here:', 'Wecare');?>
                <?php if(class_exists('the_breadcrumb')){ $albc = new the_breadcrumb; } ?>
            </div>
        <?php endif?>
	<div class="clear"></div>
    </div>
</div>
<div class="wrapper dark">
    <?php if ($weblusive_sidebar_pos == 'left'): get_sidebar(); ?><?php endif?>
    <div class="<?php echo empty($sidebar) ? 'column12' : 'column9';?>">
        <?php if ( have_posts() ) : ?>
            <?php get_template_part( 'loop', 'search' );?>
	<?php else : ?>
	<div id="post-0" class="post no-results not-found">
            <h4><?php _e( 'Nothing Found', 'Wecare' ); ?></h4>
            <div class="entry-content">
                <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'Wecare' ); ?></p>
            </div><!-- .entry-content -->
	</div><!-- #post-0 -->
	<?php endif; ?>
    </div>
    <?php if ($weblusive_sidebar_pos == 'right'): get_sidebar(); ?><?php endif?>
    <div class="clear"></div>
</div>
<?php get_footer(); ?>