<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%qx=3%>
<!--#include file="check.asp"-->
<!--#include file="../include/conn.asp"-->
<%
dim newTitle
dim id
Select case Request("action")
	case "step1"
		newTitle = shopnet("newTitle")
		id = shopnet("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 = shopnet("newTitle")
		id =shopnet("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 = shopnet("newTitle")
		id = shopnet("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
conn.close
set conn=nothing
%>

