<?php
/**
 * @package WordPress
 * @subpackage Classic_Theme
 */
get_header();
?>
<div id="container-wrap"><div id="container-bottom" class="clearfix">
		<div id="content">
		<div class="post_wrapper">
					<?php if (have_posts()) : ?>
						<?php while (have_posts()) : the_post(); ?>
							<?php if ( version_compare( $wp_version, '2.7', '>=' ) ) { ?>
								<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
								<?php } else { ?>
								<div id="post-<?php the_ID(); ?>" class="post post-<?php the_ID(); ?>">
							<?php } ?>
							<div class="post-top">
								
								<h1 class="title"><?php the_title(); ?></h1>
								<div class="post-data">
									<span class="post-date"><span class="num"><?php the_time(d); ?></span><br /><?php the_time(M); ?> </span> Author: <a href="<?php the_author() ?>" title="<?php the_author() ?>"><?php the_author() ?></a>&nbsp;&nbsp;&nbsp;&nbsp;Category: <?php the_category(', ') ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php if(get_the_tags()) { ?><?php  the_tags('Tags: ', ', '); } ?>&nbsp;&nbsp;&nbsp;&nbsp;Comments: <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
									</div>
								<?php the_content(); ?>
								
								<div class="clear"></div>
								<div class="post-tags"><?php if(get_the_tags()) { ?><?php  the_tags('Tags: ', ', '); } ?></div>
							</div>
						</div>
				
				<?php endwhile; ?>
				<?php if (wpthemes_options('show_comments')) {  ?>
				<?php 
					if (function_exists('wp_list_comments')) {
						comments_template('/comments.php', true);
					}
					else {
						comments_template('/comments-old.php');
					}
					?>
				<?php } ?>
				<?php endif; ?>
				</div>
				</div>
				<?php get_sidebar(); ?>
				<div class="clear"></div>
				</div>
		  </div>
<?php get_footer(); ?>
