<?php get_header (); ?>
<div class="content">
	<div class="contentpadding">
		<div id="showv1">
			<?php if (have_posts()) { ?>
				<?php $post = $posts[0];  ?>
				<?php if (is_category()) { ?>
					<h4 class="pagearchiv">Archiv f&uuml;r die Kategorie &#8222;<?php echo single_cat_title(); ?>&#8221;</h4>
				<?php  } elseif (is_day()) { ?>
					<h4 class="pagearchiv">Archiv f&uuml;r den <?php the_time('j. F Y'); ?></h4>
				<?php  } elseif (is_month()) { ?>
					<h4 class="pagearchiv">Archiv f&uuml;r <?php the_time('F Y'); ?></h4>
				<?php } ?>
			<?php } ?>
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
				<div class="entrytitle"><h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link auf <?php the_title(); ?>"><?php the_title(); ?></a></h3></div>
				<div class="timestamp"><?php the_time('j. F Y') ?>, um <?php the_time ('H:i'); ?> Uhr</div>
				<div class="postcontent"><?php the_content('weiterlesen &raquo;');Ê?></div>
				<div class="postmeta"><span class="postcoments"><?php comments_popup_link('Kein Kommentar', '1 Kommentar', '% Kommentare','','Kommentare aus'); ?> </span> <span class="postcat"><?php the_category(',');Ê?> </span> <span class="postlink"><a href="<?php the_permalink ();?>">Link</a></span></div>
			<?php endwhile; else: ?>
				<h4>Archiveintr&auml;ge</h4>
				<div class="postcontent"><p>Nichts gefunden!</p></div>
			<?php endif; ?>
			<div class="alignleft"><?php next_posts_link('&laquo; vorherige Seite') ?></div>
			<div class="alignright"><?php previous_posts_link('n&auml;chste Seite &raquo;') ?></div>
		</div>
		<?php get_sidebar(); ?>	
	</div>
</div>
<?php get_footer(); ?>    