File: /home/mmickelson/tfgarchive/wpblogtest1.old/wp-content/themes/thematic/search.php
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php get_header() ?>
<div id="container">
<div id="content">
<?php if (have_posts()) : ?>
<h1 class="page-title"><?php _e('Search Results for:', 'thematic') ?> <span id="search-terms"><?php echo wp_specialchars(stripslashes($_GET['s']), true); ?></span></h1>
<div id="nav-above" class="navigation">
<?php if(function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'thematic')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'thematic')) ?></div>
<?php } ?>
</div>
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>">
<?php thematic_postheader(); ?>
<div class="entry-content">
<?php the_excerpt(''.__('Read More <span class="meta-nav">»</span>', 'thematic').'') ?>
</div>
<?php thematic_postfooter(); ?>
</div><!-- .post -->
<?php endwhile; ?>
<div id="nav-below" class="navigation">
<?php if(function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'thematic')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'thematic')) ?></div>
<?php } ?>
</div>
<?php else : ?>
<div id="post-0" class="post noresults">
<h1 class="entry-title"><?php _e('Nothing Found', 'thematic') ?></h1>
<div class="entry-content">
<p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'thematic') ?></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', 'thematic') ?>" />
</div>
</form>
</div><!-- .post -->
<?php endif; ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar() ?>
<?php get_footer() ?>