<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
<script type="text/javascript">
	$(window).load(function() {
		$("#member_login").espcms_formvalidation({focusName: "#login_user"});
	});
</script>
<form name="mainform" id="member_login" method="post" action="{%$mlink.loginver%}">
	<input type="hidden" name="tokenname" value="{%$tokenkey.token_name%}"/>
	<input type="hidden" name="tokenkey" value="{%$tokenkey.token_key%}"/>
		<div class="espcms_form_group">
			<label for="title" class="control_label16">帐户</label>
			<div class="control_required20">
				<input type="text" name="login_user" id="login_user" class="col7 infoInput"/>
			</div>
		</div>
		<div class="espcms_form_group">
			<label for="username" class="control_label16">密码</label>
			<div class="control_required20"><input type="password" name="password" id="password" class="col7 infoInput"/></div>
		</div>
		{%if $member_con.MEMBER_LOGIN_VERIFY%}
		<div class="espcms_form_group">
			<label for="email" class="control_label16">验证码</label>
			<div class="control_required20">
				<input type="text" id="seccode" name="seccode" class="infoInput" maxlength="4" size="5" style="text-transform: uppercase;"/>
				<img title="点击更换验证码" id="memberseccodesrc" onclick="sessionimg('memberseccodesrc', '{%$rootdir%}')" src="{%$seccodelink%}" style="cursor: pointer;height:27px" align="absmiddle"/>
			</div>
		</div>
		{%/if%}
		<div class="espcms_form_group">
			<label class="control_label16"> </label>
			<div class="control_required20">
				<input type="submit" id="submit" class="button blue2" value="登陆"/>
				<a class="button red" href="{%$mlink.reg%}">注册</a>
				<a class="button blue2" href="{%$mlink.findpw%}">找回密码</a>
			</div>
		</div>
</form>