login.html 2.24 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>

<link rel="stylesheet" href="__PUB__css/style.css" type="text/css">
<link rel="stylesheet" href="__PUB__css/css.css" type="text/css">
<!-- <script type="text/javascript" src="__PUB__js/utils.js"></script> -->
<script type="text/javascript" src="__PUB__js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="__PUB__js/Validform_v5.3.2.js"></script>

</head>
<body class="loginpage">

<div class="loginbox">
      <div class="loginboxinner">
          
            <div class="logo">
			<h1><span>后台</span>管理系统</h1>
			<p style="font-style: inherit;"><a href="<{:C('')}>" style="color:white">返回首页</a></p>
			<!--p>premium admin template</p-->
            </div><!--logo-->            
		<form class="demoform" method="post" action="<{:U('Public/login')}>">
		<div class="username">
			<div class="usernameinner">
				<input name="username" placeholder="管理员姓名" type="text" datatype="*" nullmsg="管理员姓名不能为空" />
			</div>
		</div>
		<div class="password">
			<div class="passwordinner">
				<input name="password" placeholder="管理员密码" type="password" datatype="*" nullmsg="管理员密码不能为空">
			</div>
		</div>
		<div class="repassword">
			<div class="repasswordinner">
				<input name="verify" placeholder="验证码" type="text" class="text1" datatype="*" nullmsg="验证码不能为空" /><span><a href="javascript:fleshVerify()"><img id="verifyImg" src="<{:U('verify',array(),'')}>"  alt="点击刷新验证码" onclick="fleshVerify()" style=" cursor:pointer;vertical-align:top"/></a></span>
			</div>
		</div>
		<button type="submit" id="btn_sub"><b>进入管理中心</b></button>
		<input name="act" value="signin" type="hidden">
		</form>
            
	</div><!--loginboxinner-->
</div><!--loginbox-->
</body>
</html>
<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>