<?php include "header.php"; ?>
 <div id="container">
  <div id="topcontent"></div>
  <div id="singlecontent">
   <div class="clearer"></div>
    <div class="singlepost">
     <?php if (have_posts()) : ?>
      <h2 class="searchresult">
	   Archiv
      </h2>
     <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
     <div class="searchdetails">
      Archiv <?php the_time('F, Y'); ?>
     </div>
     <?php while (have_posts()) : the_post(); ?>
      <h2 class="searchresult">
       <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title(); ?>">
        <?php the_title(); ?>
       </a>
      </h2>
      <div class="searchinfo"><?php _e("("); ?> <?php the_category(', ') ?>        <?php _e(")"); ?>
      </div>
      <div class="clearer"> </div>
       <?php the_excerpt() ?>
      <div class="searchinfo">
       <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu 
        <?php the_title(); ?>">(Um den vollst&auml;ndigen Artikel zu sehen bitte hier klicken)
       </a>
      </div>
     <?php endwhile; ?>
    <?php else : ?>
     Nichts gefunden
    <?php endif; ?>
   </div> <!-- This closes the singlepost div-->
   <div class="postnavigation">
    <div class="right">
     <?php posts_nav_link('','','&auml;ltere Beitr&auml;ge + »') ?>
    </div>
    <div class="left">
     <?php posts_nav_link('','« + neue Beitr&auml;ge ','') ?>
    </div>
   </div>
   <div id="bottomcontent"> </div>
  </div> <!-- This closes the singlecontent div-->
 </div> <!-- This closes the container div-->
<?php include('footer.php'); ?>