<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/dll.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="sqlx.asp"-->
<%call hacker()%>
TYPE("普通歌曲分类");
START();
<%if request.querystring("id")="" then%>
<%
sql="select * from YC_dg order by id DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
do while not rs.eof%>
DATA("<%=rs("sender")%> 为 <%=rs("incept")%> 点播了这首《<%=rs("musicname")%>》 并说：<%=rs("content")%>","<%=rs("url")%>");
<%rs.movenext
loop
if rs.eof and rs.bof then%>DATA("暂无祝福","http://");<%end if
rs.close
set rs=nothing
else
sql="select * from YC_dg where id="&request.querystring("id")
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
conn.execute (sql)
id=rs("id")
if id="" then%>DATA("暂无歌曲，请添加","http://");<%else
%>
DATA("<%=rs("sender")%> 为 <%=rs("incept")%> 点播了这首《<%=rs("musicname")%>》 并说：<%=rs("content")%>","<%=rs("url")%>");
<%
rs.close
set rs=nothing
end if
end if%>
END();