sysadmin_view.asp

来自「烈火之家整站程序 本程序集商业娱乐一体,本来是给自己用的但是我的国外空间支持不够」· ASP 代码 · 共 127 行

ASP
127
字号
<%@ language="VBScript"%>
<!--#include file="admin.asp"-->
<!--#include file="conn.asp"-->
<%
set rs = Server.CreateObject("ADODB.Recordset")
set rs2 = Server.CreateObject("ADODB.Recordset")

sqltext="select * from 0591_User where username='"+Session("Name")+"'"
rs.Open sqltext,conn,1,1
if not rs.EOF then
	realname=trim(rs("realname"))
	logincount=rs("logincount")
	LastLoginTime=rs("LastLoginTime")
        LastLogoutTime=rs("LastLogoutTime")
        Purview=rs("Purview")
	idcount=rs(0)
else
	if Session("Name")="xu256" then
		realname="Xu256"
	else
		Response.End
	end if	
end if
rs.Close
%>

<html>
<head>
<title>您的信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../Inc/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {font-size: 12px; color: #000; font-family: 宋体}
td {font-size: 12px; color: #000; font-family: 宋体;}

.t1 {font:12px 宋体;color:#000000} 
.t2 {font:12px 宋体;color:#ffffff} 
.t3 {font:12px 宋体;color:#ffff00} 
.t4 {font:12px 宋体;color:#800000} 
.t5 {font:12px 宋体;color:#191970} 

.font1 {  font-family: "宋体"; font-size: 12px; color: #000000}
.font2 {  font-family: "黑体"; font-size: 20px; font-weight: bold; color: #000000}
.font3 {  font-family: "宋体"; font-size: 12px; color: #FFFFFF}

A.r1:link {font-size:12px;text-decoration:underline;color:#000000;}
A.r1:visited {font-size:12px;text-decoration:underline;color:#000000;}
A.r1:hover {font-size:12px;text-decoration:underline;color:#cc0000;}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table cellpadding="2" cellspacing="1" border="0" width="95%" align="center" class="a2">
  <tr> 
    <td class="a1" colspan="2" height="25" align="center"><b>系统信息</b></td>
  </tr>
  <tr class="a4"> 
    <td width="50%" height="23">用户名:<font class="t4"> <%=Session("Name")%></font></td>
    <td width="50%">您的目前身份:<font class="t4"> <%=realname%></font></td>
  </tr>
  <tr class="a4"> 
    <td width="50%" height="23">身份过期:<font class="t4"><%=Session.timeout%> 分钟</font></td>
    <td width="50%">上次上线时间:<font class="t4"> <%=LastLogoutTime%></font></td>
  </tr>
  <tr class="a4"> 
    <td width="50%" height="23">上线次数:<font class="t4"><%=Purview%></font></td>
    <td width="50%">本次上线时间:<font class="t4"> <%=LastLoginTime%></font></td>
  </tr>
  <tr class="a4"> 
    <td width="50%" height="23">服务器域名:<font class="t4"> <%=Request.ServerVariables("server_name")%> 
      / <%=Request.ServerVariables("Http_HOST")%></font></td>
    <td width="50%">脚本解释引擎:<font class="t4"> <%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></font></td>
  </tr>
  <tr class="a4">
    <td height="23">服务器端口:<font class="t4"><%=Request.ServerVariables("SERVER_PORT")%> </font></td>
    <td>服务器时间:<font class="t4"><%=now%> </font></td>
  </tr>
  <tr class="a4"> 
    <td height="23">绝对路径:<font class="t4"><%=Request.ServerVariables("PATH_TRANSLATED")%></font></td>
    <td>脚本超时时间:<font class="t4"><%=Server.ScriptTimeout%> </font>秒 </td>
  </tr>
  <tr class="a4"> 
    <td width="50%" height="23">服务器软件的名称:<font class="t4"> <%=Request.ServerVariables("SERVER_SOFTWARE")%></font></td>
    <td width="50%">本浏览器版本:<font class="t4"> <%=Request.ServerVariables("Http_User_Agent")%></font></td>
    <!-- <td width="50%">ACCESS 数据库路径:<a target="_blank" href="<%=datapath%><%=datafile%>"><%=datapath%><%=datafile%></a></td> -->
  </tr>
</table>
<br>
<table cellpadding="2" cellspacing="1" border="0" width="95%" align="center" class="a2">
	<tr>
		<td class="a1" colspan="2" height="25" align="center"><b>管理快捷方式</b></td>
	</tr>
	<tr class="a4">
		<td width="20%" height="23">快捷功能链接</td>
		<td width="80%" height="23">
		  <a href="0591_Admin_Pass_edit.asp?ID=<%=idcount%>"><font color="000000">修改口令</font></a>
		| <a href="Manage_JobBook.asp"><font color="000000">定制业务管理</font></a> 
		| <a href="Manage_gBook.asp"><font color="000000">留言管理</font></a> 
		| <a href="ArticleAdd.asp"><font color="000000">添加作品</font></a> 
                | <a href="ArticleAdd.asp"><font color="000000">添加作品</font></a>
		</td>
	</tr>
</table>
<br>
<table cellpadding="2" cellspacing="1" border="0" width="95%" align="center" class="a2">
	<tr class="a4">
		<td class="a1" colspan="2" height="25" align="center"><b>版权信息</b></td>
	</tr>
	<tr class="a4">
		
    <td width="20%">网站版权</td>
    <td width="80%">烈火之家</td>
	</tr>
	<tr class="a4">
		<td width="20%" height="23">联系方法</td>
		
    <td width="80%"> E-mail:<a href="mailto:liehuogo@126.com">liehuo@126.com</a><br>
      QQ: <font color="#FF0000">55782000</font><br>
      网址:<a href="http://liehuo.com.ru" target=_blank><font color="000000">liehuo.com.ru</font></a><br>
      地址:中国 陕西省 西安市 北沙坡</td>
	</tr>
</table>
<BR>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?