<?php
	if (!empty ($_GET['qq'])){
		$qq = $_GET['qq'];
		$QQNick = getQQNick (htmlentities ($qq));
		$title = "$QQNick - QQ信息 - $configure[webname]";
	}else{
		$title = "QQ信息查询 - $configure[webname]";
	}
?>
<HTML>
<head>
<link href="./Style/Template/default/css/profile.css" rel="stylesheet"/>
<title><?=$title?></title>
<style type="text/css">
<!--
body{
	background:url(http://b.zol-img.com.cn/desk/bizhi/image/2/1440x900/1366185448944.jpg);
	background-position: center;
	background-attachment: fixed;
}
-->
</style>
</head>
<body>
<?php
	if (!empty ($_GET['qq'])){
		echo '
<style type="text/css">
<!--
.STYLE1 {
	color: #99FF66;
	font-weight: bold;
}
a:focus,
a:active,
a:hover, #nav .current-menu-item > a,
#nav .current-menu-ancestor > a,
#nav .current_page_item > a,
#nav .current_page_ancestor > a, #nav .current-menu-item:hover > a,
#nav .current-menu-ancestor:hover > a,
#nav .current_page_item:hover > a,
#nav .current_page_ancestor:hover > a, a {
	color:#DF4E33;
}
-->
</style>
<p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p>
<table width="818" height="206" border="1" align="center">
  <tr>
    <td width="132"><div align="center" class="STYLE1">QQ号码</div></td>
	<td width="132"><div align="center" class="STYLE1">QQ昵称</div></td>
    <td width="132"><div align="center" class="STYLE1">QQ头像</div></td>
    <td width="115"><div align="center" class="STYLE1">QQ秀</div></td>
    <td width="110"><div align="center" class="STYLE1">QQ状态</div></td>
    <td width="168"><div align="center" class="STYLE1">强制对话</div></td>
    <td width="121"><div align="center" class="STYLE1">QQ空间</div></td>
  </tr>
  <tr>
    <td height="113" align="center">'.$qq.'</td>
	<td height="113" align="center">'.$QQNick.'</td>
    <td align="center"><a target="_blank" href="http://q2.qlogo.cn/headimg_dl?bs=qq&dst_uin='.$qq.'&src_uin='.$qq.'&fid='.$qq.'&spec=100&url_enc=0&referer=bu_interface&term_type=PC"><img src="http://q2.qlogo.cn/headimg_dl?bs=qq&dst_uin='.$qq.'&src_uin='.$qq.'&fid='.$qq.'&spec=100&url_enc=0&referer=bu_interface&term_type=PC"></a></td>
    <td align="center"><a target="_blank" href="http://qqshow-user.tencent.com/'.$qq.'/22/00/1.gif?fr=mobileqq"><img src="http://qqshow-user.tencent.com/'.$qq.'/22/00/1.gif?fr=mobileqq" height="150" width="110"></a></td>
    <td align="center"><a target="_blank" href="http://shang.qq.com/"><img src="http://wpa.qq.com/pa?p=6:'.$qq.':44" title="这是您的QQ状态，若显示“未启用”请点击此链接跳转至QQ官方启用"></a></td>
    <td align="center"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin='.$qq.'&amp;site=qq&amp;menu=yes">发送消息</a></td>
    <td align="center"><a target="_blank" href="http://user.qzone.qq.com/'.$qq.'">浏览QQ空间</a></td>
  </tr>
    <tr>
    <td colspan="7"><div align="center"><a href="./index.php?act=search">返回上页>></a></div></td>
  </tr>
</table>
';
	}else{
		echo '
<p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p>
<form action="index.php?act=search" method="POST">
  <table width="818" height="121" border="1" align="center">
    <tr>
      <td height="85"><center>查询的QQ号码：<input type="text" name="qq"> <input type="submit" value="查询"></center>
      </td>
    </tr>
    <tr>
      <td height="28"><div align="center"><a href="./">返回首页>></a></div></td>
    </tr>
  </table>
</form>
';
	}
?>
</body>
</HTML>