?? login.asp
字號:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>網站后臺登錄</title>
<STYLE type="text/css">
<!--
a:link {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited {text-decoration: none; color: #000000 }
A:hover {COLOR: green; FONT-FAMILY: "宋體,MingLiU"; TEXT-DECORATION: underline}
body {font-size: 9pt; font-family: 宋體,MingLiU, Arial;color: #000000}
TD {FONT-SIZE: 9pt; FONT-FAMILY: "宋體,MingLiU, Arial";color: #000000;table-layout:fixed;word-break:break-all}
p {FONT-SIZE: 9pt; FONT-FAMILY: "宋體,MingLiU, Arial";color: #000000}
input {FONT-SIZE: 9pt; FONT-FAMILY: "宋體,MingLiU, Arial";color: #000000}
body {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select {FONT-SIZE: 9PT;}
option {FONT-SIZE: 9pt;}
textarea {FONT-SIZE: 9pt;}
-->
</STYLE>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{
if (theForm.user.value == "")
{
alert("請在 用戶名 域中輸入值。");
theForm.user.focus();
return (false);
}
if (theForm.user.value.length < 2)
{
alert("在 用戶名 域中,請至少輸入 2 個字符。");
theForm.user.focus();
return (false);
}
if (theForm.user.value.length > 20)
{
alert("在 用戶名 域中,請最多輸入 20 個字符。");
theForm.user.focus();
return (false);
}
if (theForm.pass.value == "")
{
alert("請在 密碼 域中輸入值。");
theForm.pass.focus();
return (false);
}
if (theForm.pass.value.length < 5)
{
alert("在 密碼 域中,請至少輸入 5 個字符。");
theForm.pass.focus();
return (false);
}
if (theForm.pass.value.length > 20)
{
alert("在 密碼 域中,請最多輸入 20 個字符。");
theForm.pass.focus();
return (false);
}
if (theForm.yzm.value == "")
{
alert("請在 驗證 域中輸入值。");
theForm.yzm.focus();
return (false);
}
if (theForm.yzm.value.length < 5)
{
alert("在 驗證 域中,請至少輸入 5 個字符。");
theForm.yzm.focus();
return (false);
}
if (theForm.yzm.value.length > 5)
{
alert("在 驗證 域中,請最多輸入 5 個字符。");
theForm.yzm.focus();
return (false);
}
var checkOK = "0123456789-";
var checkStr = theForm.yzm.value;
var allValid = true;
var validGroups = true;
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
}
if (!allValid)
{
alert("在 驗證 域中,只能輸入 數字 字符。");
theForm.yzm.focus();
return (false);
}
return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="admin_login.asp" target=_top onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" id="table9" >
<tr>
<td style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" background="images/admin_login.jpg" width="563" height="364" id="table10">
<tr>
<td valign="top" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<div align="center">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table11">
<tr>
<td width="207" height="130" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td height="130" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> <%
if request("id")="0" then response.write "請填寫完整!"
if request("id")="1" then response.write "用戶名或密碼錯誤!"
if request("id")="3" then response.write "驗證碼錯誤"
if request("id")="8" then response.write "網絡超時,或未登錄。請重新登錄!"
if request("id")="9" then response.write "正常退出后臺管理系統"
%>
</td>
<td width="37" height="130" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
<tr>
<td width="207" height="111" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td height="111" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<table border="0" cellpadding="5" cellspacing="0" width="319" id="table12">
<tr>
<td width="114" align="center" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
用戶名</td>
<td width="205" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<!--webbot bot="Validation" s-display-name="用戶名" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="20" --><input type="text" name="user" size="24" maxlength="20" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000"></td>
</tr>
<tr>
<td width="114" align="center" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
密 碼</td>
<td width="205" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<!--webbot bot="Validation" s-display-name="密碼" b-value-required="TRUE" i-minimum-length="5" i-maximum-length="20" --><input type="password" name="pass" size="24" maxlength="20" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000"></td>
</tr>
<tr>
<td width="114" align="center" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
驗證碼</td>
<td width="205" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table13">
<tr>
<td> <!--webbot bot="Validation" s-display-name="驗證" s-data-type="String" b-allow-digits="TRUE" b-value-required="TRUE" i-minimum-length="5" i-maximum-length="5" --><input type="text" name="yzm" size="14" maxlength="5"></td>
<td> <img src=showcode.asp?type=2" alt="驗證碼" align="absmiddle" ></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td width="37" height="111" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
<tr>
<td width="207" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td width="37" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
<tr>
<td width="207" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
<p align="center">
<input type="image" src=images/login001.jpg value="提交" name="B1">
<a href="#" onClick="window.opener=null;window.close()" style="text-decoration: none; font-family: AdobeSm; color: #000000">
<img border="0" src="images/login002.jpg" width="72" height="21"></a></td>
<td width="37" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
<tr>
<td width="207" height="56" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td height="56" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
<td width="37" height="56" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
<tr>
<td width="207" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> <font color="#FFBEC6"><%=now()%></font></td>
<td style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"><span style="letter-spacing: -1pt"> </span> <a target="_blank" href="http://www.xuas.com" ><font color="#FFBEC6">www.xuas.com</font></a></td>
<td width="37" style="font-size: 9pt; font-family: 宋體,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> </td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -