<%@ LANGUAGE = VBScript.Encode %>
<!--#include file="conn.asp"-->
<%if request.cookies("bjx")("shjianame")="" then
response.Redirect "admin_login.asp"
response.End
end if
%>
<%dim action,id
id=request("id") 
action=request("zhuangtai")
set rs=server.CreateObject("adodb.recordset")
rs.open "SELECT  * From tuangou  where tgid="&id&"",conn,1,3
rs("action")=action
rs.Update
response.Write "<script language=javascript>alert('¶©µ¥ÐÞ¸Ä³É¹¦');window.location.href='tgview.asp?id="&id&"';</script>"
response.End
%>