<!--#include file=../conn.asp-->
<!--#include file="inc/const.asp" -->
<!--#include file="../z_MingXing.asp"-->
<%
Head()
dim admin_flag
admin_flag=",14,"
if not Dvbbs.master or instr(","&session("flag")&",",admin_flag)=0 then
	Errmsg=ErrMsg + "<BR><li>本页面为管理员专用，请<a href=admin_index.asp target=_top>登录</a>后进入。<br><li>您没有管理本页面的权限。"
	dvbbs_error()
Else
	call main()
	Footer()
End if

sub main()%>
	<br>
	<%dim fsObj,txtObj,mx_1,mx_2,mx_3,m_w,m_c,m_e,m_d,isxx1,isxx2,isxx3,isnl1,isnl2,isnl3,mx_mr,topmax,mxflag
	if request.form("submit")<>" 提  交 "  then
		Set fsObj=Server.CreateObject("Scripting.FileSystemObject")
		set txtObj = fsObj.OpenTextFile(Server.MapPath("z_MingXing.inc"),1)
		txtObj.skipline()
		txtObj.skipline()
		'读取首页默认状态
		txtObj.skip(9)
		mx_mr=txtObj.ReadLine
		'读取第一列明星内容
		txtObj.skip(11)
		mx_1=txtObj.read(1)
		txtObj.skipline()
		'读取第二列明星内容
		txtObj.skip(11)
		mx_2=txtObj.read(1)
		txtObj.skipline()
		'读取第三列明星内容
		txtObj.skip(11)
		mx_3=txtObj.read(1)
		txtObj.skipline()
		'读取金钱最大值
		txtObj.skip(10)
		m_w=txtObj.ReadLine
		'读取魅力最大值
		txtObj.skip(7)
		m_c=txtObj.ReadLine
		'读取经验最大值
		txtObj.skip(7)
		m_e=txtObj.ReadLine
		'读取最小显示长度
		txtObj.skip(9)
		m_d=txtObj.ReadLine
		'读取第一列虚拟形象显示开关
		txtObj.skip(13)
		isxx1=txtObj.ReadLine
		'读取第二列虚拟形象显示开关
		txtObj.skip(13)
		isxx2=txtObj.ReadLine
		'读取第三列虚拟形象显示开关
		txtObj.skip(13)
		isxx3=txtObj.ReadLine	
		'读取第一列能量柱显示开关
		txtObj.skip(13)
		isnl1=txtObj.ReadLine
		'读取第二列能量柱显示开关
		txtObj.skip(13)
		isnl2=txtObj.ReadLine
		'读取第三列能量柱显示开关
		txtObj.skip(13)
		isnl3=txtObj.ReadLine
		'读取显示排行个数
		txtObj.skip(7)
		topmax=txtObj.ReadLine
		'读取显示明星开启状态
		txtObj.skip(7)
		mxflag=txtObj.ReadLine
		set txtObj=nothing
		set fsObj=nothing%>
		<table width="100%" cellspacing="1" cellpadding="5" align="center" class=tableBorder>
			<form action="z_MingXing_Admin.asp" method="post">
			<tr height=25>
				<th colspan="2">虚拟明星基本设置</th>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>是否开启虚拟明星：</td>
				<td class="forumRow" align=left><input type="radio" name="mingxingflag" value="1" <%if mxflag="1" then response.write("checked") end if%>>开启&nbsp;&nbsp;<input type="radio" name="mingxingflag" value="0" <%if mxflag="0" then response.write("checked") end if%>>关闭</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>首页虚拟明星默认显示状态：</td>
				<td class="forumRow" align=left><input type="radio" name="mx_moren" value="1" <%if mx_mr="1" then response.write("checked") end if%>>显示&nbsp;&nbsp;<input type="radio" name="mx_moren" value="0" <%if mx_mr="0" then response.write("checked") end if%>>不显示</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>首页排行榜人数：</td>
				<td class="forumRow" align=left>&nbsp;<input type="text" name="TopMax" value=<%=topmax%>></td>
			</tr>
		</table>
		<br>
		<table width="100%" cellspacing="1" cellpadding="5" align="center" class=tableBorder>
			<form action="z_MingXing_Admin.asp" method="post">
			<tr height=25>
				<th colspan="3">虚拟明星显示方式</th>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=center>第一列</td>
				<td class="forumRowHighlight" align=center>第二列</td>
				<td class="forumRowHighlight" align=center>第三列</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="1" <%if mx_1="1" then response.write("checked") end if%>>每日发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="1" <%if mx_2="1" then response.write("checked") end if%>>每日发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="1" <%if mx_3="1" then response.write("checked") end if%>>每日发贴量</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="2" <%if mx_1="2" then response.write("checked") end if%>>每周发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="2" <%if mx_2="2" then response.write("checked") end if%>>每周发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="2" <%if mx_3="2" then response.write("checked") end if%>>每周发贴量</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="3" <%if mx_1="3" then response.write("checked") end if%>>每月发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="3" <%if mx_2="3" then response.write("checked") end if%>>每月发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="3" <%if mx_3="3" then response.write("checked") end if%>>每月发贴量</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="4" <%if mx_1="4" then response.write("checked") end if%>>每年发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="4" <%if mx_2="4" then response.write("checked") end if%>>每年发贴量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="4" <%if mx_3="4" then response.write("checked") end if%>>每年发贴量</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="5" <%if mx_1="5" then response.write("checked") end if%>>发贴总数量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="5" <%if mx_2="5" then response.write("checked") end if%>>发贴总数量</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="5" <%if mx_3="5" then response.write("checked") end if%>>发贴总数量</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="6" <%if mx_1="6" then response.write("checked") end if%>>最佳男明星</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="6" <%if mx_2="6" then response.write("checked") end if%>>最佳男明星</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="6" <%if mx_3="6" then response.write("checked") end if%>>最佳男明星</td>
			</tr>
			<tr height=25>
				<td class="forumRow" align=center><input type="radio" name="mingxing_1" value="7" <%if mx_1="7" then response.write("checked") end if%>>最佳女明星</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_2" value="7" <%if mx_2="7" then response.write("checked") end if%>>最佳女明星</td>
				<td class="forumRow" align=center><input type="radio" name="mingxing_3" value="7" <%if mx_3="7" then response.write("checked") end if%>>最佳女明星</td>
			</tr>
		</table>
		<br>
		<table width="100%" cellspacing="1" cellpadding="5" align="center" class=tableBorder>
			<tr height=25>
				<th colspan="2">是否虚拟形象显示（<font color="red">若要直接显示头像或未装虚拟形象插件请选“头像显示”</font>）</th>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right width=20%>第一列：</td>
				<td class=forumRow><input type="radio" name="isxingxiang1" value="0" <%if isxx1="0" or dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> onclick="javascript:isxingxiang[1].checked=false;isxingxiang[0].checked=isxingxiang2[0].checked&isxingxiang3[0].checked;">头像显示<input type="radio" name="isxingxiang1" value="1" <%if isxx1="1" and not dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> <%if dvbbs.Forum_Setting(82)<>"0" then response.write("disabled") end if%> onclick="javascript:isxingxiang[0].checked=false;isxingxiang[1].checked=isxingxiang2[1].checked&isxingxiang3[1].checked;">虚拟形象显示</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>第二列：</td>
				<td class=forumRow><input type="radio" name="isxingxiang2" value="0" <%if isxx2="0" or dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> onclick="javascript:isxingxiang[1].checked=false;isxingxiang[0].checked=isxingxiang1[0].checked&isxingxiang3[0].checked;">头像显示<input type="radio" name="isxingxiang2" value="1" <%if isxx2="1" and not dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> <%if dvbbs.Forum_Setting(82)<>"0" then response.write("disabled") end if%> onclick="javascript:isxingxiang[0].checked=false;isxingxiang[1].checked=isxingxiang1[1].checked&isxingxiang3[1].checked;">虚拟形象显示</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>第二列：</td>
				<td class=forumRow><input type="radio" name="isxingxiang3" value="0" <%if isxx3="0" or dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> onclick="javascript:isxingxiang[1].checked=false;isxingxiang[0].checked=isxingxiang1[0].checked&isxingxiang2[0].checked;">头像显示<input type="radio" name="isxingxiang3" value="1" <%if isxx3="1" and not dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> <%if dvbbs.Forum_Setting(82)<>"0" then response.write("disabled") end if%> onclick="javascript:isxingxiang[0].checked=false;isxingxiang[1].checked=isxingxiang1[1].checked&isxingxiang2[1].checked;">虚拟形象显示</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>全部列：</td>
				<td class=forumRow><input type="radio" name="isxingxiang" value="0" <%if (isxx1="0" and isxx2="0" and isxx3="0") or dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> onclick="javascript:isxingxiang1[0].checked=true;isxingxiang2[0].checked=true;isxingxiang3[0].checked=true;">头像显示<input type="radio" name="isxingxiang" value="1" <%if isxx1="1" and isxx2="1" and isxx3="1" and not dvbbs.Forum_Setting(82)<>"0" then response.write("checked") end if%> <%if dvbbs.Forum_Setting(82)<>"0" then response.write("disabled") end if%> onclick="javascript:isxingxiang1[1].checked=true;isxingxiang2[1].checked=true;isxingxiang3[1].checked=true;">虚拟形象显示</td>
			</tr>
		</table>
		<br>
		<table width="100%" cellspacing="1" cellpadding="5" align="center" class=tableBorder>
			<tr height=25>
				<th colspan="2">是否能量柱样式（<font color="red">金钱、魅力、经验是否使用能量柱样式显示，还是数字样式显示</font>）</th>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right width=20%>第一列：</td>
				<td class="forumRow"><input type="radio" name="isnengliang1" value="0" <%if isnl1="0" then response.write("checked") end if%> onclick="javascript:isnengliang[1].checked=false;isnengliang[0].checked=isnengliang2[0].checked&isnengliang3[0].checked;">数字样式<input type="radio" name="isnengliang1" value="1" <%if isnl1="1" then response.write("checked") end if%> onclick="javascript:isnengliang[0].checked=false;isnengliang[1].checked=isnengliang2[1].checked&isnengliang3[1].checked;">能量柱样式</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>第二列：</td>
				<td class="forumRow"><input type="radio" name="isnengliang2" value="0" <%if isnl2="0" then response.write("checked") end if%> onclick="javascript:isnengliang[1].checked=false;isnengliang[0].checked=isnengliang1[0].checked&isnengliang3[0].checked;">数字样式<input type="radio" name="isnengliang2" value="1" <%if isnl2="1" then response.write("checked") end if%> onclick="javascript:isnengliang[0].checked=false;isnengliang[1].checked=isnengliang1[1].checked&isnengliang3[1].checked;">能量柱样式</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>第三列：</td>
				<td class="forumRow"><input type="radio" name="isnengliang3" value="0" <%if isnl3="0" then response.write("checked") end if%> onclick="javascript:isnengliang[1].checked=false;isnengliang[0].checked=isnengliang1[0].checked&isnengliang2[0].checked;">数字样式<input type="radio" name="isnengliang3" value="1" <%if isnl3="1" then response.write("checked") end if%> onclick="javascript:isnengliang[0].checked=false;isnengliang[1].checked=isnengliang1[1].checked&isnengliang2[1].checked;">能量柱样式</td>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right>全部列：</td>
				<td class="forumRow"><input type="radio" name="isnengliang" value="0" <%if isnl1="0" and isnl2="0" and isnl3="0" then response.write("checked") end if%> onclick="javascript:isnengliang1[0].checked=true;isnengliang2[0].checked=true;isnengliang3[0].checked=true;">数字样式<input type="radio" name="isnengliang" value="1" <%if isnl1="1" and isnl2="1" and isnl3="1" then response.write("checked") end if%> onclick="javascript:isnengliang1[1].checked=true;isnengliang2[1].checked=true;isnengliang3[1].checked=true;">能量柱样式</td>
			</tr>
		</table>
		<br>
		<table width="100%" cellspacing="1" cellpadding="5" align="center" class=tableBorder>
			<tr height=25>
				<th colspan=3>能量柱参数设置（<font color="red">当“是否能量柱样式”为“数字样式”时以下修改无效果</font>）</th>
			</tr>
			<tr height=25>
				<td class="forumRowHighlight" align=right width=20% >最小显示长度:</td>
		    <td class="forumRow" width=40% >&nbsp;<input type="text" name="min_disp" value=<%=m_d%>></td>
		    <td class="forumRowHighlight" width=* >金钱值、魅力值、经验值过少时能量柱显示的最短长度</td>
		  </tr>
		  <tr height=25>
		  	<th colspan=3>金钱能量柱参数设置</th>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>金钱超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w*1.5)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/bar4.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=<%=(90+int(10*(m_w*0.6)/(m_w*0.9)))%>% ><col width=*><col width=<%=(10-int(10*(m_w*0.6)/(m_w*0.9)))%>% ><tr><td background=../images/img_MingXing/bar4.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/bar4_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_w*1.5)%> 金钱为例）</td>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>金钱未超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w/3)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/bar4.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=33% ><col width=*><col width=67% ><tr><td background=../images/img_MingXing/bar4.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/bar4_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_w/3)%> 金钱为例）</td>
			</tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>金钱最大值：</td>
				<td class="forumRow" align=left><input type="text" name="max_Money" value=<%=m_w%>></td>
				<td class="forumRowHighlight" align=left>（能量柱满时的金钱数额）</td>
			</tr>
		  <tr height=25>
		  	<th colspan=3>魅力能量柱参数设置</th>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>魅力超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w*1.5)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/Bar5.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=<%=(90+int(10*(m_c*0.6)/(m_c*0.9)))%>% ><col width=*><col width=<%=(10-int(10*(m_c*0.6)/(m_c*0.9)))%>% ><tr><td background=../images/img_MingXing/Bar5.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/Bar5_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_c*1.5)%> 魅力为例）</td>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>魅力未超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w/3)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/Bar5.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=33% ><col width=*><col width=67% ><tr><td background=../images/img_MingXing/Bar5.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/Bar5_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_c/3)%> 魅力为例）</td>
			</tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>魅力最大值：</td>
				<td class="forumRow" align=left><input type="text" name="max_cp" value=<%=m_c%>></td>
				<td class="forumRowHighlight" align=left>（能量柱满时的魅力数额）</td>
			</tr>
		  <tr height=25>
		  	<th colspan=3>经验能量柱参数设置</th>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>经验超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w*1.5)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/Bar3.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=<%=(90+int(10*(m_e*0.6)/(m_e*0.9)))%>% ><col width=*><col width=<%=(10-int(10*(m_e*0.6)/(m_e*0.9)))%>% ><tr><td background=../images/img_MingXing/Bar3.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/Bar3_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_e*1.5)%> 经验为例）</td>
		  </tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>经验未超出满额示例：</td>
		  	<td class="forumRow" align=left><table cellspacing=0 cellpadding=0 width=95% border=0 style=Cursor:hand title=<%=int(m_w/3)%>><tbody><col width=3><col width=<%=m_d%>><col width=*><col width=3><tr><td height=13><img height=13 src=../images/img_MingXing/img_left.gif width=3></td><td background=../images/img_MingXing/img_backing.gif><img src=../images/img_MingXing/Bar3.gif width=<%=m_d%> height=9></td><td background=../images/img_MingXing/img_backing.gif><table border=0 cellpadding=0 cellspacing=0><col width=33% ><col width=*><col width=67% ><tr><td background=../images/img_MingXing/Bar3.gif style=line-height:9px>&nbsp;</td><td><img src=../images/img_MingXing/Bar3_1.gif width=6 height=9></td><td style=line-height:9px>&nbsp;</td></tr></table></td><td height=13><img height=13 src=../images/img_MingXing/img_right.gif width=3></td></tr></tbody></table></td>
		  	<td class="forumRowHighlight" align=left>（以 <%=int(m_e/3)%> 经验为例）</td>
			</tr>
		  <tr height=25>
		  	<td class="forumRowHighlight" align=right>经验最大值：</td>
				<td class="forumRow" align=left><input type="text" name="max_ep" value=<%=m_e%>></td>
				<td class="forumRowHighlight" align=left>（能量柱满时的经验数额）</td>
			</tr>
		</table>
		<center><p><input type="submit" name="Submit" value=" 提  交 ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="Submit2" value=" 重  置 "></p></center>
	<%else
		mx_mr=trim(request.form("mx_moren"))
	  mx_1=trim(request.form("mingxing_1"))
	  mx_2=trim(request.form("mingxing_2"))
	  mx_3=trim(request.form("mingxing_3"))
		m_w=trim(request.form("max_Money"))
		m_c=trim(request.form("max_cp"))
		m_e=trim(request.form("max_ep"))
		m_d=trim(request.form("min_disp"))
		isxx1=trim(request.form("isxingxiang1"))
		isxx2=trim(request.form("isxingxiang2"))
		isxx3=trim(request.form("isxingxiang3"))
		isnl1=trim(request.form("isnengliang1"))
		isnl2=trim(request.form("isnengliang2"))
		isnl3=trim(request.form("isnengliang3"))
		topmax=trim(request.form("topmax"))
		mxflag=trim(request.form("MingXingFlag"))
		Set fsObj=Server.CreateObject("Scripting.FileSystemObject")
		set txtObj = fsObj.OpenTextFile(Server.MapPath("z_MingXing.inc"),2,true)
		txtObj.writeline("<%")
		txtObj.writeline("dim mingxing_1,mingxing_2,mingxing_3,mx_moren,max_Money,max_cp,max_ep,min_disp,isxingxiang1,isxingxiang2,isxingxiang3,isnengliang1,isnengliang2,isnengliang3,TopMax,MXFlag")
		txtObj.write("mx_moren=")
		txtObj.writeline(mx_mr)
		txtObj.write("mingxing_1=")
		txtObj.writeline(mx_1)
		txtObj.write("mingxing_2=")
		txtObj.writeline(mx_2)
		txtObj.write("mingxing_3=")
		txtObj.writeline(mx_3)
		txtObj.write("max_Money=")
		txtObj.writeline(m_w)
		txtObj.write("max_cp=")
		txtObj.writeline(m_c)
		txtObj.write("max_ep=")
		txtObj.writeline(m_e)
		txtObj.write("min_disp=")
		txtObj.writeline(m_d)
		txtObj.write("isxingxiang1=")
		txtObj.writeline(isxx1)
		txtObj.write("isxingxiang2=")
		txtObj.writeline(isxx2)
		txtObj.write("isxingxiang3=")
		txtObj.writeline(isxx3)
		txtObj.write("isnengliang1=")
		txtObj.writeline(isnl1)
		txtObj.write("isnengliang2=")
		txtObj.writeline(isnl2)
		txtObj.write("isnengliang3=")
		txtObj.writeline(isnl3)
		txtObj.write("TopMax=")
		txtObj.writeline(topmax)
		txtObj.write("MXFlag=")
		txtObj.writeline(mxflag)
		txtObj.writeline("%\>")
		txtObj.close()
		set txtObj=nothing
		set fsObj=nothing
		if cint(MXFlag)=1 then
			call UpdateMingXing(mxflag,mx_mr,mx_1,mx_2,mx_3,m_w,m_c,m_e,m_d,isxx1,isxx2,isxx3,isnl1,isnl2,isnl3,topmax)
		end if
		response.write("恭喜您，明星社区显示方式已经设定完毕！！！")
	end if
end sub%>