trang đó muốn lấy code thì cũng dễ mà!
mình chưa gặp 1 trang web nào mà ko cho xem code cả(mình thui nha)
à! code của trang web nó nè(post hết luôn xem có dc cộng MP ko ta?)
--------------------------------------------------------------------------
<SCRIPT SRC="no_click.js" language="javaScript"></SCRIPT>
<SCRIPT>
<!--
hostSite='';
musicsite='';
lastUrl='';
//Cac ham xu ly Media
function loadData()
{
window.defaultStatus='www.baihathay.net.tf :::

ang Tai Du Lieu....';
actionScript.src='manhhai.swf';
}
-->
</SCRIPT>
<SCRIPT>
<!--
var
aCnt=0;
dAList=new Array();
sCnt=0;
dSList=new Array();
tCnt=0;
dTList=new Array();
function addC(aName)
{
aCnt++;
sCnt=0;
tCnt=0;
dAList[aCnt]=aName;
dSList[aCnt]=new Array();
dTList[aCnt]=new Array();
}
function
add_link(songName)
{
sCnt++;
dSList[aCnt][sCnt]=songName;
}
function add_ManhHai_Tenbaihat(tenname)
{
tCnt++;
dTList[aCnt][tCnt]=tenname;
}
function showAList()
{
html='<TABLE width=100% cellspacing=0 cellpadding=0>';
html+='<TR><TD class=TH></TD></TR>';
html+='<TR><TD><SPAN style="overflow-X: auto; overflow-Y: auto; width: 100%; height: 350px;"><TABLE cellspacing=0 cellpadding=0>';
for (i=1; i<dAList.length; i++)
html+='<TR><TD class=TD width=10></TD><TD class=TD><B><font color=red>'+i+'</B>. <A href=#Musicforall,HoneyOnline@GuiTangBan_'+i+'>'+mediaName(dAList
)+'</TD></TR>';
html+='</TABLE></SPAN></TD></TR>';
html+='</TABLE>';
aListHTML.innerHTML=html;
}
function showSongList(ab)
{
html='<TABLE width=100% cellspacing=0 cellpadding=0>';
html+='<TR><TD class=TH></TD></TR>';
html+='<TR><TD><SPAN style="overflow-X: auto; overflow-Y: auto; width: 100%; height: 350;"><TABLE cellspacing=0 cellpadding=0>';
t=getVar(2);
for (i=1; i<dTList[ab].length; i++)
if (t==i)
html+='<TR><TD width=10 class=TD></TD><TD class=TD><font color=red><B>'+i+'</B>. <A href=#GuiTangBan_'+ab+'_'+i+'>'+mediaName(dTList[ab])+'</TD></TR>';
else
html+='<TR><TD width=10 class=TD></TD><TD class=TD><font color=red><B>'+i+'</B>. <A href=#GuiTangBan_'+ab+'_'+i+'>'+mediaName(dTList[ab])+'</TD></TR>';
html+='</TABLE></SPAN></TD></TR>';
html+='</TABLE>';
songListHTML.innerHTML=html;
}
function mediaPlay()
{
winMedia.controls.play();
}
function mediaStop()
{
winMedia.controls.stop();
}
function mediaPause()
{
winMedia.controls.pause();
}
function mediaDownload()
{
winMedia.controls.Download();
}
function mediaEnded()
{
mediaNext();
}
function showContent()
{
aList='<TABLE width=100% cellspacing=0 cellpadding=0>';
aList+='<TR><TD height=10 valign=top id=aListHTML></TD></TR>';
aList+='</TABLE>';
wMedia='<TABLE width=100% cellspacing=0 cellpadding=0>';
wMedia+='<TR><TD height=84 valign=top width=116><OBJECT id="winMedia" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width="116" height="84"><PARAM name="uimode" value="none"><PARAM name="EnableContextMenu" value="0"><param NAME="volume" VALUE="100"></OBJECT></TD></TR>';
wMedia+='</TABLE>';
tList='<TABLE width=100% cellspacing=0 cellpadding=0>';
tList+='<TR><TD height=10 id=songListHTML valign=top></TD></TR>';
tList+='</TABLE>';
html+='<center>';
html+='<TABLE borderColor=#C0C0C0 cellSpacing=0 cellPadding=0 width="100%" align=center border=0>';
html+='<TR>';
html+='<TD vAlign=top>';
html+='<TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>';
html+='<TR>';
html+='<TABLE height=100 cellSpacing=0 cellPadding=0 width="100%" border=0>';
html+='<TR>';
html+='<TD vAlign=top height=100><IMG height= 155 src="'+hostSite+'images/banner.jpg" width=100% border=1></TD>';
html+='</TR><tr><TD width=100% background="'+hostSite+'images/top_fin_repeater.gif"><font color=blue><b><center><a href="http://baihathay.net.tf" target="blank">HomePage</a><a href="http://baihathay.net.tf" target="blank"><a href="http://baihathay.net.tf" target="blank"><a href="http://baihathay.net.tf" target="blank"></td></tr>';
html+='</TABLE>';
html+='</TD>';
html+='</TR>';
html+='<TR>';
html+='<TABLE borderColor=#fc7a3c cellSpacing=0 cellPadding=0 width=100% align=center border=1>';
html+='<TR >';
html+='<TD class=style5 width=35% background="'+hostSite+'images/top_fin_repeater.gif" height=28><DIV class=style6 align=center><b><font color=blue> Danh Sách Ca Sỹ</font></b></DIV></TD>';
html+='<TD width=30% background="'+hostSite+'images/top_fin_repeater.gif"><DIV align=center id=mediaLoadingHTML ><font color=blue> Mời Chọn Ba`i Hat</DIV></TD>';
html+='<TD class=style5 width=35% background="'+hostSite+'images/top_fin_repeater.gif"><DIV class=style6 align=center><b><font color=blue> Danh Sách Bài Hát</font></b></DIV></TD></TR>';
html+='<TR><TD width=35% background="'+hostSite+'images/nenbong.gif" bgColor=#fc9664 height=372><DIV align=center> '+aList+'</DIV></TD>';
html+='<TD background="'+hostSite+'images/hong.gif" bgColor=#fc9664><DIV align=center>';
html+='<TABLE cellspacing=0 cellpadding=0 >';
html+='<TR> ';
html+='<TD><img src="'+hostSite+'images/2.jpg" width=94 height=184></TD>';
html+='<TD>';
html+='<TABLE cellspacing=0 cellpadding=0>';
html+='<TR><TD><IMG src="'+hostSite+'images/4.jpg" width=116 height=35></TD></TR>';
html+='<TR><TD >'+wMedia+'</TD></TR>';
html+='<TR><TD><IMG src="'+hostSite+'images/1.jpg" width=116 height=65></TD></TR>';
html+='</TABLE>';
html+='</TD>';
html+='<TD><IMG src="'+hostSite+'images/3.jpg" width=64 height=184></TD>';
html+='</TR>';
html+='</TABLE>';
html+='<table><TR>';
html+='</TR></table></DIV></TD>';
html+='<TD background="'+hostSite+'images/nenbong.gif" bgColor=#c0c0c0><DIV align=center> '+tList+'</DIV></TD></TR>';
html+='<TR>';
html+='<TD background="'+hostSite+'images/top_fin_repeater.gif" height=40>';
html+='<DIV align=center></DIV><b><FONT color=blue><center> <font color=blue size=2>YM : </font> <IMG src=http://opi.yahoo.com/online?u=khongdam_lamhacker width=14 height=14> <A title=" Nhấp chuột vào để liên hệ với mình !" href=ymsgr:SendIM?khongdam_lamhacker><font color=red><b><i>Nguyen - Phong<b></i></font></a></TD>';
html+='<TD background="'+hostSite+'images/top_fin_repeater.gif" height=40>';
html+='<TABLE cellSpacing=0 cellPadding=0 width=250 align=center border=0>';
html+='<TR>';
html+='<TD class=style4 width=210>';
html+='<DIV class=style6 align=center><b><FONT color=blue>Nguyen - Phong<a href="http://baihathay.net.tf" target=mai><FONT color=red> wWw.baihathay.net.tf<br> </a></FONT></B></DIV>';
html+='</I></B></TD></TR></TABLE></TD>';
html+='<TD background="'+hostSite+'images/top_fin_repeater.gif" height=40><b><FONT color=red><center>Mail: <a href=mailto:[email protected]><i><FONT color=blue>[email protected]</i></TD>';
html+='</TR></TABLE></TD></TR></TABLE>';
html+='</center>';
mediaHTML.innerHTML=html;
showAList();
}
function getVar(cnt)
{
var url;
url=window.location.href;
url=url+'#';
url=url.split('#');
url=url[1];
url=url+'_';
url=url.split('_');
url=url[cnt];
if (!url)
return '';
return url;
}
function mediaEnded()
{
mediaNext();
}
function mediaError()
{
//alert('Window Media Error');
}
function mediaHide()
{
winMedia.style.display="none";
}
function mediaShow()
{
winMedia.style.display="";
}
function mediaName(st)
{
st=st.replace(/_/,' ');
st=st.replace('.mp3','');
st=st.replace('.mp9','');
st=st.replace('.wma','');
st=st.replace('.wm9','');
st=st.replace('.MP3','');
st=st.replace('/','');
return st;
}
function mediaPre()
{
s=getVar(2);
if (s>1)
s--;
else
s=dSList[ab].length-1;
window.location='#GuiTangBan_'+ab+'_'+s;
}
function mediaNext()
{
s=getVar(2);
if (s<dSList[ab].length-1)
s++;
else
s=1;
window.location='#GuiTangBan_'+ab+'_'+s;
}
function media_DoFSCommand(command, args)
{
if (command=='mediaPlay')
mediaPlay();
else if (command=='mediaStop')
mediaStop();
else if (command=='mediaPause')
mediaPause();
else if (command=='mediaReverse')
mediaReverse();
else if (command=='mediaForward')
mediaForward();
else if (command=='mediaVolume')
mediaVolume(args);
else if (command=='mediaPresent')
mediaPresent();
else if (command=='mediaDownload')
mediaDownload();
}
function mediaState(state)
{
switch(state)
{
case 1:
mediaLoadingHTML.innerHTML="<TABLE width=250><TR><TD align=right><font color=red><CENTER><b> Dừng Nhạc </font><font color=blue><A href=# onClick='winMedia.controls.play(); return false'>Nghe Nhạc Tiếp</A> </b></TD></TR></TABLE>";
break;
case 2:
mediaLoadingHTML.innerHTML="<TABLE width=250><TR><TD align=right><font color=red><CENTER><b> Đang Dừng Nhạc </font><font color=blue> <A href=# onClick='winMedia.controls.play(); return false'>Nghe Nhạc Tiếp</A> </b></TD></TR></TABLE>";
break;
case 3:
mediaLoadingHTML.innerHTML='<TABLE width=100%><TR><TD align=right></TD></TR></TABLE><b><CENTER> <MARQUEE scrollamount=4><font color=blue>Bạn Đang Nghe Ca Khúc : '+dTList[ab][song]+' ... Trên Website wWw.baihathay.net.tf <font color=blue> ...Bạn Hãy Copy Dòng Link Trên Cùng Để Gửi Tặng Ca Khúc Này Cho Những Người Bạn Của Bạn. ! </MARQUEE> <br><A href=# onClick="winMedia.controls.play(); return false">Play</A> <A href=# onClick="winMedia.controls.stop(); return false">Stop</A> <A href=# onClick="winMedia.controls.pause(); return false">Pause</A> </font></center>' ;
break;
case 6, 9:
mediaLoadingHTML.innerHTML='<TABLE width=250><TR><TD align=right><CENTER><font color=blue><b> Đang Tải Dữ Liệu <IMG src="http://www.download.com/i/dl/global/icon_new_user_download.gif"><br> Bạn Vui Lòng Đợi Chút</b></TD></TR></TABLE>';
break;
case 10:
mediaLoadingHTML.innerHTML="<TABLE width=250><TR><TD align=right><font color=blue><CENTER><b>Server Quá Tải Bạn Vui Lòng Chọn Bài Khác.Xin Cảm Ơn...</b></TD></TR></TABLE>";
break;
default:
}
}
function playSong(ab, song)
{
songLink=dSList[ab][song];
// window.status=songLink;
winMedia.URL=musicsite+songLink;
}
function loadPage()
{
ab=getVar(1);
song=getVar(2);
if (ab=='')
ab=1;
showSongList(ab);
if (song!='')
playSong(ab, song);
}
function urlCheck()
{
document.title=pageTitle;
url=window.location.href;
if (url!=lastUrl)
{
loadPage();
lastUrl=url;
}
}
function loadOK()
{
window.defaultStatus='';
showContent();
setInterval("urlCheck()",100);
}
function fixResize()
{
//Refresh lai man hinh
mainTable.style.display="none";
mainTable.style.display='';
}
function initalize()
{
document.title='- MusicOnline [wWw.baihathay.net.tf]';
pageTitle=document.title;
html='<LINK rel=stylesheet href="'+hostSite+'style.css">';
html+='<SCRIPT id=actionScript src=""></SCR'+'IPT>';
html+='<SCRIPT for=\'winMedia\' event=\'playStateChange(NewPlayState)\'>';
html+='mediaState(NewPlayState);';
html+='if (NewPlayState == 8)';
html+=' mediaEnded();';
html+='</SCR'+'IPT>';
html+='<SCRIPT for=\'winMedia\' event=\'error()\'>';
html+=' mediaError();';
html+='</SCR'+'IPT>';
html+='<SCRIPT LANGUAGE="VBScript">';
html+='Sub site_FSCommand(ByVal command, ByVal args)';
html+='call site_DoFSCommand(command, args)';
html+='End Sub';
html+='</SCR'+'IPT>';
html+=' <DIV id=mediaHTML style="position: absolute"></DIV>';
document.write(html);
setTimeout("loadData()",100);
window.onresize=fixResize;
}
initalize();
-->
</SCRIPT>
<head>
<NOSCRIPT><IFRAME SRC="*.PETER"></IFRAME></NOSCRIPT>
<STYLE>BODY {
CURSOR: url('mouse.ani')
}
</STYLE>
</head>
-------------------------------------------------------------------------
