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

📄 flashadd0.asp

📁 烈火之家整站程序 本程序集商业娱乐一体,本来是给自己用的但是我的国外空间支持不够好,就送给大家了. 1. 栏目包括 最新信息,下载,影音娱乐,作品展示,定制业务,支持服务,留言,关于本站. 2.管理员
💻 ASP
字号:
<!--#include file="admin.asp"-->
<!--#include file="conn1.asp"-->
<!-- #include file="../Inc/Head.asp" -->
<% 
   SpecailID=request("SpecailID")
   set rs=server.createobject("adodb.recordset")
   Sql="select * from Flashclass"
   rs.open Sql,conn,1,1
	Do while not rs.eof          
			ClassName=rs("ClassName")
			ClassID=rs("ClassID")
           if  request("ClassType")="&ClassID&" then
			        k=" selected"
			else
					k=""
	       end if
 Class_Type=Class_Type&"<option "&k&" value="&ClassID&">"&ClassName&"</option>"
		rs.movenext
		loop
		rs.close
		
if request("ClassType")<>"" then
 set rs1=server.createobject("adodb.recordset")
Sql1="select SpecialID,SpecialName from FlashSpecial where ClassID="&request("ClassType")
			rs1.open Sql1,conn,1,1
			Do while not rs1.eof
				SpecialID=rs1("SpecialID")
				SpecialName=rs1("SpecialName")
                if request("SpecialID")="&SpecialID&" then
					k1="selected"
				else
					k1=""
				end if
				Special_Type=Special_Type&"<option "&k1&" value="&SpecialID&">"&SpecialName&"</option>"
			rs1.movenext
			loop
rs1.close
end if
%>

<script Language="JavaScript">
function FormValIDator(theForm) 
{ 
	if (theForm.ClassType.value == "") 
	{ 
		alert("请选择所属分类"); 
		theForm.ClassType.focus(); 
		return (false); 
	} 
	if (theForm.SpecialID.value == "") 
	{ 
		alert("专辑必须选择"); 
		theForm.SpecialID.focus(); 
		return (false); 
	} 

	if (theForm.FlashName.value == "") 
	{ 
		alert("动画名称必须填写"); 
		theForm.FlashName.focus(); 
		return (false); 
	} 
	
		return (true); 
} 
</script> 
<body bgcolor="#c0dcff">
<link rel=stylesheet href=../style.css>

<form method="POST" action="FlashSave.asp?action=add&SpecialID="&SpecialID&"" onsubmit="return FormValIDator(this)">
              <table width="60%" align="center" border="0" cellspacing="1" cellpadding="2" bgcolor="#ffffff">
         <tr> 
            <td  height="22" nowrap> 所属分类:</td>
            <td colspan="3" height="22" > 
             <select name="ClassType" size="1" onChange="window.open('Flashadd.asp?ClassType='+ClassType.options[ClassType.selectedIndex].value+'&SpecialID='+SpecialID.options[SpecialID.selectedIndex].value,'_self')">
              <option>请选择类别</option>
              <%=Class_Type%> 
            </select>
            </td>
          </tr>
		   <tr> 
            <td>所属专辑:</td>
            <td> 
                 <select  name="SpecialID" size="1">
                 <option>请选择专辑</option>
                    <%=Special_Type%>     </td></tr>
     <tr> 
            <td>动画名字:</td>
            <td> 
              <input type="text" name="FlashName" size="20"  maxlength="50">
          作者: 
              <input type="text" name="FlashAuthor" size="10">
  </td>
 </tr>
          <tr> 
            <td> 动画地址:</td>
            <td colspan="3"> 
 <input type="text" name="Flashsrc" size="50">
            </td>
          </tr>
          <tr> 
            <td colspan=4 align=center> 
              <input type="submit" value=" 确 定 ">
            </td>
          </tr>
</table>
        </form>
<!-- #include file="../Inc/Foot.asp" -->







⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -