📄 default.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/const.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=corp%></title>
<link href="/loginimg/textarea.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
if (document.location!=top.location) top.location=document.location;
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script language=javascript>
function CheckData()
{
if(jtrim(document.loginform.LoginName.value)=="")
{
alert("请输入登录用户名。")
document.loginform.LoginName.focus();
return false;
}
//return true;
document.loginform.submit();
}
function jtrim(s)
{
var i,b=0,e=s.length;
for(i=0;i<s.length;i++) if(s.charAt(i)!=' '){b=i;break;}
if(i==s.length) return "";
for(i=s.length-1;i>b;i--) if(s.charAt(i)!=' '){e=i;break;}
return s.substring(b,e+1);
}
</script>
<style type="text/css">
<!--
body {
margin-top: 0px;
}
-->
</style></head><%
Errmsg=trim(request("ErrorMessage"))
if Errmsg<>"" then
response.write "<script>alert('"& ErrMsg &"')</script>"
end if
quit=trim(request("quit"))
if quit="1" then
Session("LoginName") = ""
Session("LoginID") = ""
Session("LoginOK")= false
session.abandon
Errmsg="您已经退出了登录。"
'response.write "<p align=""right""><font color=#000080>"& ErrMsg &"</font></p>"
end if
Change=trim(request("Change"))
if Change="1" then
Session("LoginName") = ""
Session("LoginID") = ""
Session("LoginOK")= false
Errmsg="请输入您要登录的用户名。"
response.write "<script>alert('"& ErrMsg &"')</script>"
end if
%>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<form name="loginform" method="post" action="Main.asp" onSubmit="return CheckData();" onkeypress='if(event.keyCode==13)return CheckData();'>
<DIV align=center><BR><BR><BR><BR><BR>
<TABLE cellSpacing=1 cellPadding=0 width=668 bgColor=#32A1E6 border=0>
<TBODY>
<TR>
<TD>
<TABLE height=408 cellSpacing=1 cellPadding=0 width=667
background=loginimg/bannerq.jpg border=0>
<TBODY>
<TR>
<TD>
<P><BR><BR><BR><BR><BR><BR><BR><BR></P>
<P> </P>
<P> </P>
<P>管理员用户:03 密码:123 </P>
<TABLE cellSpacing=0 cellPadding=2 width=660 bgColor=#7db35d
border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD width="28%">
<DIV align=right>帐号:</DIV></TD>
<TD width="72%">
<DIV align=left>
<input name="LoginName" type="text" maxlength="20" class="input">
</DIV></TD></TR>
<TR bgColor=#ffffff>
<TD>
<DIV align=right>密码:</DIV></TD>
<TD>
<DIV align=left>
<input name="Pwd" type="Password" maxlength=20 class="input" size="20" > </DIV></TD></TR>
<TR bgColor=#ffffff>
<TD height=37>
<DIV align=left></DIV></TD>
<TD>
<DIV align=left>
<P><INPUT id=submit style="FONT-SIZE: 12px; HEIGHT: 27px" onClick="return CheckData();"" type=submit value="登 录" name=submit>
<INPUT style="FONT-SIZE: 12px; HEIGHT: 27; width:55" onclick="javascript:document.location.href='reg/main.asp'" type=button value=注册 name=Submit2>
</P></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></FORM>
<P> </P></BODY></HTML><script src="/count/mystat.asp"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -