<?php get_header(); ?>

<div id="middle_wrap">
		<div id="content">
		<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>

			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
			<div class="post_details"><p>Posted on <?php the_time('F j, Y'); ?>, under <?php the_category(', ') ?>.</p></div>
			<?php the_content(); ?>
	
			<?php comments_template(); ?>

			<?php endwhile; else: ?>

			<p>Sorry, no posts matched your criteria.</p>

			<?php endif; ?>
	
		</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>