Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
2 rsolanki 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|			          User Applications				 |
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/_user_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
Const LIMG_LOGON_SUCCESS = "<img src='icons/i_logon_success.gif' width='18' height='18' hspace='2' border='0' align='absmiddle' title='User Logon Successful'>"
26
Const LIMG_LOGON_FAIL = "<img src='icons/i_logon_fail.gif' width='18' height='18' hspace='2' border='0' align='absmiddle' title='User Logon Fail'>"
27
Const LIMG_LOGOFF = "<img src='icons/i_logoff.gif' width='18' height='18' hspace='2' border='0' align='absmiddle' title='User Logoff'>"
28
Const LIMG_SESSION_EXPIRE = "<img src='icons/i_session_expire.gif' width='18' height='18' hspace='2' border='0' align='absmiddle' title='Session Timed Out'>"
29
'------------ VARIABLE INIT -------------------
30
'------------ CONDITIONS ----------------------
31
'----------------------------------------------
32
%>
33
<%
34
'------------ RUN BEFORE PAGE RENDER ----------
35
Call GetUserDetails ( parUser_id, objUserCollector )
36
'----------------------------------------------
37
%>
38
<html>
39
<head>
40
<title>Access Manager</title>
41
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
42
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
43
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
6 ghuddy 44
<script language="JavaScript" src="scripts/common.js"></script>
2 rsolanki 45
</head>
46
 
47
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
48
<!-- HEADER ++++++++++++++++++++++ -->
49
<!--#include file="_header.asp"-->
50
<!-- +++++++++++++++++++++++++++++ -->
51
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
52
  <tr>
53
    <td width="1%" valign="top" background="images/bg_bage_pane.gif">
54
	<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
55
	<!--#include file="_treeNavigator.asp"-->  
56
	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
57
	</td>
58
    <td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
59
    <td width="100%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="9">
6 ghuddy 60
    <form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
2 rsolanki 61
      <tr>
62
        <td background="images/bg_drk_bage_pane.gif">
63
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
64
            <tr>
65
              <td nowrap class="body_txt">
66
			    <!-- BUTTONS CONTROL +++++++++++++++++++ -->
6 ghuddy 67
				<%
68
				'-- Define Action buttons on this tab
69
				aTabBtnsDef = Array("btnAddApplicationUser", "btnSubApplicationUser")
70
 
71
				Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
72
 
73
				objBtnControl.Render( aTabBtnsDef )
74
				%>
2 rsolanki 75
				<!-- +++++++++++++++++++++++++++++++++++ -->
76
			  </td>
77
              <td align="right" nowrap class="section_ttl"><%=PARENT_TITLE%></td>
78
            </tr>
79
          </table>
80
		</td>
81
      </tr>
82
	  <tr>
83
        <td class="menu_crumbttl"><%Call RenderTitle ( objUserCollector )%></td>
84
      </tr>
85
      <tr>
86
        <td>
87
		 <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
88
		 	<!-- TAB CONTROLS ++++++++++++++++++++++ -->
89
			<!--#include file="_tabs_definition.asp"-->
90
			<%
91
			Set objTabControl = New TabControl
92
			objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleMac/mac_style.html") ) ' Supply tab style definition
93
			objTabControl.TabStyle = "StyleMac"
94
			objTabControl.AddTabDefnition ( arrUserAccount )
95
			objTabControl.SelectByName ( "Applications" )
96
 
97
			objTabControl.Render ()
98
			%>
99
			<!-- END OF TAB CONTROLS +++++++++++++++ -->
100
		 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
101
          <tr>
102
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="500"></td>
103
            <td width="100%" valign="top">
104
			  <table width="100%"  border="0" cellspacing="10" cellpadding="0">
105
                <tr>
106
                  <td>
107
				  <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
108
 
109
					 <table width="100%"  border="0" cellspacing="3" cellpadding="0">
110
			          <tr>
111
					  	<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
112
			            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
113
			              <tr>
114
			                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Application</td>
115
			              </tr>
116
			            </table></td>
117
						<td width="70%" background="images/bg_table_col.gif"></td>
118
			          </tr>
119
					  <%
120
					  OraDatabase.Parameters.Add "USER_ID", parUser_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
121
 
122
					  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("UserApplications.sql"), ORADYN_DEFAULT )
123
					  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
124
					  %>
125
			          <tr>
6 ghuddy 126
					  	<td align="center"><input type="checkbox" name="app_id" value="<%=rsQry("app_id")%>" disabled></td>
2 rsolanki 127
			            <td nowrap class="body_row"><a href="Application_Default.asp?app_id=<%=rsQry("app_id")%>&tree=1_<%=rsQry("app_id")%>" class="body_link" title="See Application Details"><%=IMG_DISK &  rsQry("application_name")%></a></td>
128
						<td></td>
129
			          </tr>
130
					  <%rsQry.MoveNext%>
131
 
132
					  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
133
			          <tr>
134
			            <td colspan="3" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
135
			          </tr>
136
					  <%End If%>
137
 
138
					  <%
139
					  WEnd
140
 
6 ghuddy 141
					  OraDatabase.Parameters.Remove "USER_ID"
2 rsolanki 142
					  %>
143
			          <tr>
144
			            <td colspan="3" background="images/bg_table_border.gif">
145
						 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
146
			              <tr>
147
			                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
148
			              </tr>
149
			             </table>
150
						</td>
151
			          </tr>
152
			         </table>	
153
 
154
				  <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
155
				  </td>
156
                </tr>
157
              </table>
158
			</td>
159
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
160
          </tr>
161
         </table>
162
         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
163
           <tr>
164
             <td background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
165
           </tr>
166
         </table>
167
		 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
168
         <br></td>
169
      </tr>
6 ghuddy 170
		<%=objPMod.ComposeHiddenTags()%>
171
	  <input type="hidden" name="action" value="true">
172
	</form>
2 rsolanki 173
    </table></td>
174
  </tr>
175
</table>
176
<!-- FOOTER ++++++++++++++++++++++ -->
177
<!--#include file="_footer.asp"-->
178
<!-- +++++++++++++++++++++++++++++ -->
179
</body>
180
</html>
181
<%
182
'------------ RUN AFTER PAGE RENDER -----------
183
'----------------------------------------------
184
%>
185
<!--#include file="common/globals_destructor.asp"-->