| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
'| |
|
4 |
'| |
|
| 5 |
'| wAddRoleMember |
|
5 |
'| wAddRoleMember |
|
| 6 |
'| |
|
6 |
'| |
|
| 7 |
'=====================================================
|
7 |
'=====================================================
|
| 8 |
%>
|
8 |
%>
|
| 9 |
<%
|
9 |
<%
|
| 10 |
Option explicit
|
10 |
Option explicit
|
| 11 |
Response.Expires = 0
|
11 |
Response.Expires = 0
|
| 12 |
%>
|
12 |
%>
|
| 13 |
<!--#include file="common/globals.asp"-->
|
13 |
<!--#include file="common/globals.asp"-->
|
| 14 |
<!--#include file="common/config.asp"-->
|
14 |
<!--#include file="common/config.asp"-->
|
| 15 |
<!--#include file="common/common_subs.asp"-->
|
15 |
<!--#include file="common/common_subs.asp"-->
|
| 16 |
<!--#include file="common/_popup_window_common.asp"-->
|
16 |
<!--#include file="common/_popup_window_common.asp"-->
|
| 17 |
<%
|
17 |
<%
|
| 18 |
'------------ ACCESS CONTROL ------------------
|
18 |
'------------ ACCESS CONTROL ------------------
|
| 19 |
%>
|
19 |
%>
|
| 20 |
<!--#include file="_access_control_general.asp"-->
|
20 |
<!--#include file="_access_control_general.asp"-->
|
| 21 |
<%
|
21 |
<%
|
| 22 |
'------------ VARIABLE DEFINITION -------------
|
22 |
'------------ VARIABLE DEFINITION -------------
|
| 23 |
Dim rsUser
|
23 |
Dim rsUser
|
| 24 |
Dim objFormCollector
|
24 |
Dim objFormCollector
|
| 25 |
'------------ CONSTANTS DECLARATION -----------
|
25 |
'------------ CONSTANTS DECLARATION -----------
|
| 26 |
'------------ VARIABLE INIT -------------------
|
26 |
'------------ VARIABLE INIT -------------------
|
| 27 |
Set objFormCollector = CreateObject("Scripting.Dictionary")
|
27 |
Set objFormCollector = CreateObject("Scripting.Dictionary")
|
| 28 |
'------------ CONDITIONS ----------------------
|
28 |
'------------ CONDITIONS ----------------------
|
| 29 |
'----------------------------------------------
|
29 |
'----------------------------------------------
|
| 30 |
%>
|
30 |
%>
|
| 31 |
<%
|
31 |
<%
|
| 32 |
'--------------------------------------------------------------------------------------------------------------------------
|
32 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 33 |
Sub AddRoleMember ()
|
33 |
Sub AddRoleMember ()
|
| 34 |
On Error Resume Next
|
34 |
On Error Resume Next
|
| 35 |
|
35 |
|
| 36 |
OraDatabase.Parameters.Add "USER_ID_LIST", Request("user_id_list"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
36 |
OraDatabase.Parameters.Add "USER_ID_LIST", Request("user_id_list"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 37 |
OraDatabase.Parameters.Add "ROLE_ID", Request("role_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
37 |
OraDatabase.Parameters.Add "ROLE_ID", Request("role_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 38 |
OraDatabase.Parameters.Add "INCLUDE_EVERYONE", Request("everyone"), ORAPARM_INPUT, ORATYPE_CHAR
|
38 |
OraDatabase.Parameters.Add "INCLUDE_EVERYONE", Request("everyone"), ORAPARM_INPUT, ORATYPE_CHAR
|
| 39 |
|
39 |
|
| 40 |
|
40 |
|
| 41 |
objEH.TryORA ( OraSession )
|
41 |
objEH.TryORA ( OraSession )
|
| 42 |
|
42 |
|
| 43 |
OraDatabase.ExecuteSQL _
|
43 |
OraDatabase.ExecuteSQL _
|
| 44 |
"BEGIN pk_User.Add_Role_Member ( :USER_ID_LIST, :ROLE_ID, :INCLUDE_EVERYONE ); END;"
|
44 |
"BEGIN pk_User.Add_Role_Member ( :USER_ID_LIST, :ROLE_ID, :INCLUDE_EVERYONE ); END;"
|
| 45 |
|
45 |
|
| 46 |
objEH.CatchORA ( OraSession )
|
46 |
objEH.CatchORA ( OraSession )
|
| 47 |
|
47 |
|
| 48 |
|
48 |
|
| 49 |
OraDatabase.Parameters.Remove "USER_ID_LIST"
|
49 |
OraDatabase.Parameters.Remove "USER_ID_LIST"
|
| 50 |
OraDatabase.Parameters.Remove "ROLE_ID"
|
50 |
OraDatabase.Parameters.Remove "ROLE_ID"
|
| 51 |
OraDatabase.Parameters.Remove "INCLUDE_EVERYONE"
|
51 |
OraDatabase.Parameters.Remove "INCLUDE_EVERYONE"
|
| 52 |
|
52 |
|
| 53 |
End Sub
|
53 |
End Sub
|
| 54 |
'--------------------------------------------------------------------------------------------------------------------------
|
54 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 55 |
%>
|
55 |
%>
|
| 56 |
<%
|
56 |
<%
|
| 57 |
'------------ RUN BEFORE PAGE RENDER ----------
|
57 |
'------------ RUN BEFORE PAGE RENDER ----------
|
| 58 |
' --- Get Form details from DB (for edit forms only) ---
|
58 |
' --- Get Form details from DB (for edit forms only) ---
|
| 59 |
'-------------------------------------------------------
|
59 |
'-------------------------------------------------------
|
| 60 |
|
60 |
|
| 61 |
' --- Load Validation Rules ---
|
61 |
' --- Load Validation Rules ---
|
| 62 |
|
62 |
|
| 63 |
|
63 |
|
| 64 |
' --- Enter Form Validation Rule Changes here... ----
|
64 |
' --- Enter Form Validation Rule Changes here... ----
|
| 65 |
'----------------------------------------------------
|
65 |
'----------------------------------------------------
|
| 66 |
|
66 |
|
| 67 |
If CBool(Request("action")) Then
|
67 |
If CBool(Request("action")) Then
|
| 68 |
If objForm.IsValidOnPostBack Then
|
68 |
If objForm.IsValidOnPostBack Then
|
| 69 |
' --- Form is Valid ---
|
69 |
' --- Form is Valid ---
|
| 70 |
Call AddRoleMember()
|
70 |
Call AddRoleMember()
|
| 71 |
|
71 |
|
| 72 |
If objEH.Finally Then
|
72 |
If objEH.Finally Then
|
| 73 |
Call OpenInParentWindow ( Request("rfile") &"?"& objPMod.ComposeURL() )
|
73 |
Call OpenInParentWindow ( Request("rfile") &"?"& objPMod.ComposeURL() )
|
| 74 |
Call CloseWindow()
|
74 |
Call CloseWindow()
|
| 75 |
End If
|
75 |
End If
|
| 76 |
|
76 |
|
| 77 |
End If
|
77 |
End If
|
| 78 |
End If
|
78 |
End If
|
| 79 |
'----------------------------------------------
|
79 |
'----------------------------------------------
|
| 80 |
%>
|
80 |
%>
|
| 81 |
<html>
|
81 |
<html>
|
| 82 |
<head>
|
82 |
<head>
|
| 83 |
<title>Access Manager</title>
|
83 |
<title>Access Manager</title>
|
| 84 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
84 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 85 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
85 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 86 |
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
|
86 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 87 |
<script language="JavaScript" src="scripts/common.js"></script>
|
87 |
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
|
| 88 |
</head>
|
88 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 89 |
|
89 |
</head>
|
| 90 |
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onLoad="self.focus();">
|
90 |
|
| 91 |
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
91 |
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onLoad="self.focus();">
|
| 92 |
<tr>
|
92 |
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
| 93 |
<td bgcolor="#FFFFFF" class="body_txt"><span class="body_h1"><img src="images/i_user_lrg.gif" width="13" height="17" hspace="0" align="absmiddle"> Add Member </span> <br>
|
93 |
<tr>
|
| 94 |
Search for User or select from the list. </td>
|
94 |
<td bgcolor="#FFFFFF" class="body_txt"><span class="body_h1"><img src="images/i_user_lrg.gif" width="13" height="17" hspace="0" align="absmiddle"> Add Member </span> <br>
|
| 95 |
</tr>
|
95 |
Search for User or select from the list. </td>
|
| 96 |
<form name="FormSearch" method="post" action="<%=SCRIPT_NAME%>">
|
96 |
</tr>
|
| 97 |
<tr>
|
97 |
<form name="FormSearch" method="post" action="<%=SCRIPT_NAME%>">
|
| 98 |
<td background="images/bg_quicksearch.gif" class="body_txt"><table width="100" border="0" cellspacing="3" cellpadding="0">
|
98 |
<tr>
|
| 99 |
<tr>
|
99 |
<td background="images/bg_quicksearch.gif" class="body_txt"><table width="100" border="0" cellspacing="3" cellpadding="0">
|
| 100 |
<td nowrap class="body_txtw"><strong>User Search</strong> </td>
|
100 |
<tr>
|
| 101 |
<td><input name="filter" type="text" class="body_txt" size="20" value="<%=Request("filter")%>"></td>
|
101 |
<td nowrap class="body_txtw"><strong>User Search</strong> </td>
|
| 102 |
<td><input name="btn" type="image" src="images/b_search.gif" width="16" height="16" border="0"></td>
|
102 |
<td><input name="filter" type="text" class="body_txt" size="20" value="<%=Request("filter")%>"></td>
|
| 103 |
</tr>
|
103 |
<td><input name="btn" type="image" src="images/b_search.gif" width="16" height="16" border="0"></td>
|
| 104 |
</table></td>
|
104 |
</tr>
|
| 105 |
</tr>
|
105 |
</table></td>
|
| 106 |
<%=objPMod.ComposeHiddenTags()%>
|
106 |
</tr>
|
| 107 |
</form>
|
107 |
<%=objPMod.ComposeHiddenTags()%>
|
| 108 |
<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
|
108 |
</form>
|
| 109 |
<tr>
|
109 |
<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
|
| 110 |
<td background="images/bg_drk_bage_pane.gif">
|
110 |
<tr>
|
| 111 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
111 |
<td background="images/bg_drk_bage_pane.gif">
|
| 112 |
<tr>
|
112 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 113 |
<td> </td>
|
113 |
<tr>
|
| 114 |
<td align="right"><input name="btn" type="submit" class="form_btn" value="Add">
|
114 |
<td> </td>
|
| 115 |
<input name="btn" type="reset" class="form_btn" value="Cancel" onClick="self.close();"></td>
|
115 |
<td align="right"><input name="btn" type="submit" class="form_btn" value="Add">
|
| 116 |
</tr>
|
116 |
<input name="btn" type="reset" class="form_btn" value="Cancel" onClick="self.close();"></td>
|
| 117 |
</table></td>
|
117 |
</tr>
|
| 118 |
</tr>
|
118 |
</table></td>
|
| 119 |
<tr>
|
119 |
</tr>
|
| 120 |
<td>
|
120 |
<tr>
|
| 121 |
|
121 |
<td>
|
| 122 |
<table width="300" border="0" cellspacing="2" cellpadding="0">
|
122 |
|
| 123 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
123 |
<table width="300" border="0" cellspacing="2" cellpadding="0">
|
| 124 |
<%If NOT objEH.Finally Then%>
|
124 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 125 |
<tr>
|
125 |
<%If NOT objEH.Finally Then%>
|
| 126 |
<td>
|
126 |
<tr>
|
| 127 |
<%objEH.DisplayMessage()%>
|
127 |
<td>
|
| 128 |
</td>
|
128 |
<%objEH.DisplayMessage()%>
|
| 129 |
</tr>
|
129 |
</td>
|
| 130 |
<%End If%>
|
130 |
</tr>
|
| 131 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
131 |
<%End If%>
|
| 132 |
</table>
|
132 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 133 |
|
133 |
</table>
|
| 134 |
<%
|
134 |
|
| 135 |
Dim startPosition, pageNumber, navigator, totalRecords, lastRecord
|
135 |
<%
|
| 136 |
Const MAX_ROWS = 50 ' Maximum number of rows displayed
|
136 |
Dim startPosition, pageNumber, navigator, totalRecords, lastRecord
|
| 137 |
|
137 |
Const MAX_ROWS = 50 ' Maximum number of rows displayed
|
| 138 |
'--- Set filters ---
|
138 |
|
| 139 |
If Request("filter") <> "" Then
|
139 |
'--- Set filters ---
|
| 140 |
OraDatabase.Parameters.Add "FULL_NAME", "%"& Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
140 |
If Request("filter") <> "" Then
|
| 141 |
OraDatabase.Parameters.Add "USER_NAME", Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
141 |
OraDatabase.Parameters.Add "FULL_NAME", "%"& Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 142 |
OraDatabase.Parameters.Add "DOMAIN_NAME", Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
142 |
OraDatabase.Parameters.Add "USER_NAME", Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 143 |
Else
|
143 |
OraDatabase.Parameters.Add "DOMAIN_NAME", Request("filter") &"%", ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 144 |
OraDatabase.Parameters.Add "FULL_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
144 |
Else
|
| 145 |
OraDatabase.Parameters.Add "USER_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
145 |
OraDatabase.Parameters.Add "FULL_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 146 |
OraDatabase.Parameters.Add "DOMAIN_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
146 |
OraDatabase.Parameters.Add "USER_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 147 |
End If
|
147 |
OraDatabase.Parameters.Add "DOMAIN_NAME", NULL, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 148 |
|
148 |
End If
|
| 149 |
|
149 |
|
| 150 |
Set rsUser = OraDatabase.DbCreateDynaset( GetQuery ("GetUserList.sql") , ORADYN_DEFAULT )
|
150 |
|
| 151 |
|
151 |
Set rsUser = OraDatabase.DbCreateDynaset( GetQuery ("GetUserList.sql") , ORADYN_DEFAULT )
|
| 152 |
'--- Get page number ---
|
152 |
|
| 153 |
pageNumber = 0
|
153 |
'--- Get page number ---
|
| 154 |
If Request("pg") <> "" Then
|
154 |
pageNumber = 0
|
| 155 |
pageNumber = CInt(Request("pg"))
|
155 |
If Request("pg") <> "" Then
|
| 156 |
End If
|
156 |
pageNumber = CInt(Request("pg"))
|
| 157 |
|
157 |
End If
|
| 158 |
|
158 |
|
| 159 |
'--- Set Cursor start position ---
|
159 |
|
| 160 |
startPosition = pageNumber * MAX_ROWS + 1
|
160 |
'--- Set Cursor start position ---
|
| 161 |
If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then
|
161 |
startPosition = pageNumber * MAX_ROWS + 1
|
| 162 |
rsUser.MoveTo ( startPosition ) ' Set starting cursor point
|
162 |
If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then
|
| 163 |
|
163 |
rsUser.MoveTo ( startPosition ) ' Set starting cursor point
|
| 164 |
End If
|
164 |
|
| 165 |
|
165 |
End If
|
| 166 |
|
166 |
|
| 167 |
'--- Construct Navigator
|
167 |
|
| 168 |
navigator = ""
|
168 |
'--- Construct Navigator
|
| 169 |
If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then
|
169 |
navigator = ""
|
| 170 |
totalRecords = rsUser.RecordCount ' Get total number of records
|
170 |
If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then
|
| 171 |
|
171 |
totalRecords = rsUser.RecordCount ' Get total number of records
|
| 172 |
'--- Create "Previous" link
|
172 |
|
| 173 |
If pageNumber > 0 Then
|
173 |
'--- Create "Previous" link
|
| 174 |
navigator = navigator &"<a href='"& SCRIPT_NAME &"?pg="& pageNumber - 1 &"&"& objPMod.ComposeURL &"' class='body_link' title='Show Previous Page'>« Previous</a>"
|
174 |
If pageNumber > 0 Then
|
| 175 |
End If
|
175 |
navigator = navigator &"<a href='"& SCRIPT_NAME &"?pg="& pageNumber - 1 &"&"& objPMod.ComposeURL &"' class='body_link' title='Show Previous Page'>« Previous</a>"
|
| 176 |
|
176 |
End If
|
| 177 |
'--- Create "Next" link
|
177 |
|
| 178 |
If ( startPosition + MAX_ROWS ) < totalRecords Then
|
178 |
'--- Create "Next" link
|
| 179 |
navigator = navigator &" <a href='"& SCRIPT_NAME &"?pg="& pageNumber + 1 &"&"& objPMod.ComposeURL &"' class='body_link' title='Show Next Page'>Next »</a>"
|
179 |
If ( startPosition + MAX_ROWS ) < totalRecords Then
|
| 180 |
End If
|
180 |
navigator = navigator &" <a href='"& SCRIPT_NAME &"?pg="& pageNumber + 1 &"&"& objPMod.ComposeURL &"' class='body_link' title='Show Next Page'>Next »</a>"
|
| 181 |
|
181 |
End If
|
| 182 |
End If
|
182 |
|
| 183 |
|
183 |
End If
|
| 184 |
|
184 |
|
| 185 |
'--- Calculate Last Record ---
|
185 |
|
| 186 |
If totalRecords > 0 Then
|
186 |
'--- Calculate Last Record ---
|
| 187 |
lastRecord = ( startPosition - 1 + MAX_ROWS ) _
|
187 |
If totalRecords > 0 Then
|
| 188 |
+ ( CInt( ( startPosition - 1 + MAX_ROWS )/totalRecords > 1) ) * ( ( startPosition - 1 + MAX_ROWS ) - totalRecords )
|
188 |
lastRecord = ( startPosition - 1 + MAX_ROWS ) _
|
| 189 |
End If
|
189 |
+ ( CInt( ( startPosition - 1 + MAX_ROWS )/totalRecords > 1) ) * ( ( startPosition - 1 + MAX_ROWS ) - totalRecords )
|
| 190 |
%>
|
190 |
End If
|
| 191 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
191 |
%>
|
| 192 |
<tr align="left">
|
192 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 193 |
<td colspan="2" class="body_row"> </td>
|
193 |
<tr align="left">
|
| 194 |
</tr>
|
194 |
<td colspan="2" class="body_row"> </td>
|
| 195 |
<tr>
|
195 |
</tr>
|
| 196 |
<td align="left" class="body_row">
|
196 |
<tr>
|
| 197 |
<%
|
197 |
<td align="left" class="body_row">
|
| 198 |
If totalRecords > 0 Then
|
198 |
<%
|
| 199 |
Response.write "Showing "& startPosition &" - "& lastRecord &" of "& totalRecords
|
199 |
If totalRecords > 0 Then
|
| 200 |
Else
|
200 |
Response.write "Showing "& startPosition &" - "& lastRecord &" of "& totalRecords
|
| 201 |
Response.write "No Results."
|
201 |
Else
|
| 202 |
End If
|
202 |
Response.write "No Results."
|
| 203 |
%></td>
|
203 |
End If
|
| 204 |
<td align="right" class="body_scol"><%=navigator%></td>
|
204 |
%></td>
|
| 205 |
</tr>
|
205 |
<td align="right" class="body_scol"><%=navigator%></td>
|
| 206 |
</table>
|
206 |
</tr>
|
| 207 |
<!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
207 |
</table>
|
| 208 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
208 |
<!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 209 |
<tr>
|
209 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
| 210 |
<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
|
210 |
<tr>
|
| 211 |
<td width="30%" background="images/bg_table_border.gif">
|
211 |
<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
|
| 212 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
212 |
<td width="30%" background="images/bg_table_border.gif">
|
| 213 |
<tr>
|
213 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 214 |
<td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name </td>
|
214 |
<tr>
|
| 215 |
</tr>
|
215 |
<td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Full Name </td>
|
| 216 |
</table></td>
|
216 |
</tr>
|
| 217 |
<td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td>
|
217 |
</table></td>
|
| 218 |
<td width="40%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Domain</td>
|
218 |
<td width="30%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">User Name</td>
|
| 219 |
</tr>
|
219 |
<td width="40%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Domain</td>
|
| 220 |
<%If (Request("filter") = "") AND (rsUser.RecordCount > 0) Then%>
|
220 |
</tr>
|
| 221 |
<tr>
|
221 |
<%If (Request("filter") = "") AND (rsUser.RecordCount > 0) Then%>
|
| 222 |
<td align="center" background="images/bg_table_col.gif"><input type="checkbox" name="everyone" value="Y"></td>
|
222 |
<tr>
|
| 223 |
<td nowrap class="body_row" background="images/bg_table_col.gif"><img src="images/i_accounts.gif" width="16" height="14" border="0" hspace="4" align="absmiddle">Everyone</td>
|
223 |
<td align="center" background="images/bg_table_col.gif"><input type="checkbox" name="everyone" value="Y"></td>
|
| 224 |
<td background="images/bg_table_col.gif"></td>
|
224 |
<td nowrap class="body_row" background="images/bg_table_col.gif"><img src="images/i_accounts.gif" width="16" height="14" border="0" hspace="4" align="absmiddle">Everyone</td>
|
| 225 |
<td background="images/bg_table_col.gif"></td>
|
225 |
<td background="images/bg_table_col.gif"></td>
|
| 226 |
</tr>
|
226 |
<td background="images/bg_table_col.gif"></td>
|
| 227 |
<%End If%>
|
227 |
</tr>
|
| 228 |
<%
|
228 |
<%End If%>
|
| 229 |
'--- Render rows ---
|
229 |
<%
|
| 230 |
Do While (NOT rsUser.BOF) AND (NOT rsUser.EOF)
|
230 |
'--- Render rows ---
|
| 231 |
If rsUser.RowPosition => (startPosition + MAX_ROWS) Then Exit Do ' Limit the number of rows displayed
|
231 |
Do While (NOT rsUser.BOF) AND (NOT rsUser.EOF)
|
| 232 |
%>
|
232 |
If rsUser.RowPosition => (startPosition + MAX_ROWS) Then Exit Do ' Limit the number of rows displayed
|
| 233 |
<tr>
|
233 |
%>
|
| 234 |
<td align="center"><input type="checkbox" name="user_id_list" value="<%=rsUser("user_id")%>"></td>
|
234 |
<tr>
|
| 235 |
<td nowrap class="body_row"><%=Eval( rsUser("user_image") ) & rsUser("full_name")%></td>
|
235 |
<td align="center"><input type="checkbox" name="user_id_list" value="<%=rsUser("user_id")%>"></td>
|
| 236 |
<td class="body_rowg"><%=rsUser("user_name")%></td>
|
236 |
<td nowrap class="body_row"><%=Eval( rsUser("user_image") ) & rsUser("full_name")%></td>
|
| 237 |
<td class="body_rowg"><%=rsUser("domain")%></td>
|
237 |
<td class="body_rowg"><%=rsUser("user_name")%></td>
|
| 238 |
</tr>
|
238 |
<td class="body_rowg"><%=rsUser("domain")%></td>
|
| 239 |
<%rsUser.MoveNext%>
|
239 |
</tr>
|
| 240 |
|
240 |
<%rsUser.MoveNext%>
|
| 241 |
<%If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then%>
|
241 |
|
| 242 |
<tr>
|
242 |
<%If (NOT rsUser.BOF) AND (NOT rsUser.EOF) Then%>
|
| 243 |
<td colspan="4" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
243 |
<tr>
|
| 244 |
</tr>
|
244 |
<td colspan="4" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 245 |
<%End If%>
|
245 |
</tr>
|
| 246 |
|
246 |
<%End If%>
|
| 247 |
<%
|
247 |
|
| 248 |
Loop
|
248 |
<%
|
| 249 |
|
249 |
Loop
|
| 250 |
|
250 |
|
| 251 |
OraDatabase.Parameters.Remove "FULL_NAME"
|
251 |
|
| 252 |
OraDatabase.Parameters.Remove "USER_NAME"
|
252 |
OraDatabase.Parameters.Remove "FULL_NAME"
|
| 253 |
OraDatabase.Parameters.Remove "DOMAIN_NAME"
|
253 |
OraDatabase.Parameters.Remove "USER_NAME"
|
| 254 |
|
254 |
OraDatabase.Parameters.Remove "DOMAIN_NAME"
|
| 255 |
rsUser.Close()
|
255 |
|
| 256 |
Set rsUser = Nothing
|
256 |
rsUser.Close()
|
| 257 |
%>
|
257 |
Set rsUser = Nothing
|
| 258 |
<tr>
|
258 |
%>
|
| 259 |
<td colspan="4" background="images/bg_table_border.gif">
|
259 |
<tr>
|
| 260 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
260 |
<td colspan="4" background="images/bg_table_border.gif">
|
| 261 |
<tr>
|
261 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 262 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
262 |
<tr>
|
| 263 |
</tr>
|
263 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 264 |
</table>
|
264 |
</tr>
|
| 265 |
</td>
|
265 |
</table>
|
| 266 |
</tr>
|
266 |
</td>
|
| 267 |
</table>
|
267 |
</tr>
|
| 268 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
268 |
</table>
|
| 269 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
269 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 270 |
<tr>
|
270 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 271 |
<td align="right" class="body_scol"><%=navigator%></td>
|
271 |
<tr>
|
| 272 |
</tr>
|
272 |
<td align="right" class="body_scol"><%=navigator%></td>
|
| 273 |
</table>
|
273 |
</tr>
|
| 274 |
|
274 |
</table>
|
| 275 |
|
275 |
|
| 276 |
</td>
|
276 |
|
| 277 |
</tr>
|
277 |
</td>
|
| 278 |
<%=objPMod.ComposeHiddenTags()%>
|
278 |
</tr>
|
| 279 |
<input type="hidden" name="action" value="true">
|
279 |
<%=objPMod.ComposeHiddenTags()%>
|
| 280 |
</form>
|
280 |
<input type="hidden" name="action" value="true">
|
| 281 |
</table>
|
281 |
</form>
|
| 282 |
</body>
|
282 |
</table>
|
| 283 |
</html>
|
283 |
</body>
|
| 284 |
<%
|
284 |
</html>
|
| 285 |
'------------ RUN AFTER PAGE RENDER -----------
|
285 |
<%
|
| 286 |
Set objFormCollector = Nothing
|
286 |
'------------ RUN AFTER PAGE RENDER -----------
|
| 287 |
'----------------------------------------------
|
287 |
Set objFormCollector = Nothing
|
| 288 |
%>
|
288 |
'----------------------------------------------
|
| 289 |
<!--#include file="common/globals_destructor.asp"-->
|
289 |
%>
|
| - |
|
290 |
<!--#include file="common/globals_destructor.asp"-->
|