<?php
$forumset = unserialize($forum->forumset);
?>
<table class="tab">
	<tr>
		<th>开启“版主已阅”功能</th>
		<td><?php echo CHtml::radioButtonList('forum[forumset][threadmark]', $forumset['threadmark'], array(1=>'开启',0=>'关闭'), array('separator'=>' '));?></td>
	</tr>
    <tr>
		<th>锁定主题不允许回复</th>
		<td><?php echo CHtml::radioButtonList('forum[forumset][lock]', $forumset['lock'], array(0=>'开启',1=>'关闭'), array('separator'=>' '));?></td>
	</tr>
	<tr>
		<th>超过多少天的贴禁止回复(天)</th>
		<td><?php echo CHtml::textField('forum[forumset][threadexpire]', $forumset['threadexpire']);?>(0表示不限制)</td>
	</tr>
	<tr>
		<th>主题列表标题显示字节数</th>
		<td><?php echo CHtml::textField('forum[forumset][cutnums]', $forumset['cutnums']);?></td>
	</tr>
	<tr>
		<th>主题列表显示主题个数</th>
		<td><?php echo CHtml::textField('forum[forumset][threadnum]', $forumset['threadnum']);?></td>
	</tr>
	<tr>
		<th>版主日评分次数</th>
		<td><?php echo CHtml::textField('forum[forumset][ratingmax]', $forumset['ratingmax']);?>(0表示不限制)</td>
	</tr>
	<tr>
		<th>浏览帖子显示文章个数</th>
		<td><?php echo CHtml::textField('forum[forumset][readnum]', $forumset['readnum']);?></td>
	</tr>
	<tr>
		<th>标题长度(字)</th>
		<td><?php echo CHtml::textField('forum[forumset][subjectlen]', $forumset['subjectlen']);?></td>
	</tr>
	<tr>
		<th>主题贴内容长度(字)</th>
		<td><?php echo CHtml::textField('forum[forumset][threadlen]', $forumset['threadlen']);?></td>
	</tr>
	<tr>
		<th>回复长度(字)</th>
		<td><?php echo CHtml::textField('forum[forumset][replylen]', $forumset['replylen']);?></td>
	</tr>
	<tr>
		<th>隐藏帖功能</th>
		<td><?php echo CHtml::radioButtonList('forum[allowhide]', $forum->allowhide, array(0=>'开启',1=>'关闭'), array('separator'=>' '));?></td>
	</tr>
	<tr>
		<th>出售帖功能</th>
		<td><?php echo CHtml::radioButtonList('forum[allowsell]', $forum->allowsell, array(0=>'开启',1=>'关闭'), array('separator'=>' '));?></td>
	</tr>
	<tr>
		<th>发帖审核设置</th>
		<td><?php echo CHtml::radioButtonList('forum[f_check]', $forum->f_check, array(0=>'无',1=>'审核主题',2=>'审核回复',3=>'审核主题和回复'));?></td>
	</tr>
	<tr>
		<th>游客浏览图片/附件控制</th>
		<td><?php echo CHtml::radioButtonList('forum[forumset][viewpic]', $forumset['viewpic'], array(0=>'开启',1=>'关闭'), array('separator'=>' '));?></td>
	</tr>
</table>