?? menu.asp
字號:
<%
'********************************************
'** FileName: menu.asp
'** Author: Zhou Bo Email:bestfangli@china.com
'** Date: 2001-03-04
'**
'**
'********************************************
%><!--#include file="inc.asp"-->
<%
response.buffer=true
on error resume next
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body bgcolor="Gray" text="Maroon" link="Yellow" alink="White" vlink="Lime">
<br><br><br><br>
<%
if session("Login")="UserLogin" then
xmail.username=session("UserName")
xmail.Password=session("Password")
xmail.connect
%>
<center>
<a href="MailList.asp" target="main">Read Mail</a><br><br>
Send Mail<br><br>
Config<br><br>
<a href="ChangePassword.asp" target="main">Change Password</a><br><br>
</center>
<%
end if
%>
<%
if session("Login")="AdminLogin" then
xmailadmin.ServerUserID = session("UserName")
xmailadmin.ServerPassword = session("Password")
xmailadmin.Command = 20
xmailadmin.Execute
if xmailadmin.resultcode=-110 then
response.write "Login Error"
response.end
end if
%>
<center>
<br>
<a href="main.asp" target=main>Config System</a>
<br><br>
<%
i=xmailadmin.ResultCount
dim strResult
for j=0 to i-1
strResult=xmailadmin.GetResultByIndex(j)
strResult=fmResult(strResult)
%>
<a href="configServer.asp?server=<%=strResult %>" target=main><%=strResult %></a><br><br>
<%
next
%>
</center>
<%
end if
%>
<center>
<a href=logout.asp>logout</a>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -