?? adminnumber.asp
字號:
<!--#include file="conn.asp"-->
<%
if session("adminname")="" then
response.redirect "relogin.asp"
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系統管理</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="25">
<tr>
<td width="100%">
<p align="left"><b><br>
管理員級別:<font color="#FF0000"><% if cint(session("power"))=-1 then %>最高管理員<%end if%><% if cint(session("power"))=0 then %>一般管理員<%end if%><% if cint(session("power"))>0 then %>老師<%end if%><% if cint(session("power"))=-2 then %>無權限老師<%end if%></font><br>
<br><% if cint(session("power"))=-1 then %>權限:</b>可以對管理員進行管理,并有全部的后臺管理功能<%end if%>
<% if cint(session("power"))=0 then %>權限:</b>除沒有"管理員管理"功能以外的所有后臺管理功能<%end if%>
<% if cint(session("power"))>0 then %>權限:</b>僅可以添加和批改相關科目的試卷和題目<%end if%>
<% if cint(session("power"))=-2 then %>權限:</b>您什么權限都沒有,請讓最高管理員給您分配<%end if%>
<br>
<br>
<b>服務器有關的變量</b></b><br>
<br>絕對路徑:<%=request.ServerVariables("PATH_TRANSLATED")%>
<br>用戶IP地址:<%=request.ServerVariables("REMOTE_ADDR")%>
<br>服務器的主機名,DNS別名,或IP地址:<%=request.ServerVariables("SERVER_NAME")%>
<br>服務器處理請求的端口:<%=request.ServerVariables("SERVER_PORT")%>
<br>請求協議的名稱和版本:<%=request.ServerVariables("SERVER_PROTOCOL")%>
<br>HTTP服務器的名稱和版本:<%=request.ServerVariables("SERVER_SOFTWARE")%>
<br><br>HTTP_ACCEPT_LANGUAGE:<%=request.ServerVariables("HTTP_ACCEPT_LANGUAGE")%>
<br>HTTP_USER_AGENT:<%=request.ServerVariables("HTTP_USER_AGENT")%>
<br>HTTP_REFERER:<%=request.ServerVariables("HTTP_REFERER")%>
<hr></td>
</tr>
</table>
<center>
<p></p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -