<!--#include file="inc.asp"-->
<!--#include file="check.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/Admin_Style.css">
<title> 修 改 </title>
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<form method="POST" action="0hao_song_save.asp?act=edit&musicid=<%=request("musicid")%>" name="myform">
  <center>
      <%session("spdz")="edit.asp?musicid="&request("musicid")
dim sql
dim rs
 sql="select * from musiclist where musicid="&request("musicid")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1

                %>
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolordark="#FFFFFF" style="border-collapse:collapse;">
<tr>
<td width="100%" height="22" align=center class="topbg"><strong>歌曲修改页</strong></td>
    </tr><tr><table width="100%" border="1" cellpadding="2" cellspacing="0" class="border" style="border-collapse:collapse;">
    <tr bgcolor="#FFFFFF">
      <td><div align="center"> 歌曲名称： </div></td>
      <td colspan="2"><input type="text" name="name" size="21" maxlength="255" value="<%=rs("name")%>">
      </tr>
    <tr bgcolor="#FFFFFF">
      <td><p align="center">歌曲设置：</td>
      <td colspan="2"><input type="hidden" value="<%=rs("sclassid")%>" name="sclassid">
<input readonly="readonly"  value="<%=rs("sclass")%>" name="sclass">
  <input type="hidden" value="<%=rs("nclassid")%>" name="nclassid">
<input readonly="readonly" value="<%=rs("nclass")%>" name="nclass">
<select name="specialid">
          <%dim rs1,sql1,sel     
 set rs1=server.createobject("adodb.recordset")
 rs1.open "select * from special where nclassid="&rs("nclassid")&"",conn,1,1     
			  do while not rs1.eof%>
          <option value="<%=rs1("specialid")%>" name="specialid" <% if rs("specialid")=rs1("specialid") then%> selected <%end if%>> <%=rs1("name")%></option>
          <%rs1.movenext     
    		          loop        
			rs1.close     
			set rs1=nothing%>
        </select><input type="hidden" value="<%=rs("specialname")%>" name="specialname"></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td><p align="center">排行参数：</td>
      <td colspan="2">总点击数<input type="text" name="hits" size="5" class="smallinput" maxlength="10" value="<%=rs("hits")%>"> 次 &nbsp;&nbsp;&nbsp;周点击数<input type="text" name="weekhits" size="5" class="smallinput" maxlength="10" value="<%=rs("weekhits")%>"> 次 &nbsp;&nbsp;&nbsp;网友推荐<input type="text" name="wytj" size="5" class="smallinput" maxlength="10" value="<%=rs("wytj")%>"> 次 &nbsp;&nbsp;&nbsp;本周收藏<input type="text" name="boxnum" size="5" class="smallinput" maxlength="10" value="<%=rs("boxnum")%>"> 次</td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="22" align="center">歌曲地址：</td>
      <td colspan="2"><input type="text" name="url1" class="button" size="35" value='<%=rs("url1")%>'>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="center">备用地址：</td>
      <td><input type="text" name="url2" class="button" size="35" value='<%=rs("url2")%>'></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td><div align="center"> LRC歌词：</div></td>
      <td colspan="2"><textarea rows="8" name="LRC" cols="80"><%=replace(rs("lrc"),"""","")%></textarea></td></tr>
    <tr>
      <td bgcolor="#FFFFFF"><p align="center">首页推荐：</td>
      <td bgcolor="#FFFFFF" colspan="2"><input type="radio" name="isgood" value="1" <%if rs("isgood")=true then%> checked <%end if%>>
      是
        <input type="radio" name="isgood" value="0" <%if rs("isgood")<>true then%> checked <%end if%>>
      否</td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td ><p align="center">加入时间：</td>
      <td colspan="2"><input type="text" name="addtime" size="15" class="smallinput" maxlength="50" value="<%=rs("addtime")%>">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" bgcolor=ffffff colspan="3"><input type="submit" value=" 修 改 " name="cmdok" class="buttonface">
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
        <input type="reset" value=" 复 原 " name="cmdcancel" class="buttonface"></td>
    </tr>
  </table></tr>
  </table>
  <p></p>   
  </center>   
</form>   
</body>   
   
</html>   
<%  
 rs.close    
set rs=nothing    
  conn.close     
  set conn=nothing     
%>

</body>
</html>