<?php !empty($permission) && extract($permission);?>
<fieldset>
    <legend></legend>
    <table class="tab">
    	<tr>
    		<th>允许访问(全局控制)</th>
    		<td><?php echo CHtml::radioButtonList('p[isvisit]',$isvisit,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许发言(全局控制)</th>
    		<td><?php echo CHtml::radioButtonList('p[ispost]',$ispost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许隐身登录</th>
    		<td><?php echo CHtml::radioButtonList('p[ishide]',$ishide,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>用户每日最大评分数</th>
    		<td><?php echo CHtml::textField('p[daycredits]',$daycredits);?></td>
    	</tr>
    	<tr>
    		<th>最大藏书数</th>
    		<td><?php echo CHtml::textField('p[booklimit]',$booklimit);?></td>
    	</tr>
        <tr>
    		<th>最大创建书单数</th>
    		<td><?php echo CHtml::textField('p[bcartlimit]',$bcartlimit);?></td>
    	</tr>
        <tr>
    		<th>最大书单收藏数</th>
    		<td><?php echo CHtml::textField('p[bcartfavoritelimit]',$bcartfavoritelimit);?></td>
    	</tr>
    	<tr>
    		<th>允许使用书架</th>
    		<td><?php echo CHtml::radioButtonList('p[isbookshelf]',$ispost,array(1=>'是',0=>'否'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>用户购买道具折扣</th>
    		<td><?php echo CHtml::textField('p[propdiscount]',$propdiscount,array('separator'=>' '));?></td>
    	</tr>
        <tr>
    		<th>过滤喇叭里面的字母</th>
    		<td><?php echo CHtml::radioButtonList('p[isfilterbugle]',$isfilterbugle,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?> (防止用喇叭宣传非法站点)</td>
    	</tr>
        <tr>
            <th>过滤站内非法字</th>
            <td><?php echo CHtml::radioButtonList('p[isfilterword]',$isfilterword,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?> (站内不河蟹的字都会替换成***，但这样阅读体验不好，达到等级后可以不进行过滤，即优化体验，同时也不怕被检测)</td>
        </tr>
    	<tr>
    		<th>允许搜索</th>
    		<td><?php echo CHtml::radioButtonList('p[issearch]',$issearch, array(0=>'不允许搜索',1=>'只能搜标题',2=>'搜标题跟内容'));?></td>
    	</tr>
    	<tr>
    		<th>允许上传头像</th>
    		<td><?php echo CHtml::radioButtonList('p[isfaceimg]',$isfaceimg,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许头像链接</th>
    		<td><?php echo CHtml::radioButtonList('p[isfacelink]',$isfacelink,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许使用签名</th>
    		<td><?php echo CHtml::radioButtonList('p[issign]',$issign,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>签名中是否允许使用UBB</th>
    		<td><?php echo CHtml::radioButtonList('p[issignubb]',$issignubb,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>签名中是否允许使用[img]</th>
    		<td><?php echo CHtml::radioButtonList('p[issignimg]',$issignimg,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>签名中是否允许使用[url]</th>
    		<td><?php echo CHtml::radioButtonList('p[issignurl]',$issignurl,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>签名长度</th>
    		<td><?php echo CHtml::textField('p[signlenght]',$signlenght);?></td>
    	</tr>
    	<tr>
    		<th>签名中图片宽度</th>
    		<td><?php echo CHtml::textField('p[signimgwidth]',$signimgwidth);?></td>
    	</tr>
    	<tr>
    		<th>签名中图片长度</th>
    		<td><?php echo CHtml::textField('p[signimgheight]',$signimgheight);?></td>
    	</tr>
    </table>
</fieldset>