-
+ B179C88FDC6B03D732A8D102F2AC8DE6DB26F91B4FB73351F11469EF29861CD339808E5E6A168B5012AB9C3D5EF49B02F3202201BEE5B757B6E74DA35F230CB5mp-wp/wp-content/themes/default/archive.php(0 . 0)(1 . 77)
66243 <?php
66244 /**
66245 * @package WordPress
66246 * @subpackage Default_Theme
66247 */
66248
66249 get_header();
66250 ?>
66251
66252 <div id="content" class="narrowcolumn">
66253
66254 <?php if (have_posts()) : ?>
66255
66256 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
66257 <?php /* If this is a category archive */ if (is_category()) { ?>
66258 <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
66259 <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
66260 <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
66261 <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
66262 <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
66263 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
66264 <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
66265 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
66266 <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
66267 <?php /* If this is an author archive */ } elseif (is_author()) { ?>
66268 <h2 class="pagetitle">Author Archive</h2>
66269 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
66270 <h2 class="pagetitle">Blog Archives</h2>
66271 <?php } ?>
66272
66273
66274 <div class="navigation">
66275 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
66276 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
66277 </div>
66278
66279 <?php while (have_posts()) : the_post(); ?>
66280 <div <?php post_class() ?>>
66281 <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>
66282 <small><?php the_time('l, F jS, Y') ?></small>
66283
66284 <div class="entry">
66285 <?php the_content() ?>
66286 </div>
66287
66288 <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>
66289
66290 </div>
66291
66292 <?php endwhile; ?>
66293
66294 <div class="navigation">
66295 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
66296 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
66297 </div>
66298 <?php else :
66299
66300 if ( is_category() ) { // If this is a category archive
66301 printf("<h2 class='center'>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
66302 } else if ( is_date() ) { // If this is a date archive
66303 echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
66304 } else if ( is_author() ) { // If this is a category archive
66305 $userdata = get_userdatabylogin(get_query_var('author_name'));
66306 printf("<h2 class='center'>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name);
66307 } else {
66308 echo("<h2 class='center'>No posts found.</h2>");
66309 }
66310 get_search_form();
66311
66312 endif;
66313 ?>
66314
66315 </div>
66316
66317 <?php get_sidebar(); ?>
66318
66319 <?php get_footer(); ?>