<?php !empty($permission) && extract($permission);?>
<fieldset>
    <legend></legend>
    <table class="tab">
    	<tr>
    		<th>允许访问书会</th>
    		<td><?php echo CHtml::radioButtonList('p[isforumvisit]',$isforumvisit,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许书会发言</th>
    		<td><?php echo CHtml::radioButtonList('p[isforumpost]',$isforumpost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许申请书管</th>
    		<td><?php echo CHtml::radioButtonList('p[isapplybm]',$isapplybm,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许加入书会</th>
    		<td><?php echo CHtml::radioButtonList('p[isjoinforum]',$isjoinforum,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许获得书会发分</th>
    		<td><?php echo CHtml::radioButtonList('p[isforumcredit]',$isforumcredit,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许申请精评</th>
    		<td><?php echo CHtml::radioButtonList('p[isapplydigest]',$isapplydigest,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>书评长度(字)</th>
    		<td><?php echo CHtml::textField('p[forumpostlen]',$forumpostlen);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>书会每日发帖数</th>
    		<td><?php echo CHtml::textField('p[forumpostlimit]',$forumpostlimit);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>每日可得书会发分数</th>
    		<td><?php echo CHtml::textField('p[forumcreditlimit]',$forumcreditlimit);?>(0表示不限制)</td>
    	</tr>
    	<tr>
    		<th>书会发帖时间间隔</th>
    		<td><?php echo CHtml::textField('p[forumpostpertime]',$forumpostpertime);?>(默认30秒)</td>
    	</tr>
    	<tr>
    		<th>允许发高级贴</th>
    		<td><?php echo CHtml::radioButtonList('p[isadvancepost]',$isadvancepost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许出售高级贴</th>
    		<td><?php echo CHtml::radioButtonList('p[isselladvancepost]',$isselladvancepost,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>高级贴最高售价</th>
    		<td><?php echo CHtml::textField('p[advancepricelimit]',$advancepricelimit);?></td>
    	</tr>
    	<tr>
    		<th>允许向书会捐赠</th>
    		<td><?php echo CHtml::radioButtonList('p[isdedicate]',$isdedicate,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>允许书管投票</th>
    		<td><?php echo CHtml::radioButtonList('p[isbmvote]',$isbmvote,array(1=>'开启',0=>'关闭'),array('separator'=>' '));?></td>
    	</tr>
    	<tr>
    		<th>书管投票张数</th>
    		<td><?php echo CHtml::textField('p[bmvotenum]',$bmvotenum);?></td>
    	</tr>
    </table>
</fieldset>