📄 login.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<%
response.cookies(Forcast_SN)("name")=""
response.cookies(Forcast_SN)("KEY")=""
response.cookies(Forcast_SN)("purview")=""
response.cookies(Forcast_SN)("fullname")=""
response.cookies(Forcast_SN)("reglevel")=""
response.cookies(Forcast_SN)("shenhe")=""
response.cookies(Forcast_SN)("ViewUrl")="Admin_login.asp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%><%=ver%>完美设计网络科技有限公司 完美政府网站管理系统 http://www.wmgov.cn</title>
<script language="JavaScript">
<!--
if (self != top) top.location.href = window.location.href
//-->
</script>
<script language=javascript>
function CheckFormUserLogin()
{
if(document.UserLogin.name.value=="")
{
alert("请输入用户名!");
document.UserLogin.name.focus();
return false;
}
if(document.UserLogin.password.value == "")
{
alert("请输入密码!");
document.UserLogin.password.focus();
return false;
}
if(document.UserLogin.verifycode.value == "")
{
alert("请输入验证码!");
document.UserLogin.verifycode.focus();
return false;
}
}
</script>
<style type="text/css">
<!--
.style1 {
font-size: 10.5pt;
font-weight: bold;
}
body {
background-color: #FFFFFF;
}
-->
</style>
</head>
<body topmargin="0" marginheight="0">
<br>
<p> </p>
<form method="POST" action="ChkLogin.asp" name="UserLogin" onSubmit="return CheckFormUserLogin();">
<table width="719" height="318" border="0" align=center cellpadding="0" cellspacing="0" background="IMAGES/login.gif">
<tr>
<td height="64" colspan="2" align="center"><font color="#000000">
<p></font></td>
</tr>
<tr>
<td height="41" colspan="2" align="center"><span class="style1"></span></td>
</tr>
<tr>
<td width="270" height="176" >
</td>
<td width="449" height="176" align="left" valign="top" ><div align="left"></div>
<table width="210" border="0" align="center" cellpadding="6">
<tr>
<td width="194">用户
<input name="name" size="15" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4"> </td>
</tr>
<tr>
<td>密码
<input type="password" name="password" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4" id="password" size="15" onFocus="this.select();" readOnly onKeyDown="Calc.password.value=this.value" onChange="Calc.password.value=this.value" onclick= "password1=this;showkeyboard();this.readOnly=1;Calc.password.value=''"> </td>
</tr>
<tr>
<td height="8">验证
<%
Function getcode1()
Dim test
On Error Resume Next
Set test=Server.CreateObject("Adodb.Stream")
Set test=Nothing
If Err Then
Dim zNum
Randomize timer
zNum = cint(8999*Rnd+1000)
Session("verifycode") = zNum
getcode1= Session("verifycode")
Else
getcode1= "<img src=""getcode.asp"">"
End If
End Function
%>
<input type="text" name="verifycode" size="15" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4">
<b><span><font color=#000000><%=getcode1()%></font></span></b> </td>
</tr>
<tr>
<td>
<p align="center">
<input type="submit" name="Submit" value="确定" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#24F708'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" title="登录中极速网站管理系统">
<input type="reset" name="Submit2" value="重输" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#24F708'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" title="重新输入">
</p></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
<script language="JavaScript" type="text/JavaScript">
CheckBrowser();
SetFocus();
</script>
<script language="JavaScript" src="softkeyboard.js"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -