<?
error_reporting(0);
header('Content-Type: text/html; charset=gbk');
function openu($url)
{
$url = eregi_replace('^http://', '', $url);
$temp = explode('/', $url);
$host = array_shift($temp);
$path = '/'.implode('/', $temp);
$temp = explode(':', $host);
$host = $temp[0];
$port = isset($temp[1]) ? $temp[1] : 80;
$fp = @fsockopen($host, $port, &$errno, &$errstr, 30);
if ($fp)
{
@fputs($fp, "GET $path HTTP/1.1\r\n");
@fputs($fp, "Host: $host\r\n");
@fputs($fp, "Accept: */*\r\n");
@fputs($fp, "Referer: http://$host/\r\n");
@fputs($fp, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)\r\n");
@fputs($fp, "Connection: Close\r\n\r\n");
}
$Content = '';
while ($str = @fread($fp, 4096))
$Content .= $str;
@fclose($fp);
return $Content;
}
function arrContentReplact($array)
{
if(is_array($array))
{
foreach($array as $k => $v)
{
$array[$k] = arrContentReplact($array[$k]);
}
}else
{
$array = str_replace(array('<![CDATA[', ']]>'), array('', ''), $array);
}
return $array;
}
if($_GET['act']=='seek'){
$qqurl='http://qzone-music.qq.com/fcg-bin/fcgi_agent_zhenghe.fcg?UIN='.$_POST['qq'].'&TYPE=16&PAGE_START=1&PAGE_END=10000&SELECT_FLAG=1';
$data=openu($qqurl);
preg_match_all("/<xsinger_name>(.*?)<\/xsinger_name>/is",$data,$singer_name);
preg_match_all("/<xsong_name>(.*?)<\/xsong_name>/is",$data,$song_name);
preg_match_all("/<xsong_url>(.*?)<\/xsong_url>/is",$data,$song_url);
preg_match_all("/<xmusicnum>(.*?)<\/xmusicnum>/is",$data,$song_num);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>QQ空间音乐查询_QQ空间音乐偷看器_QQ空间背景音乐查询-QQ头像网 179qq.com</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="index, follow" name=robots>
<META
content= QQ空间音乐查询_QQ空间音乐偷看器_QQ空间背景音乐查询
name=keywords>
<META content=QQ空间音乐查询_QQ空间音乐偷看器_QQ空间背景音乐查询 name=Description><LINK href="favicon.ico"
rel="Shortcut Icon"><LINK href="../favicon.ico" rel=Bookmark><LINK
href="img/style.css" type=text/css rel=stylesheet>
<STYLE type=text/css>
body {
background-color: #FFFFFF;
}
.STYLE3 {
color: #A2D1FF;
font-weight: bold;
font-size: 18px;
}
.STYLE4 {
font-size: 18px;
font-weight: bold;
}
</STYLE>
<META content="MSHTML 6.00.2900.5803" name=GENERATOR></HEAD>
<BODY>
<STYLE type=text/css>.STYLE9 {
COLOR: #ffffff
}
</STYLE>
<DIV id=contain>
<TABLE height=69 cellSpacing=0 cellPadding=0 width=950 align=center border=0>
<TBODY>
<TR>
<TD width=189><A href="http://www.179qq.com" target="_top"><IMG
title= height=75 src="img/logo.gif" width=189
border=0></A></TD>
<TD align=right width=761></TD>
</TR></TBODY></TABLE>
<TABLE height=50 cellSpacing=0 cellPadding=0 width=950 align=center border=0>
<TBODY>
<TR>
<TD width=180><IMG height=50 src="img/left.jpg" width=180
border=0></A></TD>
<TD background=img/right.jpg> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=950 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width=510>
<TABLE borderColor=#a2d1ff height=32 cellSpacing=0 cellPadding=0 width=950
border=1>
<TBODY>
<TR>
<TD borderColor=#ffffff align=left
background=img/oly_resource_hz_005.gif height=36><div align="left" class="STYLE4"><span class="STYLE10"><a href="index.php" target="_top">QQ音乐查询</a></span> <span class="STYLE11"><a href="http://www.179qq.com\ubb.asp" target="_blank">留言代码在线制作</a></span> <span class="STYLE11"><a href="http://www.179qq.com\qm.php" target="_blank">QQ签名偷看器</a></span></div></td>
</TR>
<TR>
<TD borderColor=#ffffff background=img/oly_resource_hz_006.gif
height=8></TD></TR>
<TR>
<TD borderColor=#ffffff height=36><table width="945" height="404" border="0">
<tr>
<td height="400" bgcolor="#A2D1FF"><table width="934" height="197" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#A2D1FF" bgcolor="#FFFFFF" style="border-collapse: collapse">
<td width="50%">
<form method="POST" action="?act=seek" method="POST"><tr>
<td colspan="2"><!-- 广告位 -->
<div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-0338666959837540";
/* QQ空间背景音乐查询 468x60 广告位 */
google_ad_slot = "4002675238";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<div align="center"><span class="STYLE3">输入QQ号:</span>
<input type="text" name="qq" size="20" value="">
<input type="submit" value="查询">
</div></td>
</tr></form>
</table>
<table width="934" border="1" cellpadding="6" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="border-collapse: collapse">
<tr align="center" bordercolor="#A2D1FF" bgcolor="#EEEEEE">
<td width="335" bgcolor="#FFFFFF" >歌手</td>
<td width="277" bgcolor="#FFFFFF">歌曲名</td>
<td width="115" bordercolor="#A2D1FF" bgcolor="#FFFFFF">下载地址</td>
<td width="149" bordercolor="#A2D1FF" bgcolor="#FFFFFF" align="center">试听</td>
</tr>
<?php
$singerarr=arrContentReplact($singer_name[1]);
$songarr=arrContentReplact($song_name[1]);
$urlarr=arrContentReplact($song_url[1]);
for($i=0;$i<$song_num[1][0];$i++){
$singer=$singerarr[$i];
$song=$songarr[$i];
$url=$urlarr[$i];
echo'<tr>
<td>'.$singer.'</td>
<td>'.$song.'</td>
<td><div STYLE="width: 120px; height: 20px; border: 1px solid white;
overflow: hidden; text-overflow:ellipsis">
<NOBR><a href="'.$url.'" target="_blank">'.$url.'</a></NOBR>
</div></td>
<td><iframe height="31px" width="160px" src="3.swf?soundFile='.$url.'&bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0x357DCE&rightbghover=0x4499EE&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0x8EC2F4&autostart=no&loop=no" marginheight="0" scrolling="no" frameborder="0"></iframe></td>
</tr>';
}
?>
</table> </td>
</tr>
</table></TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<STYLE type=text/css>.STYLE25 {
COLOR: #175cbb
}
</STYLE>
</DIV>
<DIV id=footer>
<TABLE height=80 cellSpacing=0 cellPadding=0 width=950 align=center border=0>
<TBODY>
<TR>
<TD
style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid"
background=img/bottombg.gif>
<DIV align=center>
<P class=STYLE25>QQ头像网(<A href="http://www.179qq.com/"
target=_blank>http://www.179qq.com/</A>)© 2010 版权所有 All Rights
Reserved</P>
<P class=STYLE25><A href="http://www.179qq.com/about/"
target=_blank>关于我们</A> - <A
href="http://www.179qq.com/about/ad.htm"
target=_blank>联系我们</A> - <A
href="http://www.179qq.com/about/Copyright.htm"
target=_blank>版权声明</A> - <A
href="http://www.179qq.com/about/history.htm"
target=_blank>本站历程</A></P>
<P class=STYLE25>走自己的路,让别人说去把,我的路我坚持
,不抛弃不放弃</P></DIV></TD>
</TR
评论0