<?php get_header(); ?>

<div id="chemical_content">

<div id="chemical_post">

<?php if(have_posts()) : ?>

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

<div class="post_meta" id="post-<?php the_ID(); ?>">

<span class="date"><?php the_time('d. F Y') ?></span>

<h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>

<div class="div_line">
<?php the_author_posts_link(); ?> in <?php the_category(', ') ?> <?php edit_post_link('Edit', '&#124; ', ''); ?>
</div>

<div class="post_content">
<?php the_content("<br />" . "Weiterlesen&nbsp;" . "&quot;" . the_title('', '', false) . "&quot;"); ?>
</div>

<div class="post_comment">
<a href="<?php comments_link(); ?>"><?php comments_number('Kein Kommentar','1 Kommentar','% Kommentare'); ?></a>
</div>

</div>

<div class="clear_content"></div>

<?php endwhile; ?>

<?php comments_template(); ?>

<div class="post_box">
<center><?php if(function_exists('wp_pagenavi')): ?> <?php wp_pagenavi(); ?><?php else : ?><?php posts_nav_link(); ?><?php endif; ?></center>
</div>

<div class="clear_content"></div>

<?php else: ?>

<h3>Der Beitrag wurde entfernt.</h3>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

</div>

<?php get_dynamic_sidebar(); ?>

<?php get_footer(); ?>