Subversion Repositories DevTools

Rev

Rev 5357 | Rev 5957 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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