2 <?php get_sidebar(); ?>
5 <?php if (have_posts()) : ?>
7 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
8 <?php /* If this is a category archive */ if (is_category()) { ?>
9 <h1>Archive for the '<?php echo single_cat_title(); ?>' Category</h1>
11 <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
12 <h1>Archive for <?php the_time('F jS, Y'); ?></h1>
14 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
15 <h1>Archive for <?php the_time('F, Y'); ?></h1>
17 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
18 <h1>Archive for <?php the_time('Y'); ?></h1>
20 <?php /* If this is a search */ } elseif (is_search()) { ?>
21 <h1>Search Results</h1>
23 <?php /* If this is an author archive */ } elseif (is_author()) { ?>
24 <h1>Author Archive</h1>
26 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
27 <h1>Blog Archives</h1>
32 <div class="navigation">
33 <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
34 <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
37 <?php while (have_posts()) : the_post(); ?>
39 <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
40 <?php if (function_exists("the_bunny_tags")) {
44 <p class="post-footer align-right">
45 Posted in <?php the_category(', ') ?> on <span class="date"><?php the_time('F jS, Y') ?></span> <!-- by <?php the_author() ?> --> <strong>|</strong>
46 <?php edit_post_link('Edit','','<strong> |</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
47 <?php the_excerpt(); ?>
49 <?php trackback_rdf(); ?>
53 <p>[ <a href="#top">Back to top</a> ]</p>
59 <div class="navigation">
60 <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
61 <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
66 <h1 class="center">Not Found</h1>
67 <?php include (TEMPLATEPATH . '/searchform.php'); ?>
73 <!-- content-wrap ends here -->
75 <?php get_footer(); ?>