<!--#include file="../conn.asp"-->
<!--#include file="../config.asp"-->
<!--#include file="../SqlIn.Asp"-->
<!--#include file=cookies.asp-->
<%
'=====================================
'天天供求信息网站管理系统
'天天网络科技工作室出品
'客服中心:http://www.ip126.com
'微信公众号:ip126com
'QQ:530051328 mail:bbfhq@163.com
'=====================================
%>
<%call checkmanage("14")
Call OpenConn
dim id,xs
id=request("id")
xs=request("action")
Set rs=Server.CreateObject("ADODB.Recordset")
rs.open "select * from DNJY_wenda where id="&id,conn,1,3
If xs="wg" then
rs("xs")=1
Else
rs("xs")=0
End if
rs.update
Call CloseRs(rs)
Call CloseDB(conn)
response.write"<SCRIPT language=JavaScript>alert('前台显示设置成功！');"
response.write"location.href=""admin_check.asp"";</SCRIPT>"
Response.End
%>