<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>管理中心-这里是所有管理的入口</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/global.css" type=text/css rel=stylesheet><LINK 
href="images/main.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY id=main background="../images/bj.gif">
<%
dim m_UserID
m_UserID = Request.Cookies("aspxnet")("CurUserID")

%>
<%
page=request("page")
if page="" then page=1

if request("action")="del" then
id=request("id")

conn.execute("delete From MP3 Where MP3_id="&ID&" and MP3_user_id="&m_UserID&"")

Response.Redirect "admin_mp3.asp"

end if%>
<DIV id=wrapper>
<!--#include file="top.asp"-->
<DIV class=row>
<!--#include file="left.asp"-->
<DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>MP3管理</H3>
<SPAN class=float_right><STRONG><a href="MP3_add.asp">添加MP3</a></STRONG></SPAN><SPAN class=float_right>------</SPAN>
<SPAN class=float_right><STRONG><a href="admin_mp3.asp">管理MP3</a></STRONG></SPAN>

</DIV>
<DIV class=col_body><P>
<table width="535" border="0" align=center cellpadding="0" cellspacing="0" bordercolor="#B5DFDE">
<%sql3="select * from MP3 where MP3_id="&request("id")
set rs3=server.createobject("ADODB.Recordset")
rs3.open sql3,conn,1,1%>
      <form name="addform" method="post" action="MP3_add_save.asp" onSubmit="return checkdata()">
        <input name="did" type="hidden" value="<%=request("id")%>">
        
        <tr>
          <td width="16%" align=right height=30><span class="STYLE2">MP3名称:</span></td>
          <td width="84%"><input name="MP3_name" type="text" id="MP3_name" value="<%=rs3("MP3_name")%>" size="45" maxlength="40"></td>
        </tr>
        <tr>
          <td align=right height=30><span class="STYLE2">MP3地址:</span></td>
          <td><input name="MP3_web" type="text" id="MP3_web" value="<%=rs3("MP3_web")%>" size="45" maxlength="100"></td>
        </tr>
        <tr>
          <td align=right height=102><span class="STYLE2">内容:</span></td>
          <td><span class="forumRow">
            <textarea name="MP3_jg" cols="60" rows="10" id="MP3_jg"><%=rs3("MP3_jg")%></textarea>
          </span></td>
        </tr>
        <tr>
          <td height=30 align="center" colspan="2"><input type="submit" name="Submit" value="修 改" class="input1"></td>
        </tr>
      </form>
      <%rs3.Close
set rs3=nothing%>
    </table>
</P>
</DIV>
</DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

</DIV></BODY></HTML>
