<?php include_once tpl('header');?>
<card title="挖宝讨论区 - <?php echo setting('webname');?>">
<p align="left">
<?php echo ilink('返回挖宝', url('system',array('s'=>'props','c'=>'wa')));?>
<br/>
<?php if (!empty($comments)):?>
    <?php foreach ($comments as $comment):?>
[<?php echo $floor--;?>楼]<?php echo ilink($this->filter($comment['username']),url('system',array('s'=>'member','uid'=>$comment['uid'])));?>:<?php echo iubb(sFilter($this->filter($comment['message'])));?>[<?php echo $comment['createdate'];?>]<br/>
    <?php endforeach;?>
    <?php echo $pageObj->show();?>
    <br/>
<?php else:?>
    暂无讨论<br/>
<?php endif;?>
<input name='message' size='5' type='text' />
<anchor>
    <go href='<?php echo url('system', array('s'=>'props','c'=>'wa','a'=>'comment'));?>' accept-charset='utf-8' method='post'>
        <postfield name='message' value='$(message)'/>
    </go>发表评论
</anchor>
<br/>
<?php echo ilink('返回挖宝', url('system',array('s'=>'props','c'=>'wa')));?>
<br/>
<?php include_once tpl('footer');?>