<%if Session("weight")<>5 then 
Response.Redirect "error.asp?cause=4"
 end if
%>
<object runat=server id=conn1 progid="adodb.connection"></object>
<%application.Lock
conn1.Open Application("p_jyzx")
Application.UnLock
%>
<%
 set rs=server.CreateObject ("ADODB.recordset")
   rs.Supports ( adUpdate )
   sql="select * from party where id="&Request("id")
   rs.Open sql,conn1,2,3
	rs("is_history")=1
	rs.update
if Request("flag")=1 then
 Response.Redirect "system_party.asp"
 else
 Response.Redirect "party_manage.asp?is_history="&request("is_history")
end if
	
%>
