<?php !empty($permission) && extract($permission);?>
<fieldset>
    <legend></legend>
    <table class="tab">
    	<tr>
    		<th>允许访问社区</th>
    		<td><?php echo CHtml::radioButtonList('p[isbbsvisit]',$isbbsvisit,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许浏览帖子</th>
    		<td><?php echo CHtml::radioButtonList('p[isread]',$isread,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许社区发表主题</th>
    		<td><?php echo CHtml::radioButtonList('p[isbbspost]',$isbbspost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许社区回复主题</th>
    		<td><?php echo CHtml::radioButtonList('p[isrp]',$isrp,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
        <tr>
    		<th>允许置顶自己贴内回复</th>
    		<td><?php echo CHtml::radioButtonList('p[istoppost]',$istoppost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许社区发起投票</th>
    		<td><?php echo CHtml::radioButtonList('p[isvotepost]',$isvotepost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许修改社区投票</th>
    		<td><?php echo CHtml::radioButtonList('p[ismodifyvote]',$ismodifyvote,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许投票</th>
    		<td><?php echo CHtml::radioButtonList('p[isvote]',$isvote,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许查看投票用户</th>
    		<td><?php echo CHtml::radioButtonList('p[isviewvote]',$isviewvote,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许发附件贴</th>
    		<td><?php echo CHtml::radioButtonList('p[isattpost]',$isattpost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许发出售贴</th>
    		<td><?php echo CHtml::radioButtonList('p[issellpost]',$issellpost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>帖子搜索间隔</th>
    		<td><?php echo CHtml::textField('p[searchctrl]',$searchctrl);?>(默认30秒，最小只能1秒)</td>
    	</tr>
    	<tr>
    		<th>出售贴最高售价</th>
    		<td><?php echo CHtml::textField('p[sellprice]',$sellprice);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>允许发出悬赏贴</th>
    		<td><?php echo CHtml::radioButtonList('p[isrewardpost]',$isrewardpost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>悬赏贴最高悬赏额度</th>
    		<td><?php echo CHtml::textField('p[rewardprice]',$rewardprice);?>(0表示不限制)</td>
    	</tr>
        <tr>
    		<th>允许发出踢楼贴</th>
    		<td><?php echo CHtml::radioButtonList('p[isrobfloor]',$isrobfloor,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许删除自己的主题</th>
    		<td><?php echo CHtml::radioButtonList('p[isdelatc]',$isdelatc,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许修改自己的主题</th>
    		<td><?php echo CHtml::radioButtonList('p[iseditatc]',$iseditatc,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许续写自己的主题</th>
    		<td><?php echo CHtml::radioButtonList('p[isappendatc]',$isappendatc,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许给自己的主题留言</th>
    		<td><?php echo CHtml::radioButtonList('p[isleaveword]',$isleaveword,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
        <tr>
    		<th>允许禁止某人回复自己的主题帖</th>
    		<td><?php echo CHtml::radioButtonList('p[isdenythreadreply]',$isdenythreadreply,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?>(只能禁止到具体的某个贴)</td>
    	</tr>
    	<tr>
    		<th>允许帖子里使用[img]</th>
    		<td><?php echo CHtml::radioButtonList('p[ispostimg]',$ispostimg,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许帖子里使用[url]</th>
    		<td><?php echo CHtml::radioButtonList('p[isposturl]',$isposturl,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许帖子里显示签名</th>
    		<td><?php echo CHtml::radioButtonList('p[isviewsign]',$isviewsign,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>需要审核主题贴</th>
    		<td><?php echo CHtml::radioButtonList('p[atccheck]',$atccheck,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
        <tr>
    		<th>帖子收藏数</th>
    		<td><?php echo CHtml::textField('p[threadfavoritelimit]',$threadfavoritelimit);?></td>
    	</tr>
    	<tr>
    		<th>社区每日发帖数</th>
    		<td><?php echo CHtml::textField('p[bbspostlimit]',$bbspostlimit);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>社区发帖时间间隔</th>
    		<td><?php echo CHtml::textField('p[bbspostpertime]',$bbspostpertime);?></td>
    	</tr>
    	<tr>
    		<th>允许帖子评分</th>
    		<td><?php echo CHtml::radioButtonList('p[israting]',$israting,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>单次最大评分数</th>
    		<td><?php echo CHtml::textField('p[maxrating]',$maxrating);?></td>
    	</tr>
    	<tr>
    		<th>单贴最大评分次数(主题评分+回复评分)</th>
    		<td><?php echo CHtml::textField('p[ratingmax]',$ratingmax);?>(0表示不限制)</td>
    	</tr>
	</table>
</fieldset>