www.gusucode.com > 枫的记忆个人主页程序源码程序 > downcode.com\fengdejiyizh\music_show.asp

    <!--#include file="conn.asp"-->
<%
dim fid,id
fid=trim(request("mid"))
id=request.QueryString("id")

	if fid="1" then
	m_id="music"
	elseif fid="2" then
	m_id="flash"
	elseif fid="3" then
	m_id="m t v"
	elseif fid="4" then
	m_id="moive"
	end if

if id<>"" then
	set rs=server.createobject("adodb.recordset")	
	sql="select * from music where m_type='"&m_id&"' and id="&id
	rs.open sql,conn,3,3
	if rs.bof and rs.eof then
		response.Write("没有该歌曲")
		Response.End 
	else
		rs("flag")=rs("flag")+1
		rs.update
		yd_source=rs("m_url")
		yd_mname=rs("title")
	end if
end if
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=yd_mname%></title>
<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">
<!--
A{text-transform: none; text-decoration: none; color: #0162a0;}
A:hover {color: #ff0000;text-decoration:derline}
body,table {
	font-size:9pt;
	font-family: Verdana, 宋体;
	color: #0162a0;
	scrollbar-arrow-color:  #3272B0;
	SCROLLBAR-HIGHLIGHT-COLOR: buttonface;
	SCROLLBAR-SHADOW-COLOR: buttonface;
	SCROLLBAR-3DLIGHT-COLOR: buttonhighlight;
	SCROLLBAR-TRACK-COLOR: #eeeeee;
	SCROLLBAR-DARKSHADOW-COLOR: buttonshadow;
}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><img src="img/g_001.gif" width="600" height="58"></td>
  </tr>
  <tr>
    <td valign="top"><img src="img/g_002.gif" width="24" height="362"></td>
    <td valign="top"><table width="552" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="img/g_005.gif" width="6" height="38"></td>
            <td width="99%" align="center" background="img/g_006.gif" style="font-size:14px;color:#FFFFFF;"><b><%=yd_mname%></b></td>
            <td><img src="img/g_007.gif" width="6" height="38"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="img/g_008.gif" width="2" height="2"></td>
            <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td>
            <td><img src="img/g_009.gif" width="2" height="2"></td>
          </tr>
          <tr>
            <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td>
            <td width="548" height="330" align="center" valign="middle" style="line-height:18px;">
		<%if fid="2" then%>
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="544" height="326">
          <param name="movie" value="<%=yd_source%>">
          <param name="quality" value="high">
          <embed src="<%=yd_source%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="544" height="326"></embed>
		</object>
		<%else%>
		<object id="mPlayer1" width=544 height=326 classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type=application/x-oleobject standby="Loading Windows Media Player components...">
        <param name="URL" value="<%=yd_source%>">
        <param name="Album" value="WWW.MSEASON.COM"/>
        <param name="rate" value="1">
        <param name="balance" value="0">
        <param name="currentPosition" value="0">
        <param name="defaultFrame" value="">
        <param name="playCount" value="100">
        <param name="autoStart" value="-1">
        <param name="currentMarker" value="0">
        <param name="invokeURLs" value="-1">
        <param name="baseURL" value="">
        <param name="volume" value="100">
        <param name="mute" value="0">
        <param name="uiMode" value="full">
        <param name="stretchToFit" value="0">
        <param name="windowlessVideo" value="0">
        <param name="enabled" value="-1">
        <param name="enableContextMenu" value="0">
        <param name="fullScreen" value="0">
        <param name="SAMIStyle" value="">
        <param name="SAMILang" value="">
        <param name="SAMIFilename" value="">
        <param name="captioningID" value="">
      </object>
	  <%end if%>
			</td>
            <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td>
          </tr>
          <tr>
            <td><img src="img/g_010.gif" width="2" height="2"></td>
            <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td>
            <td><img src="img/g_011.gif" width="2" height="2"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><img name="" src="" width="4" height="4" alt=""></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img name="" src="" width="1" height="1" alt=""></td>
            <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td>
            <td><img name="" src="" width="1" height="1" alt=""></td>
          </tr>
          <tr>
            <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td>
            <td width="550" height="108" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25" colspan="2"> 下 载 地 址: <a href="<%=yd_source%>">①</a> (点击右健“目标另存为”,建议用网络工具下载)</td>
              </tr>
              <tr>
                <td colspan="2" background="img/line1.gif"></td>
              </tr>
              <tr>
                <td height="25"> 人 气: <font color="#FF0000"><%=rs("flag")%></font></td>
                <td>上 传 时 间: <%=rs("add_time")%></td>
              </tr>
              <tr>
                <td colspan="2" background="img/line1.gif"></td>
              </tr>
              <tr>
                <td height="25" colspan="2"> <%if fid="1" then%>歌 词:<%else%>简 要 描 述:<%end if%> <%=rs("content")%></td>
              </tr>
            </table></td>
            <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td>
          </tr>
          <tr>
            <td><img name="" src="" width="1" height="1" alt=""></td>
            <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td>
            <td><img name="" src="" width="1" height="1" alt=""></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td valign="top"><img src="img/g_003.gif" width="24" height="362"></td>
  </tr>
  <tr>
    <td colspan="3"><img src="img/g_004.gif" width="600" height="56"></td>
  </tr>
</table>
</body>
</html>