📄 vod_sort_save.asp
字号:
<!--#include file="zcm.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>MyFlash管理系统</title>
<style>
body{font-size:9pt;line-height:140%}
</style>
</head>
<body>
<%
server_vv=len(Request.ServerVariables("SERVER_NAME"))
server_v1=left(Cstr(Request.ServerVariables("HTTP_REFERER")),server_vv)
server_v2=left(Cstr("http://"&Request.ServerVariables("SERVER_NAME")),server_vv)
if server_v1<>server_v2 and server_v1<>"" and server_v2<>"" then
response.write("<script>alert('错误:禁止从站点外部提交数据!.')</script>")
response.end
end if
if request("JyDownID")="" then
response.write("<script>alert('错误:拜托~ 先选个作 品再确定好不好!');history.go(-1)</script>")
response.end
elseif request("JyDownDo")="生成" then
JyDownID=replace(request("JyDownID")," ","")
response.redirect "vod_makesoftall.asp?type=JyDownID&JyDownID="&JyDownID&""
response.end
elseif request("JyDownDo")="移动" then
JyDownID=replace(request("JyDownID")," ","")
response.redirect "vod_move.asp?JyDownMoveType=id&JyDownID="&JyDownID&""
response.end
end if
%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_vod.asp"-->
<%
if request("JyDownDo")="删除" then
conn.execute("delete from down where id in("&request("JyDownID")&")")
conn.execute("delete from downfile where downid in("&request("JyDownID")&")")
conn.close
set conn=nothing
response.redirect "vod_sort.asp?id="&request("id")&"&page="&request("page")&"&k="&request("k")&""
response.end
elseif request("JyDownDo")="星级" then
if request("hot")<>"" then
conn.execute("update down set hot='"&request("hot")&"' where id in("&request("JyDownID")&")")
conn.close
set conn=nothing
response.write("<script>alert('成功:作 品评级(星级)修改完成!');history.go(-1)</script>")
response.end
else
conn.close
set conn=nothing
response.write("<script>alert('错误:全部不给星星吗? 有点过份哦~~!');history.go(-1)</script>")
response.end
end if
elseif request("JyDownDo")="推荐" then
if request("show")<>"" then
conn.execute("update down set show='"&request("show")&"' where id in("&request("JyDownID")&")")
conn.close
set conn=nothing
response.redirect "vod_sort.asp?id="&request("id")&"&page="&request("page")&"&k="&request("k")&""
response.end
else
conn.close
set conn=nothing
response.write("<script>alert('错误:推不推荐也做个决定吧!');history.go(-1)</script>")
response.end
end if
elseif request("JyDownDo")="类别" then
if request("cd")<>"" then
conn.execute("update down set cd='"&request("cd")&"' where id in("&request("JyDownID")&")")
conn.close
set conn=nothing
response.write("<script>alert('成功:作 品类别修改完成!');history.go(-1)</script>")
response.end
else
conn.close
set conn=nothing
response.write("<script>alert('错误:麻烦你先选个类别~!');history.go(-1)</script>")
response.end
end if
elseif request("JyDownDo")="会员" then
if request("hy")<>"" then
conn.execute("update down set hy='"&request("hy")&"' where id in("&request("JyDownID")&")")
conn.close
set conn=nothing
response.redirect "vod_sort.asp?id="&request("id")&"&page="&request("page")&"&k="&request("k")&""
response.end
else
conn.close
set conn=nothing
response.write("<script>alert('错误:会员作 品这个非同小可,请先选好给那个等级的会员连接!');history.go(-1)</script>")
response.end
end if
end if
%>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -