| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
'| |
|
4 |
'| |
|
| 5 |
'| MEMBERS |
|
5 |
'| MEMBERS |
|
| 6 |
'| INDEX |
|
6 |
'| INDEX |
|
| 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/conf.asp"-->
|
14 |
<!--#include file="common/conf.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 |
<%'Refresh parent window after the child window is closed
|
19 |
<%'Refresh parent window after the child window is closed
|
| 20 |
If QStrPar("refresh") = "true" Then
|
20 |
If QStrPar("refresh") = "true" Then
|
| 21 |
Response.Redirect( scriptName &"?done=done"& QSTR) ' Note: "done" parameter is required as QSTR cannot stant on its own.
|
21 |
Response.Redirect( scriptName &"?done=done"& QSTR) ' Note: "done" parameter is required as QSTR cannot stant on its own.
|
| 22 |
End If
|
22 |
End If
|
| 23 |
%>
|
23 |
%>
|
| 24 |
<%
|
24 |
<%
|
| 25 |
'------------ ACCESS CONTROL ------------------
|
25 |
'------------ ACCESS CONTROL ------------------
|
| 26 |
%>
|
26 |
%>
|
| Line 33... |
Line 33... |
| 33 |
'------------ Variable Init -------------------
|
33 |
'------------ Variable Init -------------------
|
| 34 |
'----------------------------------------------
|
34 |
'----------------------------------------------
|
| 35 |
%>
|
35 |
%>
|
| 36 |
<%
|
36 |
<%
|
| 37 |
Function Get_Personal_Views ( NNuser_id )
|
37 |
Function Get_Personal_Views ( NNuser_id )
|
| 38 |
Get_Personal_Views = ReadFile( rootPath & "queries\personal_views_list.qry" )
|
38 |
Get_Personal_Views = ReadFile( rootPath & "queries\personal_views_list.qry" )
|
| 39 |
Get_Personal_Views = Replace( Get_Personal_Views, "$USER_ID$", NNuser_id)
|
39 |
Get_Personal_Views = Replace( Get_Personal_Views, "$USER_ID$", NNuser_id)
|
| 40 |
End Function
|
40 |
End Function
|
| 41 |
|
41 |
|
| 42 |
Sub Remove_View_Settings ( NNuser_id )
|
42 |
Sub Remove_View_Settings ( NNuser_id )
|
| - |
|
43 |
objEH.TryORA ( OraSession )
|
| 43 |
OraSession.BeginTrans
|
44 |
On Error Resume Next
|
| 44 |
OraDatabase.ExecuteSQL " DELETE FROM view_settings vis WHERE vis.user_id = "& NNuser_id &" AND vis.view_id IN (SELECT vi.view_id FROM views vi WHERE vi.owner_id = "& NNuser_id &")"
|
45 |
OraDatabase.ExecuteSQL " DELETE FROM view_settings vis WHERE vis.user_id = "& NNuser_id &" AND vis.view_id IN (SELECT vi.view_id FROM views vi WHERE vi.owner_id = "& NNuser_id &")"
|
| 45 |
OraSession.CommitTrans
|
46 |
objEH.CatchORA ( OraSession )
|
| 46 |
End Sub
|
47 |
End Sub
|
| 47 |
|
48 |
|
| 48 |
Sub Insert_View_Settings ( NNuser_id, SSpersonalshow )
|
49 |
Sub Insert_View_Settings ( NNuser_id, SSpersonalshow )
|
| 49 |
If SSpersonalshow <> "" Then
|
50 |
If SSpersonalshow <> "" Then
|
| - |
|
51 |
objEH.TryORA ( OraSession )
|
| 50 |
OraSession.BeginTrans
|
52 |
On Error Resume Next
|
| 51 |
OraDatabase.ExecuteSQL " INSERT INTO view_settings"&_
|
53 |
OraDatabase.ExecuteSQL " INSERT INTO view_settings"&_
|
| 52 |
" SELECT TO_NUMBER('"& NNuser_id &"') AS user_id, vi.view_id FROM views vi WHERE vi.view_id IN ("& SSpersonalshow &")"
|
54 |
" SELECT TO_NUMBER('"& NNuser_id &"') AS user_id, vi.view_id FROM views vi WHERE vi.view_id IN ("& SSpersonalshow &")"
|
| 53 |
OraSession.CommitTrans
|
55 |
objEH.CatchORA ( OraSession )
|
| 54 |
End If
|
56 |
End If
|
| 55 |
End Sub
|
57 |
End Sub
|
| 56 |
%>
|
58 |
%>
|
| 57 |
<%
|
59 |
<%
|
| 58 |
'--- Process submition ---
|
60 |
'--- Process submition ---
|
| 59 |
If (QStrPar("action") <> "") Then
|
61 |
If (QStrPar("action") <> "") Then
|
| 60 |
' All mendatory parameters FOUND
|
62 |
' All mendatory parameters FOUND
|
| 61 |
Call Remove_View_Settings ( objAccessControl.UserId )
|
63 |
Call Remove_View_Settings ( objAccessControl.UserId )
|
| 62 |
Call Insert_View_Settings ( objAccessControl.UserId, Request("FRpersonalshow") )
|
64 |
Call Insert_View_Settings ( objAccessControl.UserId, Request("FRpersonalshow") )
|
| 63 |
End If
|
65 |
End If
|
| 64 |
%>
|
66 |
%>
|
| 65 |
<html>
|
67 |
<html>
|
| 66 |
<head>
|
68 |
<head>
|
| 67 |
<title>Release Manager</title>
|
69 |
<title>Release Manager</title>
|
| Line 78... |
Line 80... |
| 78 |
<!-- HEADER -->
|
80 |
<!-- HEADER -->
|
| 79 |
<%If objAccessControl.UserLogedIn Then%>
|
81 |
<%If objAccessControl.UserLogedIn Then%>
|
| 80 |
<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>
|
82 |
<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>
|
| 81 |
<%End If%>
|
83 |
<%End If%>
|
| 82 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
84 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 83 |
<tr>
|
85 |
<tr>
|
| 84 |
<td><a href="index.asp"><img src="images/b_release_manager.jpg" width="467" height="50" border="0"></a></td>
|
86 |
<td><a href="index.asp"><img src="images/b_release_manager.jpg" width="467" height="50" border="0"></a></td>
|
| 85 |
<td valign="bottom" align="right"> </td>
|
87 |
<td valign="bottom" align="right"> </td>
|
| 86 |
</tr>
|
88 |
</tr>
|
| 87 |
<tr>
|
89 |
<tr>
|
| 88 |
<td align=left noWrap valign=center width=150 background="images/h_dot.gif" height="1"></td>
|
90 |
<td align=left noWrap valign=center width=150 background="images/h_dot.gif" height="1"></td>
|
| 89 |
<td background="images/h_dot.gif" height="1"></td>
|
91 |
<td background="images/h_dot.gif" height="1"></td>
|
| 90 |
</tr>
|
92 |
</tr>
|
| 91 |
</table>
|
93 |
</table>
|
| 92 |
<!-- BODY ---->
|
94 |
<!-- BODY ---->
|
| 93 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
95 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 94 |
<tr>
|
96 |
<tr>
|
| 95 |
<td width="1%" background="images/bg_member_dark.gif" valign="top">
|
97 |
<td width="1%" background="images/bg_member_dark.gif" valign="top">
|
| 96 |
<!-- MEMBERS MENU ---------------------------------------------->
|
98 |
<!-- MEMBERS MENU ---------------------------------------------->
|
| 97 |
<!--#include file="members_menu_def.asp"-->
|
99 |
<!--#include file="members_menu_def.asp"-->
|
| 98 |
<%Call Member_Menu( "" )%>
|
100 |
<%Call Member_Menu( "" )%>
|
| 99 |
<!-- MEMBERS MENU END ------------------------------------------>
|
101 |
<!-- MEMBERS MENU END ------------------------------------------>
|
| 100 |
</td>
|
102 |
</td>
|
| 101 |
<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>
|
103 |
<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>
|
| 102 |
<td rowspan="2" valign="top" width="1%" background="images/bg_member_light.gif" nowrap>
|
104 |
<td rowspan="2" valign="top" width="1%" background="images/bg_member_light.gif" nowrap>
|
| 103 |
<!------------------------------------------->
|
105 |
<!------------------------------------------->
|
| 104 |
<br>
|
106 |
<br>
|
| 105 |
<!-------------------------------------------------------->
|
107 |
<!-------------------------------------------------------->
|
| 106 |
</td>
|
108 |
</td>
|
| 107 |
<td rowspan="2" valign="bottom" width="100%" background="images/bg_member_light.gif" align="right"><img src="images/bg_img_view.gif" width="249" height="144" vspace="10" hspace="10"></td>
|
109 |
<td rowspan="2" valign="bottom" width="100%" background="images/bg_member_light.gif" align="right"><img src="images/bg_img_view.gif" width="249" height="144" vspace="10" hspace="10"></td>
|
| 108 |
</tr>
|
110 |
</tr>
|
| 109 |
<tr>
|
111 |
<tr>
|
| 110 |
<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>
|
112 |
<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>
|
| 111 |
<td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
|
113 |
<td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
|
| 112 |
</tr>
|
114 |
</tr>
|
| 113 |
</table>
|
115 |
</table>
|
| 114 |
<!-- FOOTER -->
|
116 |
<!-- FOOTER -->
|
| 115 |
<!--#include file="_footer.asp"-->
|
117 |
<!--#include file="_footer.asp"-->
|
| 116 |
</body>
|
118 |
</body>
|
| 117 |
</html>
|
119 |
</html>
|
| 118 |
<%
|
120 |
<%
|
| 119 |
Call Destroy_All_Objects
|
121 |
Call Destroy_All_Objects
|
| 120 |
%>
|
- |
|
| 121 |
|
122 |
%>
|
| - |
|
123 |
|