
<?php get_header(); ?>

<section id="Middle"> <!-- Begin middle -->
    <div class="container"> <!-- Begin Container -->
     	 <article class="Blog">
      		<?php if (have_posts()) : ?>
             <div class="search-content">          
          		<h1>Search Results for: <?php echo (get_search_query());?></h1>
             </div> <!-- end search content-->
        	<?php while (have_posts()) : the_post(); ?>
                  <div style="border-bottom:1px solid #999; margin-bottom:20px; width:100%;height:100%"> 
                  	<a href="<?php the_permalink();?>"><?php the_title(); ?></a>
                    <?php the_excerpt('Read more'); ?>
                  	<br /> <br />
                  </div>
 			<?php endwhile; ?> 
    	    <?php else : ?>
    			<h4 class="center"><?php _e('No Results were found matching your criteria. Please try something else','oft_theme'); ?></h4>
    	    <?php get_search_form();?>
    	    <?php endif; ?>
         </article> <!--/ End Blog -->
    
         <article class="Blog">
             <?php if (function_exists("pagination")) {pagination();} ?>
         </article>
      </div> <!--/ End Container -->
</section> <!--/ End middle -->

<?php get_footer();?>