<?php get_header();?>

<div id="content">
	<div class="left"><div class="lpadding">
		<?php get_sidebar(); ?>
	</div></div>
	<div class="right">
		<div class="search">
			<?php include (TEMPLATEPATH . '/searchform.php'); ?>
		</div>
		<?php if (have_posts()) : ?>
			
		<div class="postbord" style="padding: 10px;"><h3>Search Results</h3></div>

		<?php next_posts_link('&laquo; Previous Entries') ?>

		<?php previous_posts_link('Next Entries &raquo;') ?>

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


		<div class="postbord">
			<div class="title"><h1><a href="<?php the_permalink() ?>" target="_self"><?php the_title(); ?></a></h1></div>
		
			<?php the_content(__('(more...)')); ?>
			<div class="clear"></div>
			
			<div class="tags"><?php _e("Tags: "); ?><?php the_tags('', ', ', ''); ?></div>
			<div class="permalink"><?php _e("Posted on: "); ?><?php the_time('jS'); ?><?php _e(" of "); ?><?php the_time('F Y'); ?><?php _e(" in "); ?><?php the_category(',') ?><?php _e(" | "); ?><?php edit_post_link(__('Edit')); ?><?php _e(" | "); ?><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></div>
		</div>
		<?php endwhile; ?>


			<?php next_posts_link('&laquo; Previous Entries') ?>

			<?php previous_posts_link('Next Entries &raquo;') ?>
			

		<?php else : ?>
	<br/>
			<div class="postbord" style="padding: 10px;"><h3>Nothing found. Try again.</h3></div>
			
			<?php/* include (TEMPLATEPATH . '/searchform.php'); */?>

		<?php endif; ?>

	</div>
	<div class="clear"></div>
</div>

<?php get_footer(); ?>
