<div id="page">
		<div id="content">
			<div class="post">
				<h2 class="title"><a href="#">分类管理</a></h2>
				<div style="clear: both;">&nbsp;</div>
				<div class="entry">
			     </br>
				<form action="addCatOK.php" id="addCat" method="POST">
				<h2>添加分类</h2></br>
				<label>输入分类名称:</label>
				<input type="text" name="catName" id="catName" size="10"/>&nbsp;&nbsp;
				<input type="submit" name="subCat" value="添加"/>
				</form>
			     <table border="1" >
			     <tr>
			     <td>分类ID</td>
			     <td>分类名称</td>
			     <td>操作</td>
			     </tr>
			     {section name=viewCat loop=$catRow}
			     <tr>
			     <td>{$catRow[viewCat].catId}</td>
			     <td>{$catRow[viewCat].catName}</td>
			     <td><a href="admin.php?act=editCat&catId={$catRow[viewCat].catId}">编辑</a>&nbsp;<a href="admin.php?act=delCat&catId={$catRow[viewCat].catId}">删除</a></td>
			     </tr>
			     {/section}
			     </table>
				</div>
			</div>
			<div style="clear: both;">&nbsp;</div>
		</div>
		<!-- end #content -->