<?php
	/**
		* Template Name: page-blog
		* @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>
						
						<?php $args = array( 'posts_per_page' => 3 );
							$lastposts = get_posts( $args );
							foreach( $lastposts as $post ){ setup_postdata($post);
							?>
							<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
							<?php 
								the_content(); ?> 
								<div class="read-more">
								<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" >Read more...</a>
								</div>
								<div style="border-bottom:1px dotted rgb(201, 201, 201);margin-bottom:20px;"></div>
							<?php }
						wp_reset_postdata(); ?>
						
						
					</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 target="_blank" class="blogspot" href="http://lawyerbuckscounty.blogspot.com/"></a></li>
				</ul>
			</div>
		</div><!-- sidebar -->		
	</div>
</div>


<?php get_footer(); ?>
