File: /home2/obrechts/bad.public_html.bad/wordpress/wp-content/themes/takteek01/archive.php
<?php get_header();?>
<?php include ('sidebar1.php'); ?>
<div id="content">
<div class="post">
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php if (is_category()) { ?>
<h2>Archive for the "<font color="#ffffff"><?php single_cat_title(); ?></font>" Category</h2>
<?php } elseif( is_tag() ) { ?>
<h2>Posts Tagged "<font color="#ffffff"><?php single_tag_title(); ?></font>"</h2>
<?php } elseif (is_day()) { ?>
<h2>Archive for "<font color="#ffffff"><span class="uppercase"><?php the_time('M d Y'); ?></span></font>"</h2>
<?php } elseif (is_month()) { ?>
<h2>Archive for "<font color="#ffffff"><span class="uppercase"><?php the_time('M Y'); ?></span></font>"</h2>
<?php } elseif (is_year()) { ?>
<h2>Archive for "<font color="#ffffff"><?php the_time('Y'); ?></font>"</h2>
<?php } elseif (is_author()) { ?>
<h2>Author Archive</h2>
<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2>Blog Archives</h2>
<?php } ?>
</div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="postmetadata-top"><small><?php the_date('M d Y'); ?> <?php edit_post_link(); ?><br />Filed In: <?php the_category(', '); ?></small></div>
<?php if (is_category()) { ?>
<?php the_excerpt(); ?>
<?php } elseif( is_tag() ) { ?>
<?php the_excerpt(); ?>
<?php } elseif (is_day()) { ?>
<?php the_content('Read More ›'); ?>
<?php } elseif (is_month()) { ?>
<?php the_excerpt(); ?>
<?php } elseif (is_year()) { ?>
<?php the_excerpt(); ?>
<?php } elseif (is_author()) { ?>
<?php the_excerpt(); ?>
<?php } ?>
<div class="backtotop"><a href="#top">Back to Top</a> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<div class="postmetadata-bottom"><small>Tags: <?php the_tags('', ', '); ?></small></div>
</div>
<?php endwhile; endif ?>
<div id="navlink">
<?php posts_nav_link(' — ', '‹ Newer Posts', 'Older Posts ›'); ?>
</div>
</div>
<?php include ('sidebar2.php'); ?>
<?php get_footer();?>