Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'====================================================='| |'| Computer Users |'| |'=====================================================%><%Option explicitResponse.Expires = 0%><!--#include file="common/globals.asp"--><!--#include file="common/config.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/_computer_common.asp"--><%'------------ ACCESS CONTROL ------------------%><!--#include file="_access_control_general.asp"--><%'------------ VARIABLE DEFINITION -------------Dim rsQry'------------ CONSTANTS DECLARATION -----------Const LIMG_USER = "<img src='images/i_user.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"Const LIMG_USER_DISABLED = "<img src='images/i_user_disabled.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"Const LIMG_ROLE = "<img src='images/i_role.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"'------------ VARIABLE INIT -------------------'------------ CONDITIONS ----------------------'----------------------------------------------%><%'------------ RUN BEFORE PAGE RENDER ----------Call GetComputerDetails ( parClient_ip, objComputerCollector )'----------------------------------------------%><html><head><title>Access Manager</title><meta HTTP-EQUIV="Pragma" CONTENT="no-cache"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="scripts/access_manager.css" rel="stylesheet" type="text/css"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"><!-- HEADER ++++++++++++++++++++++ --><!--#include file="_header.asp"--><!-- +++++++++++++++++++++++++++++ --><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="1%" valign="top" background="images/bg_bage_pane.gif"><!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ --><!--#include file="_treeNavigator.asp"--><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --></td><td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td><td width="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="9"><tr><td background="images/bg_drk_bage_pane.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td nowrap class="body_txt"><!-- BUTTONS CONTROL +++++++++++++++++++ --><!-- +++++++++++++++++++++++++++++++++++ --></td><td align="right" nowrap class="section_ttl"><%=PARENT_TITLE%></td></tr></table></td></tr><tr><td class="menu_crumbttl"><%Call RenderTitle ( objComputerCollector )%></td></tr><tr><td><!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><!-- TAB CONTROLS ++++++++++++++++++++++ --><!--#include file="_tabs_definition.asp"--><%Set objTabControl = New TabControlobjTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleMac/mac_style.html") ) ' Supply tab style definitionobjTabControl.TabStyle = "StyleMac"objTabControl.AddTabDefnition ( arrComputer )'objTabControl.SelectByName ( "Members" )objTabControl.Render ()%><!-- END OF TAB CONTROLS +++++++++++++++ --><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="500"></td><td width="100%" valign="top"><table width="100%" border="0" cellspacing="10" cellpadding="0"><tr><td><!-- TAB DETAILS +++++++++++++++++++++++++++++ --><table width="100%" border="0" cellspacing="3" cellpadding="0"><tr><td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td><td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td><td width="30%" background="images/bg_table_border.gif"><table width="100%" border="0" cellspacing="1" cellpadding="2"><tr><td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name</td></tr></table></td><td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td><td width="60%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td></tr><%OraDatabase.Parameters.Add "CLIENT_IP", parClient_ip, ORAPARM_INPUT, ORATYPE_VARCHAR2Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ComputerUsers.sql") , ORADYN_DEFAULT )While (NOT rsQry.BOF) AND (NOT rsQry.EOF)%><tr><td align="center"><input type="checkbox" name="user_id" value="<%=rsQry("user_id")%>"></td><td align="center"><%=rsQry("user_online")%></td><td nowrap class="body_row"><a title="See User General Info" href="User_General.asp?user_id=<%=rsQry("user_id")%>&<%=objPMod.ComposeURL%>" class="body_link"><%=Eval( rsQry("user_image") ) & rsQry("full_name")%></a></td><td class="body_rowg"><%=rsQry("user_name")%></td><td ></td></tr><%rsQry.MoveNext%><%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%><tr><td colspan="5" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td></tr><%End If%><%WEndOraDatabase.Parameters.Remove "CLIENT_IP"%><tr><td colspan="5" background="images/bg_table_border.gif"><table width="100%" border="0" cellspacing="1" cellpadding="2"><tr><td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td></tr></table></td></tr></table><!-- +++++++++++++++++++++++++++++++++++++++++ --></td></tr></table></td><td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td></tr></table><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><br></td></tr></table></td></tr></table><!-- FOOTER ++++++++++++++++++++++ --><!--#include file="_footer.asp"--><!-- +++++++++++++++++++++++++++++ --></body></html><%'------------ RUN AFTER PAGE RENDER -----------'----------------------------------------------%><!--#include file="common/globals_destructor.asp"-->