<?php get_header(); ?>

	<div id="content">

	<?php if (have_posts()) : ?>

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

			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanente link naar <?php the_title(); ?>"><?php the_title(); ?></a> <small><?php the_time('j F Y') ?> <!-- by <?php the_author() ?> --></small></h2>			

				<p class="postmetadata">Gepost in <?php the_category(', ') ?> | <?php edit_post_link('Bewerken', '', ' | '); ?>  <?php comments_popup_link('Geen Reacties &#187;', '1 Reactie &#187;', '% Reacties &#187;'); ?></p>				

				<div class="entry">
					<?php the_content('Lees de rest van dit bericht &raquo;'); ?>
				</div>				
			</div>

		<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Vorige berichten') ?></div>
			<div class="alignright"><?php previous_posts_link('Volgende berichten &raquo;') ?></div>
		</div>

	<?php else : ?>

		<h2 class="center">Niet gevonden</h2>
		<p class="center">Sorry, maar u zoekt iets dat hier niet te vinden is.</p>
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

	</div>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
