<!--#include file="../here99login/0.asp"-->
<!--#include file="../conn/zkconn.asp" -->
<%
dim newTitle
dim id
Select case Request("action")
	case "step1"
		newTitle = Request.Form("newTitle")
		id = Request.Form("id")
		conn.execute("Update lb set lbname = '"& newTitle &"' where lbid = " & id)
		Response.write "<script>alert(""修改成功"");window.close();window.opener.location.reload();</script>"
		Response.End
	case "step2"
		newTitle = Request.Form("newTitle")
		id = Request.Form("id")
		conn.execute("Update xlb set xlbname = '"& newTitle &"' where xlbid = " & id)
		Response.write "<script>alert(""修改成功"");window.close();window.opener.location.reload();</script>"
		Response.End
	case "step3"
		newTitle = Request.Form("newTitle")
		id = Request.Form("id")
		conn.execute("Update slb set slbname = '"& newTitle &"' where slbid = " & id)
		Response.write "<script>alert(""修改成功"");window.close();window.opener.location.reload();</script>"
		Response.End
End Select
%>

