<?php
	/**
		* The main template file
		*
		* This is the most generic template file in a WordPress theme
		* and one of the two required files for a theme (the other being style.css).
		* It is used to display a page when nothing more specific matches a query.
		* E.g., it puts together the home page when no home.php file exists.
		*
		* @link http://codex.wordpress.org/Template_Hierarchy
		*
		* @package WordPress
		* @subpackage law
		* @since law 1.0
	*/
	
get_header(); ?>

<div class="content-area-wrapper">
	<div class="content-area">
		<div class="left-side">
			
			<article class="main-content">
				
				<div class="front-page-wrapper">
					<section>
						<h1>Search Results for: <strong>"<?php echo $_GET['s'];?>"</strong></h1>
						<div style="border-bottom:1px dotted rgb(201, 201, 201);margin-bottom:20px;"></div>
						<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
						<?php the_content(''); ?>
						<a href="<?php the_permalink();?>">read more</a>
						<div style="border-bottom:1px dotted rgb(201, 201, 201);margin-bottom:20px;"></div>
						<?php endwhile; else: ?>
						<p>No Results were found matching your search request for: <strong>"<?php echo $_GET['s'];?>"</strong> </p>
						<?php endif;?>
						
					</section>
				</div>
				
				
				<div class="prev_next">
				</div>
			</article>
		</div>
		
		<div class="right-side">
			<div role="form" class="contact-form" >				
				<div class="title">Contact Us Today for a FREE Case Evaluation</div>						
				<?php
					if( function_exists( 'ninja_forms_display_form' ) ){ ninja_forms_display_form( 1 ); } 
				?>
			</div>
			
			
			
			<div class="social-media">
				<div class="title">Follow Us</div>
				<ul>
					<li><a target="_blank" class="facebook" href="https://www.facebook.com/pages/Law-Offices-of-Greg-Prosmushkin-PC/112095185516746"></a></li>
					<li><a target="_blank" class="twitter" href="https://twitter.com/gproslaw"></a></li>
					<li><a target="_blank" class="linkedin" href="https://www.linkedin.com/company/the-law-offices-of-greg-prosmushkin-p-c-?trk=company_logo"></a></li>
					<li><a class="googleplus" href="
						javascript:(
						function(){
						var w=480;var h=380;
						var x=Number((window.screen.width-w)/2);
						var y=Number((window.screen.height-h)/2);
						window.open('https://plusone.google.com/_/+1/confirm?hl=en&amp;url='+encodeURIComponent(location.href)+'
						&amp;title='+encodeURIComponent(document.title),'','width='+w+',height='+h+',left='+x+',top='+y+',
						scrollbars=no');
					})();"></a></li>
					<li><a target="_blank" class="blogspot" href="http://lawyerbuckscounty.blogspot.com/"></a></li>
				</ul>
			</div>
		</div><!-- sidebar -->		
	</div>
</div>


<?php get_footer(); ?>
