<!--#include file="../inc/jc_conn.asp" -->
<%
dim id,rs
id=SafeRequest("id")
set rs=server.createobject("adodb.recordset")
sql="select * from Sendmusic where id in ("&id&")"
rs.open sql,conn,1,3
if rs.eof then
response.Write("<script>alert('对不起，数据库中查无此记录！')</script>")
response.end
else
musicid=rs("musicid")
musicname=rs("musicname")
words=rs("words")
fromname=rs("fromuser")
fromqq=rs("fromqq")
forname=rs("foruser")
forqq=rs("forqq")
ishidden=rs("ishidden")
needpass=rs("ispass")
password=rs("password")
pic=rs("bg")
rs("hits")=rs("hits")+1
rs.update
rs.close
end if

psw=Replace(Replace(Replace(request.form("psw")," ",""),"%",""),"'","")
if needpass and psw<>password then
response.write "<link href='/images/css.css' rel='stylesheet' type='text/css'>"
response.write "<br><br><br><p align=center>对不起，此条点歌祝福信息需要密码才能查看。"
response.write "<form name=form method=post action='?id="&id&"'><tr><td align=center>请输入正确的密码：<input type=password class=input name=psw size=15> <input type=submit name=Submit class=input value=确定></td></tr></form>"
response.end
end if

sql="select * from musiclist where musicid="&musicid
rs.open sql,conn,1,1
name=rs("name")
nclass=rs("nclass")
nclassId=rs("nclassId")
url=rs("url1")
rs.close
set rs=nothing
on error resume next
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name='keywords' content='<%=name%> 下载,<%=name%> 在线视听,在线点歌，点歌台，免费点歌'>
<meta name='description' content='<%=name%> 下载,<%=name%> 在线视听,在线点歌，点歌台，免费点歌'>
<title><%=musicname%>--<%=fromname%>送给 <%=forname%> 的歌</title>
<link href="../images/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var s="<%=nclass%>";var t="<%=name%>";
</script></head><SCRIPT language=JavaScript src="pc.js"></SCRIPT><BODY onload="window.focus(); time();">
<table border="0" width="810" height="680"  style="background-image: url('http://datal.0hao.cn/qqimg/<%=pic%>')">
  <tr>
   <td width="100%" id="myback"  valign="top">
      <table border="0" width="75%" height="633">
        <tr>
           <td width="45" height="60"></td>
           <td width="550" height="60" valign="bottom">
            <table align="center" border="0" width="100%" onselectstart="return false;" ondragstart="return false;" >
		<tr>
			<td align="right" width="80"><SPAN id=pstate style="cursor:hand" onclick="PLAPS();" title="单击鼠标左键可以进行播放与暂停之间切换"></SPAN></td>
			<td align="center"><marquee scrollAmount=2 onmouseover=stop() onmouseout=start() width=340>
您正在欣赏的是 <font color=blue><%=fromname%></font> 送给 <font color=blue><%=forname%></font> 的歌--<A HREF="../play/play.asp?id=<%=musicid%>"><font color=red><%=musicname%></font></a> （<SPAN id=IsPL></span>）</marquee></td>
			<td width="100"><font color="#CC0000"><SPAN id=sTime></SPAN></font></td>
		</tr>
	     </table>
	 </td>
       </tr>
        <tr>
          <td width="45" height="148"><DIV id=Layer1 onmousedown=javascript:SetStatebar(); onmouseover="this.style.cursor='hand'"></DIV></td>
          <td width="550" height="148"><table width="470" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"><br>
    <tr bgcolor="#FFFFFF"> 
      <td width="105" height="22" align="right" bgcolor="#FFFFFF">点歌朋友的昵称:</td>
      <td width="277" height="22">&nbsp;<%=fromname%> </td>
      <td width="80" height="110" rowspan="5" >
        <div align="center"><IMG src="http://www.0hao.cn/qqdg/qqshow/?qq=<%=fromqq%>" border=0 alt="查看点歌朋友的QQ秀资料" border="0" onclick=javascript:LookQS(<%=fromqq%>) style="cursor:hand" width=70 height=113></div>
 </td>
    </tr>
  <tr>
      <td height="22" align="right" bgcolor="#FFFFFF" width="105">点歌朋友的 Q Q:</td>                          
      <td height="22" width="277" bgcolor="#FFFFFF">&nbsp;<%=fromqq%> 
<a target=blank href=tencent://message/?uin=<%=fromqq%>&Site=福建音乐视听网&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:<%=fromqq%>:4 alt="点击这里给<%=fromname%>发消息"></a><%
if fromqq="115000470" or fromqq="308707177" then%>(此QQ为系统默认QQ)<%end if%></td>
  </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF" width="105">接收朋友的昵称:</td>
      <td height="22" width="277">&nbsp;<%=forname%></td>
    </tr>   
     <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF" width="105">接收朋友的 Q Q:</td>                          
      <td height="22" width="277">&nbsp;<%=forqq%> <a target=blank href=tencent://message/?uin=<%=forqq%>&Site=福建音乐视听网&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:<%=forqq%>:4 alt="点击这里给<%=forname%>发消息"></a><%
if forqq="115000470" or forqq="308707177" then%>(此QQ为系统默认QQ)<%end if%></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" colspan="2" width="350">&nbsp;&nbsp;&nbsp;下面是 <font color=blue><%=fromname%></font> 很想对 <font color=blue><%=forname%></font> 说的话:</td>
    </tr>
  </form>
</table>          </td>
        </tr>
        <tr>
          <td width="45" height="31">
<OBJECT id=MMPlayer1 style="DISPLAY: none" codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701  type=application/x-oleobject standby="Loading Microsoft Windows Media Player components..." classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 viewastext>
<param name="Balance" value="0"><param name="BaseURL" value>
<param name="BufferingTime" value="5"><param name="InvokeURLs" value="-1">
<param name="filename" value="http://www.0hao.cn/play/wma2.asp?u=<%=url%>&m=<%=server.urlencode(name)%>&s=<%=server.urlencode(nclass)%>">
<param name="WindowlessVideo" value="0"><param name="PlayCount" value="100">
<param name="volume" value="0"></OBJECT></td>
          <td width="550" height="31" valign="bottom">
            <p align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr><td width="45" height="31"></td>
          <td width="550" height="378"><p valign="middle"<%if len(words)<40 then%> align="center"<%end if%>><%=words%></td>
        </tr>
      </table>
<div style="position: absolute; width: 326px; height: 22px; z-index: 1; left: 160px; top: 73px" id="layer2">
</div><span id=stat style="display:none"><script src="http://www.0hao.cn/stat/mystat.asp?siteid=1"></script></span>
</body>