tjmoviebigcheck.asp
来自「在 要要要在在 要要要在在 要要要在在 要要要在在 要要要在在 要要要在在 要要」· ASP 代码 · 共 51 行
ASP
51 行
<!-- #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 + =
减小字号Ctrl + -
显示快捷键?