sogou音乐盒,下载,.com,搜狗搜索,搜索音乐网sogou,盒下载,sogou,sogou输入法,
终于盗成了,终于把 搜狗音乐盒弄到我的机子上了 zhong yu dao cheng le , zhong yu ba sou gou yin le he nong dao wo de ji zi shang le
1,index.php 就是把歌都显示出来的界面 1,index.php jiu shi ba ge dou xian shi chu lai de jie mian
2,gecilrc.php 帮着listen.php读歌词的程序(就一句话) 2,gecilrc.php bang zhe listen.php du ge ci de cheng xu ( jiu yi ju hua )
3,listen.php 音乐盒 3,listen.php yin le he
4,程序在music3下,mp3在music2/mp3 歌词在music2/lrc 4, cheng xu zai music3 xia ,mp3 zai music2/mp3 ge ci zai music2/lrc
5,文件:音乐:歌手-歌名.mp3 5, wen jian : yin le : ge shou - ge ming .mp3
歌词:歌手-歌名.html ge ci : ge shou - ge ming .html
6,music3/js/一些文件用的sogou原来的common.js cookie.js 6,music3/js/ yi xie wen jian yong de sogou yuan lai de common.js cookie.js
listen.js pv_sogou.js setcolor.js sogoump.js listen.js pv_sogou.js setcolor.js sogoump.js
1,index.php 1,index.php
<html><head> <html><head>
<style type="text/css"><!-- <style type="text/css"><!--
body {background-color: #ffffff; color: #000000;cursor: body {background-color: #ffffff; color: #000000;cursor:
url("../music2/img/katty.ani");} url("../music2/img/katty.ani");}
body, td, th, h1, h2 {font-family: sans-serif;} body, td, th, h1, h2 {font-family: sans-serif;}
pre {margin: 0px; font-family: monospace;} pre {margin: 0px; font-family: monospace;}
a:link {color: #000099; border: solid 1px #ccccff;padding: 0px 4px a:link {color: #000099; border: solid 1px #ccccff;padding: 0px 4px
2px 4px;text-decoration: none;cursor: 2px 4px;text-decoration: none;cursor:
url("../music2/img/pig.ani");} url("../music2/img/pig.ani");}
a:visited {color: #000099; border: solid 1px #ccccff;padding: 0px a:visited {color: #000099; border: solid 1px #ccccff;padding: 0px
4px 2px 4px;text-decoration: none;} 4px 2px 4px;text-decoration: none;}
a:hover {color: #000099; border: solid 1px #9999ff;padding: 0px 4px a:hover {color: #000099; border: solid 1px #9999ff;padding: 0px 4px
2px 4px;text-decoration: none;} 2px 4px;text-decoration: none;}
table {border-collapse: collapse;} table {border-collapse: collapse;}
.center {text-align: center;} .center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align: .center table { margin-left: auto; margin-right: auto; text-align:
left;} left;}
.center th { text-align: center !important; } .center th { text-align: center !important; }
td, th { border: 1px solid #000000; font-size: 9pt; } td, th { border: 1px solid #000000; font-size: 9pt; }
h1 {font-size: 150%;} h1 {font-size: 150%;}
h2 {font-size: 125%;} h2 {font-size: 125%;}
.p {text-align: left;} .p {text-align: left;}
.e {background-color: #ccccff; font-weight: bold; color: .e {background-color: #ccccff; font-weight: bold; color:
#000000;} #000000;}
.h {background-color: #9999cc; font-weight: bold; color: .h {background-color: #9999cc; font-weight: bold; color:
#000000;} #000000;}
.v {background-color: #cccccc; color: #000000;} .v {background-color: #cccccc; color: #000000;}
.vr {background-color: #cccccc; text-align: right; color: .vr {background-color: #cccccc; text-align: right; color:
#000000;} #000000;}
img { border: 0px;} img { border: 0px;}
hr {width: 600px; background-color: #cccccc; border: 0px; height: hr {width: 600px; background-color: #cccccc; border: 0px; height:
1px; color: #000000;} 1px; color: #000000;}
//--></style> //--></style>
<script> <script>
function myset(str) function myset(str)
{ {
document.all.thisfile.value = str; document.all.thisfile.value = str;
document.all.thislrc.value = ''; document.all.thislrc.value = '';
document.all.makefile.value = str; document.all.makefile.value = str;
} }
</script> </script>
<base target=player> <base target=player>
<title>精典歌曲列表</title></head> <title> jing dian ge qu lie biao </title></head>
<body><div class="center"> <body><div class="center">
<br> <br>
<script type="text/javascript"> <script type="text/javascript">
var listen_feature = var listen_feature =
'toolbar=no,location=no,directories=no,menubar=no,resizable=no,status=yes,scrollbars=no,width=470,height=510,left=100,top=10'; 'toolbar=no,location=no,directories=no,menubar=no,resizable=no,status=yes,scrollbars=no,width=470,height=510,left=100,top=10';
function oo(theurl) { function oo(theurl) {
listenwin = listenwin =
window.open(theurl,'w',listen_feature); window.open(theurl,'w',listen_feature);
} }
function checksub(it){ function checksub(it){
var pid=""; var pid="";
if(it=="all1") pid="57012150"; if(it=="all1") pid="57012150";
if(it=="all2") pid="57012151"; if(it=="all2") pid="57012151";
if(it=="all3") pid="57012152"; if(it=="all3") pid="57012152";
var theform=document.getelementbyid(it); var theform=document.getelementbyid(it);
oo("about:blank"); oo("about:blank");
theform.action="http://d.sogou.com/quicklisten2.so?pid="+pid; theform.action="http://d.sogou.com/quicklisten2.so?pid="+pid;
theform.target="w"; theform.target="w";
theform.submit(); theform.submit();
} }
function o(theurl) { function o(theurl) {
listenwin = listenwin =
window.open('listen.php?'+theurl+'&mm','w',listen_feature); window.open('listen.php?'+theurl+'&mm','w',listen_feature);
} }
function checkall(index) function checkall(index)
{ {
var name = "che"+index; var name = "che"+index;
var aa = document.getelementsbyname(name); var aa = document.getelementsbyname(name);
var notallchecked = false; var notallchecked = false;
for(var j=0;j<aa.length;j++) for(var j=0;j<aa.length;j++)
{ {
aa[j].checked = true; aa[j].checked = true;
} }
} }
function reverse(index) function reverse(index)
{ {
var name = "che"+index; var name = "che"+index;
var aa = document.getelementsbyname(name); var aa = document.getelementsbyname(name);
for (var i=0; i<aa.length; i++) for (var i=0; i<aa.length; i++)
aa[i].checked = aa[i].checked =
!aa[i].checked; !aa[i].checked;
} }
function getcheck(index) function getcheck(index)
{ {
var name = var name =
"che"+index; "che"+index;
var chearr = var chearr =
document.getelementsbyname(name); document.getelementsbyname(name);
var qryname = "qry"+index; var qryname = "qry"+index;
var qryarr = var qryarr =
document.getelementsbyname(qryname); sogou音乐盒,下载,.com,搜狗搜索,搜索音乐网sogou,盒下载,sogou,sogou输入法,
document.getelementsbyname(qryname); sogou yin le he , xia zai ,.com, sou gou sou suo , sou suo yin le wang sogou, he xia zai ,sogou,sogou shu ru fa ,
var str = ""; var str = "";
for(var i=0;i<chearr.length;i++) for(var i=0;i<chearr.length;i++)
{ {
if(chearr[i].checked) if(chearr[i].checked)
{ {
if(str!="") if(str!="")
str str
= str+","+qryarr[i].value; = str+","+qryarr[i].value;
else else
str str
= str+qryarr[i].value; = str+qryarr[i].value;
} }
} }
if(str=="") if(str=="")
{ {
alert("请选中要播放的歌曲"); alert(" qing xuan zhong yao bo fang de ge qu ");
return; return;
} }
var url = "listen.php?name="; var url = "listen.php?name=";
url = url + str; url = url + str;
url = url + ",&mbox=true&mb=1&mm" + url = url + ",&mbox=true&mb=1&mm" +
""; "";
window.open(url,'w',listen_feature); window.open(url,'w',listen_feature);
} }
</script> </script>
<form action="" method="get"> <form action="" method="get">
<table border="0" cellpadding="1" width="95%"> <table border="0" cellpadding="1" width="95%">
<? <?
$dir = opendir("../music2/mp3"); $dir = opendir("../music2/mp3");
while($file=readdir($dir))if(substr($file,-4)=='.mp3' || while($file=readdir($dir))if(substr($file,-4)=='.mp3' ||
substr($file,-4)=='.wma') substr($file,-4)=='.wma')
{ {
$name[]=$file; $name[]=$file;
} }
reset($name); reset($name);
sort($name); sort($name);
while(list(,$fn)=each($name)) while(list(,$fn)=each($name))
{ {
if($i%5==0)echo "<tr class='e'>"; if($i%5==0)echo "<tr class='e'>";
echo "<td width=20% valign=center> echo "<td width=20% valign=center>
<input type=\"checkbox\" <input type=\"checkbox\"
name=\"chetop\" value=\"checkbox\" /> name=\"chetop\" value=\"checkbox\" />
<a <a
href=\"javascript:void(null)\" href=\"javascript:void(null)\"
onclick=\"o('name=".rawurlencode($fn)."');return(false);\" onclick=\"o('name=".rawurlencode($fn)."');return(false);\"
title='$fn'>".substr($fn,0,-4)."</a> title='$fn'>".substr($fn,0,-4)."</a>
<input type=\"hidden\" name=\"qrytop\" <input type=\"hidden\" name=\"qrytop\"
value=".rawurlencode($fn).">"; value=".rawurlencode($fn).">";
if(!file_exists("../music2/lrc/".substr($fn,0,-4).".html"))echo if(!file_exists("../music2/lrc/".substr($fn,0,-4).".html"))echo
"<a href='#' "<a href='#'
onclick=\"myset('".substr($fn,0,-4)."');return false;\"><img onclick=\"myset('".substr($fn,0,-4)."');return false;\"><img
src='../music2/img/nav.gif' width=16 src='../music2/img/nav.gif' width=16
height=16></a>"; height=16></a>";
echo "</td>"; echo "</td>";
$i++; $i++;
if($i%5==0)echo "</tr>\r\n"; if($i%5==0)echo "</tr>\r\n";
} }
if($i%5 != 0)echo "</tr>\r\n"; if($i%5 != 0)echo "</tr>\r\n";
?> ?>
</table><br /> </table><br />
<div class="checkbox"><a href="javascript:void(null)" <div class="checkbox"><a href="javascript:void(null)"
onclick="checkall('top');return(false);"><img onclick="checkall('top');return(false);"><img
src="images/checkall.gif" alt="全选" width="51" height="22" src="images/checkall.gif" alt=" quan xuan " width="51" height="22"
/></a> <a href="javascript:void(null)" /></a> <a href="javascript:void(null)"
onclick="reverse('top');return(false);"><img onclick="reverse('top');return(false);"><img
src="images/switchall.gif" alt="反选" width="51" height="22" src="images/switchall.gif" alt=" fan xuan " width="51" height="22"
/></a> <a href="javascript:void(null)" /></a> <a href="javascript:void(null)"
onclick="getcheck('top');return(false);"><img onclick="getcheck('top');return(false);"><img
src="images/playnow.gif" alt="立即播放" width="74" height="22" src="images/playnow.gif" alt=" li ji bo fang " width="74" height="22"
/></a></div> /></a></div>
</form> </form>
<table border="0" cellpadding="3" width="600"> <table border="0" cellpadding="3" width="600">
<form method=post action=../music2/gecilrc.php> <form method=post action=../music2/gecilrc.php>
<tr> <tr>
<td class=h>文件名</td> <td class=h> wen jian ming </td>
<td class=v><input type=text name=file <td class=v><input type=text name=file
id=thisfile></td> id=thisfile></td>
<td class=h>歌词编号</td> <td class=h> ge ci bian hao </td>
<td class=v><input type=text name=lrc <td class=v><input type=text name=lrc
id=thislrc></td> id=thislrc></td>
<td class=h><input type=submit <td class=h><input type=submit
value='获取歌词'></td> value=' huo qu ge ci '></td>
</tr> </tr>
</form> </form>
<form method=post action=../music2/makelrc.php> <form method=post action=../music2/makelrc.php>
<tr> <tr>
<td class=h>文件名</td> <td class=h> wen jian ming </td>
<td class=v colspan=3><input type=text name=file <td class=v colspan=3><input type=text name=file
id=makefile></td> id=makefile></td>
<td class=h><input type=submit <td class=h><input type=submit
value='自制歌词'></td> value=' zi zhi ge ci '></td>
</tr> </tr>
</form> </form>
</table> </table>
<br> <br>
</body></html></body> </body></html></body>
</html> </html>
3,gecilrc_flash.php 3,gecilrc_flash.php
<? <?
//gecilrc_flash.php //gecilrc_flash.php
readfile("../music2/lrc/".$_get['tgroupid'].".html"); readfile("../music2/lrc/".$_get['tgroupid'].".html");
?> ?>
可惜中文的东西在firefox上用起来还是有问题 ke xi zhong wen de dong xi zai firefox shang yong qi lai hai shi you wen ti
sogou音乐盒,下载,.com,搜狗搜索,搜索音乐网sogou,盒下载,sogou,sogou输入法,
|
|
|