login.html 1.77 KB
<!DOCTYPE html>
<html lang="en"><head>
	<meta charset="UTF-8">
	<title><{:C('title')}></title>
	<link rel="stylesheet" href="__ROOTPUB__css/login.css">
</head>
<body>
<div class="large-header" >
	<div class="login_box">
		<div class="login_logo"><img src="__ROOTPUB__img/logo.png" alt=""></div>
		<div class="login_center">
			<form method="post" action="<{:U('Public/login')}>"  class="demoform">
				<div class="input-hideo">
					<label class="input-icon fl">
						<img src="__ROOTPUB__img/user.png" alt="">
					</label>
					<input class="input-field fr" type="text" placeholder="请输入您的账号" name="account">
				</div>
				<div class="input-hideo">
					<label class="input-icon fl">
						<img src="__ROOTPUB__img/padd.png" alt="">
					</label>
					<input class="input-field fr" type="password" placeholder="请输入您的密码" name="password">
				</div>
				<div class="clear"></div>
				<div class="input-hideo">
					<input class="input-field1 fl" type="text" placeholder="验证码" name="code">
					<a href="javascript:fleshVerify()"><img id="verifyImg" width="60px"  src="<{:U('verify',array(),'')}>"  alt="点击刷新验证码" onclick="fleshVerify()" style=" cursor:pointer;vertical-align:top"/></a>
				</div>
				<input name="act" value="signin" type="hidden">
				<button class="enter" type="submit" >进入管理中心</button>
			</form>
		</div>
	</div>
</div>
<script type="text/javascript" src="__ROOTPUB__js/jquery-1.9.1.min.js"></script>
<script language="JavaScript">
function fleshVerify(){ 
    //重载验证码
    var time = new Date().getTime();
        document.getElementById("verifyImg").src="<{:U('verify',array(),'')}><{:C('URL_PATHINFO_DEPR')}>"+time;
}
$(".demoform").Validform();
</script>
</body>
</html>