web/wp-content/themes/IRI-Theme/index.php
branchwordpress
changeset 109 03b0d1493584
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/index.php	Wed Dec 23 17:55:33 2009 +0000
@@ -0,0 +1,30 @@
+<?php get_header(); ?>
+	<div class="column span-17 colborder first" id="maincontent">
+		<div class="content">
+			<?php 
+			
+				//$my_query = new WP_Query('showposts=8');
+				//while ($my_query->have_posts()) : $my_query->the_post();
+				
+				// Don't show featured item
+				//if ($post->ID == $featuredID) continue;
+				
+				while (have_posts()) : the_post();
+				
+				?>
+				
+				<?php getPost($post); ?>
+					
+				<?php endwhile; ?>
+	
+				<div class="alignleft"><?php next_posts_link('&laquo; Pr&eacute;c&eacute;dent') ?></div>
+				<div class="alignright"><?php previous_posts_link('Suivant &raquo;') ?></div>
+</div>
+</div>
+	
+<div class="column span-6 last">
+<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>
+</div>
+<hr></hr>
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
\ No newline at end of file