File: /home2/obrechts/bad.public_html.bad/wordpress/wp-content/themes/modmat/search.php
<?php get_header() ?>
<div id="container">
<div id="content">
<?php if (have_posts()) : ?>
<h1 class="page-title"><?php _e('Search Results for:', 'sandbox') ?> <span id="search-terms"><?php echo wp_specialchars(stripslashes($_GET['s']), true); ?></span></h2>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'sandbox')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'sandbox')) ?></div>
</div>
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID() ?>" <?php if (function_exists(post_class)) { post_class(); } else { sandbox_post_class(); } ?>>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h3>
<div class="top-meta">
<small class="metadata">
<span class="chronodata"><?php the_time('F jS, Y') ?></span>
<span class="meta-sep">|</span>
<span class="cat-links"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></span>
<?php edit_post_link(__('Edit', 'sandbox'), "\t\t\t\t\t<span class=\"meta-sep\">|</span><span class=\"edit-link\">", "</span>\n"); ?>
</small>
</div>
<div class="entry-content">
<?php the_excerpt(''.__('Read More <span class="meta-nav">»</span>', 'sandbox').'') ?>
</div>
<div class="entry-meta">
<?php if ( $tag_ur_it = sandbox_tag_ur_it(', ') ) : ?>
<span class="tag-links"><?php printf(__('Also tagged in: %s', 'sandbox'), $tag_ur_it) ?></span>
<span class="meta-sep">|</span>
<?php endif ?>
<span class="comments-link"><?php comments_popup_link(__('0 Comments', 'sandbox'), __('1 Comment', 'sandbox'), __('% Comments', 'sandbox')) ?></span>
</div>
</div><!-- .post -->
<?php endwhile; ?>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'sandbox')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'sandbox')) ?></div>
</div>
<?php else : ?>
<div id="post-0" class="post noresults">
<h2 class="entry-title"><?php _e('Nothing Found', 'sandbox') ?></h2>
<div class="entry-content">
<p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'sandbox') ?></p>
</div>
<form id="noresults-searchform" method="get" action="<?php bloginfo('home') ?>">
<div>
<input id="noresults-s" name="s" type="text" value="<?php echo wp_specialchars(stripslashes($_GET['s']), true) ?>" size="40" />
<input id="noresults-searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Find', 'sandbox') ?>" />
</div>
</form>
</div><!-- .post -->
<?php endif; ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar() ?>
<?php get_footer() ?>