<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>
</style>
</head>
<body>
<h3><span><a href="about.php?act=add">添加单页</a></span></h3>
<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
        <form action="<?=$PHP_SELF?>" method=post onSubmit="return checkform(this);">
            <tr class="bgs">
              <td width="11%">编号</td>
              <td width="31%">网页标题</td>
              <td width="12%">是否显示</td>
              <td width="12%">是否广告页</td>
              <td width="19%">发布日期</td>
              <td width="17%">操作</td>
            </tr>
<?

foreach($about as $about)
{
?>
            <tr>
              <td><input type='checkbox' name='id[]' value="<?=$about[id]?>"><?=$about[id]?></td>
              <td><?=$about[title]?></td>
              <td><?=$about[is_show]?></td>
              <td><?=$about[pageid]?></td>
              <td><?=$about[postdate]?></td>
              <td class="tda"><a href="../about.php?id=<?=$about[id]?>" title="浏览后台详细信息" target="_blank">浏览</a><a href="about.php?act=edit&id=<?=$about[id]?>" title="编辑">编辑</a><a href="about.php?act=batch&id=<?=$about[id]?>" onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;" title="删除">删除</a></td>
            </tr>
<?
}
?>
            <tr>
              <td colspan=10 align=left>
                    <input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/>
                    <input type="hidden" name="act" value="batch">
                    <input type="submit" name="submit2" id="submit2" value=" 批量删除 " onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;">             </td>
            </tr>
          </form>
        </table>
	</body>
</html>