<?php include_once tpl('header');?>
<card title="禁言名单 - <?php echo setting('webname');?>">
<p align="left">返回<a href="<?php echo url('system',array('s'=>'forum','c'=>'manage','id'=>$bookid));?>">管理</a>.<?php echo forumLink($bookid);?>.<?php echo memberLink();?>
<br/>
+禁言名单+
<br/>
<?php if (!empty($members)):?>
    <?php foreach ($members as $member):?>
        <?php echo ilink($this->filter(userName($member['uid'])), url('system',array('s'=>'member','uid'=>$member['uid'])));?>[UID:<?php echo $member['uid'];?>] <?php if (IS_MANAGE):?><a href="<?php echo url('system',array('s'=>'forum','c'=>'ban','a'=>'delete','id'=>$bookid,'uid'=>$member['uid']));?>">解禁</a><?php endif;?>
        <br/>
        原因:<?php echo $member['remark'];?>
        <br/>
        状态:<?php echo isOnlineView($member['uid']);?>
        <br/>
        到期:<?php echo $member['expiry'] ? expireTime(date('Y-m-d H:i:s',$member['expiry'])) : '无期徒刑';?>
        <br/>
        --------------
        <br/>
    <?php endforeach;?>
    共<?php echo $pageObj->getTotalRecord();?>位[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
    <br/>
    <?php echo $pageObj->show();?><br/>
<?php else:?>
    暂无禁言人员<br/>
<?php endif;?>

<?php include_once tpl('footer');?>