Subversion Repositories DevTools

Rev

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

Rev 62 Rev 5356
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|			          NodeDefault				 	 |
5
'|			          NodeDefault				 	 |
6
'|                                                   |
6
'|                                                   |
7
'=====================================================
7
'=====================================================
8
%>
8
%>
9
<%
9
<%
10
Option explicit
10
Option explicit
11
Response.Expires = 0
11
Response.Expires = 0
12
%>
12
%>
13
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/config.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/common_subs.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/_node_common.asp"-->
16
<!--#include file="common/_node_common.asp"-->
17
<%
17
<%
18
'------------ ACCESS CONTROL ------------------
18
'------------ ACCESS CONTROL ------------------
19
%>
19
%>
20
<!--#include file="_access_control_general.asp"-->
20
<!--#include file="_access_control_general.asp"-->
21
<%
21
<%
22
'------------ VARIABLE DEFINITION -------------
22
'------------ VARIABLE DEFINITION -------------
23
Dim rsQry
23
Dim rsQry
24
Dim OsId
24
Dim OsId
25
Dim OsName
25
Dim OsName
26
'------------ CONSTANTS DECLARATION -----------
26
'------------ CONSTANTS DECLARATION -----------
27
'------------ VARIABLE INIT -------------------
27
'------------ VARIABLE INIT -------------------
28
'------------ CONDITIONS ----------------------
28
'------------ CONDITIONS ----------------------
29
'----------------------------------------------
29
'----------------------------------------------
30
%>
30
%>
31
<%
31
<%
32
'------------ RUN BEFORE PAGE RENDER ----------
32
'------------ RUN BEFORE PAGE RENDER ----------
33
If (Request("action") <> "") Then
33
If (Request("action") <> "") Then
34
	'-- Select Action
34
	'-- Select Action
35
	
35
	
36
	Select Case Request("action")
36
	Select Case Request("action")
37
		Case "btnCopyOs"
37
		Case "btnCopyOs"
