?? default1.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="/images/css.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>
<body>
<%
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="您已經(jīng)退出了登錄。"
'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
%>
<!-- ImageReady Slices (hydl.psd) -->
<table id="__01" width="1024" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100" colspan="3">
<img src="/images/images/hydl_01.jpg" width="1024" height="150" alt=""></td>
</tr>
<tr>
<td rowspan="3">
<img src="/images/images/hydl_02.jpg" width="333" height="298" alt=""></td>
<td>
<img src="/images/images/hydl_03.jpg" width="445" height="76" alt=""></td>
<td rowspan="3">
<img src="/images/images/hydl_04.jpg" width="246" height="298" alt=""></td>
</tr>
<tr>
<td height="145" align="center" background="/images/images/hydl_05.jpg"><form name="loginform" method="post" action="Main.asp" onSubmit="return CheckData();" onkeypress='if(event.keyCode==13)return CheckData();'>
<br>
用 戶
<input name="LoginName" type="text" maxlength="20" class="input" size="15">
密 碼
<input name="Pwd" type="Password" maxlength=20 class="input" size="15">
<br>
<br>
<table width="445">
<tr>
<td width="156" height="30"></td>
<td width="277"><input name="imageField" type="image" src="images/1.gif" width="58" height="20" border="0" onClick="return CheckData();">
<a href="#" onClick="window.open('reg/main.asp')"><img src="images/2.gif" width="58" height="20" border="0"></a></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td>
<img src="/images/images/hydl_06.jpg" width="445" height="77" alt=""></td>
</tr>
<tr>
<td height="120" colspan="3" background="/images/images/hydl_07.jpg"> </td>
</tr>
</table>
<!-- End ImageReady Slices -->
<script src="/count/mystat.asp"></script>
</body>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -