
<?php
/*
Template Name: Author
*/
?>

<?php get_header(); ?>

<div id="main_content"> 
<div class="inner">
	
<div id="content">

<?php if (get_option('op_crumbs') == 'on') { ?>
<div id="content_bread_panel">	
<?php if (function_exists('wp_breadcrumbs')) wp_breadcrumbs(); ?>
</div>
<div class="clear"></div>
<?php } ?>


<div class="author_avatar">
<?php echo get_avatar( get_the_author_meta( 'ID' ), 120 ); ?>
</div>

<div class="author_description">
<h2 class="author_name"><?php echo the_author_meta('nickname'); ?></h2>
<?php echo the_author_meta('description'); ?>
</div>

<div class="author_email">
<?php $user_email = the_author_meta('user_email'); ?>
</div>

<div class="clear"></div>

<h2 class="author_posts_title"><?php echo $op_from_author ?> <?php echo the_author_meta('nickname'); ?></h2>

<?php echo get_related_author_posts(); ?>

		 
</div>


<?php get_sidebar('right'); ?>	
	
</div>
</div>

<div class="clear"></div>
	
<?php get_footer(); ?>
