1
|
1 |
<?php get_header(); ?> |
|
2 |
|
|
3 |
<div id="content" class="narrowcolumn"> |
|
4 |
|
|
5 |
<?php if (have_posts()) : ?> |
|
6 |
|
|
7 |
<h2 class="pagetitle">Search Results</h2> |
|
8 |
|
|
9 |
<div class="navigation"> |
|
10 |
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> |
|
11 |
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> |
|
12 |
</div> |
|
13 |
|
|
14 |
|
|
15 |
<?php while (have_posts()) : the_post(); ?> |
|
16 |
|
|
17 |
<div class="post"> |
|
18 |
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> |
|
19 |
<small><?php the_time('l, F jS, Y') ?></small> |
|
20 |
|
|
21 |
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> |
|
22 |
</div> |
|
23 |
|
|
24 |
<?php endwhile; ?> |
|
25 |
|
|
26 |
<div class="navigation"> |
|
27 |
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> |
|
28 |
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> |
|
29 |
</div> |
|
30 |
|
|
31 |
<?php else : ?> |
|
32 |
|
|
33 |
<h2 class="center">No posts found. Try a different search?</h2> |
|
34 |
<?php include (TEMPLATEPATH . '/searchform.php'); ?> |
|
35 |
|
|
36 |
<?php endif; ?> |
|
37 |
|
|
38 |
</div> |
|
39 |
|
|
40 |
<?php get_sidebar(); ?> |
|
41 |
|
|
42 |
<?php get_footer(); ?> |