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

📄 admin_softmodi.asp

📁 ASP源程序采用天空软件小偷中心核件制成
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="admin_loginchk.asp"-->
<%admin2%>
<title>修 改 动 画</title>
<!--#include file="top.asp"-->
<!--#include file="code.asp"-->

<%
id=request("id")
dim rs
dim sql
dim count
set rs=server.createobject("adodb.recordset")
sql = "select * from ANclass order by Nclassid asc"
rs.open sql,conn,1,1
%>

<script language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
<%
   count = 0
   do while not rs.eof 
%>
subcat[<%=count%>] = new Array("<%= trim(rs("Nclass"))%>","<%= trim(rs("classid"))%>","<%= trim(rs("Nclassid"))%>");
<%
        count = count + 1
        rs.movenext
        loop
        rs.close
%>
		
onecount=<%=count%>;

function changelocation(locationid)
    {
    document.myform.Nclassid.length = 0; 

    var locationid=locationid;
    var i;
    for (i=0;i < onecount; i++)
        {
            if (subcat[i][1] == locationid)
            { //这句不是很理解
             document.myform.Nclassid.options[document.myform.Nclassid.length] = new Option(subcat[i][0], subcat[i][2]);
            }        
        }
        
    }    
</script>

<table border="0" width="99%" cellspacing="1" cellpadding="1" style="margin-top:6px;margin-bottom:6px" align="center">
  <tr> 
    <td valign=top width="20%" style="border:1px solid black;" bgcolor="#999999">
      <!--#include file="admin_left.asp"-->
    </td>
    <td align=center valign=top>
      <table border="0" cellpadding="4" cellspacing="1" width="98%" align="center" bgcolor="#333333">
        <tr align="center" bgcolor="#999999"> 
          <td><font color="#CCCCCC">::</font>修 改 动 画<font color="#CCCCCC">::</font></td>
        </tr>
        <tr align="center" bgcolor="#CCCCCC"> 
          <td align="center" valign="top"> 
		  	 <%sql="select * from download where id="&request("id")
		   Set ts= Server.CreateObject("ADODB.Recordset")
	       ts.open sql,conn,1,1
		   if ts.eof then
		   response.write"不存在这个程序"
		   else
		  %>
		  
		   <form method="POST" name="myform" action="admin_downsave.asp" >
              <table width="95%" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#000000" bgcolor="#eeeeee">
                <tr bordercolordark="#FFFFFF"> 
                <td width="100%" height="20"> 
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                      <tr> 
                        <td colspan="3" height="10" bgcolor="#eeeeee">&nbsp;</td>
                      </tr>
                      <tr> 
                        <td width="15%" align="center" valign="top" height="20">软件类型:</td>
                        <td width="85%"> 
    <select class="smallSel" name="classid" size="1" onChange="changelocation(document.myform.classid.options[document.myform.classid.selectedIndex].value)" >
                            <%
	dim classid,Nclassid
	classid=request("classid")
	Nclassid=request("Nclassid")
	sid=request("sid")
 	set rs=server.createobject("adodb.recordset")
  	sql="select * from Aclass"
 	rs.open sql,conn,1,1
	if rs.eof and rs.bof then
		response.write "Not record."
	else
	do while not rs.eof
        if classid=cstr(rs("classid")) then
               sel="selected"
        else
               sel=""
        end if	
	response.write "<option " & sel & " value='"+CStr(rs("classID"))+"' name=classid>"+rs("class")+"</option>"+chr(13)+chr(10)
	rs.movenext
    	loop
	end if
	rs.close
%>
                          </select>
                          &nbsp;&nbsp;选择分类: 
                          <select name="Nclassid" size="1">
                            <%
  	sql="select * from ANclass"
 	rs.open sql,conn,1,1
	if rs.eof and rs.bof then
		response.write "Not record."
	else
        do while not rs.eof
        if Nclassid=cstr(rs("Nclassid")) then
               sel="selected"
        else
               sel=""
        end if	
        response.write "<option " & sel & " value='" +  Cstr(rs("Nclassid")) + "'>" + rs("Nclass") + "</option>"
        rs.MoveNext
        Loop
	end if
        rs.close
