<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form_work" method="post" action="index.php?lfj=$lfj&action=delete_adminlogin">
    <tr class="head"> 
      <td width="5%" align="center">序號</td>
      <td width="28%" align="center">用戶名</td>
      <td width="32%" align="center">密碼</td>
      <td width="16%" align="center">IP</td>
      <td width="12%" align="center">時間</td>
      <td width="7%" align="center">刪除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="5%" align="center">$rs[id]</td>
      <td width="28%"> 
        <input type="checkbox" name="iddb[{$rs[id]}]" value="1">
        $rs[username] </td>
      <td width="32%" align="center">$rs[password]</td>
      <td width="16%" align="center">$rs[ip]</td>
      <td width="12%" align="center">$rs[posttime]</td>
      <td width="7%" align="center"><a href="index.php?lfj=$lfj&action=delete_adminlogin&iddb[{$rs[id]}]=1"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}
print <<<EOT
--><tr bgcolor="#FFFFFF"> 
      <td colspan="6" align="center"> 
       $showpage
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td colspan="6" align="center"> 
         <a href="#" onClick="CheckAll('all')">全選</a>/<a href="#" onClick='CheckAll()'>反選</a> <input type="submit" name="Submit" value="刪 除">
      </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;
?>
-->