Subversion Repositories DevTools

Rev

Rev 3947 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3947 Rev 5355
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|				    	MEMBERS					     |
5
'|				    	MEMBERS					     |
6
'|                     MY ROLES               	     |
6
'|                     MY ROLES               	     |
7
'=====================================================
7
'=====================================================
8
%>
8
%>
9
<%
9
<%
10
Option explicit
10
Option explicit
11
' Good idea to set when using redirect
11
' Good idea to set when using redirect
12
Response.Expires = 0	' always load the page, dont store
12
Response.Expires = 0	' always load the page, dont store
13
%>
13
%>
14
<!--#include file="common/config.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/globals.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<%
19
<%
20
'------------ ACCESS CONTROL ------------------
20
'------------ ACCESS CONTROL ------------------
21
%>
21
%>
22
<!--#include file="_access_control_general.asp"-->
22
<!--#include file="_access_control_general.asp"-->
23
<%
23
<%
24
'------------ Variable Definition -------------
24
'------------ Variable Definition -------------
25
Dim rsTemp
25
Dim rsTemp
26
'------------ Constants Declaration -----------
26
'------------ Constants Declaration -----------
27
'------------ Variable Init -------------------
27
'------------ Variable Init -------------------
28
'----------------------------------------------
28
'----------------------------------------------
29
%>
29
%>
30
 
30
 
31
<html>
31
<html>
32
<head>
32
<head>
33
<title>Deployment Manager - My Roles</title>
33
<title>Deployment Manager - My Roles</title>
34
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
34
<link rel="shortcut icon" href="<%=FavIcon%>"/>
35
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
35
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
36
<link rel="stylesheet" href="scripts/deployment_manager.css" type="text/css">
36
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
37
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
37
<link rel="stylesheet" href="scripts/deployment_manager.css" type="text/css">
38
<link rel="stylesheet" href="images/navigation.css" type="text/css">
38
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
39
<script language="JavaScript" src="scripts/common.js"></script>
39
<link rel="stylesheet" href="images/navigation.css" type="text/css">
40
</head>
40
<script language="JavaScript" src="scripts/common.js"></script>
41
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
41
</head>
42
<!-- TIPS LAYERS -------------------------------------->
42
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
43
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
43
<!-- TIPS LAYERS -------------------------------------->
44
<!----------------------------------------------------->
44
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
45
<!-- HEADER ++++++++++++++++ -->
45
<!----------------------------------------------------->
46
<!--#include file="_header.asp"-->
46
<!-- HEADER ++++++++++++++++ -->
47
<!-- +++++++++++++++++++++++ -->
47
<!--#include file="_header.asp"-->
48
<!-- BODY ---->
48
<!-- +++++++++++++++++++++++ -->
49
<table width="100%" border="0" cellspacing="0" cellpadding="0">
49
<!-- BODY ---->
50
  <tr> 
50
<table width="100%" border="0" cellspacing="0" cellpadding="0">
51
    <td width="1%" background="images/bg_member_dark.gif" valign="top"> 
51
  <tr> 
52
      <!-- MEMBERS MENU ---------------------------------------------->
52
    <td width="1%" background="images/bg_member_dark.gif" valign="top"> 
53
	  <!--#include file="members_menu_def.asp"-->
53
      <!-- MEMBERS MENU ---------------------------------------------->
54
	  <%Call Member_Menu( "my_roles" )%>
54
	  <!--#include file="members_menu_def.asp"-->
55
      <!--  MEMBERS MENU END ------------------------------------------>
55
	  <%Call Member_Menu( "my_roles" )%>
56
    </td>
56
      <!--  MEMBERS MENU END ------------------------------------------>
57
    <td width="1%" valign="top" background="images/bg_member_light.gif"><a href="default.asp" class="form_txt_link"><img src="images/i_home.gif" width="13" height="12" border="0" align="absmiddle">Exit</a></td>
57
    </td>
58
    <td rowspan="2" valign="top" width="70%" background="images/bg_member_light.gif" nowrap> 
58
    <td width="1%" valign="top" background="images/bg_member_light.gif"><a href="default.asp" class="form_txt_link"><img src="images/i_home.gif" width="13" height="12" border="0" align="absmiddle">Exit</a></td>
59
      <!------------------------------------------->
59
    <td rowspan="2" valign="top" width="70%" background="images/bg_member_light.gif" nowrap> 
60
      <br>
60
      <!------------------------------------------->
61
      <span class="mmb_ttl">My Roles</span><br>
61
      <br>
62
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
62
      <span class="mmb_ttl">My Roles</span><br>
63
	  <form>
63
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
64
        <tr> 
64
	  <form>
65
          <td width="1%">&nbsp;</td>
65
        <tr> 
66
          <td align="right"><img src="images/h_trsp_dot.gif" width="500" height="30"></td>
66
          <td width="1%">&nbsp;</td>
67
          <td width="1%">&nbsp;</td>
67
          <td align="right"><img src="images/h_trsp_dot.gif" width="500" height="30"></td>
