<?php include_once tpl('header');?>
<card title="<?php echo $this->filter($member['username']);?>的书架 - <?php echo setting('webname');?>">
<p align="left">
返回<?php echo indexLink();?>|<?php echo memberLink();?>|<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a>|<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'favorite'));?>">收藏</a>
<br/>
-----------------
<br/>
<?php echo $this->filter($member['username']);?>正在看的书
<br/>
-----------------
<br/>
<?php if (empty($bookshelfs)):?>
    没有收藏的小说
<?php else:?>
	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
    <?php foreach($bookshelfs as $bookshelf):?>
        <?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'])));?>
        <br/>
        ---------------------
        <br/>
    <?php endforeach;?>
    共<?php echo $pageObj->getTotalRecord();?>本 [<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
    <br/>
    <?php echo $pageObj->show();?>
<?php endif;?>
<br/>
<?php include_once tpl('footer');?>