<?php get_header(); ?>

	<div id="content">

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

		<h2 class="pagetitle">Zoek resultaten</h2>

		<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 while (have_posts()) : the_post(); ?>

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

				<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>

		<?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">Geen berichten gevonden. Probeer een nieuwe zoekopdracht?</h2>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>

	</div>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>