<?php get_header(); ?><div id="content"><div id="contentmiddle">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="alignleft"><?php previous_post('&laquo; %','','yes') ?></div>

<div class="alignright"><?php next_post(' % &raquo;','','yes') ?></div>

<div class="postspace"></div>



<div class="date">

<div class="date-d"><?php the_time('d') ?></div>

<div class="date-m-y"><?php the_time('M y') ?></div>

</div>



<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>

<div class="meta"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/cat.gif" alt="" /> Kategorie: <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?></div>

<div class="entry"><?php the_content(__('Read more'));?>

<?php link_pages('<p><strong>Seiten:</strong> ', '</p>', 'number'); ?>

<div class="clearfix"></div><hr class="clear" />

</div><br /><!--<?php trackback_rdf(); ?>-->

<div class="meta">von <?php the_author() ?> | Über den author: <?php the_author_description(); ?></div>

<div class="meta"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/com.gif" alt="" /><?php if(function_exists('the_tags')) {$my_tags = get_the_tags();if ( $my_tags != "" ){ the_tags('Tags: ', ', ', '<br />'); } else {echo "Tags: keine";} }?>

<?php if(function_exists('UTW_ShowTagsForCurrentPost')) { echo 'Tags: ';UTW_ShowTagsForCurrentPost("commalist");echo '<br />'; } ?>

<?php include(TEMPLATEPATH."/social.php");?>

</div>

<br />

<h4>Ähnliche <span>Posts</span></h4>

<?php

if( function_exists('cattag_related_posts') ) { echo '<ul>' . cattag_related_posts() . '</ul>'; }

?>

<?php endwhile; else: ?>

<p><?php _e('Sorry, nix gfundn.'); ?></p><?php endif; ?><br />        

<div class="postspace"></div>

<?php comments_template(); // Get wp-comments.php template ?>

</div>

<?php include(TEMPLATEPATH."/bar.php");?>

<?php include(TEMPLATEPATH."/l_sidebar.php");?>

<?php include(TEMPLATEPATH."/r_sidebar.php");?>

</div>

<?php get_footer(); ?>