<?php
/*
Template Name: Arquivos
*/
get_header(); ?>

<div id="main">
	<div id="content">
		<div id="page">
      
         <?php
         $debut = 0; //The first article to be displayed
         ?>
         <?php while(have_posts()) : the_post(); ?>
         <h1>Página de <?php the_title(); ?></h1>
         
         <ul style="width:90%;">
         <?php
         $myposts = get_posts('numberposts=-1&offset=$debut');
         foreach($myposts as $post) :
         ?>
         <li style="background-color:#EDF7FF;margin:0 0 6px -25px;padding: 0 0 0 10px;list-style:none;">
            <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
         </li>
         <?php endforeach; ?>
         </ul>
         
         <?php endwhile; ?>

		</div>
		<!--end Page-->
	</div>
	<!--end Content-->

<?php get_sidebar('secondary'); ?>

</div>
<!--end Main-->

<?php get_footer(); ?>