📄 edxsky_music.js
字号:
function fav_music(ftype,fid)
{
open_win('music_fav.asp?action=add&types='+ftype+'&id='+fid,'music_fav_action',50,50,'no');
}
function music_bar_top(tvar)
{
var temp1="<table border=0 width=177 cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/"+tvar+".gif' border=0></td></tr>";
temp1+="<tr><td height=5></td></tr><tr><td>";
temp1+="<table border=0 width='100%' cellspacing=0 cellpadding=2>";
temp1+="<tr><td width='80%'></td><td width='20%'></td></tr>";
document.write (temp1);
}
function music_bar_top1(tvar)
{
var temp1="<table border=0 cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/"+tvar+".gif' border=0></td></tr>";
temp1+="<tr><td height=5></td></tr><tr><td>";
temp1+="<table border=0 width='100%' cellspacing=0 cellpadding=2>";
temp1+="<tr><td width='117'></td><td width='*'></td></tr>";
document.write (temp1);
}
function music_bar_end()
{
var temp1="";
temp1="</table>";
temp1+="</td></tr></table>";
document.write (temp1+ukong);
}
function music_list_top(tvar)
{
var temp1="<table border=0 class=mtb cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/"+tvar+".gif' border=0></td></tr>";
temp1+="</table>";
temp1+="<table cellspacing=1 cellpadding=1 class=mtable>";
temp1+="<form name=form2 action='music_pass.asp' target='lbsong'>";
temp1+="<tr class=mtd height=30>";
temp1+="<td width='5%' align=center>序号</td>";
temp1+="<td width='28%' align=center>歌曲名称</td>";
temp1+="<td width='16%' align=center>歌手</td>";
temp1+="<td width='4%' align=center>试听</td>";
temp1+="<td width='4%' align=center>下载</td>";
temp1+="<td width='4%' align=center>歌词</td>";
temp1+="<td width='4%' align=center>点歌</td>";
temp1+="<td width='4%' align=center>收藏</td>";
temp1+="<td width='4%' align=center>选择</td></tr>";
document.write (temp1);
}
function music_fav_top(tvar,song)
{
var temp1="<table border=0 class=mtb cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/"+tvar+".gif' border=0></td></tr>";
temp1+="</table>";
temp1+="<table cellspacing=1 cellpadding=1 class=mtable>";
temp1+="<form name=sel_id action='?action=del' method=post>";
temp1+="<tr class=mtd height=30>";
temp1+="<td width='7%' align=center>序号</td>";
if(song=="1")
{
temp1+="<td width='52%' align=center>歌曲名称</td>";
}
else
{
temp1+="<td width='52%' align=center>专辑名称</td>";
}
temp1+="<td width='20%' align=center>歌手</td>";
if(song=="1")
{
temp1+="<td width='7%' align=center>试听</td>";
temp1+="<td width='7%' align=center>下载</td>";
}
else
{
temp1+="<td width='14%' align=center>发行时间</td>";
}
temp1+="<td width='7%' align=center>选择</td></tr>";
document.write (temp1);
}
function music_fav(i,b_id,b_cid,b_sid,b_nid,b_top,b_sin,b_hit,play,song,id)
{
var temp1="<tr align=center height=22 class=mbg_td>";
temp1+="<td class=tims>"+i+"</td>";
temp1+="<td align=left>";
var ckimg
if(play=="1")
{ ckimg="small_wma_s" }
else
{ if(play=="2")
{ ckimg="small_real_s" }
else
{ ckimg="small_mp3_s" } }
if(song=="1")
{ temp1+="<img src=images/music/"+ckimg+".gif border=0>"; }
if(song=="1")
{ temp1+=" "+code_html(b_top,1,13)+"</td>"; }
else
{ temp1+=" <a href='music_disk_view.asp?id="+b_id+"'>"+code_html(b_top,1,13)+"</a></td>"; }
temp1+="<td><a href='javascript:;' alt='查看歌手 "+code_html(b_sin,1,0)+" 的信息' onclick=\"javascript:open_view('music_singer_view.asp?c_id="+b_cid+"&s_id="+b_sid+"&n_id="+b_nid+"',1);\">"+code_html(b_sin,1,0)+"</a></td>";
if(song=="1")
{
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_win('music_pass.asp?id="+b_id+"','music_pass',1,1,'no');\"><img src='images/music/play.gif' border=0></a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_view('music_down.asp?id="+b_id+"',1);\"><img src='images/music/download.gif' border=0 ></a></td>";
}
else
{ temp1+="<td class=tims>"+song+"</td>"; }
temp1+="<td><input type='checkbox' name='sel_id' value='"+id+"'></td></tr>";
document.write (temp1);
}
function music_fav_end()
{
var temp1="<tr><td colspan=9 class=mbg_tds height=30 align=center>";
temp1+="<input type='button' name='chkall' value='全部选择' onclick='CheckAll(this.form)'> ";
temp1+="<input type='button' name='chkothers' value='反向选择' onclick='CheckOthers(this.form)'> ";
temp1+="<input type='submit' name='sel_id' value='删除所选的收藏' onClick=\"javascript:music_check_play(this.form,'no');\">";
temp1+="</td></tr></form></table>";
temp1+="<table border=0 class=mtb cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/center_song_end.gif' border=0></td></tr>";
temp1+="</table>";
document.write (temp1+ukong);
}
function music_list_end()
{
var temp1="<tr><td colspan=9 class=mbg_tds height=30 align=center>";
temp1+="<input type='button' name='chkall' value='全部选择' onclick='CheckAll(this.form)'> ";
temp1+="<input type='button' name='chkothers' value='反向选择' onclick='CheckOthers(this.form)'> ";
temp1+="<input type='submit' name='b1' value='播放所选'>";
temp1+="</td></tr></form></table>";
temp1+="<table border=0 class=mtb cellspacing=0 cellpadding=0 align=center>";
temp1+="<tr><td><img src='images/music/center_song_end.gif' border=0></td></tr>";
temp1+="</table>";
document.write (temp1+ukong);
}
function music_topic_hot(b_c_num,b_topic,b_hit,n_url,play)
{
var ckimg
if(play=="0")
{ ckimg="h_music_disk" }
else{
if(play=="1")
{ ckimg="small_wma_s" }
else
{ if(play=="2")
{ ckimg="small_real_s" }
else
{ ckimg="small_mp3_s" } } }
var temp1="<tr><td><img src=images/music/"+ckimg+".gif border=0> <a href='javascript:;' onclick=\"javascript:open_view('"+n_url+"',1);\" alt='浏览专辑:"+code_html(b_topic,1,0)+"'>"+code_html(b_topic,1,b_c_num)+"</a></td><td align=right class=tims>"+b_hit+"</td></tr>";
document.write (temp1);
}
function music_topic_top(b_c_num,b_topic,b_hit,b_id,play)
{
var ckimg
if(play=="0")
{ ckimg="h_music_disk" }
else{
if(play=="1")
{ ckimg="small_wma_s" }
else
{ if(play=="2")
{ ckimg="small_real_s" }
else
{ ckimg="small_mp3_s" } } }
var temp1="<tr><td><img src=images/music/"+ckimg+".gif border=0> <a href='javascript:;' onclick=\"javascript:open_win('music_pass.asp?id="+b_id+"','music_pass',1,1,'no');\" alt='播放歌曲:"+code_html(b_topic,1,0)+"'>"+code_html(b_topic,1,b_c_num)+"</a></td><td align=right class=tims>"+b_hit+"</td></tr>";
document.write (temp1);
}
function music_topic_new(b_c_num,b_topic,b_topic2,b_cid,b_sid,b_nid,b_id,b_hit,b_tim)
{
var temp1="";
temp1+="<tr><td><img src=images/music/h_music_disk.gif border=0> <a href='javascript:;' onclick=\"javascript:open_view('music_disk_view.asp?id="+b_id+"',1);\">"+code_html(b_topic,1,b_c_num)+"</a></td><td width='20%' align=center height=16><a href='javascript:;' onclick=\"javascript:open_view('music_singer_view.asp?c_id="+b_cid+"&s_id="+b_sid+"&n_id="+b_nid+"',1);\">"+code_html(b_topic2,1,0)+"</a></td><td width='20%' align=center height=16>"+b_tim+"</td><td width='10%' align=center height=16>"+b_hit+"</td></tr>";
document.write (temp1);
}
function music_disk_good(b_c_num,b_topic,b_topic2,b_cid,b_sid,b_nid,b_id,b_tim,b_com,b_lan)
{
var temp1="";
temp1+="<table border=0 width='100%'><tr><td>名称:<b><a href='javascript:;' onclick=\"javascript:open_view('music_disk_view.asp?id="+b_id+"',1);\" alt='"+code_html(b_topic,1,0)+"'>"+code_html(b_topic,1,b_c_num)+"</a></b></td></tr><tr><td>歌手:<a href='javascript:;' onclick=\"javascript:open_view('music_singer_view.asp?c_id="+b_cid+"&s_id="+b_sid+"&n_id="+b_nid+"',1);\">"+code_html(b_topic2,1,0)+"</a></td></tr><tr><td>公司:"+b_com+"</td></tr><tr><td>语言:"+b_lan+"</td></tr><tr><td>发行:<font class=tims>"+b_tim+"</font></td></tr></table>";
document.write (temp1);
}
function music_list(i,b_id,b_cid,b_sid,b_nid,b_top,b_sin,b_hit,play)
{
var temp1="<tr align=center height=22 class=mbg_td>";
temp1+="<td class=tims>"+i+"</td>";
temp1+="<td align=left>";
var ckimg
if(play=="1")
{ ckimg="small_wma_s" }
else
{ if(play=="2")
{ ckimg="small_real_s" }
else
{ ckimg="small_mp3_s" } }
temp1+="<img src=images/music/"+ckimg+".gif border=0> "+code_html(b_top,1,13)+"</td>";
temp1+="<td><a href='javascript:;' alt='查看歌手 "+code_html(b_sin,1,0)+" 的信息' onclick=\"javascript:open_view('music_singer_view.asp?c_id="+b_cid+"&s_id="+b_sid+"&n_id="+b_nid+"',1);\">"+code_html(b_sin,1,0)+"</a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_win('music_pass.asp?id="+b_id+"','m_pass',1,1,'no');\"><img src='images/music/play.gif' border=0></a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_win('music_down.asp?id="+b_id+"','m_down',500,180,'no');\"><img src='images/music/download.gif' border=0 ></a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_win('http://mp3search.baidu.com/wstsearch?tn=baidump3lyric&ct=150994944&rn=10&word="+b_top+"');\"><img src='images/music/book.gif' border=0></a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:open_win('music_send.asp?id="+b_id+"','m_send',500,288,'no');\"><img src='images/music/smusic.gif' border=0></a></td>";
temp1+="<td><a href='javascript:;' onclick=\"javascript:fav_music('song','"+b_id+"')\";><img src='images/music/favadd.gif' border=0></a></td>";
temp1+="<td><input type='checkbox' name='checked' value='"+b_id+"'></td></tr>";
document.write (temp1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -