<?php include_once tpl('header');?>
<card title="最新书单 - <?php echo setting('webname');?>">
<p align="left">
返回:<?php echo backLink('上级');?>.<?php echo ilink('书单市场', url('system', array('s'=>'bcart')));?>.<?php echo memberLink();?>
<br/>
-----------
<br/>
排序:<?php echo $navString;?>
<br/>
<?php if (!empty($bcarts)):?>
    <?php foreach ($bcarts as $bcart):?>
        <?php echo $floor--;?>.<?php if ($isSelf):?>[<?php echo ilink('删', url('system', array_merge(array('s'=>'member','c'=>'my','a'=>'bcart','do'=>'down','id'=>$bcart['fid']), $merge)));?>]<?php endif;?><?php echo ilink($bcart['subject'], url('system', array('s'=>'bcart','a'=>'view','id'=>$bcart['id'])));?>
        <br/>
        <b>简介</b>:<?php echo iSubstr($bcart['description'], 0, 50, '...');?>
        <br/>
        <b>作者</b>:<?php echo ilink($this->filter(userName($bcart['uid'])), url('system', array('s'=>'bcart','c'=>'member','uid'=>$bcart['uid'])));?>
        <br/>
        <b>创建</b>:<?php echo $bcart['createdate'];?>
        <br/>
        <b>评分</b>:<?php echo Bcarts::getScore($bcart);?>
        <br/>
        <b>信息</b>:<?php echo $bcart['bnum'];?>本书,<?php echo $bcart['favorite'];?>人收藏,<?php echo $bcart['scores'];?>人评分,<?php echo $bcart['comment'];?>条评论
        <br/>
        ---------------
        <br/>
    <?php endforeach;?>
     共<?php echo $pageObj->getTotalRecord();?>个书单[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>]
    <br/>
    <?php echo $pageObj->show();?><br/>
<?php else:?>
    还没有书单
<?php endif;?>
<br/>
<?php include_once tpl('footer');?>