<?php
/*
* Blue Taste Wordpress Theme By Jabox (http://www.jabox.com.ar)
*/  
?>
<?php get_header(); ?>

<div id="content">
	<?php if (have_posts()) : ?>

		<h2>Archive</h2>
		<?php if ( is_404() || is_category() || is_day() || is_month() ||
						is_year() || is_paged() ) {
			?> 

			<?php if (is_404()) { ?>
			<?php } elseif (is_category()) { ?>
			<h3>For the <?php single_cat_title(''); ?> category</h3>

			<?php  } elseif (is_day()) { ?>
			<h3>For the day <?php the_time('l, F jS, Y'); ?></h3>

			<?php  } elseif (is_month()) { ?>
			<h3>For <?php the_time('F, Y'); ?></h3>

			<?php  } elseif (is_year()) { ?>
			<h3>For the year <?php the_time('Y'); ?></h3>

			<?php  } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
			<h3>The blog archives.</h3>

			<?php } ?>

			<?php }?>
		<div class="separator"></div>
		<?php while (have_posts()) : the_post(); ?>
	<div class="post-container">
	    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			<div class="post-title">
	      	  	<?php if (!is_page()) {  ?><div class="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('d') ?></span></div> <?php } ?>
	        	<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
	         	<?php if (!is_page()) {  ?><span class="post-dates">By <?php the_author(); ?></span><span class="post-comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span><?php } ?>
	      	</div>
			<div class="entry">
	    		<?php the_content('Continue reading this entry &raquo;'); ?>
	      	</div>
	    </div>
    </div>
    <div class="separator"></div>
	<?php endwhile; ?>

    <div class="navigation-down"><span class="previous-entries"><?php next_posts_link('&lt; Older') ?></span><span
	class="next-entries"><?php previous_posts_link('Newer &gt;') ?></span>
	</div>

	<?php endif; ?>
	

 </div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>