?? manage.asp
字號:
<!--#include file="conn.asp" -->
<!--#include file="ConnUser.asp" -->
<!--#include file="config.asp" -->
<!--#include file="char.inc"-->
<!--#include file="ChkUser.asp"-->
<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>
<%
response.cookies(Forcast_SN)("ManageUserName")=""
response.cookies(Forcast_SN)("ManageKEY")=""
response.cookies(Forcast_SN)("ManagePurview")=""
response.cookies(Forcast_SN)("ManageFullName")=""
response.cookies(Forcast_SN)("ManageReglevel")=""
showerr=request("showmess")
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
%>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%><%=ver%></title>
</head>
<body bgcolor="#c1d2eb" topmargin="0" marginheight="0">
<br>
<p> </p>
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber1">
<form method="POST" action="ChkManageLogin.asp" name="UserLogin" onSubmit="return CheckFormUserLogin();">
<tr >
<td height="67" colspan="2" align="center" background="IMAGES/top1.gif" >
<b><font color="#ffffff" ><%=copyright%> <p><%=version%> <%=ver%></font></b>
</td>
</tr>
<tr>
<td height="37" colspan="2" align="center" class="TDtop">
<span ><font color=red>┊ <strong>管 理 登 錄</strong> ┊</font></span>
</td>
</tr>
<tr>
<td width="45%" align="right">用戶名:</td>
<td width="55%" align="left">
<input name="UserName" size="15" font face="宋體" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<tr>
<td align="right">密 碼:</td>
<td align="left">
<input type="password" name="Passwd" size="15" font face="宋體" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<tr>
<td align="right">驗證碼:</td>
<td align="left">
<input type="text" name="verifycode" size="15" font face="宋體" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
<b><span><font color=#000000><%=getcode1()%></font></span></b>
</td>
</tr>
<%if showerr<>"" then%>
<tr>
<td colspan="2" align="center">
<p><font size=3 color=red><%=showerr%></font></p>
</td>
</tr>
<%end if%>
<tr>
<td colspan="2" align="center">
<p>
<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="重輸">
</p>
</td>
</tr>
<tr >
<td colspan="2" align="center" background="IMAGES/top2.gif"> </td>
</tr>
</form>
</table>
</body>
</html>
<%response.end%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -