<?php get_header(); ?>
<div id="casing">
<div class="incasing">
<div class="topbar">
<div class="subhead"><h1><?php previous_post('« %', 'Previous Post', 'no'); ?>
| <?php next_post('% » ', 'Next Post', 'no'); ?> </h1></div>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="postmeta">
<span class="author">Posted by <?php the_author(); ?> </span> <span class="clock"> <?php the_time('M - j - Y'); ?></span> <span class="comm"><?php comments_popup_link('0 Comment', '1 Comment', '% Comments'); ?></span>
</div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
<div class="clear"></div>
<?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<div class="singleinfo">
<span class="category">Categories: <?php the_category(', '); ?> </span>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<h1 class="title">Not Found</h1>
<p>I'm Sorry, you are looking for something that is not here. Try a different search.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<?php get_footer(); ?>