<?php get_header(); ?>
  <div id="content">
  <div id="accordion">
	<h3 class="toggler atStart">
		News r&eacute;centes
	</h3>
	<div class="element atStart">
  
  <?php if (have_posts()) : ?>
  
  	<?php while (have_posts()) : the_post(); ?>
  
    <div class="post" id="post-<?php the_ID(); ?>">
	  <div class="entry">
        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
	  </div>
	  <div style="border: 1px solid #F0E0C8; padding: 5px; background-color: #FFF4E5; color: #BD8D71;">
	  		<span>Post&eacute; par <?php if (get_the_author_url()) { ?><a href="<?php the_author_url(); ?>"><?php the_author(); ?></a><?php } else { the_author(); } ?> le <?php the_time('j F Y') ?></span>
	  </div>
		<div class="post-content">
			<?php the_content('Lire le reste de cet article &raquo;'); ?>
		</div>
		<div class="post-info">
			<span class="post-cat"><?php the_category(', ') ?></span> <span class="post-comments"><?php comments_popup_link('Pas de Commentaires &#187;', '1 Commentaire &#187;', '% Commentaires &#187;'); ?></span>
		</div>
	</div>
	
	<?php endwhile; ?>
	
	<div class="navigation">
	  <span class="previous-entries"><?php next_posts_link('Previous Entries') ?></span> <span class="next-entries"><?php previous_posts_link('Next Entries') ?></span>
	</div>
	
	<?php else : ?>
	
		<h2 class="center">Introuvable</h2>
		<p class="center">D&eacute;sol&eacute;, mais ce que vous cherchiez est introuvable !</p>
		
  <?php endif; ?>
  </div>
  <h3 class="toggler atStart">
		Commentaires r&eacute;cents | Posts r&eacute;cents
	</h3>
	<div class="element atStart">
  <!--recent comments start -->
  <div class="footer-recent-posts">
    <h4>Posts R&eacute;cents</h4>
  	<?php query_posts('showposts=5'); ?>
	<ul>
	<?php while (have_posts()) : the_post(); ?>
	<li>
	<strong><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></strong><br />
	<small><?php the_time('m-d-Y') ?></small>
	</li>
	<?php endwhile;?>
	</ul>
  </div>
  <!--recent comments start -->

  <!--recent comments start -->
  <div class="footer-recent-comments">
    <?php include (TEMPLATEPATH . '/simple_recent_comments.php'); /* recent comments plugin by: www.g-loaded.eu */?>
	<?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments(5, 60, '<h4>Commentaires R&eacute;cents</h4>', ''); } ?>
  </div>
  <!--recent comments end -->
  
	</div>
	</div>
	
  </div><!--/content -->
  
<?php get_sidebar(); ?>

<?php get_footer(); ?>
