<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>
<br />
<table width=96% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
      
	  <tr class=header>
        <td height=25>&nbsp;帮助列表&nbsp;&nbsp;&nbsp;&nbsp;<a href="help.php?act=add">添加帮助</a></td>
      </tr>
	  
      <tr>
        <td bgcolor=#FFFFFF align=center style="padding:10px;">
		<table width=96% align=center border=0 cellspacing=2 cellpadding=2 bgcolor="#DBEAF5">
          <form action="" method=post onSubmit="return checkform(this);">
            <tr bgcolor=#e7f5f9 align="center">
              <td width="10%" height=24>编号</td>
              <td width="48%">标题</td>
              <td width="15%" bgcolor="#e7f5f9">在首页显示</td>
              <td width="15%" bgcolor="#e7f5f9">所属于分类</td>
              <td width="12%">操作</td>
            </tr>
<?php
foreach($data AS $row)
{
?>
            <tr bgcolor=#FFFFFF align=center>
              <td><input name="id[]" type="checkbox" id="id[]" value="<?=$row[id]?>" /><?=$row[id]?></td>
              <td align=left>&nbsp;&nbsp;<?=$row[title]?>&nbsp;&nbsp;[<a href="../help.php?act=view&id=<?=$row['id']?>" target="_blank">浏览</a>]</td>
			  <td><?=$row[is_index]?> </a></td>
              <td><?=$row[typename]?></td>
              <td><a href="help.php?act=edit&id=<?=$row[id]?>" >修改</a></td>
            </tr>
<?}?>			
          <tr bgcolor=#FFFFFF align=left>
		  <td height="26" colspan="6" bgcolor="#e7f5f9">
		     <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>
		
		
		</td>
      </tr>
</table>
</body>
</html>