?? top.asp
字號:
<%
if session("admin")="" or session("key")="" then
response.Write("<script>alert('您好!您還沒有登陸');window.location.href('login.asp')</script>")
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>考試系統</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" bgcolor="#0080C0" class="whitetext"> <% =session("admin")%>您好,歡迎進入在線考試系統后臺管理,您的級別是:
<%
dim key
key=session("key")
select case key
case "1"
response.write "管理員"
case "2"
response.write "維護員"
end select
%></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -