<?php include_once tpl('header');?>
<card title="封号 - <?php echo setting('webname');?>">
<p align="left"><?php echo indexLink();?>.<?php if ($bookid):?>.<?php echo forumLink($bookid);?><?php endif;?><?php echo memberLink();?>.<a href="<?php echo url('top');?>">排行</a>
<br/>
    <select name="type" value="uid">
    	<option value="uid">UID</option>
        <option value="username">昵称</option>
    </select>
    <input type='text' name='member' value='<?php echo $uid;?>' maxlength='16' format='M*m' />
    <br/>
    有效期:
    <select name="expiry">
    	<?php if (isGM()):?>
        <option value="0">永久</option>
        <?php endif;?>
        <option value="1">一天</option>
        <option value="3">三天</option>
        <option value="5">五天</option>
        <option value="7">一周</option>
        <option value="14">两周</option>
        <option value="30">一月</option>
        <option value="60">两月</option>
        <option value="90">三月</option>
        <option value="180">半年</option>
        <option value="365">一年</option>
    </select>
    <br/>
    理由:<input type='text' name='reason' value='' format='M*m' />
    <br/>
    <?php if (isGM()):?>
    	警告：以下操作请谨慎，数据删除后将不可恢复！！！
    	<br/>
        清空社区帖子:<select name="cleanbbs" value="0"><option value="0">否</option><option value="1">是</option></select>
        <br/>
        请空书会贴字:<select name="cleanforum" value="0"><option value="0">否</option><option value="1">是</option></select>
        <br/>
    <?php endif;?>
    <anchor><go href='<?php echo url('system', array('s'=>'forum','c'=>'ban','a'=>'visit'));?>' accept-charset='utf-8' method='post'>
    	<postfield name='type' value='$(type)'/>
        <postfield name='reason' value='$(reason)'/>
    	<postfield name='member' value='$(member)'/>
    	<postfield name='expiry' value='$(expiry)'/>
    	<?php if (isGM()):?>
    	<postfield name='cleanbbs' value='$(cleanbbs)'/>
    	<postfield name='cleanforum' value='$(cleanforum)'/>
    	<?php endif;?>
	</go>提交</anchor>
    <br/>
 <?php include_once tpl('footer');?>