📄 tjmoviecheck.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")
daoyan=request.form("daoyan")
shijian=request.form("shijian")
geshi=request.form("geshi")
jibie=request.form("jibie")
play=request.form("play")
jj=request.form("jj")
tupian=request.form("pic")
dz=request.form("dz")
sql="select * from movie"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
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 daoyan="" 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
if jj="" then
Response.write "<script language=javascript>alert('影片简介不能为空!');history.go(-1);</script>"
response.end
end if
if dz="" 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("daoyan")=request.form("daoyan")
rs("shijian")=request.form("shijian")
rs("geshi")=request.form("geshi")
rs("jibie")=request.form("jibie")
rs("play")=request.form("play")
rs("jj")=request.form("jj")
rs("tupian")=request.form("pic")
rs("dz")=request.form("dz")
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 + -