<?php



// Template Name: Practice Areas Template



?>

<?php get_header('inner'); ?>

<section class="middle row">
<div id="toPopup">
	 
	        <div class="close"></div>
	        <span class="ecs_tooltip">Press Esc to close <span class="arrow"></span></span>
	        <div id="popup_content"> <!--your content start-->
	            <p>
                
                <?php echo $data['disclaimer_description'];  ?>
	            </p>
 
	        </div> <!--your content end-->
	 
	    </div>
<div class="Mid_top Align_cent"><div class="container Gray2 OswalReg36 Letter_space2 Upparcase"><?php echo $data['area_header'];?></div></div>

<div class="Main_mid row Offset6">
<div class="container">
<div class="colm_3 centfl">
<?php
$paged = get_query_var('paged') ? get_query_var('paged') : 1;	
 query_posts(array('post_type' => 'practiceareas','paged' => $paged )); 



             	if (have_posts()) : while (have_posts()) : the_post();
				$large_image =  wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'fullsize', false, '' ); 



                $large_image = $large_image[0]; 
				?>


<div class="Practice_areas colm_2 Fl Offset8">
<h3><?php the_title(); ?></h3>
<div class="Practice_areas_img"><a href="<?php the_permalink(); ?>"><img src="<?php echo $large_image ?>" /></a></div>

<p class="Justify"><?php $content= strip_tags(get_the_content()); 
echo substr($content,0,500)."....";

?></p>
<p class="Align_cent"><a href="<?php the_permalink(); ?>" class="btn_1">Learn More</a></p>
</div>

<?php endwhile; endif; ?>

</div>



</div>
</div>

</section>



<?php get_footer();?>