<%@ Language=VBScript %>

<%if Session("weight")=0 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")
   sql="delete * from party where id="&Request("id")
	rs.open sql,conn1,3,2
   set rs=server.createobject("adodb.recordset")
   sql="delete * from join_party where id="&Request("id")
   rs.open sql,conn1,3,2
	set rs=server.createobject("adodb.recordset")
    sql="delete * from party_discuss where id="&Request("id")
    rs.open sql,conn1,3,2
 
 Response.Redirect "party_index.asp"
	
  
 %>