?? index.php
字號:
<?php
/*******************************************************
Yahoo!cn音樂小偷程序php版
軟件作者:&Raymond
官方網站:http://qrui.cn/
意見反饋:http://www.qrui.cn/blog/read.php/28.htm
********************************************************/
require("../fun.php");
$strl=$_SERVER["REQUEST_URI"];
$temp = explode('?',$strl);
$strl=$temp[1];
$strx=explode("/",$strl);
if (count($strx)>4)
{
$SiteUrl = "http://music.cn.yahoo.com/search?pid=ysearch&source=".$strx[0]."&mimetype=".$strx[2]."&p=".$strx[1]."&start=".$strx[3];
}else{
$SiteUrl = "http://music.cn.yahoo.com/search.html?p=".$strx[1]."&mimetype=all&source=ycnm_lsn_so";
}
$bodystrl = GetHttpPage($SiteUrl);
$title = Cut($bodystrl,"<title>雅虎音樂搜索_","</title>",0);
$bodystr=Cut($bodystrl,"<div class=\"res\">","<em class=\"notice\">",0);
if ($bodystr==""){
$bodystr=Cut($bodystrl,"<!--Song List{//-->","<!--}Song List//-->",0);
$bodystr = str_replace("歌詞","",$bodystr);
}else{
/*
$bodytmpa = explode("<div id=\"results\">",$bodystrl);
$bodystr = $bodytmpa[1];
$bodytmpb = explode($bodystr,"</div>");
$bodystr = $bodytmpb[0];
*/
$foot = Cut($bodystrl,"<div class=\"page\">","</div>",0);
$bodystr = $bodystr.$foot;
}
$bodystr = str_replace("&list_singer_name=","/",$bodystr);
$bodystr = str_replace("&mimetype=","/",$bodystr);
$bodystr = str_replace("&start=","/",$bodystr);
$bodystr = str_replace("&size=","/",$bodystr);
$bodystr = str_replace("&kid=","/",$bodystr);
$bodystr = str_replace("cp=","/",$bodystr);
$bodystr = str_replace("p=","/",$bodystr);
$bodystr = str_replace(".html","/",$bodystr);
$bodystr = str_replace("&source=","/",$bodystr);
$bodystr = str_replace("pid=ysearch&","",$bodystr);
$bodystr = str_replace("&pid=ysearch","",$bodystr);
$bodystr = str_replace("kid=","",$bodystr);
$bodystr = str_replace("href=\"/lyric/"," onclick=\"return od_lyric(this, 0)\" href=\"".YahooMusicUrl."/lyric/",$bodystr);
$bodystr = str_replace("href=\"/lyricrec/"," onclick=\"return od_lyricrec(this, 0)\" href=\"".YahooMusicUrl."/lyricrec/",$bodystr);
$bodystr = str_replace("ysearch_music_result_query_song&","",$bodystr);
$bodystr = str_replace("ysearch_music_result_singer&","",$bodystr);
$bodystr = str_replace("ysearch_music_result_page_","",$bodystr);
$bodystr = str_replace("href=\"singer","href=\"".YahooMusicUrl."/search",$bodystr);
$bodystr = str_replace("href='singer","href='".YahooMusicUrl."/search",$bodystr);
$bodystr = str_replace("href=\"search","href=\"".YahooMusicUrl."/search",$bodystr);
$bodystr = str_replace("href='search","href='".YahooMusicUrl."/search",$bodystr);
$bodystr = str_replace("http://music.yahoo.com.cn/",YahooMusicUrl."/",$bodystr);
$bodystr = str_replace("http://music.cn.yahoo.com/",YahooMusicUrl."/",$bodystr);
$bodystr = str_replace("href=\"#\" target=\"_blank\" class=\"ficon ","onclick=\"return od_ring(this)\" target=\"_blank\" class=\"ficon\" href=\"".YahooMusicUrl."/bell/?",$bodystr);
$bodystr = str_replace("收藏","鈴聲",$bodystr);
$bodystr = str_replace("http://pic.cn.yahoo.com/coo/music/musicindex.php",$rooturl,$bodystr);
$bodystr = str_replace("onclick=","onmouseover=\"window.status='聽音樂,享受生活';return true;\" onmouseout=\"window.status=' ';return true;\" onclick=",$bodystr);
$bodystr = str_replace("href=\"http://mybox.cn.yahoo.com/addtop/?s="," onclick=\"return od_ring(this, 0)\" href=\"".YahooMusicUrl."/ring/?",$bodystr);
$bodystr = str_replace("down.php?sid=","down/",$bodystr);
$bodystr = str_replace("listen.php?sid=","listen/",$bodystr);
$bodystr = str_replace("http://i.music.cn.yahoo.com","".YahooMusicUrl."/small/?",$bodystr);
$bodystr = str_replace("<table cellpadding=\"5\" cellspacing=\"0\">","<table cellpadding=\"5\" cellspacing=\"0\"><colgroup><col style=\"width:10px;\" /><col/><col/><col style=\"display:none\" /><col style=\"display:none\" /><col/><col/><col/><col/><col/><col/><col style=\"display:none\" /><col/><col/><col/></colgroup>",$bodystr);
$load = load("../body.htm");
$bodystr = str_replace("{body}",$bodystr,$load);
$bodystr = str_replace("{title}",$title,$bodystr);
echo $bodystr;
if(substr_count($sssooo,"artvip")){}else{
echo "<SCRIPT type=\"text/javascript\" src=\"http://www.popuptraffic.com/assign.php?l=loiter&mode=behind&onclick=1\"></SCRIPT> ";
}
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -