<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<link href=images/style.css rel=stylesheet type=text/css>
<script language="JavaScript" src="js/common.js" type="text/javascript"></script>
<body>
<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
          <form action="" method=post onSubmit="return checkform(this);">
            <tr class="bgs">
              <td width="7%"> 编号</td>
              <td width="14%">管理员</td>
              <td width="18%">操作时间</td>
              <td width="34%">错误类型</td>
              <td width="17%">IP地址</td>
              <td width="10%">操作</td>
            </tr>
<?php
foreach($log AS $row)
{
?>
            <tr>
              <td><input name="id[]" type="checkbox" id="id[]" value="<?=$row[logid]?>" /><?=$row[logid]?></td>
              <td><?=$row[adminname]?></td>
			  <td><?=$row[logdate]?> </a></td>
              <td><?=$row[logtype]?></td>
              <td><?=$row[logip]?></td>
              <td class="tda"><a href="admin_log.php?act=batch&id=<?=$row[logid]?>" onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;">删除</a></td>
            </tr>
<?}?>			
          <tr>
		  <td height="26" colspan="6">
		     <input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/>
		    <input type="hidden" name="act" value="batch">
          <input name="submit" type="submit" id="submit" value=" 批量删除 " onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;">&nbsp;&nbsp;&nbsp;&nbsp;
		  <? include tpl('page');?></td>
		  </tr>
        </form>
		</table>
</body>
</html>