<?php
/**
 * Author template for the Now Reading plugin.
 *
 * @package Suffusion
 * @subpackage NowReading
 */

global $nr_book_query;
get_header();
?>

<div id="main-col">
<?php suffusion_before_begin_content(); ?>
	<div id="content">
<?php suffusion_after_begin_content(); ?>
		<div class="post fix nr-post">
			<h1 class="posttitle"><?php echo the_book_author(false); ?></h1>

			<div class="bookdata fix">
<?php
if( can_now_reading_admin() ) {
?>
				<div class="manage">
					<a href="<?php manage_library_url(); ?>"><?php _e('Manage Books', NRTD);?></a>
				</div>
<?php
}
?>
			</div>
			<div class="booklisting">
<?php
$nr_book_query = "author={$GLOBALS['nr_author']}&num=-1";
include(TEMPLATEPATH . '/now-reading/nr-shelf.php');
?>
			</div><!-- /.booklisting -->
<?php
//library_search_form();
?>
<!--			<p><a href="<?php library_url() ?>">&larr; Back to library</a></p>-->
		</div><!-- /.nr-post -->
	</div><!-- /#content -->
</div><!-- /#main-col -->

<?php
get_footer();
?>