<% If session("PassWord")="" or session("UserName")="" or session("PassWord")=null or session("UserName")=null Then Response.Write ("") Response.end End If stats=session("UserName")&"的音乐盒" %> <% action=request("action") set rs=server.createobject("adodb.recordset") if action="add" then Musicid=request.QueryString("id") sql="select * from ylmv_Box where UserName='"&session("UserName")&"' and Musicid="&Musicid rs.open sql,conn,1,3 if not rs.EOF then errmsg=errmsg+"" call error() response.end else set rs2=server.createobject("adodb.recordset") sql2="select * from ylmv_MusicList where id="&Musicid rs2.open sql2,conn,1,1 if (rs2.EOF and rs2.BOF) then errmsg=errmsg+"" call error() response.end else Wma=rs2("Wma") MusicName=rs2("MusicName") Singer=rs2("Singer") Classid=rs2("Classid") SClassid=rs2("SClassid") NClassid=rs2("NClassid") end if rs2.close set rs2=nothing rs.AddNew rs("UserName")=session("UserName") rs("Musicid")=Musicid rs("MusicName")=MusicName rs("Singer")=Singer rs("Wma")=Wma if Wma<>"" then rs("Wma")=true end if rs("Classid")=Classid rs("SClassid")=SClassid rs("NClassid")=NClassid rs.Update end if rs.Close Response.Redirect "musicbox.asp?action=show" elseif action="del" then id=request("id") set rs=conn.execute("delete FROM ylmv_Box where UserName='"&session("UserName")&"' and id="&id) Response.Redirect "musicbox.asp?action=show" elseif action="show" or action="" then %> 音乐盒 - 最新流行歌曲在线试听 免费听歌 免费在线听歌 mp3免费下载 久久音乐无线 让您的心重新获得释放 ::...
您现在的位置:音乐频道 >> 音乐盒   
 
 
秘密:每添加一首歌词并通过审核则可以多放两首(甚至更多)歌曲!
<% '///////////////////////////////////////////////////////////////////////////// '############################################################################## %> <% sql="select * from ylmv_Box where UserName='"&session("UserName")&"'" rs.open sql,conn,1,1 if rs.EOF and rs.BOF then %> <% else do while not rs.EOF i=i+1 %> <% '#################################################################### '////////////////////////////////////////////////////////////////////// %> <% rs.MoveNext loop %> <% end if %>
音乐收藏列表
选择 歌曲名字 歌手 试听 手机 VIP下载 点歌 删除
你尚未收藏任何歌曲
"> <%=i%>.<%=rs("MusicName")%> <%=rs("Singer")%> 试听 铃声 VIP下载 送友 ">删除
 
<% rs.Close else errmsg=errmsg+"" founderr=true end if set rs=nothing conn.close set conn=nothing if founderr=true then call error() end if %>