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

<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth" style="TABLE-LAYOUT: fixed;WORD-WRAP: break-word;">
  <form name="form_work" method="post" action="index.php?lfj=$lfj&action=delete">
    <tr align="center" class="head"> 
      <td width="6%">ID</td>
      <td width="30%">标 题</td>
      <td width="11%">所在栏目</td>
      <td width="14%">举报类型</td>
      <td width="10%">举报者</td>
      <td width="13%">举报日期</td>
      <td width="9%">&nbsp;查看/删除</td>
      <td width="7%">验证</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="6%" align="center">$rs[aid]</td>
      <td width="30%"> 
        <input type="checkbox" name="listdb[]" value="{$rs[id]}">
        <a href="$webdb[www_url]/bencandy.php?fid=$rs[fid]&aid=$rs[aid]"  style="color:$rs[titlecolor];" target="_blank">$rs[title]</a></td>
      <td width="11%" align="center"><a href="$webdb[www_url]/list.php?fid=$rs[fid]" target="_blank">$rs[fname]</a></td>
      <td width="14%" align="center">$rs[type]</td>
      <td width="10%" align="center">$rs[name]</td>
      <td width="13%" align="center">$rs[posttime]</td>
      <td width="9%" align="center"><a href="?lfj=$lfj&job=view&id=$rs[id]">查看</a>/<a href="index.php?lfj=$lfj&action=delete&listdb[]=$rs[id]">删除</a></td>
      <td width="7%" align="center">$rs[r_yz]</td>
    </tr>
    <!--
EOT;
}print <<<EOT
--> 
     <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="8"> $showpage</td>
    </tr>
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="8"> <a href="javascript:" onClick="CheckAll('all')">全选</a>/<a href="javascript:" onClick='CheckAll()'>反选</a> 
        <input type="submit" name="Submit2" value="删除" onclick="postdo('yz')">
      </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><br>
<!--
EOT;
?>
-->
