www.gusucode.com > 星云DJ舞曲 4.5a源码程序 > admin/admin_mp3servermana.asp

    <!--#include file="const.asp"-->
<!--#include file="checkadmin.inc"-->
<html>
<head>
<title>迪吧后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber2">
  <tr class="topbg"> 
    <td height="22" colspan="5" align="center"><strong>下 载 服 务 器 管 理</strong></td>
  </tr>
</table>
  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber3">
    <tr class="tdbg"> 
          <td width="5%" align="center" height="30">ID</td>
          <td width="15%" align="center" height="30">服务器名称</td>
          <td width="63%" align="center" height="30">服务器地址</td>
          <td width="8%" align="center" height="30">修改</td>
          <td width="8%" align="center" height="30">删除</td>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Mp3DownServer order by MP3DownID desc"
rs.open sql,conn,1,1
%>
    </tr>
<%
do while not rs.eof
%>
    <tr class="tdbg"> 
          <td width="5%" align="center" height="30"><%=rs("Mp3DownID")%> </td>
          <td width="15%" align="center" height="30"><%=rs("Mp3DownServerName")%></td>
          <td width="63%" height="30">&nbsp;<%=rs("Mp3DownServerUrl")%></td>
          <td width="8%" align="center" height="30"><input onclick="javascript:window.open('admin_Mp3ServerModify.asp?Mp3Downid=<%=rs("Mp3Downid")%>','_self','')" type="button" value="修改" name="button1"></td>
          <td width="8%" align="center" height="30"><input onclick="javascript:window.open('admin_Mp3Serversave.asp?Mp3Downid=<%=rs("Mp3Downid")%>&act=del','_self','')" type="button" value="删除" name="button2"></td>
    </tr>
<%
rs.movenext
loop
rs.close
%>
    <tr class="tdbg"> 
  <td height="22" colspan="5" align="center" class="title">
<input onclick="javascript:window.open('admin_Mp3ServerAdd.asp','_self','')" type="button" value="添加下载服务器" name="button">
        </td>
    </tr>
  </table>
</body> 
</html> 
<%
set rs=nothing
conn.close
set conn=nothing
%>