<?php
/**
* Single pages for posts
*
* @package WordPress
* @subpackage Chronicle
*/
?><?php get_header(); ?>
<?php
global $wp_query;
$urlTemp = get_bloginfo( ‘template_url’ );
?>
<div id = “content”>
<div id = “maincontent”>
<div class = “posts”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class = “post postpage” id = “post-<?php the_ID(); ?>” >
<?php if ( has_post_thumbnail() ) : ?>
<div class = “post_left”>
<?php the_post_thumbnail(); ?>
</div><!–end “post_left”–>
<?php endif; ?>
<div class = “<?php if ( has_post_thumbnail() ) { echo ‘post_right’; } else { echo ‘post_long’; } ?>”>
<h2>” rel=”bookmark” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<div class = “post_meta”>
<span class = “first”><?php the_time( ‘F jS, Y’ ) ?></span>
<span> <?php the_category( ‘, ‘ ) ?></span>
<span class = “last”>
</div>
</div><!–end “post_right”–>
<div class = “fullcontent”>
<?php the_content( ” ); ?>
</div><!–end “fullcontent”–>
</div><!–end “post postpage”–>
</div><!–end “posts”–>
<?php comments_template(); ?>
</div><!–end “maincontent”–>
<?php endwhile; else : ?>
<div class = “post”>
<p>No posts found. Search for something else.</p>
</div><!–end “post”–>
<?php endif; ?>
<div id = “sidecontent”>
<?php get_sidebar(); ?>
</div>
</div><!– end “content”–>
<?php get_footer(); ?>