{x2;include:header}
<body>
{x2;include:nav}
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span2">
			{x2;include:menu}
		</div>
		<div class="span10" id="datacontent">
			<ul class="breadcrumb">
				<li><a href="index.php?{x2;$_app}-master">{x2;$apps[$_app]['appname']}</a> <span class="divider">/</span></li>
				<li><a href="index.php?user-master-user">用户管理</a> <span class="divider">/</span></li>
				<li class="active">添加用户</li>
			</ul>
			<ul class="nav nav-tabs">
				<li class="active">
					<a href="#">添加用户</a>
				</li>
				<li class="pull-right">
					<a href="index.php?user-master-user">用户列表</a>
				</li>
			</ul>
			<form action="index.php?user-master-user-batadd" method="post" class="form-horizontal">
				<fieldset>
					<div class="control-group">
						<label for="username" class="control-label">示范格式</label>
						<div class="controls">
							<img src="app/exam/styles/image/usertabledemo.jpg" />
						</div>
					</div>
					<div class="control-group">
						<label for="lesson_video" class="control-label">待导入文件</label>
						<div class="controls">
							<span class="input-append">
								<input type="text" name="uploadfile" id="uploadfile_value" class="inline uploadvideo" needle="needle" msg="必须先上传CSV文件"/>
								<span id="uploadfile_percent" class="add-on">0.00%</span>
							</span>
							<span class="btn">
								<a id="uploadfile" class="uploadbutton" exectype="upfile" uptypes="*.csv">选择文件</a>
							</span>
							<span class="help-block">注意：导入文件必须为csv文件，可用excel另存为csv，为保证程序正常导入，每个CSV文件请不要超过2M，否则可能导入失败</span>
						</div>
					</div>
					<div class="control-group">
						<div class="controls">
							密码为空的用户会被自动设定密码为“111111”，重名或重复email的用户会被系统忽略。
						</div>
					</div>
					<div class="control-group">
						<div class="controls">
							<button class="btn btn-primary" type="submit">导入</button>
							<input type="hidden" name="insertUser" value="1"/>
						</div>
					</div>
				</fieldset>
			</form>
		</div>
	</div>
</div>
</body>
</html>