<?php
/*
Template Name: Services
*/
?>
<?php get_header();?>


<div class="posts index">
<div id="main" role="main">				
				<div class="pagecontent">					
					<div class="cols">
                   			<div class="sidebar">
						<nav class=''>
                          <ul>
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('services_left')) : else : ?>  
       
    <?php endif; ?></ul>
                   </nav> 			</div>	
                     
                     
                        				
	
	<div class="inside">
                     
                        	
        <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
          
          <hgroup><h1><?php the_title(); ?></h1><h2>  <?php
{ $subtitle = get_post_meta
($post->ID, 'subtitle', $single = true); 

if($subtitle !== '') echo $subtitle;} ?></h2></hgroup>

         
            <?php the_content(); ?>
           
		
     <?php endwhile; ?>

       
         
        <?php endif; ?>
          		
    </div>
			<div class="sidebar">

 <div class="sidebar">
                        
                         <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('services_right')) : else : ?>  
       
    <?php endif; ?> </div>	

</div>
				  </div>				
				</div>				
			</div>
</div>
<?php get_footer();?>