📄 movie_add1.asp
字号:
<%Admin="DownAdd"%>
<!--#include file="check.asp"-->
<%
'#################################################################
'# 晓宇听幽网站内容管理系统(xoYu CMS)
'#
'# 版权所有: 晓宇听幽工作室
'#
'# 制作人 : xoyu(晓宇)
'#
'# 主页地址: http://www.xoYu.com 晓宇听幽工作室
'# 论坛地址: http://www.xoYu.com/bbs/ 晓宇听幽讨论区
'#
'#【版权声明】
'#################################################################
'# 本软体为共享软体(shareware)提供个人网站免费使用,请勿非法修改,
'# 转载,散播,或用于其他图利行为,并请勿删除版权声明。
'# 如果您的网站正式起用了这个脚本,请您通知我们,以便我们能够知晓!
'# 如果可能,请在您的网站做上我们的链接,希望能给予合作。谢谢!
'#################################################################
'# 电影名称:晓宇听幽网站内容管理系统·电影管理系统
'# 英文名称:xoYu News 2004 Professional For xoYu CMS
'# 电影创建时间:2003-7-10
'# 电影完成时间:2003-9-11
'# 最后修改时间:2003-11-15
'#################################################################
'# 请您尊重我们的劳动和版权,不要删除以上的版权声明部分,谢谢合作
'# 如有任何问题请到我们的论坛(http://www.xoyu.com/bbs/)告诉我们。
'#################################################################
if request("addok")="" then
if request("k")="" then
response.write "请输入查找内容"
response.end
else
if request("d")<>"add" then
response.redirect "Movie_List.asp?k="&request("k")&"&id="&request("id")&""
response.end
end if
%>
<!--#include file="mdb_path_Movie.asp"-->
<%
set rs=server.CreateObject("ADODB.RecordSet")
rs.open "select id,MovieName,Time,reg from Movie where MovieName like '%"&request("k")&"%' order by date desc",conn,1,1
if not rs.eof then
do while not rs.EOF
oldcx=oldcx&"[<a target=""_blank"" href=""../software/xoYuSoft"&rs("id")&".html"">HTM页</a>][<a href=""javascript:makeHTML("&rs("id")&")"">生成</a>]·<a href=movie_edit.asp?id="&rs("id")&">"&rs("MovieName")&" "&rs("Time")&"</a>"
if rs("reg")<>"" then
oldcx=oldcx&"<font color=""#FF0000"">(有注册连接)</font>"
end if
oldcx=oldcx&"<br>"
rs.MoveNext
loop
else
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "movie_add.asp?MovieName="&request("k")&"&id="&request("id")&""
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
end if
%>
<html>
<head>
<title>管理中心 -晓宇听幽 网站内容管理系统</title>
<meta copy="电影制作:xoyu(QQ:5964887)www.xoyu.com">
<link rel="stylesheet" href="admin.css" type="text/css">
<script language="javascript">
function makeHTML(id)
{window.open("makemovie.asp?type=page&id="+id,"","width=200,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}
</script>
</head>
<body topmargin="1" leftmargin="1">
<p align="center">
<form action="movie_add1.asp?d=add&id=<%=request("id")%>" method=post>
<%if request("addok")<>"" then%>
<table border="0" cellpadding="0" class="tableBorder" cellspacing="0" width="98%" align=center height="26">
<tr>
<td width="100%" bgcolor="#7B9AE7" class="tableHeaderText" height="26">·<font color="#FF0000"><b><%=request("addok")%></b></font></td>
</tr>
</table>
<%end if%>
<table border="0" width="98%" cellspacing="1" align=center class="tableBorder" height="80">
<tr>
<td width="200%" class="tableHeaderText" bgcolor="#7B9AE7" height="24"><font color="#FFFFFF"><b>添加电影
1/2</b></font></td>
</tr>
<tr>
<td width="200%" align="right" bgcolor="#FFFFFF" height="22">
<p align="center">电影名称:<input type="text" size=40 name="k" value="<%=request("k")%>">
<input name="change" value="重新查找" type="submit"> <input type="button" onclick="location.href='movie_add.asp?MovieName=<%=request("k")%>&id=<%=request("id")%>'" value="添加电影"></td>
</tr>
<%if oldcx<>"" then%>
<tr>
<td width="200%" bgcolor="#7B9AE7" class="tableHeaderText" height="23"><font color="#000080"><b>查找到数据库中已有相同的电影名</b></font></td>
</tr>
<tr>
<td width="200%" height="1"><%=oldcx%></td>
</tr>
<tr>
<td width="200%" class="tableHeaderText" bgcolor="#7B9AE7" height="24"></td>
</tr>
<%end if%>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -