<!--#include file="../Include/conn.asp" -->
<!--#include file="../Include/ConnDatabase.asp" -->
<!--#include file="CheckAdmin.asp"-->
<%
'=====================================
'天天企业网站管理系统  TianTianCMS
'天天网络科技工作室版权所有
'官方客服中心 http://www.ip126.com
'微信公众号 ip126com
'QQ:530051328 mail:bbfhq@163.com
'=====================================
%>
<%
ID=request.QueryString("ID")
LX=request.QueryString("LX")
Operation=request.QueryString("Operation")
strReferer=Request.ServerVariables("http_referer")
select case Operation
case  "upCH"
Conn.execute "update "&LX&" set ViewFlagCH = 1 where ID=" & ID
case   "downCH" 
Conn.execute "update "&LX&" set ViewFlagCH = 0 where ID=" & ID
case  "upEN" 
Conn.execute "update "&LX&" set ViewFlagEN = 1 where ID=" & ID
case  "downEN"
Conn.execute "update "&LX&" set ViewFlagEN = 0 where ID=" & ID
end select
response.Redirect strReferer
%>
