<?php
/**
 * 管理员管理
 * $Id: account_edit_input.inc,v 1.1 2015/10/08 11:18:53 wanggb Exp $
 * @author wanggb
 * @access public
 * @package manager.templates
 **/
global $id;
global $login;
global $password;
global $name;
global $contact;
global $authority_level_array;
global $authority_level_list;
global $comment;
?>
<b>管理员编辑</b><br />
<br />
<form name="account_edit_input" action="account_edit_result.php" method="post">
<input type="hidden" name="id" value="<?=$id ?>" />
<table>
	<tr>
		<td>登陆帐号</td>
	</tr>
	<tr>
		<td class="begin_blank"><?=htmlspecialchars($login) ?></td>
	</tr>
	
	<tr>
		<td>登陆密码</td>
	</tr>
	<tr>
		<td class="begin_blank"><input type="text" name="password" value="<?=htmlspecialchars($password) ?>" /></td>
	</tr>
	
	<tr>
		<td>账户名称</td>
	</tr>
	<tr>
		<td class="begin_blank"><input type="text" name="name" value="<?=htmlspecialchars($name) ?>" /></td>
	</tr>
	
	<tr>
		<td>联系电话</td>
	</tr>
	<tr>
		<td class="begin_blank"><input type="text" name="contact" value="<?=htmlspecialchars($contact) ?>" /></td>
	</tr>
	
	<tr>
		<td>备注</td>
	</tr>
	<tr>
		<td class="begin_blank"><input type="text" name="comment" value="<?=htmlspecialchars($comment) ?>" /></td>
	</tr>
	
	<tr>
		<td>权限 <span style="color:#FF0000">※全不选即为超级管理员</span></td>
	</tr>
	<tr>
		<td class="begin_blank">
			<?
			foreach ($authority_level_list as $authority_level) {
			?>
			<label><input type="checkbox" name="authority_level[]" value="<?=$authority_level->name ?>"/><?=$authority_level->model ?></label>
			<?
			}
			?>
		</td>
	</tr>
	<tr>
</table>
<br />
<input type="button" value="编辑" class="button_width_normal" onClick="doCheck();" />
</form>
