%@LANGUAGE="VBSCRIPT"%> <%session.lcid=2057%> <% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="True" MM_authFailedURL="adminfail.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (false Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %> <% Dim XTcurrentuser Dim XTcurrentuser_numRows Set XTcurrentuser = Server.CreateObject("ADODB.Recordset") XTcurrentuser.ActiveConnection = MM_xtralitesecure_STRING XTcurrentuser.Source = "SELECT XTusername, XTfirstname, XTlastname, XTcompany, XTaccountstatus, XTid FROM uid WHERE XTusername = '"&Session("MM_UserName")&"'" XTcurrentuser.CursorType = 0 XTcurrentuser.CursorLocation = 2 XTcurrentuser.LockType = 1 XTcurrentuser.Open() XTcurrentuser_numRows = 0 %> <% Dim AccessLogs Dim AccessLogs_cmd Dim AccessLogs_numRows Set AccessLogs_cmd = Server.CreateObject ("ADODB.Command") AccessLogs_cmd.ActiveConnection = MM_xtralitesecure_STRING AccessLogs_cmd.CommandText = "SELECT LogItem, LogTime, LogUser FROM AccessLogs ORDER BY LogTime" AccessLogs_cmd.Prepared = true Set AccessLogs = AccessLogs_cmd.Execute AccessLogs_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 AccessLogs_numRows = AccessLogs_numRows + Repeat1__numRows %> <% ' Set a variable to allow breaking of data by date and seed with dummy value Dim LastDateShown LastDateShown = "XXX" %>

You are currently logged in as <%=(XTcurrentuser.Fields.Item("XTfirstname").Value)%> <%=(XTcurrentuser.Fields.Item("XTlastname").Value)%> from <%=(XTcurrentuser.Fields.Item("XTcompany").Value)%>, if this is not you, or you should not have administration rights to this server then you must logout immediately.
| <%=(AccessLogs.Fields.Item("LogTime").Value)%> | '"><%=(AccessLogs.Fields.Item("LogUser").Value)%> | <%=(AccessLogs.Fields.Item("LogItem").Value)%> |