<!DOCTYPE html>
<html>
<!-- #include file="LyricInc/functions.asp" -->
<%
errno=Request("errno")
If errno<>"" Then
	If CInt(errno)=2 Then
		errmsg="用户名或密码不能为空!"
	End If

	If CInt(errno)=1 Then
		errmsg="错误的用户名或密码!"
	End If
	If CInt(errno)=0 Then
		errmsg="错误的验证码!"
	End If
End If
%>
<head>
<meta charset="utf-8"/>
<title><%=gdb("select web_name from web_settings ")%> - GovPet Government Website Management System</title>
<meta name="author" content="GovPet" />
<link rel="stylesheet" type="text/css" href="css/style.css" tppabs="css/style.css" />
<style>
body{height:100%;background:#0586a2;overflow:hidden;}
canvas{z-index:-1;position:absolute;}
</style>
<script src="js/jquery.js"></script>
<script src="js/verificationNumbers.js" tppabs="js/verificationNumbers.js"></script>
<script src="js/Particleground.js" tppabs="js/Particleground.js"></script>
<script>
$(document).ready(function() {
  //粒子背景特效
  $('body').particleground({
    dotColor: '#22aecc',
    lineColor: '#22aecc'
  });
  //验证码
  createCode();
  //测试提交，对接程序删除即可
  $(".submit_btn").click(function(){
	  location.href="javascrpt:;"/*tpa=http://***index.html*/;
	  });
});
</script>
<script language="JavaScript">
function CheckLogin()
{
	if(document.MyForm.username.value=="")
	{
		alert("请输入用户名再提交！");
		document.MyForm.username.focus();
		return false 
	}
	if(document.MyForm.password.value=="")
	{
		alert("请输入密码再提交！");
		document.MyForm.password.focus()
		return false 

	}
}
</script>
 
<form action="admin_login.asp" method="post" name="MyForm" id="MyForm"><INPUT type="hidden" value="chklogin" name="reaction">
<dl class="admin_login">
 <dt>
  <img src='images/logo.png' alt='logo'>
 </dt>
 <dd class="user_icon">
  <input type="text" placeholder="账号" class="login_txtbx" name="username"/>
 </dd>
 <dd class="pwd_icon">
  <input type="password" placeholder="密码" class="login_txtbx" name="password"/>
 </dd>
 <dd class="val_icon">
  <div class="checkcode">
    <input type="text" id="J_codetext" placeholder="验证码" maxlength="6" class="login_txtbx" name="verifycode">
    
  </div>
  <IMG style="CURSOR: pointer"
            onclick="this.src=this.src+'?'" height=20 width=70 alt="验证码,看不清楚?请点击刷新验证码"
            src="PetCode.asp">
 </dd>
 <dd>
  <input type="submit" value="立 即 登 录" class="submit_btn"  onclick="return CheckLogin()" />
 </dd>
 <dd><span style="color:#FF0000;"><%=errmsg%></span></dd>
</dl>
</form>
 <div class='CopyR'>
  <p>&copy; 2019 佳贝政府网站管理系统 GovPet V1.0 <a href="http://www.govpet.com" target="_blank">www.govpet.com</a> 版权所有 All rights reserved</p>
 </div>
</body>
</html>
