<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="include/adovbs.inc" -->
<!--#include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Setting_Function"
rs.open sql,conn,1,1 
while not rs.eof
	FieldText=request("name_"+rs("FuncName"))
	FuncCheck=request("value_"+rs("FuncName"))
	if len(FuncCheck)>0 then
		FuncCheck=1
	else
		FuncCheck=0
	end if
		strsql ="update Setting_Function set  IsDisplay= "& FuncCheck &" where FuncName='" & rs("FuncName") &"'"
		set rstemp=server.createobject("adodb.recordset")
		rstemp.open strsql,conn
		set rstemp=nothing
rs.movenext
wend
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
</HEAD>
<BODY>
-------------------------更新参数中...............<br>
<br>------------------------<font color=red>参数更新成功!</font><br>
<script language="javascript">
	window.location.href="Setting_Function.asp"
	window.parent.frames(1).location.reload();
</script>
</BODY>
</HTML>