<?php include_once tpl('header');?>
<card title="我的收藏 - <?php echo setting('webname');?>">
<p align="left">
<?php echo backLink();?>/<?php echo memberLink();?>/<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a>/<a href="<?php echo url('type');?>">书库</a>
<br/>
可藏书数:50本,已藏数:<?php echo $count;?>本
<br/>
-----------------
<br/>
<?php if (empty($favorites)):?>
    您还没有收藏小说
<?php else:?>
    <?php foreach($favorites as $favorite):?>
        <?php echo $floor--;?>.[<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'favorite','do'=>'down','bid'=>$favorite['bookid']));?>">下架</a>]<a href="<?php echo url('bookshow', array('bid'=>$favorite['bookid']));?>"><?php echo $favorite['bookname'];?>(<?php echo $favorite['status'] ? '完成' : '连载';?>)</a><br/>
        最新章节:<a href="<?php echo url('read', array('tid'=>$favorite['typeid'], 'bid'=>$favorite['bookid'], 'cid'=>$favorite['lastchapterid']));?>"><?php echo $favorite['lastchaptername'];?></a><br/>
        更新时间:<?php echo $favorite['updatedate'];?><br/>
        <a href="<?php echo url('bookshow', array('bid'=>$favorite['bookid']));?>">开始阅读</a>|<?php echo ilink('选择书架',url('system',array('s'=>'member','c'=>'bookshelf','a'=>'select','bid'=>$favorite['bookid'])));?>|<?php echo ilink('前往书会',url('system',array('s'=>'forum','id'=>$favorite['bookid'])));?><br/>
        -----------------
        <br/>
    <?php endforeach;?>
    共<?php echo $pageObj->getTotalRecord();?>本[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>]
    <br/>
    <?php echo $pageObj->show();?><?php if ($pageObj->getTotalPage() > 1):?><?php echo '<input name="page" type="text" size="2" format="*N" emptyok="true"/><a href="'. url('member/myfavorites'). '&amp;page=$(page)">跳页&gt;</a>';?><?php endif;?>
<?php endif;?>
<br/>
<?php echo backLink();?>
<br/>
<?php include_once tpl('footer');?>