<?php $title = $this->filter($member['username']) . '的书架 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<div class="nav">返回<?php echo indexLink();?>|<?php echo memberLink();?>|<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a></div>
<div class="kind"><h1><?php echo $this->filter($member['username']);?></h1>正在看的书</div>
<?php if (empty($bookshelfs)):?>
    没有收藏的小说
<?php else:?>
	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
    <?php foreach($bookshelfs as $bookshelf):?>
        <div class="comment">
        <?php echo ++$page;?>.[<a href="<?php echo url('booktype', array('tid'=>$bookshelf['typeid']));?>"><?php echo $bookshelf['typename'];?></a>]<a href="<?php echo url('bookshow', array('bid'=>$bookshelf['bookid']));?>"><?php echo $bookshelf['bookname'];?>(<?php echo $bookshelf['status'] ? '完成' : '连载';?>)</a><br/>
		最新章节:<a href="<?php echo url('read', array('bid'=>$bookshelf['bookid'], 'cid'=>$bookshelf['lastchapterid']));?>"><?php echo $bookshelf['lastchaptername'];?></a>
		<br/>
        更新时间:<?php echo $bookshelf['updatedate'];?>
        <br/>
        <a href="<?php echo url('bookshow', array('bid'=>$bookshelf['bookid']));?>">我也看看</a>|<?php echo ilink('前往书会',url('system',array('s'=>'forum','id'=>$bookshelf['bookid'])));?>
        </div>
    <?php endforeach;?>
    <div class="search">共<?php echo $pageObj->getTotalRecord();?>本 [<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]</div>
    <?php echo $pageObj->show();?>
<?php endif;?>
<?php include_once tpl('footer');?>