www.gusucode.com > 流光音乐建站系统 1.1码程序 > player/index2.asp

    <!--#include file="../user/conn.asp"-->
<%
if request("id")="" then
		response.write"<SCRIPT language=JavaScript>alert('哈哈! 出错啦! 至少要选择歌曲一首以上才能连播!');"
		response.write"javascript:window.close();</SCRIPT>"
	else
end if
id=replace(request("id")," ","")
Dim MusicID,MusicArray,MusicNum
MusicID=request.QueryString("id")
MusicArray=Split(MusicID, ",")
MusicNum = UBound(MusicArray)-1
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Keywords" content="连续播放" />
<meta content="all" name="robots" />
<title>歌曲连播</title>
<style type="text/css">
<!--
/* by yibanren css start */
#songlist div span{float:right;}
#songlist{
	height:268px;
	overflow-y:scroll;overflow-x:hidden;
	scrollbar-face-color: #B3E2FE;
	scrollbar-shadow-color: #DAF1FF;
    scrollbar-mediumlight-color: #B3E2FE;
   	scrollbar-track-color: #EDFBFF;
	scrollbar-arrow-color: #50BAEC;
	scrollbar-base-color :#B3E2FE;
	scrollbar-darkshadow-color:#B3E2FE;
}
.i1,.i6{border:#E8CA78 1px solid; background-color:#FFEB93; color:#834400;}
.i1{width:46px; height:19px; margin-right:11px; }
.b1 .nav span{float:left;}
.nav span{margin-right:11px; line-height:26px; height:26px;}
.ls img{cursor:pointer;}
.ls ul{text-align:center;}
.ls ul li, .ls ul li a{width:74px; height:20px; line-height:20px;}
.ls ul li{float:left; margin:0px 10px 0px 0px;  display:block;}
.ls ul li{border:0px; background-color:#FFEB93;}
.ls ul li a, .ls ul li a:link{color:#834400; border:1px #E8CA78 solid; display:block; height:20px; line-height:20px;}
.ls ul li a:hover{border:1px #7BCBF1 solid; background-color:#C3E7F8; color:#0058B3; display:block; height:20px; line-height:20px;}
.oid, .oid_{padding-left:7px; padding-right:0px; margin-right:3px; color:#16387C; border-top:1px #f6f6f6 solid; height:22px; line-height:22px; overflow:hidden; text-overflow:ellipsis;}
.oid{background:#fff;}
.oid_{background:#e6e6e6;}
.oid_ a,.oid_ a:link{color:gray}
.oid span{padding-right:0px; margin-right:0px;}
.del{float:right; padding-right:0px; margin-right:0px; color:gray;}
.del a, .del a:link{color:gray;}
.del a:hover{color:red}
.del font{margin:0px; padding:0px;}
.ls:after{line-height:28px; content: '.'; display:block; clear:both; visibility:hidden; height:0;}
/* by yibanren css end */
body{font-size:12px; font-family:Verdana,宋体;background: #F5F5F5;margin:0; padding:0;color:#0075B5;}
*{margin:0; padding:0;list-style:none;}
form,img{border:none;}
a{color:#0058B3;text-decoration: none;}
a:hover{color:#F00;text-decoration: none;}
.s:link{color:#5994C8;text-decoration: none;}
.s:hover{color:#F00;text-decoration: none;}
#c:after,.b1:after,.b2:after{padding:0px;content:'.';display:block;clear:both;visibility:hidden;height:0;}
#c,.b1,.b2{height:1%;}
.i6{height:19px; border-style:double; font-size:12px;padding-top:2px; margin-top:2px;}
#c{width:667px;margin:0px auto;padding:5px;background: #FFF;}
.b1{border:1px #89D4F8 solid;}
.b1 .nav{background:url('../skin/style2/i/200707/ls1.gif') repeat-x;font-size:12px;line-height:26px;height:26px; font-weight:bold;}
.b1 h2{background:url('../skin/style2/i/200707/bs1.gif') repeat-x;padding:0px 10px;font-size:12px;line-height:28px;height:28px;}
.b1 .ad{padding:1px;width:663px;}
.b1 span{float:right;}
.b2{width:655px; padding:0px 5px 5px 5px;}
.b2 .ls{margin-top:5px;}
.l{float:left;width:349px;}
.r{float:right;width:300px;}
.b3{border:1px #C3E7F8 solid;margin-top:5px;padding:0px 5px;}
.b3 li{line-height:22px;height:22px;}
.b3 h3{font-size:12px;line-height:30px;}
.b3 p{margin-top:3px;}
.b3 .u1{height:44px;}
.b3 .u1 li{float:left;width:158px;padding-left:10px;}
.b3 div li{display:block;}
.b3 div li:link{display:block;}
.b3 div li:hover{background:#B3E2FE;}
.b3 div li img{float:left;}
.b3 div span{width:60px;text-align: center;}
.gc{border:1px #C3E7F8 solid; background:#EDFBFF;}
.gc h4{font-size:12px; line-height:21px; font-weight:bold; padding-left:7px;}
.gc div{width:298px;}
.r{margin-top:0px; height:305px;width:300px;}
.b1 h2,.b3 li{overflow:hidden;text-overflow:ellipsis;}
.b4{border-top:0px;}
.b5{border:1px #C3E7F8 solid;}
-->
</style>
<script type="text/javascript" src="common2.js"></script>
<script type="text/javascript" src="player2.js"></script>
</head>
<body>
<div id="c">
  <div class="b1">
    <div class="nav"> <span><img src="../skin/style2/i/h1.gif" alt="" align="absmiddle" /></span> <span><a href="/" target="_blank">返回首页</a></span>
<%
i=0
MaxList=6
set rs=server.createobject("adodb.recordset")
sql="SELECT * FROM Sclass order by Sclassid ASC"
rs.Open sql,conn,1,1
do while not rs.eof
i=i+1
%>
<span><A href="../Music/<%=rs("SClassID")%>.Html" target="_self"><%=rs("SClass")%></A></span>
<%
if i>=MaxList then exit do
rs.movenext
loop
rs.close%></div>
    <div class="ad">
     <iframe scrolling="no" topmargin="0" width="100%" height="60" marginwidth="0" marginheight="0" frameborder="0" align="center" src="../ads/l_1.html"></iframe>
    </div>
    <h2 id="songInfo"></h2>
    <div class="b2">
      <div class="l">
        <div class="b5">
          <div style="padding:4px;">
            <!-- 播放器代码开始 -->
            <object id="MediaPlayer" name="MediaPlayer" width="336" height="64" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"  >
              <param name="url" value="">
              <param name="ShowControls" value="1">
              <param name="ShowPositionControls" value="0">
              <param name="ShowAudioControls" value="1">
              <param name="ShowTracker" value="1">
              <param name="ShowDisplay" value="0">
              <param name="ShowStatusBar" value="1">
              <param name="AutoSize" value="0">
              <param name="ShowGotoBar" value="0">
              <param name="ShowCaptioning" value="0">
              <param name="AutoStart" value="1">
              <param NAME="PlayCount" value="1">
              <param name="AnimationAtStart" value="0">
              <param name="TransparentAtStart" value="0">
              <param name="AllowScan" value="0">
              <param name="EnableContextMenu" value="0">
              <param name="ClickToPlay" value="0">
              <param name="InvokeURLs" value="1">
              <param name="DefaultFrame" value="datawindow">
              <param name="volume" value="100">
			  
<entry SKIPIFREF="NO"> 
<title>歌手和唱片公司所有</title>
<author>歌手和唱片公司所有</author>
<copyright>歌手和唱片公司所有</copyright>
<param name="Artist" value="歌手和唱片公司所有"/>
<param name="Album" value="歌手和唱片公司所有"/>
<param name="Title" value="歌手和唱片公司所有"/>
</ENTRY>
			  
              <embed name="MediaPlayer_embed" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" type="application/x-mplayer2" src="" ShowControls="0" ShowDisplay="0" ShowStatusBar="0" autostart="0" autorewind="0" ShowPositionControls="0" ShowTracker="0"></embed>
            </object>
            <!-- 播放器代码结束 -->
            <div class="ls">
              <ul>
              <li style="margin-right:3px;"><script language="javascript" type="text/javascript">
var url = location.href;
document.write("<input style=\"width:250px;height:18px;border:#E8CA78 1px solid;\" value="+url+"  />");
var url = location.href;
url +="\r\n精心挑选的好歌连播,来听听吧!....^_^";
</script></li>
              <li style="margin-right:5px;"><script language="javascript" type="text/javascript">
var url = location.href+"";
function copyInBoard(txt){
	window.clipboardData.setData("text",txt);
	alert("复制成功!可以发给QQ,MSN上的朋友啦!");
	return false;
}
document.write("<a href=\"#\" onclick=\"javascript:copyInBoard(url);\">复制给好友</a>");
var url = location.href;
url +="\r\n精心挑选的好歌连播,来听听吧!....^_^";
</script>
                </li>
              </ul>
            </div>
           <div class="ls">
            <iframe src="../ads/l_2.html" frameborder="0" scrolling="no" width="338" height="30"></iframe>
          </div>

          </div>
        </div>
        <div class="b3" style="padding:7px">
          <div id="songlist">
           <%
For i=0 To MusicNum
MusicArray(i)=replace(MusicArray(i)," ","")
set rs=server.createobject("adodb.recordset")
sql="select * from MusicList where id ="&musicarray(i)
rs.open sql,conn,1,1
%>
<div id="p_<%=i%>" class="oid" onmouseover="pu.mo('<%=i%>');" onmouseout="pu.mt('<%=i%>');"><span class="del"><a href="#" onclick="return pu.del('<%=i%>');" title="从连播列表删除或恢复!"><font id="del_<%=i%>">删除</font></a></span><a href="#" onclick="return pu.utils(<%=i%>);"><%=rs("MusicName")%></a>
              <input id="singer_<%=i%>" type="hidden" value="<%=rs("Singer")%>"/>
              <input id="song_<%=i%>" type="hidden" value="<%=rs("MusicName")%>"/>
              <input id="url_<%=i%>" type="hidden" value="<%=rs("Wma")%>"/>
              <input id="songid_<%=i%>" type="hidden" value="<%=rs("Id")%>"/>
              <input id="singerUrl_<%=i%>" type="hidden" value="#"/>
              <input id="songUrl_<%=i%>" type="hidden" value="#"/>
              <input id="favoriteUrl_<%=i%>" type="hidden" value="#"/>
              <input id="ivrUrl_<%=i%>" type="hidden" value="#"/>
              <input id="downloadUrl_<%=i%>" type="hidden" value="#"/>
			  <input id="urlhttp_<%=i%>" type="hidden" size="2" value="<%if left(rs("Wma"),4)="http" then%>1<%else%>0<%end if%>"/>
            </div>
<% 
rs.close
set rs=nothing
next
%>
            
          </div>
          <p><form name="search" name="serch" action="../../user/search.asp" method="post" target="_blank"><input type="radio" value="Music" name="stype" style="display:none" id="stype" checked><input name="keyword" id="keyword" type="text" style="width:145px;height:17px;border:#E8CA78 1px solid;" /> <input name="submit" type="submit" class="i1" id="submit" value="搜&nbsp;&nbsp;索" />
<input type="button" name="" value="上一首" class="i6" onclick="javascript:pu.doPlayNext(-1);"/>&nbsp;&nbsp;<input type="button" name="" value="下一首" class="i6" onclick="javascript:pu.doPlayNext(1);"/>
</form>
</p>
        </div>
      </div>
      <div class="r">
        <div class="gc">
<script type="text/javascript">
document.write("<iframe id=\"lrcurl\" scrolling=\"no\" topmargin=\"0\" width=\"99%\" height=\"145\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" ");
document.write(" src=\"/lrc.html\" ></iframe>");
</script> 
        </div>
        <div>
		<script type="text/javascript">
document.write("<iframe id=\"ivrloop\" scrolling=\"no\" topmargin=\"0\" width=\"300\" height=\"300\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" ");
document.write(" src=\"/lrc.html\" ></iframe>");
</script> 
		</div>
      </div>
    </div>
  </div>
</div>
<iframe id="ctr" name="ctr" marginWidth="0" marginHeight="0"  src="" frameBorder="0" width="0" scrolling="no" height="0"></iframe>
<script type="text/javascript">
var pu = new PlayerUtils();
pu.utils(0);
pu.doPlay();
</script>
<IFRAME marginWidth=0 marginHeight=0 src=http://www.17tmp3.com/tongji.htm frameBorder=0 width=0 scrolling=no height=0 topmargin=0 leftmargin=0></IFRAME>
</body>
</html>