📄 getmusickey_out.php
字号:
<?
require 'function.php';
switch($_GET['a'])
{
//热门DJ
case 'dj';
$content =file_get_contents('http://list.mp3.baidu.com/list/dj.html');
break;
//热门对唱
case 'lovesong';
$content =file_get_contents('http://list.mp3.baidu.com/list/duichang.html');
break;
//新歌TOP100
case 'newhits';
$content =file_get_contents('http://list.mp3.baidu.com/list/newhits.html');
break;
//歌曲TOP500
case 'mp3topsong';
$content =file_get_contents('http://list.mp3.baidu.com/topso/mp3topsong.html');
break;
//歌手TOP200
case 'top200';
$content =file_get_contents('http://list.mp3.baidu.com/list/top200.htm');
break;
//电影金曲
case 'movies';
$content =file_get_contents('http://list.mp3.baidu.com/list/movies.html');
break;
//电视金曲
case 'tvs';
$content =file_get_contents('http://list.mp3.baidu.com/list/tvs.html');
break;
//经典老歌
case 'oldsong';
$content =file_get_contents('http://list.mp3.baidu.com/list/oldsong.html');
break;
//民歌精选
case 'minge';
$content =file_get_contents('http://list.mp3.baidu.com/minge/mp3topsong.html');
break;
//校园歌曲
case 'xiaoyuan';
$content =file_get_contents('http://list.mp3.baidu.com/xiaoyuan/mp3topsong.html');
break;
}
$content =getHtmlContent($content,'<input type=hidden name=refreshtime value=@+RESBODY+@>','<input type=hidden name=refreshtime value=@-RESBODY-@>');
$content ='<div class="list_key"><table width="95%" align="center" cellpadding="0" cellspacing="0">'.$content.'</table></div>';
$content =preg_replace("/\<(TD|td)(.*?)>/",'<td>',$content);
$content =a_replace($content);
header("Content-type: application/xml");
echo OutXmlStr($content);
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -