<?php get_header(); ?>
					
			<!--BEGIN #primary .hfeed-->
			<div id="primary" class="hfeed">
				
				<h1 class="page-title"><?php the_title(); ?></h1>
				
				<?php
				
				$caption = get_post_meta(get_the_ID(), 'tz_caption', TRUE);
				
				if($caption != '') : 
				
				?>
				<p class="page-caption"><?php echo stripslashes(htmlspecialchars_decode(nl2br($caption))); ?></p>
				<?php endif; ?>
            				
				<ul class="hentry-wrap clearfix">
				
					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
							
					<!--BEGIN .hentry -->
					<li <?php post_class(); ?> id="post-<?php the_ID(); ?>">
					
					    <!--BEGIN .entry-content -->
					    <div class="entry-content clearfix">
					        <?php the_content(''); ?>
					    <!--END .entry-content -->
					    </div>
					
					<!--END .hentry-->  
					</li>
					
					<?php endwhile; ?>
	
					<?php else : ?>
	
					<!--BEGIN #post-0-->
					<li id="post-0" <?php post_class(); ?>>
					
						<h2 class="entry-title"><?php _e('Error 404 - Not Found', 'framework') ?></h2>
					
						<!--BEGIN .entry-content-->
						<div class="entry-content">
							<p><?php _e("Sorry, but you are looking for something that isn't here.", "framework") ?></p>
						<!--END .entry-content-->
						</div>
					
					<!--END #post-0-->
					</li>
	
				<?php endif; ?>
			
				</ul>
			
			<!--END #primary .hfeed-->
			</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>