38
			Call OpenInWindow ( "_CopyItems.asp?copy_type=os_id_list&os_id_list="& Request("os_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
38
			Call OpenInWindow ( "_CopyItems.asp?copy_type=os_id_list&os_id_list="& Request("os_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
39
		Case "btnRemoveOsBulk"
39
		Case "btnRemoveOsBulk"
40
			Call OpenInWindow ( "_DestroyOs.asp?rfile="& SCRIPT_NAME &"&os_id_list="& Request("os_id_list") &"&"& objPMod.ComposeURL() )
40
			Call OpenInWindow ( "_DestroyOs.asp?rfile="& SCRIPT_NAME &"&os_id_list="& Request("os_id_list") &"&"& objPMod.ComposeURL() )
41
		
41
		
42
	End Select
42
	End Select
43
	
43
	
44
End If
44
End If
45
'----------------------------------------------
45
'----------------------------------------------
46
%>
46
%>
47
<html>
47
<html>
48
<head>
48
<head>
49
<title>Production Manager</title>
49
<title>Production Manager</title>
50
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
50
<link rel="shortcut icon" href="<%=FavIcon%>"/>
51
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
51
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
52
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
52
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
53
<script language="JavaScript" src="scripts/common.js"></script>
53
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
54
</head>
54
<script language="JavaScript" src="scripts/common.js"></script>
55
 
55
</head>
56
<body leftmargin="0" topmargin="0">
56
 
57
<!-- HEADER ++++++++++++++++ -->
57
<body leftmargin="0" topmargin="0">
58
<!--#include file="_header.asp"-->
58
<!-- HEADER ++++++++++++++++ -->
59
<!-- +++++++++++++++++++++++ -->
59
<!--#include file="_header.asp"-->
60
<!-- MAIN MENU  +  CRUMBS ++++++++++++++++ -->
60
<!-- +++++++++++++++++++++++ -->
61
<!--#include file="_main_menu.asp"-->
61
<!-- MAIN MENU  +  CRUMBS ++++++++++++++++ -->
62
<!-- +++++++++++++++++++++++++++++++++++++ -->
62
<!--#include file="_main_menu.asp"-->
63
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
63
<!-- +++++++++++++++++++++++++++++++++++++ -->
64
  <tr>
64
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
65
    <td width="1%" valign="top" background="images/bg_bage_0.gif">
65
  <tr>
66
	<!-- NODE BROWSER ++++++++++++++++++++++ -->
66
    <td width="1%" valign="top" background="images/bg_bage_0.gif">
67
	<!--#include file="_bom_browser.asp"-->
67
	<!-- NODE BROWSER ++++++++++++++++++++++ -->
68
	<!-- END OF NODE BROWSER +++++++++++++++ -->
68
	<!--#include file="_bom_browser.asp"-->
69
	</td>
69
	<!-- END OF NODE BROWSER +++++++++++++++ -->
70
    <td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
70
	</td>
71
    <td width="100%" valign="top" bgcolor="#FFFFFF">
71
    <td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
72
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
72
    <td width="100%" valign="top" bgcolor="#FFFFFF">
73
	<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
73
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
74
	  <tr>
74
	<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
75
        <td valign="top" background="images/bg_green.gif"></td>
75
	  <tr>
76
        <td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objNodeCollector )%></td>
76
        <td valign="top" background="images/bg_green.gif"></td>
77
        <td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
77
        <td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objNodeCollector )%></td>
78
      </tr>
78
        <td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
79
      <tr>
79
      </tr>
80
        <td width="1%" valign="top" background="images/bg_green.gif"></td>
80
      <tr>
81
        <td width="100%" valign="bottom" background="images/bg_green.gif">
81
        <td width="1%" valign="top" background="images/bg_green.gif"></td>
82
		<!-- TAB CONTROLS ++++++++++++++++++++++ -->
82
        <td width="100%" valign="bottom" background="images/bg_green.gif">
83
		<!--#include file="_tabs_definition.asp"-->
83
		<!-- TAB CONTROLS ++++++++++++++++++++++ -->
84
		<%
84
		<!--#include file="_tabs_definition.asp"-->
85
		Set objTabControl = New TabControl
85
		<%
86
		objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
86
		Set objTabControl = New TabControl
87
		objTabControl.TabStyle = "StyleWinXP"
87
		objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
88
		objTabControl.AddTabDefnition ( arrNodeTabDef )
88
		objTabControl.TabStyle = "StyleWinXP"
89
		objTabControl.Render ()
89
		objTabControl.AddTabDefnition ( arrNodeTabDef )
90
		%>
90
		objTabControl.Render ()
91
		<!-- END OF TAB CONTROLS +++++++++++++++ -->
91
		%>
92
		</td>
92
		<!-- END OF TAB CONTROLS +++++++++++++++ -->
93
        <td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
93
		</td>
94
        </tr>
94
        <td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
95
      <tr>
95
        </tr>
96
        <td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
96
      <tr>
97
        <td background="images/bg_bage_0.gif">
97
        <td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
98
		<!-- BUTTONS CONTROL +++++++++++++++++++ -->
98
        <td background="images/bg_bage_0.gif">
99
 
99
		<!-- BUTTONS CONTROL +++++++++++++++++++ -->
100
		<!-- +++++++++++++++++++++++++++++++++++ -->
100
 
101
		</td>
101
		<!-- +++++++++++++++++++++++++++++++++++ -->
102
        <td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
102
		</td>
103
        </tr>
103
        <td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
104
      <tr>
104
        </tr>
105
        <td>&nbsp;</td>
105
      <tr>
106
        <td>&nbsp;</td>
106
        <td>&nbsp;</td>
107
        <td valign="top"><%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) = "hide" Then%><a href="<%=SCRIPT_NAME%>?user_bar=<%=enumDEFAULT%>&<%=objPMod.ComposeURL()%>"><img src="icons/b_left.gif" title="Maximize favourits" width="13" height="13" vspace="5" border="0"></a><%End If%></td>
107
        <td>&nbsp;</td>
108
        </tr>
108
        <td valign="top"><%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) = "hide" Then%><a href="<%=SCRIPT_NAME%>?user_bar=<%=enumDEFAULT%>&<%=objPMod.ComposeURL()%>"><img src="icons/b_left.gif" title="Maximize favourits" width="13" height="13" vspace="5" border="0"></a><%End If%></td>
109
    </table>
109
        </tr>
110
	<table width="100%"  border="0" cellspacing="10" cellpadding="0">
110
    </table>
111
      <tr>
111
	<table width="100%"  border="0" cellspacing="10" cellpadding="0">
112
        <td>
112
      <tr>
113
		<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
113
        <td>
114
		<table width="100%"  border="0" cellspacing="3" cellpadding="0">
114
		<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
115
          <tr>
115
		<table width="100%"  border="0" cellspacing="3" cellpadding="0">
116
		  	<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
116
          <tr>
117
            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
117
		  	<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
118
              <tr>
118
            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
119
                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">&nbsp;Operating System</td>
119
              <tr>
120
              </tr>
120
                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">&nbsp;Operating System</td>
121
            </table></td>
121
              </tr>
122
			<td width="70%" align="right" background="images/bg_table_col.gif" class="body_col">Installation Comments</td>
122
            </table></td>
123
			<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
123
			<td width="70%" align="right" background="images/bg_table_col.gif" class="body_col">Installation Comments</td>
124
          </tr>
124
			<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
125
		  <%
125
          </tr>
126
		  ' Load some action buttons
126
		  <%
127
		  Call objBtnControl.LoadActionButtons ( Array("btnEditOS", "btnRemoveOS"), OraDatabase )
127
		  ' Load some action buttons
128
		  objBtnControl.ButtonSpacer = 1
128
		  Call objBtnControl.LoadActionButtons ( Array("btnEditOS", "btnRemoveOS"), OraDatabase )
129
		  
129
		  objBtnControl.ButtonSpacer = 1
130
		  OraDatabase.Parameters.Add "NODE_ID", dbPARnode_id,		ORAPARM_INPUT, ORATYPE_NUMBER 
130
		  
131
		  
131
		  OraDatabase.Parameters.Add "NODE_ID", dbPARnode_id,		ORAPARM_INPUT, ORATYPE_NUMBER 
