movie_move.asp
来自「很好的企业网站管理系统!可以适应各种不同的小型企业!」· ASP 代码 · 共 109 行
ASP
109 行
<%@ LANGUAGE = VBScript.Encode %>
<%Admin="DownAdminAll"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_Movie.asp"-->
<%
if request("xoYuStudioMoveType")="type" then
if request("tid_old")="" then xoYuStudioMoveMsgType=xoYuStudioMoveMsgType & "·错误:请选择旧类目!<br>"
if request("tid_new")="" then xoYuStudioMoveMsgType=xoYuStudioMoveMsgType & "·错误:请选择新类目!"
if xoYuStudioMoveMsgType="" then
conn.execute("update Movie set tid="&request("tid_new")&" where tid="&request("tid_old")&"")
xoYuStudioMoveMsgType="·成功:按电影分类移动成功!"
end if
elseif request("xoYuStudioMoveType")="id" then
if request("xoYuStudioID")="" then xoYuStudioMoveMsgID=xoYuStudioMoveMsgID & "·错误:没有选择电影!<br>"
if request("tid_new") ="" then xoYuStudioMoveMsgID=xoYuStudioMoveMsgID & "·错误:请选择新类目!"
if xoYuStudioMoveMsgID="" then
conn.execute("update Movie set tid="&request("tid_new")&" where id in("&request("xoYuStudioID")&")")
xoYuStudioMoveMsgID="·成功:按选定电影移动成功!"
end if
end if
set rs=server.CreateObject("ADODB.RecordSet")
rs.open ("select * from Movietype where tj>1 order by ts"),conn,1,1
tn=""
do while not rs.eof
tname=replace(rs("tname"),"|","->")
if rs("tj")=2 and rs("tn")<>tn then
i=i+1
if i=2 then
i=0
color="#808000"
else
color="#000000"
end if
end if
tn=rs("tn")
if rs("tstart")<>"" then
else
typelist=typelist&"<option style='COLOR:"&color&"' value='"&rs("id")&"'>"&tname&"</option>"
end if
rs.MoveNext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="电影制作:xoyu(QQ:5964887)www.xoyu.com">
<title>晓宇听幽网站内容管理系统</title>
<link rel="stylesheet" href="admin.css" type="text/css">
</head>
<body topmargin="1" leftmargin="1">
<table border="0" cellspacing="1" width="100%" class="tableBorder" height="274">
<tr>
<th width="100%" height="26"><font color="#FFFFFF"><b>批量转移电影</b></font></td>
</tr>
<%if xoYuStudioMoveMsgType<>"" then%>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="1"><font color="#FF0000"><%=xoYuStudioMoveMsgType%></font></td>
</tr>
<%end if%>
<form name=1 method="post" action="down_move.asp?xoYuStudioMoveType=type">
<tr>
<td width="100%" bgcolor="#F4F4F4" height="15"><font color="#000080"><b>按电影分类移动</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="92">
<p align="center">↓将所有类别/编号为↓<br>
<select size="1" name="tid_old">
<option selected value="">= = 请选择旧分类 = =</option>
<%=typelist%>
</select><br>
↓的网站全部移动到↓<br>
<select size="1" name="tid_new">
<option selected value="">= = 请选择要转到的类目 = =</option>
<%=typelist%>
</select><br>
<input name="change" class=buttonface value="确定移动" type='submit'></td>
</tr>
</form>
<form name=2 method="post" action="down_move.asp?xoYuStudioMoveType=id">
<tr>
<td width="100%" bgcolor="#F4F4F4" height="15"><font color="#000080"><b>按选定电影移动</b></font><font color="#808080">
多ID号请用豆号","分开,如(1)或(1,21,32)</font></td>
</tr>
<%if xoYuStudioMoveMsgID<>"" then%>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="1"><font color="#FF0000"><%=xoYuStudioMoveMsgID%></font></td>
</tr>
<%end if%>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="107">
<p align="center">↓将下列编号的电影↓<br>
<input type="text" name="xoYuStudioID" size="62" value="<%=request("xoYuStudioID")%>" style="width:100%;"><br>
↓全部移动到↓<br>
<select size="1" name="tid_new">
<option selected value="">= = 请选择要转到的类目 = =</option>
<%=typelist%>
</select><br>
<input name="change1" class=buttonface value="确定移动" type='submit'></td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?