Subversion Repositories DevTools

Rev

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

Rev 1283 Rev 3938
Line 40... Line 40...
40
</head>
40
</head>
41
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
41
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
42
<!-- TIPS LAYERS -------------------------------------->
42
<!-- TIPS LAYERS -------------------------------------->
43
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
43
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
44
<!----------------------------------------------------->
44
<!----------------------------------------------------->
45
<!-- HEADER -->
45
<!-- HEADER ++++++++++++++++ -->
46
<%If objAccessControl.UserLogedIn Then%>
-
 
47
<div id="Layer1" style="position:absolute; left:2; top:2; width:1px; height:1px; z-index:1"><a href="#"><img src="images/i_logout.gif" width="14" height="14" border="0" alt="Logout from <%=objAccessControl.UserName%> disabled" title="Logout from <%=objAccessControl.UserName%> disabled"></a></div>
46
<!--#include file="_header.asp"-->
48
<%End If%>
-
 
49
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
-
 
50
  <tr>
-
 
51
    <td width="1%" background="images/bg_lite_blue.gif"><img src="images/p_header.gif" width="552" height="45"></td>
-
 
52
    <td width="100%" background="images/bg_lite_blue.gif">&nbsp;</td>
-
 
53
    <td width="1%" rowspan="2" valign="bottom" background="images/bg_lite_blue.gif"><a href="Default.asp"><img src="images/dm_logo.gif" alt="Home" title="Home" width="241" height="69" border="0"></a></td>
-
 
54
  </tr>
-
 
55
  <tr>
-
 
56
    <td background="images/p_header_bottom.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
-
 
57
		<%If objAccessControl.UserLogedIn Then%>
-
 
58
        <tr>
-
 
59
          <div id="Layer1" style="position:absolute; left:2; top:2; width:1px; height:1px; z-index:1"><a href="_Logout.asp"><img src="images/i_logout.gif" width="14" height="14" border="0" alt="Logout from <%=objAccessControl.UserName%>" title="Logout from <%=objAccessControl.UserName%>"></a></div>
47
<!-- +++++++++++++++++++++++ -->
60
		  <!--
-
 
61
          <td width="1%"><a href="CommingSoon.asp"><img src="icons/ni_new_product.gif" title="New product has arrived." width="18" height="18" hspace="2" border="0"></a></td>
-
 
62
          <td width="1"><a href="CommingSoon.asp"><img src="icons/ni_notifier.gif" title="Email notification." width="18" height="18" hspace="2" border="0"></a></td>
-
 
63
		  -->
-
 
64
		  
-
 
65
          <td width="1" align="right"><img src="icons/ni_bar.gif" width="16" height="24"></td>
-
 
66
          <td width="100%" bgcolor="#FFFFFF">&nbsp;</td>
-
 
67
        </tr>
-
 
68
		<%Else%>
-
 
69
		<tr>
-
 
70
          <td width="1" align="right"><img src="icons/ni_bar.gif" width="16" height="24"></td>
-
 
71
          <td width="100%" bgcolor="#FFFFFF">&nbsp;</td>
-
 
72
        </tr>
-
 
73
		<%End If%>
-
 
74
    </table></td>
-
 
75
    <td align="right" bgcolor="#FFFFFF"><%=ProgressBar()%></td>
-
 
76
  </tr>
-
 
77
</table>
-
 
78
<!-- BODY ---->
48
<!-- BODY ---->
79
<table width="100%" border="0" cellspacing="0" cellpadding="0">
49
<table width="100%" border="0" cellspacing="0" cellpadding="0">
80
  <tr> 
50
  <tr> 
81
    <td width="1%" background="images/bg_member_dark.gif" valign="top"> 
51
    <td width="1%" background="images/bg_member_dark.gif" valign="top"> 
82
      <!-- MEMBERS MENU ---------------------------------------------->
52
      <!-- MEMBERS MENU ---------------------------------------------->
83
	  <!--#include file="members_menu_def.asp"-->
53
	  <!--#include file="members_menu_def.asp"-->
84
	  <%Call Member_Menu( "my_roles" )%>
54
	  <%Call Member_Menu( "my_roles" )%>
85
      <!--  MEMBERS MENU END ------------------------------------------>
55
      <!--  MEMBERS MENU END ------------------------------------------>
86
    </td>
56
    </td>
87
    <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 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>
88
    <td rowspan="2" valign="top" width="1%" background="images/bg_member_light.gif" nowrap> 
58
    <td rowspan="2" valign="top" width="70%" background="images/bg_member_light.gif" nowrap> 
89
      <!------------------------------------------->
59
      <!------------------------------------------->
90
      <br>
60
      <br>
91
      <span class="mmb_ttl">My Roles</span><br>
61
      <span class="mmb_ttl">My Roles</span><br>
92
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
62
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
93
	  <form name="changeowner" method="post" action="members_change_owner.asp">
63
	  <form>
94
        <tr> 
64
        <tr> 
95
          <td width="1%">&nbsp;</td>
65
          <td width="1%">&nbsp;</td>
96
          <td align="right"><img src="images/h_trsp_dot.gif" width="500" height="30"></td>
66
          <td align="right"><img src="images/h_trsp_dot.gif" width="500" height="30"></td>
97
          <td width="1%">&nbsp;</td>
67
          <td width="1%">&nbsp;</td>
98
        </tr>
68
        </tr>
Line 102... Line 72...
102
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
72
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
103
        </tr>
73
        </tr>
104
        <tr> 
74
        <tr> 
105
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
75
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
106
          <td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
76
          <td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
107
              You own following roles:<br>
77
              You own the following roles:<br>
108
              <br>
78
              <br>
109
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
79
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
110
                <tr> 
80
                <tr> 
111
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"><b>Role Name&nbsp;</b></td>
81
                  <td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"><b>Role Name&nbsp;</b></td>
112
                  <td width="100%" background="images/bg_form_lightbluedark.gif" class="form_field"><b>Description</b></td>
82
                  <td width="100%" background="images/bg_form_lightbluedark.gif" class="form_field"><b>Description</b></td>
113
                </tr>
83
                </tr>
114
				<%
84
				<%
115
				Dim currPv_id
-
 
116
				currPv_id = -1
-
 
117
				OraDatabase.Parameters.Add "USER_ID",  objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
85
				OraDatabase.Parameters.Add "USER_ID",  objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
118
				OraDatabase.Parameters.Add "APP_ID",   APPLICATION_ID, ORAPARM_INPUT, ORATYPE_NUMBER
86
				OraDatabase.Parameters.Add "APP_ID",   APPLICATION_ID, ORAPARM_INPUT, ORATYPE_NUMBER
119
				
87
				
120
				Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserRoles.sql"), cint(0))
88
				Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserRoles.sql"), cint(0))
121
				
89