⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 play.asp

📁 超炫电台程序开发了两个版本了
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%id=request.QueryString("id")
if id<>"" then
	set rs=server.createobject("adodb.recordset")	
	sql="select * from yd_music where id="&id
	rs.open sql,conn,3,3
	if rs.bof and rs.eof then
		response.Write("没有该歌曲")
		Response.End 
	else
		rs("m_hits")=rs("m_hits")+1
		rs.update
		yd_source=rs("m_url")
		yd_mname=rs("m_title")
	end if
end if

rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<title><%=yd_mname%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script language="JavaScript">
<!--
function MM_reloadPage(init) {  
  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);
// -->
//-->
</script>
<style type="text/css">
<!--
.style1 {
	font-size: 12px;
	font-family: "宋体";
}
-->
</style>
<body  leftmargin=0 topmargin=0>
<TABLE cellSpacing=0 cellPadding=0 width=300 border=0>
  <TBODY>
    <TR> 
      
      <TD width="300" vAlign=top><img src="img/paly1.gif" width="300" height="55"></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=298 border=0>
  <TBODY>
    <TR> 
      
      <TD width="298" align=middle> <OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=66 
            id=video1 width=298>
          <PARAM NAME="_ExtentX" VALUE="7144">
          <PARAM NAME="_ExtentY" VALUE="1746">
          <PARAM NAME="AUTOSTART" VALUE="-1">
          <PARAM NAME="SHUFFLE" VALUE="0">
          <PARAM NAME="PREFETCH" VALUE="0">
          <PARAM NAME="NOLABELS" VALUE="0">
          <PARAM NAME="SRC" VALUE="<%=yd_source%>">
          <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">
          <embed src="<%=yd_source%>" 
            type="audio/x-pn-realaudio-plugin" console="Clip1" 
            controls="ControlPanel,StatusBar" height="66" width="298" 
            autostart="true"></embed> </OBJECT></TD>
    
    </TR>
  </TBODY>
</TABLE>
<table width="296" height="33" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="296" background="img/play2.gif" class="style1"><marquee  width="90%" height="20">
                <font color="#000000">歌曲: <%=yd_mname%> </font>
</marquee>&nbsp;</td>
  </tr>
</table>
</BODY>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -