rendered paste body<?php get_header(); ?><?php $showauthor = dusk_showauthor(); $dateformat = dusk_dateformat(); ?> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="posttitle"><a href="<?php the_permalink(); ?>" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="postmeta"> <?php if ($dateformat == 'default') { the_time(get_settings('date_format')); } else { the_time('F jS, Y'); } ?> at <?php the_time() ?> <?php if ($showauthor == 'true') { _e('by'); echo ' '; the_author_posts_link(); } ?> (<?php the_category(', ') ?>) <?php edit_post_link(__('Edit'),' · ',''); ?> </p> <?php if (is_search()) { ?> <?php the_excerpt(); ?> <?php } else { ?> <?php the_content(__('Read the rest of this entry »')); ?> <?php } ?> <p class="postfeedback"> <a href="<?php the_permalink() ?>" title="<?php _e('Permanent link to '); ?><?php the_title(); ?>"><?php _e('Permalink'); ?></a> <?php comments_popup_link(__('Comments'), __('1 Comment'), __('% Comments')); ?> </p> </div> <?php endwhile; ?> <div class="postnav"> <div class="prev"><?php next_posts_link(__('« Previous Entries')) ?></div> <div class="next"><?php previous_posts_link(__('Next Entries »')) ?></div> </div> <?php else : ?> <h2 class="pagetitle"><?php _e('Search Results'); ?></h2> <p><?php _e('Sorry, but no posts matched your criteria.'); ?></p> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <?php endif; ?> </div><?php get_sidebar(); ?><?php get_footer(); ?>