<?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('&laquo; %link') ?></div>
					<div class="alignright"><?php next_post_link('%link &raquo;') ?></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') ?> &nbsp;|&nbsp; 
						<?php /* the_author(); */ ?> 
						<?php echo(__("Published",'IriTheme')." : "); ?>
						<?php
							the_category(', ');
							if($post->comment_count > 0) { 
									echo ' &nbsp;|&nbsp; ';
									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', ' &nbsp;|&nbsp; ', '');
						?>
						&nbsp;|&nbsp; 
						<?php if (class_exists('xili_language') && is_user_logged_in()) { xiliml_the_other_posts($post->ID,__("This post in",'IriTheme')," | "); } ?>
					</p>
					
					<div class="entry">
						<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
						<?php wp_link_pages(array('before' => '<p><strong>'.__("Pages",'IriTheme').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
						
					</div>
					<div class="tag">
					<?php the_tags('<strong>'.__("Tags :",'IriTheme').'</strong>',' | ','<br/> '); ?>
					</div>
				</div>
			<?php comments_template(); ?>
			<?php endwhile; else: ?>
				<p><?php _e("Sorry, no such page.",'IriTheme'); ?></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(); ?>