<?php $title = '我的收藏 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<style type="text/css">.next {color:red;}</style>
<div class="lind"><a href="javascript:history.go(-1);">返回上级</a> <?php echo memberLink();?> <a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a> <a href="<?php echo url('type');?>">书库</a></div>
可藏书数:50本,已藏数:<span class="next"><?php echo $count;?></span>本
<br/>
<?php if (empty($favorites)):?>
    您还没有收藏小说
<?php else:?>
    <?php foreach($favorites as $favorite):?>
        <div class="kind"><?php echo $floor--;?>.[<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'favorite','do'=>'down','bid'=>$favorite['bookid']));?>"><span class="next">下架</span></a>]<a href="<?php echo url('bookshow', array('bid'=>$favorite['bookid']));?>"><?php echo $favorite['bookname'];?>(<?php echo $favorite['status'] ? '完成' : '连载';?>)</a></div>
        最新章节:<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/>
    <?php endforeach;?>
    <div class="pl">共<?php echo $pageObj->getTotalRecord();?>本[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页] <?php echo $pageObj->show();?><?php if ($pageObj->getTotalPage() > 1):?><?php endif;?></div>
<?php endif;?>
<?php include_once tpl('globalFooter');?>