<?php 
	global $SMTheme;
	get_header(); 
?>
<div id='content'>
	<div class='container clearfix'>
	
		<?php get_sidebar(); ?>    
	
		<div class="main_content">
			<h1><?php echo sprintf($SMTheme->_('searchresults'),get_search_query()); ?></h1>
			<?php
			
				if (!have_posts()) { ?>
					<div class="entry">
					<p><?php echo $SMTheme->_( 'nothingfound' )?></p>
					</div>
				<?php }
				
				get_template_part('theloop'); 
				
			?>
			
			<?php get_template_part('navigation'); ?>
		
        </div><!-- #content -->
               
	</div>
</div>
<?php get_footer(); ?>