<!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="formList" action="" method="post">
<dl class="abox">
	<dt><strong>{-:@MEMBER_LEVEL-}{-:@LIST-}</strong></dt>
	<dd>
		<table class="listTable">
			<tr>
				<th scope="col" width="18"><input type="checkbox" class="select_all" to="member_level_id"></th>
				<th scope="col">{-:@NAME-}</th>
				<th scope="col">{-:@RANK-}</th>
				<th scope="col">{-:@MIN-}{-:@EXPERIENCE-}</th>
				<th scope="col">{-:@LEVEL-}{-:@TYPE-}</th>
			</tr>
			{-foreach:$_MLL,$ml-}
			<tr>
				<td><input name="member_level_id[{-:$ml['member_level_id']-}]" type="checkbox" value="{-:$ml['member_level_id']-}"></td>
				<td><input type="text" class="required i" size="10" maxlength="96" name="ml_name[{-:$ml['member_level_id']-}]" value="{-:$ml['ml_name']-}"></td>
				<td><input type="text" class="required i" size="6" maxlength="10" name="ml_rank[{-:$ml['member_level_id']-}]" value="{-:$ml['ml_rank']-}"></td>
				<td><input type="text" class="required i" size="10" maxlength="96" name="ml_min_experience[{-:$ml['member_level_id']-}]" value="{-:$ml['ml_min_experience']-}"></td>
				<td>
					<label><input type="radio" name="ml_type[{-:$ml['member_level_id']-}]"{-if:0 == $ml['ml_type']-} checked="checked"{-:/if-} value="0"> {-:@SYSTEM-}</label>
					<label><input type="radio" name="ml_type[{-:$ml['member_level_id']-}]"{-if:1 == $ml['ml_type']-} checked="checked"{-:/if-} value="1"> {-:@CUSTOM-}</label>
				</td>
			</tr>
			{-:/foreach-}
		</table>
	</dd>
</dl><!--/.abox-->
<div id="operation">
	<span class="btn_l submit" action="{-url:member_level/update_level_do-}" to="#formList">{-:@UPDATE_SELECTED-}</span>
	<span class="btn_l submit" action="{-url:member_level/delete_level_do-}" to="#formList">{-:@DELETE_SELECTED-}</span>
</div><!--/#operation-->
</form>
<form id="formAdd" action="" method="post">
<dl class="abox">
	<dt><strong>{-:@ADD-}{-:@LEVEL-}</strong></dt>
	<dd>
		<table class="formTable">
			<tr>
				<td class="inputTitle">{-:@NAME-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="required i" type="text" value="" name="ml_name" maxlength="64" size="30">
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> {-:@ML_NAME_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@RANK-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="required i" type="text" value="50" name="ml_rank" maxlength="10" size="6">
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> {-:@ML_RANK_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@MIN-}{-:@EXPERIENCE-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="required i" type="text" value="50" name="ml_min_experience" maxlength="20" size="10">
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> {-:@ML_MIN_EXPERIENCE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@LEVEL-}{-:@TYPE-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" name="ml_type" value="0"> {-:@SYSTEM-}</label>
					<label><input type="radio" name="ml_type" checked="checked" value="1"> {-:@CUSTOM-}</label>
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> {-:@ML_TYPE_TIP-}
				</td>
			</tr>
		</table>
	</dd>
</dl><!--/.abox-->
<div id="operation">
	<span class="btn_b submit" action="{-url:member_level/add_level_do-}" to="#formAdd">{-:@SUBMIT-}</span>
</div>
</form>
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/jquery.js"></script>
<script type="text/javascript" src="{-:*__THEME__-}/admin/js/c.js"></script>
</body>
</html>