| 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/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/common_subs.asp"-->
|
17 |
<!--#include file="common/common_subs.asp"-->
|
| 18 |
<%'Refresh parent window after the child window is closed
|
18 |
<%'Refresh parent window after the child window is closed
|
| 19 |
'If QStrPar("refresh") = "true" Then
|
19 |
'If QStrPar("refresh") = "true" Then
|
| 20 |
' Response.Redirect( scriptName &"?done=done"& QSTR) ' Note: "done" parameter is required as QSTR cannot stant on its own.
|
20 |
' Response.Redirect( scriptName &"?done=done"& QSTR) ' Note: "done" parameter is required as QSTR cannot stant on its own.
|
| 21 |
'End If
|
21 |
'End If
|
| 22 |
%>
|
22 |
%>
|
| 23 |
<%
|
23 |
<%
|
| 24 |
'------------ ACCESS CONTROL ------------------
|
24 |
'------------ ACCESS CONTROL ------------------
|
| 25 |
%>
|
25 |
%>
|
| 26 |
|
26 |
|
| 27 |
<!--#include file="_access_control_general.asp"-->
|
27 |
<!--#include file="_access_control_general.asp"-->
|
| 28 |
<%
|
28 |
<%
|
| 29 |
'------------ Variable Definition -------------
|
29 |
'------------ Variable Definition -------------
|
| 30 |
Dim rsTemp
|
30 |
Dim rsTemp
|
| 31 |
'------------ Constants Declaration -----------
|
31 |
'------------ Constants Declaration -----------
|
| 32 |
'------------ Variable Init -------------------
|
32 |
'------------ Variable Init -------------------
|
| 33 |
'----------------------------------------------
|
33 |
'----------------------------------------------
|
| 34 |
%>
|
34 |
%>
|
| 35 |
<%
|
35 |
<%
|
| 36 |
Function Get_Personal_Views ( NNuser_id )
|
36 |
Function Get_Personal_Views ( NNuser_id )
|
| 37 |
Get_Personal_Views = ReadFile( rootPath & "queries\personal_views_list.qry" )
|
37 |
Get_Personal_Views = ReadFile( rootPath & "queries\personal_views_list.qry" )
|
| 38 |
Get_Personal_Views = Replace( Get_Personal_Views, "$USER_ID$", NNuser_id)
|
38 |
Get_Personal_Views = Replace( Get_Personal_Views, "$USER_ID$", NNuser_id)
|
| 39 |
End Function
|
39 |
End Function
|
| 40 |
|
40 |
|
| 41 |
Sub Remove_View_Settings ( NNuser_id )
|
41 |
Sub Remove_View_Settings ( NNuser_id )
|
| 42 |
objEH.TryORA ( OraSession )
|
42 |
objEH.TryORA ( OraSession )
|
| 43 |
On Error Resume Next
|
43 |
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 &")"
|
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 |
objEH.CatchORA ( OraSession )
|
45 |
objEH.CatchORA ( OraSession )
|
| 46 |
End Sub
|
46 |
End Sub
|
| 47 |
|
47 |
|
| 48 |
Sub Insert_View_Settings ( NNuser_id, SSpersonalshow )
|
48 |
Sub Insert_View_Settings ( NNuser_id, SSpersonalshow )
|
| 49 |
If SSpersonalshow <> "" Then
|
49 |
If SSpersonalshow <> "" Then
|
| 50 |
objEH.TryORA ( OraSession )
|
50 |
objEH.TryORA ( OraSession )
|
| 51 |
On Error Resume Next
|
51 |
On Error Resume Next
|
| 52 |
OraDatabase.ExecuteSQL " INSERT INTO view_settings"&_
|
52 |
OraDatabase.ExecuteSQL " INSERT INTO view_settings"&_
|
| 53 |
" SELECT TO_NUMBER('"& NNuser_id &"') AS user_id, vi.view_id FROM views vi WHERE vi.view_id IN ("& SSpersonalshow &")"
|
53 |
" SELECT TO_NUMBER('"& NNuser_id &"') AS user_id, vi.view_id FROM views vi WHERE vi.view_id IN ("& SSpersonalshow &")"
|
| 54 |
objEH.CatchORA ( OraSession )
|
54 |
objEH.CatchORA ( OraSession )
|
| 55 |
End If
|
55 |
End If
|
| 56 |
End Sub
|
56 |
End Sub
|
| 57 |
%>
|
57 |
%>
|
| 58 |
<%
|
58 |
<%
|
| 59 |
'--- Process submition ---
|
59 |
'--- Process submition ---
|
| 60 |
'If (QStrPar("action") <> "") Then
|
60 |
'If (QStrPar("action") <> "") Then
|
| 61 |
' All mandatory parameters FOUND
|
61 |
' All mandatory parameters FOUND
|
| 62 |
' Call Remove_View_Settings ( objAccessControl.UserId )
|
62 |
' Call Remove_View_Settings ( objAccessControl.UserId )
|
| 63 |
' Call Insert_View_Settings ( objAccessControl.UserId, Request("FRpersonalshow") )
|
63 |
' Call Insert_View_Settings ( objAccessControl.UserId, Request("FRpersonalshow") )
|
| 64 |
'End If
|
64 |
'End If
|
| 65 |
%>
|
65 |
%>
|
| 66 |
<html>
|
66 |
<html>
|
| 67 |
<head>
|
67 |
<head>
|
| 68 |
<title>Deployment Manager</title>
|
68 |
<title>Deployment Manager</title>
|
| 69 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
69 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 70 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
70 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 71 |
<link rel="stylesheet" href="scripts/deployment_manager.css" type="text/css">
|
71 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 72 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
72 |
<link rel="stylesheet" href="scripts/deployment_manager.css" type="text/css">
|
| 73 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
73 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 74 |
<script language="JavaScript" src="scripts/common.js"></script>
|
74 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 75 |
</head>
|
75 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 76 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
76 |
</head>
|
| 77 |
<!-- TIPS LAYERS -------------------------------------->
|
77 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
| 78 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
78 |
<!-- TIPS LAYERS -------------------------------------->
|
| 79 |
<!----------------------------------------------------->
|
79 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
| 80 |
<!-- HEADER ++++++++++++++++ -->
|
80 |
<!----------------------------------------------------->
|
| 81 |
<!--#include file="_header.asp"-->
|
81 |
<!-- HEADER ++++++++++++++++ -->
|
| 82 |
<!-- +++++++++++++++++++++++ -->
|
82 |
<!--#include file="_header.asp"-->
|
| 83 |
<!-- BODY ---->
|
83 |
<!-- +++++++++++++++++++++++ -->
|
| 84 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
84 |
<!-- BODY ---->
|
| 85 |
<tr>
|
85 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 86 |
<td width="1%" background="images/bg_member_dark.gif" valign="top">
|
86 |
<tr>
|
| 87 |
<!-- MEMBERS MENU ---------------------------------------------->
|
87 |
<td width="1%" background="images/bg_member_dark.gif" valign="top">
|
| 88 |
<!--#include file="members_menu_def.asp"-->
|
88 |
<!-- MEMBERS MENU ---------------------------------------------->
|
| 89 |
<%Call Member_Menu( "" )%>
|
89 |
<!--#include file="members_menu_def.asp"-->
|
| 90 |
<!-- MEMBERS MENU END ------------------------------------------>
|
90 |
<%Call Member_Menu( "" )%>
|
| 91 |
</td>
|
91 |
<!-- MEMBERS MENU END ------------------------------------------>
|
| 92 |
<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>
|
92 |
</td>
|
| 93 |
<td rowspan="2" valign="top" width="1%" background="images/bg_member_light.gif" nowrap>
|
93 |
<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>
|
| 94 |
<!------------------------------------------->
|
94 |
<td rowspan="2" valign="top" width="1%" background="images/bg_member_light.gif" nowrap>
|
| 95 |
<br>
|
95 |
<!------------------------------------------->
|
| 96 |
<!-------------------------------------------------------->
|
96 |
<br>
|
| 97 |
</td>
|
97 |
<!-------------------------------------------------------->
|
| 98 |
<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>
|
98 |
</td>
|
| 99 |
</tr>
|
99 |
<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>
|
| 100 |
<tr>
|
100 |
</tr>
|
| 101 |
<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>
|
101 |
<tr>
|
| 102 |
<td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
|
102 |
<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>
|
| 103 |
</tr>
|
103 |
<td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
|
| 104 |
</table>
|
104 |
</tr>
|
| 105 |
<!-- FOOTER -->
|
105 |
</table>
|
| 106 |
<!--#include file="_footer.asp"-->
|
106 |
<!-- FOOTER -->
|
| 107 |
</body>
|
107 |
<!--#include file="_footer.asp"-->
|
| 108 |
</html>
|
108 |
</body>
|
| 109 |
<%
|
109 |
</html>
|
| 110 |
Call Destroy_All_Objects
|
110 |
<%
|
| - |
|
111 |
Call Destroy_All_Objects
|
| 111 |
%>
|
112 |
%>
|
| 112 |
|
113 |
|