--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/single.php Wed Feb 03 15:37:20 2010 +0000
@@ -0,0 +1,57 @@
+<?php get_header(); ?>
+ <div class="column span-17 colborder first" id="maincontent">
+ <div class="content">
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+ <?php /*<div class="navigation small">
+ <div class="alignleft"><?php previous_post_link('« %link') ?></div>
+ <div class="alignright"><?php next_post_link('%link »') ?></div>
+ </div> */?>
+ <div style="padding-bottom: 15px;"></div>
+ <div class="post" id="post-<?php the_ID(); ?>">
+ <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h2>
+ <p class="small">
+ <?php the_time('j, F Y') ?> |
+ <?php /* the_author(); */ ?>
+ <?php echo(__("Published")." : "); ?>
+ <?php
+ the_category(', ');
+ if($post->comment_count > 0) {
+ echo ' | ';
+ if($post->comment_count > 1) {
+ echo '<a href="#comments">' . $post->comment_count . ' Comments</a>';
+ } else {
+ echo '<a href="#comments">1 Comment</a>';
+ }
+ }
+ edit_post_link('Edit', ' | ', '');
+ ?>
+ </p>
+
+ <div class="entry">
+ <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
+ <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
+
+ </div>
+ <div class="tag">
+ <?php the_tags('<strong>Mots clefs : </strong>',' | ','<br/> '); ?>
+ </div>
+ </div>
+ <?php comments_template(); ?>
+ <?php endwhile; else: ?>
+ <p><?php _e("Sorry, no such page."); ?></p>
+ <?php endif; ?>
+ <!-- ADD TO ANY -->
+ <?php
+ if (get_the_ID()!=142) {
+ echo '<ul class="addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); echo '</ul>';
+ }
+ ?>
+ <!-- -->
+</div>
+</div>
+<div class="column span-5 last">
+<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>
+</div>
+<hr></hr>
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
\ No newline at end of file