Subversion Repositories DevTools

Rev

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">
44
</head>
45
 
46
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
47
<!-- HEADER ++++++++++++++++++++++ -->
48
<!--#include file="_header.asp"-->
49
<!-- +++++++++++++++++++++++++++++ -->
50
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
51
  <tr>
52
    <td width="1%" valign="top" background="images/bg_bage_pane.gif">
53
	<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
54
	<!--#include file="_treeNavigator.asp"-->  
55
	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
56
	</td>
57
    <td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
58
    <td width="100%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="9">
59
      <tr>
60
        <td background="images/bg_drk_bage_pane.gif">
61
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
62
            <tr>
63
              <td nowrap class="body_txt">
64
			    <!-- BUTTONS CONTROL +++++++++++++++++++ -->
65
				<!-- +++++++++++++++++++++++++++++++++++ -->
66
			  </td>
67
              <td align="right" nowrap class="section_ttl"><%=PARENT_TITLE%></td>
68
            </tr>
69
          </table>
70
		</td>
71
      </tr>
72
	  <tr>
73
        <td class="menu_crumbttl"><%Call RenderTitle ( objUserCollector )%></td>
74
      </tr>
75
      <tr>
76
        <td>
77
		 <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
78
		 	<!-- TAB CONTROLS ++++++++++++++++++++++ -->
79
			<!--#include file="_tabs_definition.asp"-->
80
			<%
81
			Set objTabControl = New TabControl
82
			objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleMac/mac_style.html") ) ' Supply tab style definition
83
			objTabControl.TabStyle = "StyleMac"
84
			objTabControl.AddTabDefnition ( arrUserAccount )
85
			objTabControl.SelectByName ( "Applications" )
86
 
87
			objTabControl.Render ()
88
			%>
89
			<!-- END OF TAB CONTROLS +++++++++++++++ -->
90
		 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
91
          <tr>
92
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="500"></td>
93
            <td width="100%" valign="top">
94
			  <table width="100%"  border="0" cellspacing="10" cellpadding="0">
95
                <tr>
96
                  <td>
97
				  <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
98
 
99
					 <table width="100%"  border="0" cellspacing="3" cellpadding="0">
100
			          <tr>
101
					  	<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
102
			            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
103
			              <tr>
104
			                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Application</td>
105
			              </tr>
106
			            </table></td>
107
						<td width="70%" background="images/bg_table_col.gif"></td>
108
			          </tr>
109
					  <%
110
					  OraDatabase.Parameters.Add "USER_ID", parUser_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
111
 
112
					  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("UserApplications.sql"), ORADYN_DEFAULT )
113
					  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
114
					  %>
115
			          <tr>
116
					  	<td align="center"><input type="checkbox" name="app_id_list" value="<%=rsQry("app_id")%>" disabled></td>
117
			            <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>
118
						<td></td>
119
			          </tr>
120
					  <%rsQry.MoveNext%>
121
 
122
					  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
123
			          <tr>
124
			            <td colspan="3" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
125
			          </tr>
126
					  <%End If%>
127
 
128
					  <%
129
					  WEnd
130
 
131
					  OraDatabase.Parameters.Remove "APP_ID"
132
					  %>
133
			          <tr>
134
			            <td colspan="3" background="images/bg_table_border.gif">
135
						 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
136
			              <tr>
137
			                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
138
			              </tr>
139
			             </table>
140
						</td>
141
			          </tr>
142
			         </table>	
143
 
144
				  <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
145
				  </td>
146
                </tr>
147
              </table>
148
			</td>
149
            <td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
150
          </tr>
151
         </table>
152
         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
153
           <tr>
154
             <td background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
155
           </tr>
156
         </table>
157
		 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
158
         <br></td>
159
      </tr>
160
    </table></td>
161
  </tr>
162
</table>
163
<!-- FOOTER ++++++++++++++++++++++ -->
164
<!--#include file="_footer.asp"-->
165
<!-- +++++++++++++++++++++++++++++ -->
166
</body>
167
</html>
168
<%
169
'------------ RUN AFTER PAGE RENDER -----------
170
'----------------------------------------------
171
%>
172
<!--#include file="common/globals_destructor.asp"-->