<?
@session_start();
include('inc/header.php');
include('config.inc.php');
$id='';
if($_GET['p']){$id=substr($_GET['p'],0,-32);}else{echo "<script>location.href='index.php';</script>";exit;}
$sql="select * from hacked_pages where id='$id'";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);
$id_md5=md5($id);
$tj_team=$row['tj_team']==''?'没有提交团队':$row['tj_team'];
$tj_team=htmlspecialchars($tj_team);
$tj_contact=$row['tj_contact']==''?'无':$row['tj_contact'];
$tj_contact=htmlspecialchars($tj_contact);
$tj_name=htmlspecialchars($row['tj_name']);
$tj_date=date("Y-m-d",$row['tj_date']);
$tj_hacked_url=htmlspecialchars($row['tj_hacked_url']);
?>
<style>
.user_info td{ padding:2px;}
</style>
<table width="960" border="0" align="center" cellpadding="5" cellspacing="0" class="user_info">
  <tr>
    <td bgcolor="#FFFFFF">
    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#7A7A7A">
        <tr>
          <td width="6%" bgcolor="#FFFFFF"><div align="right">提交者：</div></td>
          <td width="11%" bgcolor="#FFFFFF"><?=$tj_name?></td>
          <td width="7%" bgcolor="#FFFFFF"><div align="right">攻击原由：</div></td>
          <td width="11%" bgcolor="#FFFFFF"><?=$row['tj_reason']?></td>
          <td width="7%" bgcolor="#FFFFFF"><div align="right">所属团队：</div></td>
          <td width="15%" bgcolor="#FFFFFF"><?=$tj_team?></td>
          <td width="7%" bgcolor="#FFFFFF"><div align="right">提交日期：</div></td>
          <td width="12%" bgcolor="#FFFFFF"><?=$tj_date?></td>
          <td width="7%" bgcolor="#FFFFFF"><div align="right">提交者IP：</div></td>
          <td width="17%" bgcolor="#FFFFFF" style="padding-right:50px;"><?=$row['tj_ip']?></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF"><div align="right">服务器：</div></td>
          <td bgcolor="#FFFFFF"><?=$row['tj_server']?></td>
          <td bgcolor="#FFFFFF"><div align="right">入侵方式：</div></td>
          <td bgcolor="#FFFFFF"><?=$row['tj_hacked_type']?></td>
          <td bgcolor="#FFFFFF"><div align="right">联系方式：</div></td>
          <td bgcolor="#FFFFFF"><?=$tj_contact?></td>
          <td bgcolor="#FFFFFF"><div align="right">黑页地址：</div></td>
          <td colspan="3" bgcolor="#FFFFFF"><?=$tj_hacked_url?></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF"><iframe src="url.php?id=<?=$id_md5?>" width="100%" height="500" style="border:1px solid #7A7A7A"></iframe></td>
  </tr>
</table>
<? include('inc/footer.php');?>