<?php get_header(); ?>
  <div id="container" class="clearfix">
    <div id="leftnav">
	  <?php get_sidebar(); ?>
    </div>
	
    <div id="rightnav">
	  <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
</div>
	
    <div id="content">

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

		<h3 class="pagetitle">Zoek resultaten</h3>
		
		<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>
				
				<div class="entry">
					<?php the_excerpt() ?>
				</div>
		
				<p class="postmetadata">Gepost in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Bewerken','','<strong>|</strong>'); ?>  <?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">Niet gevonden</h2>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>
    </div>

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