Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5354 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|			          Computer Users				 |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
Response.Expires = 0
12
%>
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/_computer_common.asp"-->
17
<%
18
'------------ ACCESS CONTROL ------------------
19
%>
20
<!--#include file="_access_control_general.asp"-->
21
<%
22
'------------ VARIABLE DEFINITION -------------
23
Dim rsQry
24
'------------ CONSTANTS DECLARATION -----------
25
'------------ VARIABLE INIT -------------------
26
'------------ CONDITIONS ----------------------
27
'----------------------------------------------
28
%>
29
<%
30
'------------ RUN BEFORE PAGE RENDER ----------
31
Call GetComputerDetails ( parClient_ip, objComputerCollector )
32
'----------------------------------------------
33
%>
34
<html>
35
<head>
36
<title>Access Manager</title>
37
<link rel="shortcut icon" href="<%=FavIcon%>"/>
38
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
39
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
41
</head>
42
 
43
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
44
<!-- HEADER ++++++++++++++++++++++ -->
45
<!--#include file="_header.asp"-->
46
<!-- +++++++++++++++++++++++++++++ -->
47
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
48
  <tr>
49
    <td width="1%" valign="top" background="images/bg_bage_pane.gif">
50
	<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
51
	<!--#include file="_treeNavigator.asp"-->  
52
	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
53
	</td>
54
    <td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
55
    <td width="100%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="9">
56
      <tr>
57
        <td background="images/bg_drk_bage_pane.gif">
58
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
59
            <tr>
60
              <td nowrap class="body_txt">
61
			    <!-- BUTTONS CONTROL +++++++++++++++++++ -->
62
				<!-- +++++++++++++++++++++++++++++++++++ -->
63
			  </td>
64
              <td align="right" nowrap class="section_ttl"><%=PARENT_TITLE%></td>
65
            </tr>
66
          </table>
67
		</td>
68
      </tr>
69
	  <tr>
70
        <td class="menu_crumbttl"><%Call RenderTitle ( objComputerCollector )%></td>
71
      </tr>
72
      <tr>
73
        <td>
74
		 <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
75
		 	<!-- TAB CONTROLS ++++++++++++++++++++++ -->
76
			<!--#include file="_tabs_definition.asp"-->
77
			<%
78
			Set objTabControl = New TabControl
79
			objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleMac/mac_style.html") ) ' Supply tab style definition
80
			objTabControl.TabStyle = "StyleMac"
81
			objTabControl.AddTabDefnition ( arrComputer )
82
			'objTabControl.SelectByName ( "Members" )
83
			objTabControl.Render ()
84
			%>
85
			<!-- END OF TAB CONTROLS +++++++++++++++ -->
86
		 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
87
          <tr>
88
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="500"></td>
89
            <td width="100%" valign="top">
90
			  <table width="100%"  border="0" cellspacing="10" cellpadding="0">
91
                <tr>
92
                  <td>
93
				  <!-- TAB DETAILS +++++++++++++++++++++++++++++ -->
94
					<table width="100%"  border="0" cellspacing="3" cellpadding="0">
95
			          <tr>
96
					  	<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
97
						<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
98
			            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
99
			              <tr>
100
			                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name</td>
101
			              </tr>
102
			            </table></td>
103
			            <td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td>
104
			            <td width="60%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
105
			          </tr>
106
					  <%
107
					  OraDatabase.Parameters.Add "CLIENT_IP", parClient_ip,	ORAPARM_INPUT, ORATYPE_VARCHAR2
108
 
109
					  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ComputerUsers.sql") , ORADYN_DEFAULT )
110
					  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
111
					  %>
112
			          <tr>
113
					  	<td align="center"><input type="checkbox" name="user_id" value="<%=rsQry("user_id")%>"></td>
114
						<td align="center"><%=rsQry("user_online")%></td>
115
						<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>
116
						<td class="body_rowg"><%=rsQry("user_name")%></td>
117
			            <td ></td>
118
			          </tr>
119
					  <%rsQry.MoveNext%>
120
 
121
					  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
122
			          <tr>
123
			            <td colspan="5" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
124
			          </tr>
125
					  <%End If%>
126
 
127
					  <%
128
					  WEnd
129
 
130
					  OraDatabase.Parameters.Remove "CLIENT_IP"
131
					  %>
132
			          <tr>
133
			            <td colspan="5" background="images/bg_table_border.gif">
134
						 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
135
			              <tr>
136
			                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
137
			              </tr>
138
			             </table>
139
						</td>
140
			          </tr>
141
			         </table>
142
				  <!-- +++++++++++++++++++++++++++++++++++++++++ -->
143
				  </td>
144
                </tr>
145
              </table>
146
			</td>
147
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
148
          </tr>
149
         </table>
150
         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
151
           <tr>
152
             <td background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
153
           </tr>
154
         </table>
155
		 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
156
         <br></td>
157
      </tr>
158
    </table></td>
159
  </tr>
160
</table>
161
<!-- FOOTER ++++++++++++++++++++++ -->
162
<!--#include file="_footer.asp"-->
163
<!-- +++++++++++++++++++++++++++++ -->
164
</body>
165
</html>
166
<%
167
'------------ RUN AFTER PAGE RENDER -----------
168
'----------------------------------------------
169
%>
2 rsolanki 170
<!--#include file="common/globals_destructor.asp"-->