<?php get_header(); ?> <div id="content"> <?php if (have_posts()) : ?> <h2 class="pagetitle">Search Results</h2> <div class="navigation" style="text-align: center;"> <?php posts_nav_link(' · ', __('« Newer Entries'), __('Older Entries »')); ?> </div> <?php while (have_posts()) : the_post(); ?> <div <?php post_class(); ?>> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo 'rtl' == get_bloginfo( 'text_direction' ) ? 'h1-rtl.gif' : 'h1.gif'; ?>" class="lefth2img" alt="h1" /><h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <small><?php the_time(get_option('date_format')) ?></small> <div class="entry"> <?php the_excerpt() ?> </div> <p class="postmetadata"><?php printf(__('Posted in %s'), get_the_category_list(', ')); ?> <strong>|</strong> <?php the_tags( __('Tagged').' ', ', ', ' <strong>|</strong> '); ?><?php edit_post_link(__('Edit'),'','<strong>|</strong>'); ?> <?php comments_popup_link(__('Leave a Comment »'), __('1 Comment »'), __('% Comments »')); ?></p> </div> <?php endwhile; ?> <div class="navigation" style="text-align: center;"> <?php posts_nav_link(' · ', __('« Newer Entries'), __('Older Entries »')); ?> </div> <?php else : ?> <h2 class="center"><?php _e('Not Found.'); ?></h2> <?php _e('Search something maybe?'); ?> <?php get_search_form(); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>