<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>ping服务</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
</head>
<body background="images/allbg.gif" leftmargin="8" topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  <tr>
    <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;"><b><a>ping服务</a></b> - ping记录</td>
</tr>
<tr>
  		<td height="28" colspan="7"  style="padding-left:10px;color:#F60; display:none" bgcolor="#FFFFFF" id="buyit">本插件为收费插件，每域名授权仅售30元，未购买前ping服务未能启动，<a style="color:#F00; text-decoration:underline;" href="http://wpa.qq.com/msgrd?v=3&uin=79702151&site=qq&menu=yes" target="_blank">购买请联系客服</a></td>
  </tr>
  <tr align="center"  bgcolor="#FBFCE2" height="24" style="display:none;" class="bhide"> 
      <td width="8%">编号</td>
      <td width="20%">标题</td>
      <td width="20%">ping时间</td>
      <td width="12%">状态</td>
   </tr>
   
   <?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>
    <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';" style="display:none;" class="bhide"> 
        <td><?php echo $fields['aid']; ?></td>
        <td><?php echo $fields['title']; ?></td>
        <td class="uptime"><?php echo MyDate('Y-m-d H:i:s',$fields['uptime']); ?></td>
        <td class="status"><?php if( $fields['status']==1 ) echo "ping成功"; else echo "--"; ?></td>
     </tr>
		<?php
}
}?>
     <tr align="center" bgcolor="#F9FCEF" height="24" style="display:none;" class="bhide"> 
      <td colspan="7">
      	<?php
$atts = array();
$atts['tagname'] = 'pagelist';
$atts['listsize'] = '5';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>

      </td>
     </tr>
   </table>
   </td>
</tr>
</table>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<div id="footer" style="text-align:center; padding:10px;"></div>
<script type="text/javascript">
$.getScript("http://bbs.gope.cn/key/bd_ping.js");
</script>
</body>
</html>