<?php get_header(); ?>

			<div class="centraliza">
            	<div id="content">
            	<div id="content-25">
                	<?php get_sidebar(); ?>
                </div>
				
                <div id="content-75" style="float:right;">
					<h1 id="archive">
						<?php 
						if ( is_category() )
							printf( __( '<span>%s</span>' ) , single_cat_title( '', false ) );
						else
							_e( 'Blog archives' );
						?>
					</h1>
					
                    
					<!-- #loop -->
                    <?php if ( have_posts() ):
					while( have_posts() ): the_post(); ?>
					
					<div class="post" style="display:block; width:300px; height:220px;; float:left;">
						<?php if (has_post_thumbnail()){?>
                            
                            <div id="lista-thumb" style="float:left;">
                                <a href="<?php the_permalink(); ?>" title="<?php esc_attr( the_title() ); ?>"><?php the_post_thumbnail( array(270,215) ); ?></a>
                            </div>
                            
                            <div id="lista-text" style="float:left; margin-top:-20px; text-align:left; text-transform:uppercase; text-decoration:none;">
                                <br/>
                                <a href="<?php the_permalink(); ?>" title="<?php esc_attr( the_title() ); ?>"><?php the_title(); ?></a>
                            </div><!-- list-dir-text -->
                            
                        <?php } ?>
					
					</div><!-- .post -->
					<?php endwhile; ?>
							
					
                <div id="navigation">
                    <?php previous_posts_link( __( 'Newer posts' ) ); ?>
                    <?php next_posts_link( __( 'Older posts' ) ); ?>
                </div>
					
				<?php else: ?>
					<?php get_template_part('no-results'); ?>
				<?php endif; ?>
                <!-- #loop -->

                </div><!-- content-75 -->
			</div><!-- #content -->
 
<?php get_footer(); ?>