<table width="100%" class="topmenu">
	<tr><td>
		<a href="javascript:doDialog('{?$saxue_admin_url?}/roles.php?action=add','添加角色','600','150')"><em>添加角色</em></a>
	</td></tr>
</table>
<table width="100%" class="grid">
	<caption>角色权限管理</caption>
	<tr>
		<th>角色ID</th>
		<th>角色名称</th>
		<th>状态</th>
		<th>描述</th>
		<th>管理</th>
	</tr>
	<tbody>
	{?section name=i loop=$rows?}
	<tr>
		<td>{?$rows[i].id?}</td>
		<td>{?$rows[i].rolename?}</td>
		<td>{?$rows[i].str_status?}</td>
		<td>{?$rows[i].note?}</td>
		<td>
			<a href="javascript:doDialog('{?$saxue_admin_url?}/roles.php?action=add&id={?$rows[i].id?}','修改角色——{?$rows[i].rolename?}','600','150')">{?function saxue_geticon:'edit':'修改角色'?}</a>
			<a href="?action=delete&id={?$rows[i].id?}" onclick="return confirm('你确定要删除角色 {?$rows[i].rolename?} 吗？')">{?function saxue_geticon:'del':'删除角色'?}</a>
			<a href="javascript:doDialog('{?$saxue_admin_url?}/roles.php?action=set&id={?$rows[i].id?}','角色权限设置——{?$rows[i].rolename?}','400','500')">{?function saxue_geticon:'set':'角色权限设置'?}</a>
		</td>
	</tr>
	{?/section?}
	</tbody>
</table>