<?php get_header(); ?>

<div id="centerTL">
<div id="centerTR">
<div id="centerBR">
<div id="centerBL">
	<div id="container">
		<div id="left">
		
		<?php if (have_posts()) : ?>
			<?php while (have_posts()) : the_post(); ?>
			
			<div class="post" id="post-<?php the_ID(); ?>">
				<div class="postHeader">
				<p class="cal"><?php the_time('j') ?><small><?php the_time('F') ?></small></p>
				<h2><a href="<?php the_permalink() ?>" title="Permanenter Link zu &laquo;<?php the_title(); ?>&raquo;"><?php the_title(); ?></a></h2>
				<p class="desc"><span class="autor" title="Autor"><?php the_author() ?></span>&nbsp;<span class="cat" title="Kategorie"><?php the_category(' &raquo; ') ?></span><?php edit_post_link('Bearbeiten',' | ',''); ?></p>
				</div>
				
				<div class="postBody">
				<?php the_content('Weiter lesen &raquo;'); ?>
				</div>
			
				<div class="postFooter">
				<?php if (function_exists('st_the_tags')) { ?>
        <span class="utwTags"><?php st_the_tags(""); ?></span>
        <?php } ?>
        <span class="postComm"><?php comments_popup_link('0 Kommentare', '1 Kommentar', '% Kommentare'); ?></span>
				</div>
			</div>
			
			<?php comments_template(); ?>
			
			<?php endwhile; ?>
			
			<ul class="postScroll">
				<li class="next"><?php next_posts_link('Fr&uuml;here') ?></li>
				<li class="prev"><?php previous_posts_link('Sp&auml;tere') ?></li>
			</ul>
			
		<?php else : ?>
		
			<h3>Sorry, keinen Beitrag mit der angegebenen URL gefunden.</h3>
			
		<?php endif; ?>
			
		</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
