music.asp
来自「超炫电台程序开发了两个版本了」· ASP 代码 · 共 115 行
ASP
115 行
<!--#include file="conn.asp"-->
<%response.cookies("fjxn")="yes"%>
<%
id=request.querystring("id")
sql="select * from basic where id="&id
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof then
response.write "<script>window.alert('系统未找到此歌曲!');javascript:location='/';</script>"
response.end
else
title=rs("title")
musicid=rs("musicid")
myname=rs("myname")
yourname=rs("yourname")
face=rs("face")
content=rs("content")
jtime=rs("jtime")
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>
<html>
<head>
<title><%=title%> 送给 <%=yourname%>--------慈溪中国----www.cx0574.cn</title>
<meta http-equiv="Content-Language" content="zh-cn">
<style type="text/css">
<!--
td { color: #ffffff; font-size: 12px; font-family: 宋体 }
.style1 {color: #FF0000}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function dop(){
document.NSPlay.Play();
}
function sop(){
document.NSPlay.Stop();
}
//-->
</script>
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<object id=Player classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height=0 width=0>
<param name="_ExtentX" value="370">
<param name="_ExtentY" value="370">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="<%=musicid%>">
<param name="CONTROLS" value="StatusBar,ControlPanel">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
<table border="0" width="440" cellspacing="0" cellpadding="0">
<tr>
<td width="11"><img border="0" src="images/5.gif" width="11" height="30"></td>
<td width="369" background="images/6.gif"><marquee>你的朋友 <%=myname%> 于 <%=jtime%> 送给你一首 <%=title%> 点歌祝福!</marquee></td>
<td width="29"><a href="#"><img border="0" src="images/7.gif" width="29" height="30" border=0></a></td>
<td width="31"><img border="0" src="images/8.gif" width="31" height="30"></td>
</tr>
</table>
<table border="0" width="440" cellspacing="0" cellpadding="0" height="520" background="pic/<%=face%>">
<tr>
<td height="100" align="right"><span class="style1">
<script language="JavaScript" type="text/javascript" src="http://www.cx0574.cn/count/site.asp?online=1"></script>
</span></td>
</tr>
<tr>
<td height="250" align="center">
<table border="0" width="80%" cellspacing="0" cellpadding="5">
<tr>
<td style="FILTER: glow(color=#2D91B1,direction=1); font-size: 12px;line-height: 12px; font-weight: bold;">送给:<%=yourname%></td>
</tr>
<tr>
<td align="center" style="FILTER: glow(color=#2D91B1,direction=1); font-size: 12px;line-height: 12px; font-weight: bold;">※ ※ ※ ※ ※ ※ 祝福语 ※ ※ ※ ※ ※ ※</td>
</tr>
<tr>
<td style="FILTER: glow(color=#2D91B1,direction=1); font-size: 12px;line-height: 12px; font-weight: bold;"><%=content%></td>
</tr>
<tr>
<td align="right" style="FILTER: glow(color=#2D91B1,direction=1); font-size: 12px;line-height: 12px; font-weight: bold;">来自:<%=myname%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom"></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?