%>
                          </select>
                          ** </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">作品名称:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="txtshowname" size="40"
          class="smallinput" maxlength="100" value="<%=ts("showname")%>">
                          <font color="#FF0000" size="3">*</font> </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">作者: </div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="txtfilename1" size="20"
          class="smallinput" maxlength="100" value="不详">
                        </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">作者信箱:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="txtfilename2" size="40"
          class="smallinput" maxlength="100" value="不详">
                        </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">下载地址:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> <font color="#FF0000"> 
                          <input type="text" name="txtfilename" size="40"
          class="smallinput" maxlength="100" value="<%=ts("filename")%>">
                          </font></td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">推荐程度:</div>
                        </td>
                        <td colspan="2" align="left" width="87%">&nbsp; 
                          <select name="hot" size="1">
                            <option value="1" name="hot">一星级</option>
                            <option value="2" name="hot">二星级</option>
                            <option value="3" name="hot">三星级</option>
                            <option value="4" name="hot">四星级</option>
                            <option value="5" name="hot" selected>五星级</option>
                          </select>
                          <FONT color="#FF0000">**</FONT></td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">作品大小:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="size" size="20"
          class="smallinput" maxlength="100" value="892K">
                          <font color="#FF0000"> **</font></td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">图片地址:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="images" size="40"
          class="smallinput" maxlength="160" value="<%=ts("images")%>">
                        </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">来源地址:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"> 
                          <input type="text" name="fromurl" size="40"
          class="smallinput" maxlength="100" value="<%=ts("fromurl")%>">
                          <font color="#FF0000" size="3">*</font> </td>
                      </tr>
                      <tr> 
                        <td width="13%"> 
                          <div align="center">简 介:</div>
                        </td>
                        <td colspan="2" align="left" width="87%"><textarea rows="6" name="order" cols="40" class="smallarea">(无)</textarea>
                          <!--<input type="text" name="order" size="60" class="smallinput" maxlength="100" value="免费">-->
                          是否推荐 
                          <input type="checkbox" name="hots" value="on">
                          是否隐藏 
                          <input type="checkbox" name="hide" value="on"></td>
                      </tr>
                      
                      <tr> 
                        <td width="13%"> 
                          <div align="center"> 
                            <p>歌手:</p>
                          </div>
                        </td>
<input type="hidden" name="thname" value="不详">
                        <td colspan="2" align="left" width="87%"> <font color="#FF0000"> 
<input type="text" name="txtnote" size="40"
          class="smallinput" maxlength="100" value="(无)">
                          </font></td>
                      </tr>
                      <tr> 
                        <td colspan="3"> 
                          <div align="center"> 
                            <input type="submit" value=" 添 加 " name="cmdok" class="buttonface">
                            <input type="hidden" value="edit" name="action" class="buttonface">
                            <input type="hidden" value="<%=ts("id")%>" name="id" class="buttonface">
							&nbsp;&nbsp; 
                            <input type="reset" value=" 清 除 " name="cmdcancel" class="buttonface">
                            &nbsp;&nbsp; 
                            <input name=".goback" type="reset" value=" 返 回 " onClick="history.go(-1)" class="buttonface">
                          </div>
                        </td>
                      </tr>
                      <tr> 
                        <td colspan="3">以上代 <font color="#FF0000" size="3">*</font> 
                          为必填写 </td>
                      </tr>
                      <%=gun%> 
                    </table>
                </td>
              </tr>
            </table>
			
			</form>
			
			<%
			ts.close
			end if %>
			
			
          </td>
        </tr>
        <tr align="left" valign="top" bgcolor="#CCCCCC"> 
          <td><font color="#990033">说明:</font>本程序由去看去看-7k7k.com制作!</td>
        </tr>
      </table>
      
      </td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
<br>
</body>
</html>

⌨️ 快捷键说明

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