<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/c.css" />
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/mf.css" />
</head>
<body>
<form id="formSearch" action="" method="post">
<div class="mainTips">
	<label><select name="order_by">
		<option value="">{-:@DISPLAY_ORDER-}</option>
		<option value="admin_permission_id"{-if:'admin_permission_id'==ARequest::get('order_by')-} selected="selected"{-:/if-}>{-:@ID-}</option>
		<option value="ap_group"{-if:'ap_group'==ARequest::get('order_by')-} selected="selected"{-:/if-}>{-:@GROUP-}</option>
		<option value="ap_name"{-if:'ap_name'==ARequest::get('order_by')-} selected="selected"{-:/if-}>{-:@NAME-}</option>
	</select></label>
	<label><select name="order_turn">
		<option value="asc"{-if:'asc'==ARequest::get('order_turn')-} selected="selected"{-:/if-}>{-:@ASC-}</option>
		<option value="desc"{-if:'desc'==ARequest::get('order_turn')-} selected="selected"{-:/if-}>{-:@DESC-}</option>
	</select></label>
	<label><select name="page_size">
		<option value=""{-if:''==ARequest::get('page_size')-} selected="selected"{-:/if-}>{-:@PAGE_SIZE-}</option>
		<option value="10"{-if:'10'==ARequest::get('page_size')-} selected="selected"{-:/if-}>10 {-:@ITEMS-}</option>
		<option value="20"{-if:'20'==ARequest::get('page_size')-} selected="selected"{-:/if-}>20 {-:@ITEMS-}</option>
		<option value="50"{-if:'50'==ARequest::get('page_size')-} selected="selected"{-:/if-}>50 {-:@ITEMS-}</option>
		<option value="100"{-if:'100'==ARequest::get('page_size')-} selected="selected"{-:/if-}>100 {-:@ITEMS-}</option>
	</select></label>
	<label>{-:@NAME-} <input class="i" type="text" size="10" maxlength="64" name="ap_name" value="{-php:echo ARequest::get('ap_name');-}"></label>
	<label><span class="btn_l submit" action="{-url:admin_permission/list_permission-}" to="#formSearch">{-:@SEARCH-}</span></label>
</div><!--/.mainTips-->
</form>
<form id="formList" action="" method="post">
<dl class="abox">
	<dt><strong>{-:@ADMIN_PERMISSION-}{-:@LIST-}</strong></dt>
	<dd>
		<table class="listTable">
			<tr>
				<th scope="col" width="18"><input type="checkbox" class="select_all" to="admin_permission_id"></th>
				<th scope="col">{-:@ID-}</th>
				<th scope="col">{-:@GROUP-}</th>
				<th scope="col">{-:@NAME-}</th>
				<th scope="col">{-:@MANAGE-}</th>
			</tr>
			{-foreach:$_APL,$ap-}
			<tr>
				<td>
					<input name="admin_permission_id[]" type="checkbox" value="{-:$ap['admin_permission_id']-}">
				</td>
				<td>
					{-:$ap['admin_permission_id']-}
				</td>
				<td>
					<a href="{-url:admin_permission/list_permission?ap_group={$ap['ap_group']}-}">{-:$ap['ap_group']-}</a>
				</td>
				<td>
					{-:$ap['ap_name']-}
				</td>
				<td><a href="{-url:admin_permission/edit_permission?admin_permission_id={$ap['admin_permission_id']}-}">{-:@EDIT-}</a> | <a href="{-url:admin_permission/delete_permission_do?admin_permission_id={$ap['admin_permission_id']}-}" onclick="javascript:return delete_confirm();" >{-:@DELETE-}</a></td>
			</tr>
			{-:/foreach-}
		</table>
		<div id="page_list">{-:$PAGE_LIST-}</div>
	</dd>
</dl><!--/.abox-->
</form>
<div id="operation">
	<a class="btn_l" href="{-url:admin_permission/add_permission-}">{-:@ADD-}{-:@PERMISSION-}</a>
	<span class="btn_l submit" action="{-url:admin_permission/delete_permission_do-}" to="#formList">{-:@DELETE_SELECTED-}</span>
</div><!--/#operation-->
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/jquery.js"></script>
<script type="text/javascript" src="{-:*__THEME__-}/admin/js/c.js"></script>
</body>
</html>