<?php
/**
 * 管理员管理
 * $Id: account_new_input.inc,v 1.1 2015/10/08 11:18:53 wanggb Exp $
 * @author wanggb
 * @access public
 * @package manager.templates
 **/
global $login;
global $password;
global $name;
global $contact;
global $authority_level_array;
global $authority_level_list;
global $error_message_login;
global $comment;
?>
<b>新增账号</b><br />
<br />
<form name="account_new_input" action="account_new_result.php" method="post">
<table>
	<tr>
		<td>登陆帐号</td>
	</tr>
	<tr>
		<td class="begin_blank">
			<input type="text" name="login" value="<?=htmlspecialchars($login) ?>" />
			<span style="color:#FF0000"><?=$error_message_login ?></span>
		</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>