<?php get_header(); ?> <div id="content" class="narrowcolumn"> <?php if (have_posts()) : ?> <h2 class="pagetitle"><?php _e('Search Results','whiteasmilk'); ?></h2> <div class="navigation"> <div class="alignleft"><?php next_posts_link( __( '« Older posts', 'whiteasmilk' ) ); ?></div> <div class="alignright"><?php previous_posts_link( __( 'Newer posts »', 'whiteasmilk' ) ); ?></div> </div> <?php while (have_posts()) : the_post(); ?> <div <?php post_class(); ?>> <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> <small><?php the_time(get_option('date_format')) ?></small> <div class="entry"> <?php the_excerpt() ?> </div> <p class="postmetadata"><?php _e('Posted in','whiteasmilk'); ?> <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link(__('Edit','whiteasmilk'),'','<strong>|</strong>'); ?> <?php comments_popup_link(__('Leave a Comment »','whiteasmilk'),__('1 Comment »','whiteasmilk'),__('% Comments »','whiteasmilk')); ?><br /><?php the_tags('Tags: ', ', ', '<br />'); ?></p> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link( __( '« Older posts', 'whiteasmilk' ) ); ?></div> <div class="alignright"><?php previous_posts_link( __( 'Newer posts »', 'whiteasmilk' ) ); ?></div> </div> <?php else : ?> <h2 class="center"><?php _e('Not Found','whiteasmilk'); ?></h2> <?php get_search_form(); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>