132
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("OsList.sql"), ORADYN_DEFAULT )
132
		  
133
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
133
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("OsList.sql"), ORADYN_DEFAULT )
134
		  	OsId = rsQry("os_id")
134
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
135
			OsName = rsQry("os_name").Value
135
		  	OsId = rsQry("os_id")
136
		  %>
136
			OsName = rsQry("os_name").Value
137
          <tr>
137
		  %>
138
		  	<td align="center" valign="top"><input type="checkbox" name="os_id_list" value="<%=OsId%>"></td>
138
          <tr>
139
            <td nowrap class="body_row" valign="top"><a href="OsDefault.asp?os_id=<%=OsId%>&<%=objPMod.ComposeURL()%>" class="body_link" title="See OS Details"><img src="icons/<%=rsQry("bos_icon")%>" hspace="2" align="absmiddle" border="0"><%=OsName%></a></td>
139
		  	<td align="center" valign="top"><input type="checkbox" name="os_id_list" value="<%=OsId%>"></td>
140
            <td class="body_rowlite" valign="top"><%=objFormater.TextToHtml( rsQry("os_comments") )%></td>
140
            <td nowrap class="body_row" valign="top"><a href="OsDefault.asp?os_id=<%=OsId%>&<%=objPMod.ComposeURL()%>" class="body_link" title="See OS Details"><img src="icons/<%=rsQry("bos_icon")%>" hspace="2" align="absmiddle" border="0"><%=OsName%></a></td>
141
          </tr>
141
            <td class="body_rowlite" valign="top"><%=objFormater.TextToHtml( rsQry("os_comments") )%></td>
142
		  <%rsQry.MoveNext%>
142
          </tr>
143
		  
143
		  <%rsQry.MoveNext%>
144
		  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
144
		  
145
          <tr>
145
		  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
146
            <td colspan="4" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
146
          <tr>
147
          </tr>
147
            <td colspan="4" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
148
		  <%End If%>
148
          </tr>
149
		  
149
		  <%End If%>
150
		  <%
150
		  
151
		  WEnd
151
		  <%
152
		  
152
		  WEnd
153
		  OraDatabase.Parameters.Remove "NODE_ID"
153
		  
154
		  %>
154
		  OraDatabase.Parameters.Remove "NODE_ID"
155
          <tr>
155
		  %>
156
            <td colspan="4" background="images/bg_table_border.gif">
156
          <tr>
157
			 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
157
            <td colspan="4" background="images/bg_table_border.gif">
158
              <tr>
158
			 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
159
                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
159
              <tr>
160
              </tr>
160
                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
161
             </table>
161
              </tr>
162
			</td>
162
             </table>
163
          </tr>
163
			</td>
164
         </table>	
164
          </tr>
165
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
165
         </table>	
166
		</td>
166
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
167
      </tr>
167
		</td>
168
	  <%=objPMod.ComposeHiddenTags()%>
168
      </tr>
169
	  <input type="hidden" name="action" value="true">
169
	  <%=objPMod.ComposeHiddenTags()%>
170
	</form>
170
	  <input type="hidden" name="action" value="true">
171
    </table>
171
	</form>
172
	</td>
172
    </table>
173
    <td width="1%" valign="top" background="images/bg_favourits.gif">
173
	</td>
174
	<%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) <> "hide" Then%>
174
    <td width="1%" valign="top" background="images/bg_favourits.gif">
175
	
175
	<%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) <> "hide" Then%>
176
	<%End If%>
176
	
177
   </td>
177
	<%End If%>
178
  </tr>
178
   </td>
179
  <tr>
179
  </tr>
180
    <td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
180
  <tr>
181
    <td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
181
    <td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
182
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
182
    <td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
183
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
183
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
184
  </tr>
184
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
185
  <tr>
185
  </tr>
186
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
186
  <tr>
187
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
187
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
188
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
188
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
189
    <td bgcolor="#FFFFFF">&nbsp;</td>
189
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
190
  </tr>
190
    <td bgcolor="#FFFFFF">&nbsp;</td>
191
</table>
191
  </tr>
192
<!-- FOOTER ++++++++++++++++ -->
192
</table>
193
<!--#include file="_footer.asp"-->
193
<!-- FOOTER ++++++++++++++++ -->
194
<!-- +++++++++++++++++++++++ -->
194
<!--#include file="_footer.asp"-->
195
</body>
195
<!-- +++++++++++++++++++++++ -->
196
</html>
196
</body>
197
<%
197
</html>
198
'------------ RUN AFTER PAGE RENDER -----------
198
<%
199
Set objPMod = Nothing
199
'------------ RUN AFTER PAGE RENDER -----------
200
Set objCrumbs = Nothing
200
Set objPMod = Nothing
201
Set objTabControl = Nothing
201
Set objCrumbs = Nothing
202
Set objBtnControl = Nothing
202
Set objTabControl = Nothing
203
'----------------------------------------------
203
Set objBtnControl = Nothing
-
 
204
'----------------------------------------------
204
%><!--#include file="common/globals_destructor.asp"-->
205
%><!--#include file="common/globals_destructor.asp"-->
205
206