<?php get_header(); ?>
<div id="main" class="clear">
	<div id="content">
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

		<div class="post" id="post-<?php the_ID();?> ">
		<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
		<p class="small">Posted by&nbsp;<?php the_author() ?>&nbsp;on&nbsp;<?php the_time('jS F') ?>&nbsp;and&nbsp;posted&nbsp;in&nbsp;<?php the_category(', ') ?></p>
			<div class="entry">
				<?php the_content(''); ?>	
				<?php wp_link_pages(); ?>
 
			</div>
         		<div class="tags">
					<div class="alignleft"><?php the_tags('Tags ' , '&bull; ', '<br />'); ?> </div>
				 </div>
		</div>
	<?php if (have_comments() ) ?>
	<div class="MasterComments">
         <?php comments_template('',true); ?>
	</div> <!--end MasterComments-->
	<div class="rule">
		<div class="alignleft"><?php previous_post_link(); ?></div>
		<div class="alignright"><?php next_post_link(); ?></div>
	</div>
<?php endwhile; else: ?>

		<p>Sorry, no posts matched your criteria.</p>
	
<?php endif; ?>

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