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

📄 njintro.asp

📁 超炫电台程序开发了两个版本了
💻 ASP
字号:
<!--#include file="../Connections/dns.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="admin,manager"
MM_authFailedURL="fair.htm"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
  If (false Or CStr(Session("MM_UserAuthorization"))="") Or _
         (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
    MM_grantAccess = true
  End If
End If
If Not MM_grantAccess Then
  MM_qsChar = "?"
  If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
  MM_referrer = Request.ServerVariables("URL")
  if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
  MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
  Response.Redirect(MM_authFailedURL)
End If
%>
<%
dim id
dim title
dim njname
dim images
dim njmemo
dim date
dim cdname
dim download
set rs=server.CreateObject("ADODB.RecordSet") 
sql="select * from njintro where id"
rs.open sql,conn,1,3
%>
<link rel="stylesheet" href="INCLUDE/SITE.CSS" type="text/css">
<body bgcolor="efefef" leftmargin="0" topmargin="1" onSelectStart="event.returnValue=false;" onConTextMenu="event.returnValue=false">
<table border=0 cellpadding=0 cellspacing=1 width=100%  height=2 bgcolor=#666666>
  <tr bgcolor="#efefef"> 
    <td height=21 width=459 colspan=9 align=left><b>节目录音管理</b> </td>
  </tr>
  <tr bgcolor="#efefef" align="center"> 
    <td height="20">制作人</td>
    <td height="20">录音名称</td>
    <td height="20">CD封面</td>
    <td height="20">歌曲简介</td>
    <td height="20">时间</td>
    <td height="20">CD名称</td>
    <td height="20">录音</td>
    <td height="20">修改</td>
    <td height="20">删除</td>
  </tr>
  <%
   if rs.recordcount<>0 then
    rs.movefirst
   end if
%>
  <%
        while not rs.eof
        response.write("<tr><td height=20 onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width=15% bgcolor=#efefef ><center>"&rs("njname")&"</td>")
        response.write("<td height=20 width=15% bgcolor=#ffffff ><center>"&rs("title")&"")
        response.write("<td height=20 width=10% bgcolor=#ffffff ><center><img src="&rs("images")&" width=65 height=65>")
		response.write("<td height=20 width=20% bgcolor=#ffffff ><center>"&rs("njmemo")&"")
		response.write("<td height=20 width=10% bgcolor=#ffffff ><center>"&rs("date")&"")
		response.write("<td height=20 width=15% bgcolor=#ffffff ><center>"&rs("cdname")&"")
		response.write("<td height=20 width=5% bgcolor=#ffffff ><center><a href="&rs("download")&">录音</a>")
		response.write("<td height=20 width=5% bgcolor=#ffffff ><center><a href=edinjintro.asp?id="&rs("id")&">修改</a>")
		response.write("<td height=20 width=5% bgcolor=#ffffff ><center><a href=njintrodel.asp?id="&rs("id")&">删除</a>")
		response.write("</tr>")
      rs.movenext
     wend
      %>
  <tr bgcolor="#efefef"> 
    <td  height="14" width="322" colspan="9"><font color="#378BB9"><b><font color=red size=3>page:</font></b></font> 
    </td>
  </tr>
</table>
<table border=0 cellpadding=0 cellspacing=1 width=100%  height=2 bgcolor=#666666>
  <form method="POST" action="jmlymd.ASP">
    <tr bgcolor="#efefef"> 
      <td height="45" bgcolor="#efefef" align="center"> 
        <table width="60%" border="0" cellspacing="00" cellpadding="0">
          <tr> 
            <td align="center" height="20"><b>节目录音添加</b></td>
          </tr>
          <tr> 
            <td align="center">&nbsp;</td>
          </tr>
        </table>
        <table width="65%" border="0" cellspacing="00" cellpadding="0">
          <tr> 
            <td width="20%">制作人:</td>
            <td width="35%"> 
              <input type="text" name="njname" size="20">
            </td>
            <td width="15%">录音名称:</td>
            <td width="31%"> 
              <input type="text" name="title" size="20">
            </td>
          </tr>
          <tr> 
            <td width="18%">录音分类:</td>
            <td> 
              <select name="cdname">
                <option value="电台宣传版头">电台宣传版头</option>
                <option value="节目宣传版头">节目宣传版头</option>
                <option value="节目历史录音">节目历史录音</option>
                <option value="网友原创音乐">网友原创音乐</option>
              </select>
            </td>
            <td>录音地址:</td>
            <td><font size="2" color="#0000FF"> 
              <input type="text" name="download">
              </font></td>
          </tr>
          <tr> 
            <td>CD封面: </td>
            <td><font size="2" color="#0000FF"> 
              <input type="text" name="images">
              </font></td>
            <td>歌曲简介:</td>
            <td><font size="2" color="#0000FF"> 
              <input type="text" name="njmemo">
              </font></td>
          </tr>
          <tr align="center"> 
            <td colspan="4">&nbsp; </td>
          </tr>
          <tr align="center">
            <td colspan="4">
              <input type="submit" name="Submit" value="提 交">
            </td>
          </tr>
        </table>
    </tr>
    <tr bgcolor="#efefef"> 
      <td height="21" width="100%" align="right"> 
        <p align="center">&nbsp; 
    </tr>
  </form>
</table>
</body>
</html>


⌨️ 快捷键说明

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