<?php get_header(); ?>

<div id="content">

	<div id="contentleft">
	
		<div class="postarea">

			<?php include(TEMPLATEPATH . '/includes/breadcrumb.php');?>
			
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			
			<h1><?php the_title(); ?></h1>
            	
        	<?php require(TEMPLATEPATH . '/includes/post-author-block.php'); ?>
			
			<?php the_content(__('Read more', 'studiopress'));?><div class="clear"></div>
					
			<!--
			<?php trackback_rdf(); ?>
			-->
			
			<?php require(TEMPLATEPATH . '/includes/post-meta-block.php'); ?>
			
		</div>
        
		<?php if(get_theme_mod('468_ad') == 'Yes') { ?>
            <div class="adblock">
                <?php echo stripslashes (get_theme_mod('468_code')); ?>
            </div>
        <?php } else { ?>
        <?php } ?> 
    			
        <div class="postcomments">
            
			<?php comments_template('',true); ?>
        
        </div>

		<?php endwhile; else: ?>

		<?php require(TEMPLATEPATH . '/includes/post-nav-block.php'); ?>
		
		<?php endif; ?>
		
	</div>
	
	<?php include(TEMPLATEPATH."/sidebar.php");?>

</div>

<?php get_footer(); ?>