rendered paste body<?php get_header(); ?>
<div id="main-content">
<div id="right-content-post">
<div id="post-entry">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<div class="post-meta" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="post-date">Published in <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit', '| ', ''); ?></div>
<div class="authors-cat">Posted by <?php the_author_posts_link(); ?> in <?php the_category(', ') ?></div>
<div class="post-content"><?php the_content('Continue reading this post...') ;?></div>
</div>
<div class="post-clear"></div>
<?php endwhile; ?>
<div class="post-clear"></div>
<?php else : ?>
<h2>The page had been deleted</h2>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_leftbar(); ?>
<?php get_footer(); ?>
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<!-- This sets the $curauth variable -->
<?php
if(isset($_GET['author_name'])) :
$curauth = get_userdatabylogin($author_name);
else :
$curauth = get_userdata(intval($author));
endif;
?>
<h2>About: <?php echo $curauth->nickname; ?></h2>
<dl>
<dt>Website</dt>
<dd><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></dd>
<dt>Profile</dt>
<dd><?php echo $curauth->user_description; ?></dd>
</dl>
<h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
<ul>
<!-- The Loop -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
<?php the_title(); ?></a>,
<?php the_time('d M Y'); ?> in <?php the_category('&');?>
</li>
<?php endwhile; else: ?>
<p><?php _e('No posts by this author.'); ?></p>
<?php endif; ?>
<!-- End Loop -->
</ul>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>