<!--
<?php
print <<<EOT
-->

<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form_work" method="post" action="$admin_path&">
    <tr align="center" class="head"> 
      <td width="5%">ID</td>
      <td width="26%">信 息 标 题</td>
      <td width="9%">发布者</td>
      <td width="7%"> 举报者</td>
      <td width="17%">性质</td>
      <td width="10%">举报日期</td>
      <td width="9%">是否属实</td>
      <td width="9%">删除信息</td>
      <td width="8%">删除报告</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="5%" align="center">$rs[id]</td>
      <td width="26%"> 
        <input type="checkbox" name="listdb[{$rs[rid]}]" value="$rs[rid]">
        <a href="$rs[url]" target='_blank'  style="color:$rs[titlecolor];">$rs[title]</a><br>
$rs[about]</td>
      <td width="9%" align="center">$rs[username]</td>
      <td width="7%" align="center"> $rs[Rname]</td>
      <td width="17%" align="center">{$report_type[$rs[Rtype]]}</td>
      <td align="center" width="10%">$rs[Rtime]</td>
      <td align="center" width="9%">$rs[iftrue]</td>
      <td align="center" width="9%"><a href="$Murl/post.php?action=del&id=$rs[id]&fid=$rs[fid]" target="_blank">删除</a></td>
      <td align="center" width="8%"><a href="$admin_path&action=del&rid=$rs[rid]">删除报告</a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="9"> {$showpage}</td>
    </tr>
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="9"> <a href="#" onClick="CheckAll('all')">全选</a>/<a href="#" onClick='CheckAll()'>反选</a> 
        <input type="button" name="Submit3" value="属实报告" onclick="postdo('istrue')">
        <input type="button" name="Submit32" value="非属实报告" onclick="postdo('isfalse')">
        <input type="button" name="Submit33" value="删除报告" onclick="postdo('del')">
        <input type="hidden" name="jobs" value="del" id="jobs">
      </td>
    </tr>
  </form>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function postdo(va){
	document.form_work.jobs.value=va
	document.form_work.submit();
}
function CheckAll(va){
	form=document.form_work
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if(va=='all'){
			e.checked = true;
		}else{
			e.checked == true ? e.checked = false : e.checked = true;
		}
	}
}
//-->
</SCRIPT>
<!--
EOT;
?>
-->
