<?php include_once tpl('header');?>
<card title="《<?php echo $this->filter($thread['subject']);?>》回复列表 - <?php echo setting('webname');?>">
<p align="left">
返回<?php echo ilink('帖子',url('system',array('s'=>'forum','c'=>'advance','a'=>'read','id'=>$bookid,'cid'=>$postId)));?>.<a href="<?php echo url('system',array('s'=>'forum','id'=>$bookid));?>">书会</a>.<a href="<?php echo url('system',array('s'=>'member'));?>">书房</a>.<a href="<?php echo url('index');?>">首页</a>
<br/>
《<?php echo $this->filter($thread['subject']);?>》回复列表<?php if ('DESC' == $sort):?><?php echo ilink('倒序',url('system',array('s'=>'forum','c'=>'advance','a'=>'list','id'=>$bookid,'cid'=>$postId,'sort'=>'ASC')));?><?php else:?><?php echo ilink('顺序',url('system',array('s'=>'forum','c'=>'advance','a'=>'list','id'=>$bookid,'cid'=>$postId)));?><?php endif;?>
<br/>
-----------------
<br/>
<?php if (!empty($replies)):?>
    <?php foreach ($replies as $reply):?>
        [<?php echo $floor--;?>楼]<?php echo ilink($this->filter(userName($reply['uid'])),url('system',array('s'=>'member','uid'=>$reply['uid'])));?>:<?php echo $this->filter($reply['content']);?>[<?php echo date('y/m/d H:i:s', $reply['createdate']);?>]<br/>
    <?php endforeach;?>
    共<?php echo $pagination->getTotalRecord();?>楼[<?php echo $pagination->getCurrentPage();?>/<?php echo $pagination->getTotalPage();?>]<br/>
    <?php echo $pagination->show();?>
    <br/>
<?php else:?>
    暂无回复<br/>
<?php endif;?>
------------------
<br/>
<input name='content' size='5' type='text' />
<anchor><go href='<?php echo url('system', array('s'=>'forum','c'=>'advance','a'=>'reply','cid'=>$postId,'id'=>$bookid));?>' accept-charset='utf-8' method='post'>
        <postfield name='content' value='$(content)'/>
</go>发表回复</anchor>
<br/>
<?php include_once tpl('footer');?>
