<?php $title = $bcart['subject'] . ' - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<style type="text/css">.f{color: #666666;}</style>
<div class="nav">返回:<?php echo ilink($bcart['subject'], url('system', array('s'=>'bcart','a'=>'view','id'=>$bcart['id'])));?></div>
<?php if (!empty($comments)):?>
    <?php foreach ($comments as $comment):?>
    <div class="comment">
        [<?php echo $floor--;?>楼]<?php echo ilink(userName($comment['uid']), url('system', array('s'=>'member','uid'=>$comment['uid'])));?>:<?php echo filter(sFilter($comment['content']));?>(<?php echo $comment['createdate'];?>)<?php if ($allowDeleteComment):?>[<?php echo ilink('删除', url('system', array('s'=>'bcart','c'=>'member','a'=>'dcomment','cid'=>$comment['id'], 'direct'=>$GLOBALS['selfurl'])));?>]<?php endif;?>
    </div>
    <?php endforeach;?>
    <div class="search">
        共<?php echo $pageObj->getTotalRecord();?>个条评论[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
        <br/>
        <?php echo $pageObj->show();?>
    </div>
<?php else:?>
    本书单暂无书友看法<br/>
<?php endif;?>

<form action="<?php echo url('system', array('s'=>'bcart','c'=>'member','a'=>'comment','id'=>$bcart['id'],'redirect'=>$GLOBALS['selfurl']));?>" method="post">
<textarea style="width:99%" name="content"></textarea>
<br/>
<input type="submit" value="提交我的看法" />
</form>
<div class="block">
*每个书单都是书友的一份努力,尊重他人就是尊重自己.不要求你一定要评论,但如果想写,不需要你有多华丽的文笔,写出自己的想法就行,而不是诸如"顶" "好" "沙发"之类的毫无意义的内容,对于此类回复,第一次直接删除,第二次全站禁言一周!
</div>
返回<?php echo ilink('书单市场', url('system', array('s'=>'bcart')));?> <?php echo memberLink();?> <?php echo indexLink();?>
<?php include_once tpl('globalFooter');?>