📄 tjmoviebigcheck.asp
字号:
<!-- #include file="conn.asp"-->
<!-- #include file="logincheck.asp"-->
<%
big=request.form("big")
small=request.form("small")
dianshu=request.form("dianshu")
yanyuan=request.form("yanyuan")
geshi=request.form("geshi")
jibie=request.form("jibie")
tupian=request.form("pic")
sql="select * from moviesmall where mc='"&small&"'"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
if not rs.eof then
Response.write "<script language=javascript>alert('影片已经存在!');history.go(-1);</script>"
response.end
end if
if dianshu="" then
Response.write "<script language=javascript>alert('影片需要的点数不能为空!');history.go(-1);</script>"
response.end
end if
if yanyuan="" then
Response.write "<script language=javascript>alert('演员不能为空!');history.go(-1);</script>"
response.end
end if
if geshi="" then
Response.write "<script language=javascript>alert('影片格式不能为空!');history.go(-1);</script>"
response.end
end if
rs.addnew
rs("lx")=request.form("big")
rs("mc")=request.form("small")
rs("dianshu")=request.form("dianshu")
rs("yanyuan")=request.form("yanyuan")
rs("geshi")=request.form("geshi")
rs("jibie")=request.form("jibie")
rs("tupian")=request.form("pic")
rs.update
set rs=nothing
%>
<html>
<head>
<meta http-equiv="refresh" content="0; url=moviebig.asp">
<title>无标题文档</title>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -