  <?php get_header(); ?>  
  <div id="content">
	
   <?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
		
<ul><h2>

<?php /* If this is a category archive */ if (is_category()) { ?>
		<h2 class="pagetitle">Arquivo do Assunto '<?php echo single_cat_title(); ?>'</h2>

 	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
		<h2 class="pagetitle">Arquivo por <?php the_time('F jS, Y'); ?></h2>

	 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
		<h2 class="pagetitle">Arquivo por <?php the_time('F, Y'); ?></h2>

		<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
		<h2 class="pagetitle">Arquivo por <?php the_time('Y'); ?></h2>

	  <?php /* If this is a search */ } elseif (is_search()) { ?>
		<h2 class="pagetitle">Resultado de sua Busca:</h2>

	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
		<h2 class="pagetitle">Author Archive</h2>

		<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
		<h2 class="pagetitle">Blog Archives</h2>

		<?php } ?>
		<?php while (have_posts()) : the_post(); ?>
</h2></ul>
  	<div class="content_top"></div>
	<div class="content_body">
  	<div class="date"><br/><span class="day"><?php the_time('j') ?></span><br/><span class="month"><?php the_time('F') ?></span><br/><span class="year"><?php the_time('Y') ?></span></div>
	<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div>
    <div class="post">
      <?php the_content('Click para continuar lendo &raquo;'); ?>
    </div>
	</div>  
	<div class="content_bottom">
	<div class="meta">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></div>
    </div>
	<?php endwhile; ?>
	<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>
	<?php else : ?>
	<ul><?php _e('Sorry, no posts matched your criteria.'); ?></ul>
	<?php endif; ?>
  </div>
  <?php get_sidebar(); ?>
  <?php get_footer(); ?>