<!--#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>
<script language="javascript">
<!--
function CheckData()
{

  if (document.form1.MP3_name.value=="")
  {
    alert("对不起，名称不能为空！");
	document.form1.MP3_name.focus();
	return false;
   }
  if (document.form1.MP3_web.value=="")
  {
    alert("对不起，名称不能为空！");
	document.form1.MP3_web.focus();
	return false;
   }
     if (document.form1.MP3_jg.value=="")
  {
    alert("对不起，介绍不能为空！");
	document.form1.MP3_jg.focus();
	return false;
   }
}

//-->
</script></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="529" border="0" align=center cellpadding="0" cellspacing="0" bordercolor="#B5DFDE">
      <form name="form1" method="post" action="MP3_save.asp" onSubmit="return CheckData()">
        
        <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" 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="http://" size="45" maxlength="100"></td>
        </tr>
        <tr>
          <td align=right height=102><span class="STYLE2">内容:</span></td>
          <td class=forumRow><textarea name="MP3_jg" cols="60" rows="10" id="MP3_jg"></textarea></td>
        </tr>
        <tr>
          <td height=30 align="center" colspan="2"><input type="submit" name="Submit" value="提 交" class="input1"></td>
        </tr>
      </form>
    </table>
</P>
</DIV>
</DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

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