<?php get_header(); ?>

<?php get_sidebar(); ?>

<div class="text">

	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

			<div class="post">
			<div class="date">
			<?php the_time('M'); ?><br /><span class="day"><?php the_time('d'); ?></span></div>
			<h1 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
				Posted by <?php the_author(); ?> on 
				<?php the_time('F j, Y'); ?> 
				<?php the_content('Read the rest of this entry &raquo;'); ?>
				<div class="postinfo">
					<div class="alignleft">Posted under <?php the_category(', '); ?></div>
					<div class="alignright"><a href="<?php the_permalink(); ?>#comments">Comments (<?php comments_number('0','1','%'); ?>)</a></div>
				</div>
			</div>
			<div class="postline"></div>
			
	<?php comments_template(); ?>

	<?php endwhile; else: ?>

		<h1 class="title">Not Found</h1>
		<p>Sorry, but you are looking for something that isn't here.</p>

<?php endif; ?>

</div>

<?php get_footer(); ?>