<?php get_header(); ?>

<div id="contentwrapper"><div id="content">

<div class="adsense_top"><?php include (TEMPLATEPATH . '/adsense_top.php'); ?></div>

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

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

<div class="post">

<h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="postMeta">
<span class="date"><?php the_time('j M Y') ?></span> <span class="filed"><?php the_category(', '); ?></span>
</div>
<div class="postContent"><?php the_content('(Czytaj dalej...)'); ?></div>

<div class="postTags"><?php /* the_tags('Tagi: ', ', ', ''); */ ?></div>

<p class="comments"><?php comments_popup_link('Zostaw komentarz', 'Komentarze (1)', 'Komentarze (%)'); ?></p>
</div> <!-- Closes Post -->

<div class="comment">
<?php comments_template(); ?>
</div> <!-- Closes Comments -->

<?php endwhile; ?>

<?php else : ?>

<div class="post">
<h2 class="center">Nie znaleziono strony</h2>
<p class="center">Wybacz, ale szukasz tego, czego tu nie ma.</p>
</div> <!-- Closes Post -->

<?php endif; ?>



</div></div> <!-- Closes Content -->

<?php get_sidebar(); ?>

<div class="cleared"></div>

</div> <!-- Closes Main -->
<div class="bottomcurvewhite"></div>



<?php get_footer(); ?>