<table width="100%" class="topmenu">
	<tr><td>
		<a href="javascript:doDialog('{?$saxue_url?}/topic/admin/cate.php?action=add','添加分类','550','100')"><em>添加分类</em></a><span>|</span>
		<a href="?action=cache"><em>重建分类缓存</em></a>
	</td></tr>
</table>
<table width="100%" class="grid">
	<tr>
		<th>CID</th>
		<th>分类名称</th>
		<th>英文别名</th>
		<th>管理</th>
	</tr>
	<tbody>
	{?section name=i loop=$rows?}
	<tr class="rowbg">
		<td>{?$rows[i].cid?}</td>
		<td>{?$rows[i].cname?}</td>
		<td>{?$rows[i].alias?}</td>
		<td>
			<a href="javascript:doDialog('{?$saxue_url?}/topic/admin/cate.php?action=add&cid={?$rows[i].cid?}','修改分类','550','100')">{?function saxue_geticon:'edit':'修改'?}</a>
			<a href="?action=delete&cid={?$rows[i].cid?}" onclick="return confirm('你确定要删除分类 {?$rows[i].cname?} 吗？')">{?function saxue_geticon:'del':'删除'?}</a>
		</td>
	</tr>
	{?/section?}
	</tbody>
</table>