<?php get_header(); ?>

<?php include (TEMPLATEPATH . '/sidebar.php'); ?>

<div id="content">

	<h1>Search Results</h1><br />
	<?php if (have_posts()) : ?>
		<div class="post">
			<ul>
				<?php while (have_posts()) : the_post(); ?>
					
					<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
					<p><strong><?php the_time('d.m.y') ?></strong> / <?php the_category(', ') ?> / Author: <a href="#"><?php the_author_posts_link(); ?></a> / <?php comments_popup_link('Comments: (0)', 'Comments: (1)', 'Comments: (%)'); ?><br /><?php the_tags('Tags: ', ', ', '<br />'); ?></p>
					<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>					
				<?php endwhile; ?>
			</ul>
		</div>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
		</div>


	<?php else : ?>
	
		<div class="post">
		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>
		</div>
	
	<?php endif; ?>

</div>

<?php get_footer(); ?>