<%@ Page Inherits="Dvbbs.bbs.UI.Admin.board_setting" %>
<%@ Register tagPrefix="Dvbbs" namespace="Dvbbs.Controls" assembly="Dvbbs.Web"%>
<%@ Register tagPrefix="bbs" tagName="AdminHeader" src="controls/admin_header.ascx"%>
<%@ Register tagPrefix="bbs" tagName="AdminFooter" src="controls/admin_footer.ascx"%>
<script type="text/JavaScript">
<!--
function onSelectedChange(InMode) { //v6.0
	var i = InMode.selectedIndex;
	var val = InMode.options[i].value;
	if(val=='0')
	{
		document.getElementById('setting(3)').style.visibility = 'hidden';
		document.getElementById('setting(4)').style.visibility = 'hidden';
		return;
	}
	if(val=='1')
	{
		document.getElementById('setting(3)').style.visibility = 'visible';
		document.getElementById('setting(4)').style.visibility = 'hidden';
	}
	if(val=='2')
	{
		
		document.getElementById('setting(3)').style.visibility = 'hidden';
		
		document.getElementById('setting(4)').style.visibility = 'visible';
		
	}
}
function SetValue(obj)
{
	if(obj.checked)
	{
		obj.value="0";
	}	
}
//-->
</script>
<bbs:AdminHeader title="已授予勋章" runat="server" ID="Adminheader1" NAME="Adminheader1" />
<a name="top"></a>
<% if(action==""){%>
<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table1">
	<tr>
		<td class="title">版面方案管理</td>
	</tr>
	<tr>
		<td>
			<p><b>操作说明:</b><br />
				&nbsp;&nbsp;&nbsp;&nbsp;论坛设置管理，可以让你修改现有的论坛设置数据。如果您的论坛设置比较特殊，请先建立自己的特殊设置数据，然后修改相关版面基本设置，以便相关版面应用此设置。</p>
		</td>
	</tr>
	<tr>
		<td class="bottom"><a href="board_setting.aspx">版面方案管理首页</a> | <a href="board_setting.aspx?action=new">
				新增版面方案</a></td>
	</tr>
</table>
<form runat="server" ID="Form1">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title" colspan="4">现有版面方案列表
				<span>(点方案名称进行编辑，如果要删除版面设置方案，请先确认没有任何版面在使用它)</span></td>
		</tr>
		<tr>
			<td class="title" width="6%" nowrap="nowrap">删除?</td>
			<td class="title" width="10%" nowrap="nowrap">编号</td>
			<td class="title" width="50%">方案名称</td>
			<td class="title">应用</td>
		</tr>
		<asp:Repeater id="list" runat="server">
			<ItemTemplate>
				<tr>
					<td align="center"><Dvbbs:Span id="delete" runat="server" /></td>
					<td align="center"><Dvbbs:Span id="uid" runat="server" /></td>
					<td align="left"><Dvbbs:Anchor id="type" runat="server" /></td>
					<td align="left"><Dvbbs:Anchor id="use" runat="server" /></td>
				</tr>
			</ItemTemplate>
		</asp:Repeater>
		<tr>
			<td align="left" colspan="4" class="bottom"><input type="submit" value="提 交" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
					onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" /></td>
		</tr>
	</table>
</form>
<% }else{%>
<form action="" method="post">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<% if(action=="edit"){%>
		<tr>
			<td class="title">修改版面方案
				<span>(修改论坛设置，请填写好设置的名称和简要说明以便记忆。根据您的需要修改好设置项然后提交)</span></td>
		</tr>
		<%}else{%>
		<tr>
			<td class="title">新增版面方案
				<span>(新增论坛设置，请填写好设置的名称和简要说明以便记忆。根据您的需要修改好设置项然后提交)</span></td>
		</tr>
		<%}%>
		<tr>
			<td>
				<div style="float:left"><a href="#setting1">简要说明</a> | <a href="#setting2">版面类型</a> 
					| <a href="#setting3">认证版块高级</a> | <a href="#setting4">帖子设置</a> | <a href="board_setting_list.aspx?uid=<%=ads_id%>">
						应用到版面</a></div>
				<a href="#bottom"><img src="images/p_down.gif" style="float:right" border="0" title="底部" /></a><a href="#top"><img src="images/p_up.gif" style="float:right" border="0" title="顶部" /></a>
			</td>
		</tr>
	</table>
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="left" width="30%">设置名称</td>
			<td class="right" width="70%"><input type="text" name="type" id="type" size="30" value="<%=ads_type%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				<br />
				<span>给您的设置起个容易记的名称</span>
			</td>
		</tr>
		<a name="setting1"></a>
		<tr>
			<td class="left">简要说明</td>
			<td class="right">
				<textarea name="description" id="description" style="width:360px;height:120px;" onFocus="IEvent('focus',this);"
					onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"><%=Server.HtmlEncode(description)%></textarea>
				<br />
				<span>描述一下您的设置，以免你以后忘记了这是做什么用的</span>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="height:1px;"></td>
		</tr>
		<a name="setting2"></a>
		<tr>
			<td colspan="2" class="title"><div style="float:left">版面类型</div>
				<a href="#bottom"><img src="images/p_down.gif" style="float:right" border="0" title="底部" /></a><a href="#top"><img src="images/p_up.gif" style="float:right" border="0" title="顶部" /></a>
			</td>
		</tr>
		<tr>
			<td class="left">
			外部链接
			<td class="right"><input type="text" name="setting(0)" id="setting(0)" value="<%=initarray[0]%>" style="width:360px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				<br />
				<span>如填写则此版面将自动切换到该网址请填写URL绝对路径</span></td>
			</td>
		</tr>
		<tr>
			<td class="left">分论坛LOGO</td>
			<td class="right">
				<input type="text" name="setting(1)" id="setting(1)" value="<%=initarray[1]%>" style="width:360px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				<br />
				<span>填写图片路径，不填写则当前版面LOGO为论坛设置中LOGO</span>
			</td>
		</tr>
		<tr>
			<td class="left">版面TitleKeyword</td>
			<td class="right">
				<input type="text" name="setting(52)" id="setting(52)" value="<%=initarray[52]%>" style="width:360px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				<br />
				<span>用于版面贴子列表IE标题栏显示，如：站长讨论区 - 动网论坛 - keyword</span>
			</td>
		</tr>
		<tr>
			<td class="left">版面设置</td>
			<td class="right">
				<div style="float:left">
					<select id="setting(2)" name="setting(2)" style='width:180px' onchange="onSelectedChange(this)"
						onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
						onMouseOut="IEvent('mouseout',this)">
						<option value='0'>普通</option>
						<option value='1'>需要密码进入</option>
						<option value='2'>指定会员进入</option>
					</select>
				</div>
				<div id="setting(3)" name="setting(3)" style="visibility: hidden;float:left;">
					<input type="text" value="<%=initarray[3]%>" style="width:102px;" id="setting(3)" name="setting(3)" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				</div>
				<div id="setting(4)" name="setting(4)" style="visibility: hidden;float:left;">
					<input type="text" value="<%=initarray[4]%>" style="width:200px;" id="setting(4)" name="setting(4)"  onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
					<span>用户名用逗号(,)分割</span>
				</div>
			</td>
		</tr>
		<tr>
			<td class="left">论坛定时设置</td>
			<td class="right"><select id='bbsOpen' name='setting(5)' style='width:180px' onFocus="IEvent('focus',this);"
					onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
					<option value='0' <% if(initarray[5]=="0")Response.Write("selected=\"selected\"");%>>正常开放</option>
					<option value='1' <% if(initarray[5]=="1")Response.Write("selected=\"selected\"");%>>定时关闭</option>
					<option value='2' <% if(initarray[5]=="2")Response.Write("selected=\"selected\"");%>>定时只读</option>
				</select></td>
		</tr>
		<tr>
			<td class="left">版面定时开放</td>
			<td class="right"><table border="0" width="80%" cellpadding="4" cellspacing="0">
					<tr>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[6]%>" id="setting(6)" name="setting(6)" <% if(initarray[6]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />0点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[7]%>" id="setting(7)" name="setting(7)" <% if(initarray[7]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />1点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[8]%>" id="setting(8)" name="setting(8)" <% if(initarray[8]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />2点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[9]%>" id="setting(9)" name="setting(9)" <% if(initarray[9]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />3点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[10]%>" id="setting(10)" name="setting(10)" <% if(initarray[10]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />4点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[11]%>" id="setting(11)" name="setting(11)" <% if(initarray[11]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />5点</td>
					</tr>
					<tr>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[12]%>" id="setting(12)" name="setting(12)" <% if(initarray[12]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />6点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[13]%>" id="setting(13)" name="setting(13)" <% if(initarray[13]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />7点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[14]%>" id="setting(14)" name="setting(14)" <% if(initarray[14]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />8点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[15]%>" id="setting(15)" name="setting(15)" <% if(initarray[15]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />9点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[16]%>" id="setting(16)" name="setting(16)" <% if(initarray[16]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />10点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[17]%>" id="setting(17)" name="setting(17)" <% if(initarray[17]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />11点</td>
					</tr>
					<tr>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[18]%>" id="setting(18)" name="setting(18)" <% if(initarray[18]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />12点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[19]%>" id="setting(19)" name="setting(19)" <% if(initarray[19]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />13点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[20]%>" id="setting(20)" name="setting(20)" <% if(initarray[20]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />14点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[21]%>" id="setting(21)" name="setting(21)" <% if(initarray[21]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />15点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[22]%>" id="setting(22)" name="setting(22)" <% if(initarray[22]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />16点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[23]%>" id="setting(23)" name="setting(23)" <% if(initarray[23]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />17点</td>
					</tr>
					<tr>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[24]%>" id="setting(24)" name="setting(24)" <% if(initarray[24]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />18点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[25]%>" id="setting(25)" name="setting(25)" <% if(initarray[25]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />19点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[26]%>" id="setting(26)" name="setting(26)" <% if(initarray[26]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />20点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[27]%>" id="setting(27)" name="setting(27)" <% if(initarray[27]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />21点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[28]%>" id="setting(28)" name="setting(28)" <% if(initarray[28]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />22点</td>
						<td><input class="smallbox" type="checkbox" value="<%=initarray[29]%>" id="setting(29)" name="setting(29)" <% if(initarray[29]=="0")Response.Write("checked=\"checked\"");%> onclick="SetValue(this)" />23点</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="height:1px;"></td>
		</tr>
		<tr>
			<td colspan="2" class="title"><a name="setting3"></a>
				<div style="float:left">认证版块高级设置(注：当本版块设为认证版面时，以下设置才能生效。)</div>
				<a href="#bottom"><img src="images/p_down.gif" style="float:right" border="0" title="底部" /></a><a href="#top"><img src="images/p_up.gif" style="float:right" border="0" title="顶部" /></a></td>
		</tr>
		<tr>
			<td class="left">用户进入需要发表过文章数</td>
			<td class="right"><input type="text" name="setting(30)" id="setting(30)" value="<%=initarray[30]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/></td>
		</tr>
		<tr>
			<td class="left">用户进入需要至少有积分数</td>
			<td class="right"><input type="text" name="setting(31)" id="setting(31)" value="<%=initarray[31]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/></td>
		</tr>
		<tr>
			<td class="left">用户进入需要花费金钱数
				</td>
			<td class="right"><input type="text" name="setting(32)" id="setting(32)" value="<%=initarray[32]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
			<br /><span>设置后进入该版面将需要支付一定量的金币</span>
			</td>
		</tr>
		<tr>
			<td class="left">用户进入需要至少威望数</td>
			<td class="right"><input type="text" name="setting(33)" id="setting(33)" value="<%=initarray[33]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/></td>
		</tr>
		<tr>
			<td class="left">用户进入需有精华文章数</td>
			<td class="right"><input type="text" name="setting(34)" id="setting(34)" value="<%=initarray[34]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/></td>
		</tr>
		<tr>
			<td class="left">注册时间设置</td>
			<td class="right"><input type="text" name="setting(35)" id="setting(35)" value="<%=initarray[35]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				分钟</td>
		</tr>
		<tr>
			<td colspan="2" style="height:1px;"></td>
		</tr>
		<tr>
			<td colspan="2" class="title"><a name="setting4"></a>
				<div style="float:left">帖子设置</div>
				<a href="#bottom"><img src="images/p_down.gif" style="float:right" border="0" title="底部" /></a><a href="#top"><img src="images/p_up.gif" style="float:right" border="0" title="顶部" /></a></td>
		</tr>
		<tr>
			<td class="left">敏感字设置</td>
			<td class="left">
				<textarea name="setting(36)" id="setting(36)" onFocus="IEvent('focus',this);" style="width:360px;height:120px;"
					onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"><%=Server.HtmlEncode(initarray[36].ToString())%></textarea>
					<br />
				<span>多个请用“|”隔开</span>
			</td>
		</tr>
		<tr>
			<td class="left">发贴主题限制长度设置</td>
			<td class="right"><input type="text" name="setting(37)" id="setting(37)" value="<%=initarray[37]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">发贴后返回</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(38)" value="0" <% if(initarray[38]=="0")Response.Write("checked=\"checked\"");%>/>首页<br />
				<input class="smallbox" type="radio" name="setting(38)" value="1"  <% if(initarray[38]=="1")Response.Write("checked=\"checked\"");%>/>版面<br />
				<input class="smallbox" type="radio" name="setting(38)" value="2"  <% if(initarray[38]=="2")Response.Write("checked=\"checked\"");%>/>帖子<br />
				<input class="smallbox" type="radio" name="setting(38)" value="3"  <% if(initarray[38]=="3")Response.Write("checked=\"checked\"");%>/>快速返回到帖子</td>
		</tr>
		<tr>
			<td class="left">帖子最大内容长度设置</td>
			<td class="right"><input type="text" name="setting(39)" id="setting(39)" value="<%=initarray[39]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">帖子最小内容长度设置</td>
			<td class="right"><input type="text" name="setting(40)" id="setting(40)" value="<%=initarray[40]%>" style="width:50px" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">每次发贴时间间隔设置</td>
			<td class="right"><input type="text" name="setting(41)" id="setting(41)" value="<%=initarray[41]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				秒<br />
				<span>如基本设置中和此处同时设置，以此处为准，0为不限制</span>
			</td>
		</tr>
		<tr>
			<td class="left">贴子列表标题显示字符数</td>
			<td class="right"><input type="text" name="setting(42)" id="setting(42)" value="<%=initarray[42]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">帖子列表每页记录数</td>
			<td class="right"><input type="text" name="setting(43)" id="setting(43)" value="<%=initarray[43]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">浏览帖子每页记录数</td>
			<td class="right"><input type="text" name="setting(44)" id="setting(44)" value="<%=initarray[44]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				字符</td>
		</tr>
		<tr>
			<td class="left">显示最新帖图片显示方式</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(45)" value="0"  <% if(initarray[45]=="0")Response.Write("checked=\"checked\"");%>/>按最后回复时间<br />
				<input class="smallbox" type="radio" name="setting(45)" value="1"  <% if(initarray[45]=="1")Response.Write("checked=\"checked\"");%>/>按发贴时间</td>
		</tr>
		<tr>
			<td class="left">显示最新帖图片时间设置</td>
			<td class="right">
				<select name="setting(46)" id="setting(46)" style="margin:3px;">
					<option value="0"<% if(initarray[46]=="0")Response.Write(" selected=\"selected\" ");%>>0分钟</option>
					<option value="10"<% if(initarray[46]=="10")Response.Write(" selected=\"selected\" ");%>>10分钟</option>
					<option value="30"<% if(initarray[46]=="30")Response.Write(" selected=\"selected\" ");%>>30分钟</option>
					<option value="60"<% if(initarray[46]=="60")Response.Write(" selected=\"selected\" ");%>>1小时</option>
					<option value="360"<% if(initarray[46]=="360")Response.Write(" selected=\"selected\" ");%>>6小时</option>
					<option value="720"<% if(initarray[46]=="720")Response.Write(" selected=\"selected\" ");%>>12小时</option>
					<option value="1440"<% if(initarray[46]=="1440")Response.Write(" selected=\"selected\" ");%>>1天</option>
					<option value="2880"<% if(initarray[46]=="2880")Response.Write(" selected=\"selected\" ");%>>2天</option>
				</select></td>
		</tr>
		<tr>
			<td class="left">显示最新帖图片地址设置</td>
			<td class="right"><input type="text" name="setting(47)" id="setting(47)" value="<%=initarray[47]%>" style="width:300px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
			<br />
				<span>值为0或空时即不显示，填写准确地址</span>
			</td>
		</tr>
		<tr>
			<td class="left">帖子默认正文字号大小</td>
			<td class="right"><input type="text" name="setting(48)" id="setting(48)" value="<%=initarray[48]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				px</td>
		</tr>
		<tr>
			<td class="left">帖子默认正文行间距</td>
			<td class="right"><input type="text" name="setting(49)" id="setting(49)" value="<%=initarray[49]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				px</td>
		</tr>
		<tr>
			<td class="left">PK帖系统抽取的每笔百分比率</td>
			<td class="right"><input type="text" name="setting(53)" id="setting(53)" value="<%=initarray[53]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				%</td>
		</tr>
		<tr>
			<td class="left">PK帖发起人取得的的每笔下注百分比率</td>
			<td class="right"><input type="text" name="setting(54)" id="setting(54)" value="<%=initarray[54]%>" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				%</td>
		</tr>
		<tr>
			<td class="left">发帖是否定要选择版面分类</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(55)" value="1"  <% if(initarray[55]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(55)" value="0"  <% if(initarray[55]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<tr>
			<td class="left">是否开放悬赏帖</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(56)" value="1"  <% if(initarray[56]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(56)" value="0"  <% if(initarray[56]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<tr>
			<td class="left">是否开放PK帖</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(57)" value="1"  <% if(initarray[57]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(57)" value="0"  <% if(initarray[57]=="0")Response.Write("checked=\"checked\"");%>/>否 
				&nbsp;</td>
		</tr>
		<tr>
			<td class="left">是否开放投票帖</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(58)" value="1"  <% if(initarray[58]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(58)" value="0"  <% if(initarray[58]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<tr>
			<td class="left">是否开放活动帖</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(59)" value="1"  <% if(initarray[59]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(59)" value="0"  <% if(initarray[59]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<tr>
			<td class="left">是否开放交易帖</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(60)" value="1"  <% if(initarray[60]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(60)" value="0"  <% if(initarray[60]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<tr>
			<td class="left">是否开放帖子鉴定</td>
			<td class="right">
				<input class="smallbox" type="radio" name="setting(62)" value="1"  <% if(initarray[62]=="1")Response.Write("checked=\"checked\"");%>/>是&nbsp;&nbsp;
				<input class="smallbox" type="radio" name="setting(62)" value="0"  <% if(initarray[62]=="0")Response.Write("checked=\"checked\"");%>/>否
			</td>
		</tr>
		<!--查看多少天来的帖子-->
		<tr>
			<td class="left">设置允许查看最近多少天的帖子
				</td>
			<td class="right">
				<input type="text" onkeyup="this.value=this.value.replace(/[^\d,]+/g,'')" value="<% if(initarray[61]!="")Response.Write(initarray[61]);else Response.Write("1");%>" name="setting(61)" id="setting(61)" style="width:50px;" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
				天
				<br />
				<span>值为0时代表不允许查看</span>
			</td>
		</tr>
		<!--end 查看多少天来的帖子-->
		<tr style="text-align:center">
			<td class="bottom" colspan="2">
				<input name="AddNewTemp" type="submit" id="AddNewTemp" value="保存版面方案" class="button" onFocus="IEvent('focus',this);"
					onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />&nbsp;&nbsp;
				<input name="AddNewTemp2" type="reset" id="AddNewTemp2" value="重置版面方案" class="button" onFocus="IEvent('focus',this);"
					onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" /></td>
		</tr>
	</table>
	<a name="bottom"></a>
</form>
<%}%>
<br />
<br />
<bbs:AdminFooter runat="server" ID="Adminfooter1" NAME="Adminfooter1" />
