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

📄 editsoft3.asp

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

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修 改 站 内 广 告</title>
<style>
td{font-size:9pt;line-height:140%} 
</style>
</head>
<%
dim rs
dim sql
dim count
set rs=server.createobject("adodb.recordset")
sql = "select * from logo2 order by id 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("logoname"))%>","<%= trim(rs("id"))%>");
        <%
        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.id.options[document.myform.id.length] = new Option(subcat[i][0], subcat[i][2]);
            }        
        }
        
    }    
</SCRIPT>
<body bgcolor=#468ea3>
<form method="POST"  name="myform"  action="adminsave2.asp?id=<%=request("id")%>&action=edit">
  <TABLE width="80%" border="0" align="center" cellspacing="1">
    <TR align="center"> 
      <TD colspan="4" height="25" bgcolor="#145f74"><b><FONT color="#FFFFFF">修 
        改 站 内 广 告</FONT></b></TD>
    </TR>
    <%
	sql="select * from logo2 where id="&request("id")
	rs.open sql,conn,1,1
%>
    <tr bgcolor="#a5d0dc"> 
      <td width="13%" align="right" valign="top"><b>网站名称:</b></td>
      <td> 
        <input type="text" name="logoname" size="60" class="smallarea" value="
<%=rs("logoname")%>">
        <FONT color="#4D9CC8">**</FONT></td>
    </tr>
    <tr bgcolor="#a5d0dc"> 
      <td width="13%" align="right" valign="top">LOGO:</td>
      <td>
        <input type="text" name="logoimg" size="60" class="smallarea" value="
<%=rs("logoimg")%>">
      </td>
    </tr>
    <tr bgcolor="#a5d0dc"> 
      <td width="13%" align="right" valign="top">网站地址:</td>
      <td>
        <input type="text" name="logourl" size="60" class="smallarea" value="
<%=rs("logourl")%>">
      </td>
    </tr>
  </table>
          
  <div align="center"><center><p><input type="submit" value=" 添 加 "
  name="cmdok" class="buttonface">&nbsp; <input type="reset" value=" 清 除 "
  name="cmdcancel" class="buttonface"></p>
  </center></div>
</form>
</body>
</html>
<%
	set rs=nothing
	conn.close
	set conn=nothing
%>

⌨️ 快捷键说明

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