<?php get_header(); ?>
<div id="content">

<div id="contentmiddle3">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="sl"></div>
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> <span class="date">on <?php the_time('M'); ?><span class="bigdate"><?php the_time('j'); ?></span> <?php the_time('Y'); ?></span></h2>

<div class="meta">by <?php the_author() ?> | <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  &#732; <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></div>
	
<div class="entry">
<?php the_content(__('Read more'));?><div class="postspace"></div>
<?php wp_link_pages('before=<div id="page-links">&after=</div>'); ?>
</div>

<div class="smeta">
<div class="bypostauthor">
<?php if ( get_the_author_meta( 'description' ) ) :  ?>
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'author_bio_avatar_size', 60 ) ); ?>
</div>

<div id="author-description">
<strong><?php printf( esc_attr__( 'About %s', 'Bruce' ), get_the_author() ); ?> :</strong>
<?php the_author_meta( 'description' ); ?> | <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'Bruce' ), get_the_author() ); ?></a>
</div>
<?php endif; ?>
 </div>
<?php _e('Topic:', 'ines') ?> <?php the_category(', ') ?> | <?php if(function_exists('the_tags')) {$my_tags = get_the_tags();if ( $my_tags != "" ){ the_tags('Tags: ', ', ', ''); } else {echo "Tags: None";} }?><?php if(function_exists('UTW_ShowTagsForCurrentPost')) { echo 'Tags: ';UTW_ShowTagsForCurrentPost("commalist");echo ''; } ?>

</div>
	
<div class="postspace"></div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php comments_template(); // Get wp-comments.php template ?>

<div class="navigation">
<?php $wp_query->is_single = true; previous_post ('&laquo; %', '', 'yes'); $wp_query->is_single = false; ?>
</div>
<div class="postspace"></div>

</div>
<?php get_template_part('bar'); ?>

</div>
<?php get_template_part('sbar'); ?>
</div>
<?php get_footer(); ?>