<?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>
<span class="commentcount"><?php comments_popup_link('Zostaw komentarz', '1 komentarz', 'Komentarze (%)'); ?></span>
</div>
<div class="postContent"><?php the_content('[Czytaj dalej...]'); ?></div>
</div> <!-- Closes Post -->

<?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 id="nextprevious">
 <div class="left"><?php posts_nav_link('','','&laquo; wcze&#347;niejsze wpisy') ?>&nbsp;&nbsp;</div>
 <div class="right"><?php posts_nav_link('','p&#243;&#378;niejsze wpisy &raquo;','') ?></div>
</div>

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

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


<?php get_sidebar(); ?>

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

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



<?php get_footer(); ?>
