<?php include_once tpl('header');?>
<card title="副管列表 - <?php echo setting('webname');?>">
<p align="left">
<?php echo backLink();?>/<?php echo forumLink($bookid);?>/<?php echo memberLink();?>
<br/>
【副管列表】<?php echo ilink('添加', url('system', array('s'=>'forum','c'=>'deputy','a'=>'add','id'=>$bookid)));?>
<br/>
<?php if (!empty($deputies)):?>
    <?php foreach ($deputies as $deputy):?>
        <?php echo ++$i;?>.<?php echo userLink($deputy['uid']);?>[<?php echo isOnlineView($deputy['uid']);?>]<?php echo ilink('删', url('system', array('s'=>'forum','c'=>'deputy','a'=>'delete','id'=>$bookid,'uid'=>$deputy['uid'])));?>
        <br/>
        由<?php echo userLink($deputy['ouid']);?>于<?php echo time2Units(strtotime($deputy['createdate']));?>前设置
        <br/>
        理由:<?php echo $deputy['remark'];?>
        <br/>
        还剩:<?php echo expireTime(date('Y-m-d H:i:s', $deputy['expiry']));?>
        <br/>
        --------------
        <br/>
    <?php endforeach;?>
<?php else:?>
    本书会暂无副管，马上<?php echo ilink('添加', url('system', array('s'=>'forum','c'=>'deputy','a'=>'add','id'=>$bookid)));?>？<br/>
<?php endif;?>

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