68
        </tr>
68
          <td width="1%">&nbsp;</td>
69
        <tr> 
69
        </tr>
70
          <td align="left" valign="top" width="1%" background="images/bg_member_dark.gif"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
70
        <tr> 
71
            <td background="images/bg_member_dark.gif" align="left" class="wform_ttl">&nbsp;</td>
71
          <td align="left" valign="top" width="1%" background="images/bg_member_dark.gif"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
72
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
72
            <td background="images/bg_member_dark.gif" align="left" class="wform_ttl">&nbsp;</td>
73
        </tr>
73
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
74
        <tr> 
74
        </tr>
75
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
75
        <tr> 
76
          <td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
76
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
77
              You own the following roles:<br>
77
          <td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
78
              <br>
78
              You own the following roles:<br>
79
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
79
              <br>
80
                <tr> 
80
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
81
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"><b>Role Name&nbsp;</b></td>
81
                <tr> 
82
                  <td width="100%" background="images/bg_form_lightbluedark.gif" class="form_field"><b>Description</b></td>
82
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"><b>Role Name&nbsp;</b></td>
83
                </tr>
83
                  <td width="100%" background="images/bg_form_lightbluedark.gif" class="form_field"><b>Description</b></td>
84
				<%
84
                </tr>
85
				OraDatabase.Parameters.Add "USER_ID",  objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
85
				<%
86
				OraDatabase.Parameters.Add "APP_ID",   APPLICATION_ID, ORAPARM_INPUT, ORATYPE_NUMBER
86
				OraDatabase.Parameters.Add "USER_ID",  objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
87
				
87
				OraDatabase.Parameters.Add "APP_ID",   APPLICATION_ID, ORAPARM_INPUT, ORATYPE_NUMBER
88
				Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserRoles.sql"), cint(0))
88
				
89
				
89
				Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserRoles.sql"), cint(0))
90
				OraDatabase.Parameters.Remove "USER_ID"
90
				
91
				OraDatabase.Parameters.Remove "APP_ID"
91
				OraDatabase.Parameters.Remove "USER_ID"
92
				
92
				OraDatabase.Parameters.Remove "APP_ID"
93
				
93
				
94
			    While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
94
				
95
				%>
95
			    While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
96
				<tr> 
96
				%>
97
                  <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%=rsTemp("role_name")%></td>
97
				<tr> 
98
                  <td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp("comments")%></td>
98
                  <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%=rsTemp("role_name")%></td>
99
                </tr>
99
                  <td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp("comments")%></td>
100
				<%rsTemp.MoveNext
100
                </tr>
101
	    	    WEnd
101
				<%rsTemp.MoveNext
102
				
102
	    	    WEnd
103
				rsTemp.Close()
103
				
104
				Set rsTemp = nothing
104
				rsTemp.Close()
105
				
105
				Set rsTemp = nothing
106
				
106
				
107
				%>
107
				
108
              </table>
108
				%>
109
			  <br><br>
109
              </table>
110
			</td>
110
			  <br><br>
111
          <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
111
			</td>
112
        </tr>
112
          <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
113
        <tr> 
113
        </tr>
114
          <td width="1%" background="images/bg_member_dark.gif" valign="bottom"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
114
        <tr> 
115
          <td background="images/bg_member_dark.gif"></td>
115
          <td width="1%" background="images/bg_member_dark.gif" valign="bottom"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
116
          <td width="1%" background="images/bg_member_dark.gif" valign="bottom" align="right"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
116
          <td background="images/bg_member_dark.gif"></td>
117
        </tr>
117
          <td width="1%" background="images/bg_member_dark.gif" valign="bottom" align="right"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
118
		</form>
118
        </tr>
119
      </table>
119
		</form>
120
      <!-------------------------------------------------------->
120
      </table>
121
    </td>
121
      <!-------------------------------------------------------->
122
    <td rowspan="2" valign="bottom" width="100%" background="images/bg_member_light.gif" align="right"></td>
122
    </td>
123
  </tr>
123
    <td rowspan="2" valign="bottom" width="100%" background="images/bg_member_light.gif" align="right"></td>
124
  <tr> 
124
  </tr>
125
    <td valign="bottom" align="center" background="images/bg_member_dark.gif"><img src="images/img_members.gif" width="81" height="57" vspace="20" hspace="30"></td>
125
  <tr> 
126
    <td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
126
    <td valign="bottom" align="center" background="images/bg_member_dark.gif"><img src="images/img_members.gif" width="81" height="57" vspace="20" hspace="30"></td>
127
  </tr>
127
    <td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
128
</table>
128
  </tr>
129
<!-- FOOTER -->
129
</table>
130
<!--#include file="_footer.asp"-->
130
<!-- FOOTER -->
131
</body>
131
<!--#include file="_footer.asp"-->
132
</html>
132
</body>
133
<%
133
</html>
134
Call Destroy_All_Objects
134
<%
-
 
135
Call Destroy_All_Objects
135
%>
136
%>
136
137