<!--
<?php
print <<<EOT
--> 
<form name="form_work" method="post" action="$admin_path&action=delete">
<div class="MainCont">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
    <tr> 
      <th width="4%">序号 </th>
      <th width="33%">留言内容</th>
      <th width="10%">审核与否</th>
      <th width="8%">分类</th>
      <th width="10%">昵称</th>
      <th width="7%">IP来源</th>
      <th width="9%">会员性质</th>
      <th width="19%">删 看 改 回复</th>
    </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr> 
      <td>$rs[id]</td>
      <td class="txL"><input type="checkbox" name="listdb[{$rs[id]}]" value="{$rs[id]}"> $rs[content]</td>
      <td>$rs[ifyz]</td>
      <td><a href="$admin_path&job=list&fid=$rs[fid]">{$Fid_db[name][$rs[fid]]}</a> &nbsp;</td>
      <td><a href="../member/homepage.php?uid=$rs[uid]" target="_blank">$rs[username]</a></td>
      <td>$rs[ip]</td>
      <td>$rs[ismember]</td>
      <td><a href="$admin_path&action=delete&id=$rs[id]" ><img alt='点击删除' src='../member/images/del_icon2.gif'/></a> 
        <a href="$admin_path&job=show&id=$rs[id]" target="_blank"><img alt='点击查看' src='../member/images/icon_info.gif'/></a> 
        <a href="$admin_path&job=edit&id=$rs[id]"><img alt='点击修改' src='../member/images/button_edit.png'/></a> 
        <a href="$admin_path&job=reply&id=$rs[id]"><img alt='点击回复' src='../member/images/post2.gif'/></a></td>
    </tr>
<!--
EOT;
}
$showpage=$showpage?"<div class='ShowPage'>$showpage</div>":"";
print <<<EOT
-->
</table>
	$showpage
    <div class="ListBut"> 
    	<a href="javascript:" onClick="CheckAll('all')">全选</a>/<a href="javascript:" onClick='CheckAll()'>反选</a> 
        <input type="submit" name="Submit" value="批量删除">
	</div>
</div>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!-- 
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;
?>
-->
