⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vod_move.asp

📁 一个网上flash网站源码
💻 ASP
字号:
<%Admin="VODAdminAll"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_vod.asp"-->
<!--#include file="zcm.asp"-->
<%

if request("JyDownMoveType")="type" then
if request("tid_old")="" then JyDownMoveMsgType=JyDownMoveMsgType & "·错误:请选择旧类目!<br>"
if request("tid_new")="" then JyDownMoveMsgType=JyDownMoveMsgType & "·错误:请选择新类目!"
if JyDownMoveMsgType="" then
conn.execute("update down set tid="&request("tid_new")&" where tid="&request("tid_old")&"")
JyDownMoveMsgType="·成功:按作 品分类移动成功!"
end if

elseif request("JyDownMoveType")="id" then
if request("JyDownID")="" then JyDownMoveMsgID=JyDownMoveMsgID & "·错误:没有选择作 品!<br>"
if request("tid_new") ="" then JyDownMoveMsgID=JyDownMoveMsgID & "·错误:请选择新类目!"
if JyDownMoveMsgID="" then
conn.execute("update down set tid="&request("tid_new")&" where id in("&request("JyDownID")&")")
JyDownMoveMsgID="·成功:按选定作 品移动成功!"
end if
end if

set rs=server.CreateObject("ADODB.RecordSet")
rs.open ("select * from downtype 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="#4D9CC8"
  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="作品展示 [MyFlash中国区,网址MyFlash.ShanKe.cn] ; www.MyFlash.NET!">
<title>批量转移</title>
<style>
td{font-size:9pt;line-height:140%} 
</style>
</head>
<body topmargin="1" leftmargin="1">
<table border="0" cellspacing="1" style="border-collapse: collapse" width="100%" bgcolor="#cococo">
  <tr>
    <td width="100%" bgcolor="#4D9CC8"><font color="#FFFFFF"><b>批量转移作 品</b></font></td>
  </tr>
<%if JyDownMoveMsgType<>"" then%>
  <tr>
    <td width="100%" bgcolor="#FFFFFF"><font color="#4D9CC8"><%=JyDownMoveMsgType%></font></td>
  </tr>
<%end if%>
  <form name=1 method="post" action="vod_move.asp?JyDownMoveType=type">
  <tr>
    <td width="100%" bgcolor="#F4F4F4"><font color="#000080"><b>按作 品分类移动</b></font></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFFF">
    <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="vod_move.asp?JyDownMoveType=id">
  <tr>
    <td width="100%" bgcolor="#F4F4F4"><font color="#000080"><b>按选定作 品移动</b></font><font color="#808080"> 
    多ID号请用豆号&quot;,&quot;分开,如(1)或(1,21,32)</font></td>
  </tr>
<%if JyDownMoveMsgID<>"" then%>
  <tr>
    <td width="100%" bgcolor="#FFFFFF"><font color="#4D9CC8"><%=JyDownMoveMsgID%></font></td>
  </tr>
<%end if%>
  <tr>
    <td width="100%" bgcolor="#FFFFFF">
    <p align="center">↓将下列编号的作 品↓<br>
    <input type="text" name="JyDownID" size="62" value="<%=request("JyDownID")%>" 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -