📄 login.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<%
response.cookies(eChuang)("UserName")=""
response.cookies(eChuang)("KEY")=""
response.cookies(eChuang)("purview")=""
response.cookies(eChuang)("fullname")=""
response.cookies(eChuang)("reglevel")=""
response.cookies(eChuang)("shenhe")=""
response.cookies(eChuang)("ViewUrl")="Admin_login.asp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="news.css" rel="stylesheet">
<title>本程序由酷源码下载提供发布
酷源码下载提供大量企业整站源码免费下载
网址 http://www.kyuanma.com</title>
<script language="JavaScript">
<!--
if (self != top) top.location.href = window.location.href
//-->
</script>
<script language=javascript>
function CheckFormUserLogin()
{
if(document.UserLogin.UserName.value=="")
{
alert("请输入用户名!");
document.UserLogin.UserName.focus();
return false;
}
if(document.UserLogin.Passwd.value == "")
{
alert("请输入密码!");
document.UserLogin.Passwd.focus();
return false;
}
if(document.UserLogin.verifycode.value == "")
{
alert("请输入验证码!");
document.UserLogin.verifycode.focus();
return false;
}
}
</script>
</head>
<body>
<form method="POST" action="ChkLogin.asp" name="UserLogin" onSubmit="return CheckFormUserLogin();">
<table width="400" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#F1C709">
<tr >
<td height="67" colspan="2" align="center" background="images/admin_topbg.gif" >
<p>酷源码下载(www.kyuanma.com)</p>
</td>
</tr>
<tr>
<td height="37" colspan="2" align="center" class="TDtop">┊ 管 理 登 录┊</td>
</tr>
<tr>
<td width="45%" align="right">用户名:</td>
<td width="55%" align="left">
<input name="UserName" size="15">
</td>
</tr>
<tr>
<td align="right">密 码:</td>
<td align="left">
<input type="password" name="Passwd" size="15">
</td>
</tr>
<tr>
<td align="right">验证码:</td>
<td align="left">
<input type="text" name="verifycode" size="15">
<%
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
%>
<%=getcode1()%>
</td>
</tr>
<%if showerr<>"" then%>
<tr>
<td colspan="2" align="center">
<%=showerr%>
</td>
</tr>
<%end if%>
<tr>
<td colspan="2" align="center">
<input type="submit" name="Submit" value="确定" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" 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='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" title="重输">
</td>
</tr>
<tr><td colspan="2" align="center">版权所有:<a href="http://www.kyuanma.com" target="_blank">酷源码下载</a></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -