login.html
2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!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>