<?php get_header(); ?>

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

		<div id="pagina">

			<h2 class="post-titulo" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link zu'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>

			<p class="postmeta">
			<?php the_time('d. F Y') ?> <?php _e('um'); ?> <?php the_time() ?>
			&#183; <?php _e('Abgelegt unter'); ?> <?php the_category(', ') ?>
			<?php edit_post_link(__('Edit'), ' &#183; ', ''); ?>
			</p>

			<div class="postentry">
			<?php the_content(__('Den restlichen Eintrag lesen &raquo;')); ?>
			<?php wp_link_pages(); ?>
			</div>
<center><?php if(function_exists('the_ratings')) { the_ratings(); } ?></center>
			<p class="linkpermanente">
			<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link zu'); ?> <?php the_title(); ?>" class="permalink"><?php _e('Permalink'); ?></a>
			</p>

		</div>

		<?php comments_template(); ?>

	<?php endwhile; else : ?>

		<h2><?php _e('Nicht gefunden'); ?></h2>

		<p><?php _e('Die Seite konnte nicht gefunden werden.'); ?></p>

		<h3><?php _e('Suchen'); ?></h3>

		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

