<?php
get_header();

$subtitle=get_opt('_search_results_text').' "'.get_search_query().'"';
$slider='none';
$layout=get_opt('_blog_layout');
$excerpt=true;

include(TEMPLATEPATH . '/includes/page-header.php');

?>
<div id="content-container" class="content-gradient <?php echo $layoutclass; ?> ">
<div id="<?php echo $content_id; ?>"><?php

if(have_posts()){
	while(have_posts()){
		the_post();
		global $more;
		$more = 0;
		
	include(TEMPLATEPATH . '/includes/post-template.php');	
		
	} ?> 
	
<?php print_pagination(); ?>

	<?php

}else{
	echo ('<p>'.get_opt('_no_results_text').'</p>');
	 get_search_form();
}

?> 
</div>
<?php 
if($layout!='full'){
	 print_sidebar(get_opt('_blog_sidebar'));
}
?>

<div class="clear"></div>
</div>
<?php
get_footer();
?>