Subversion Repositories DevTools

Rev

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

Rev 64 Rev 5356
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|			          Bom_History				 	 |
5
'|			          Bom_History				 	 |
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="class/classRepeater.asp"-->
16
<!--#include file="class/classRepeater.asp"-->
17
<!--#include file="common/_node_common.asp"-->
17
<!--#include file="common/_node_common.asp"-->
18
<%
18
<%
19
'------------ ACCESS CONTROL ------------------
19
'------------ ACCESS CONTROL ------------------
20
%>
20
%>
21
<!--#include file="_access_control_general.asp"-->
21
<!--#include file="_access_control_general.asp"-->
22
<%
22
<%
23
'------------ VARIABLE DEFINITION -------------
23
'------------ VARIABLE DEFINITION -------------
24
Dim rsQry
24
Dim rsQry
25
Dim objRepeater
25
Dim objRepeater
26
'------------ CONSTANTS DECLARATION -----------
26
'------------ CONSTANTS DECLARATION -----------
27
'------------ VARIABLE INIT -------------------
27
'------------ VARIABLE INIT -------------------
28
Set objRepeater = New Repeater
28
Set objRepeater = New Repeater
29
'------------ CONDITIONS ----------------------
29
'------------ CONDITIONS ----------------------
30
'----------------------------------------------
30
'----------------------------------------------
31
%>
31
%>
32
<%
32
<%
33
'------------ RUN BEFORE PAGE RENDER ----------
33
'------------ RUN BEFORE PAGE RENDER ----------
34
'----------------------------------------------
34
'----------------------------------------------
35
%>
35
%>
36
<html>
36
<html>
37
<head>
37
<head>
38
<title>Production Manager</title>
38
<title>Production Manager</title>
39
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
39
<link rel="shortcut icon" href="<%=FavIcon%>"/>
40
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
41
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
41
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
42
<script language="JavaScript" src="scripts/common.js"></script>
42
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
43
</head>
43
<script language="JavaScript" src="scripts/common.js"></script>
44
 
44
</head>
45
<body leftmargin="0" topmargin="0">
45
 
46
<!-- HEADER ++++++++++++++++ -->
46
<body leftmargin="0" topmargin="0">
47
<!--#include file="_header.asp"-->
47
<!-- HEADER ++++++++++++++++ -->
48
<!-- +++++++++++++++++++++++ -->
48
<!--#include file="_header.asp"-->
49
<!-- MAIN MENU  +  CRUMBS ++++++++++++++++ -->
49
<!-- +++++++++++++++++++++++ -->
50
<!--#include file="_main_menu.asp"-->
50
<!-- MAIN MENU  +  CRUMBS ++++++++++++++++ -->
51
<!-- +++++++++++++++++++++++++++++++++++++ -->
51
<!--#include file="_main_menu.asp"-->
52
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
52
<!-- +++++++++++++++++++++++++++++++++++++ -->
53
  <tr>
53
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
54
    <td width="1%" valign="top" background="images/bg_bage_0.gif">
54
  <tr>
55
	<!-- NODE BROWSER ++++++++++++++++++++++ -->
55
    <td width="1%" valign="top" background="images/bg_bage_0.gif">
56
	<!--#include file="_bom_browser2.asp"-->
56
	<!-- NODE BROWSER ++++++++++++++++++++++ -->
57
	<!-- END OF NODE BROWSER +++++++++++++++ -->
57
	<!--#include file="_bom_browser2.asp"-->
58
	</td>
58
	<!-- END OF NODE BROWSER +++++++++++++++ -->
59
    <td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
59
	</td>
60
    <td width="100%" valign="top" bgcolor="#FFFFFF">
60
    <td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
61
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
61
    <td width="100%" valign="top" bgcolor="#FFFFFF">
62
	  <tr>
62
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
63
        <td valign="top" background="images/bg_green.gif"></td>
63
	  <tr>
64
        <td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objNodeCollector )%></td>
64
        <td valign="top" background="images/bg_green.gif"></td>
65
        <td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
65
        <td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objNodeCollector )%></td>
66
      </tr>
66
        <td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
67
      <tr>
67
      </tr>
68
        <td width="1%" valign="top" background="images/bg_green.gif"></td>
68
      <tr>
69
        <td width="100%" valign="bottom" background="images/bg_green.gif">
69
        <td width="1%" valign="top" background="images/bg_green.gif"></td>
70
		<!-- TAB CONTROLS ++++++++++++++++++++++ -->
70
        <td width="100%" valign="bottom" background="images/bg_green.gif">
71
		<!--#include file="_tabs_definition.asp"-->
71
		<!-- TAB CONTROLS ++++++++++++++++++++++ -->
72
		<%
72
		<!--#include file="_tabs_definition.asp"-->
73
		Set objTabControl = New TabControl
73
		<%
74
		objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
74
		Set objTabControl = New TabControl
75
		objTabControl.TabStyle = "StyleWinXP"
75
		objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
76
		objTabControl.AddTabDefnition ( arrNodeTabDef )
76
		objTabControl.TabStyle = "StyleWinXP"
77
		objTabControl.SelectByName("History")
77
		objTabControl.AddTabDefnition ( arrNodeTabDef )
78
		objTabControl.Render ()
78
		objTabControl.SelectByName("History")
79
		%>
79
		objTabControl.Render ()
80
		<!-- END OF TAB CONTROLS +++++++++++++++ -->
80
		%>
81
		</td>
81
		<!-- END OF TAB CONTROLS +++++++++++++++ -->
82
        <td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
82
		</td>
83
        </tr>
83
        <td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
84
      <tr>
84
        </tr>
85
        <td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
85
      <tr>
86
        <td background="images/bg_bage_0.gif">&nbsp;</td>
86
        <td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
87
        <td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
87
        <td background="images/bg_bage_0.gif">&nbsp;</td>
88
        </tr>
88
        <td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
89
      <tr>
89
        </tr>
90
        <td>&nbsp;</td>
90
      <tr>
91
        <td>&nbsp;</td>
91
        <td>&nbsp;</td>
92
        <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>
92
        <td>&nbsp;</td>
93
        </tr>
93
        <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>
94
    </table>
94
        </tr>
95
	<table width="100%"  border="0" cellspacing="10" cellpadding="0">
95
    </table>
96
      <tr>
96
	<table width="100%"  border="0" cellspacing="10" cellpadding="0">
97
        <td>
97
      <tr>
98
		<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
98
        <td>
99
		<%
99
		<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
100
		OraDatabase.Parameters.Add "NODE_ID", 	Request("node_id"),	ORAPARM_INPUT, ORATYPE_NUMBER
100
		<%
101
		
101
		OraDatabase.Parameters.Add "NODE_ID", 	Request("node_id"),	ORAPARM_INPUT, ORATYPE_NUMBER
102
		
102
		
103
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("NodeHistory.sql") , ORADYN_DEFAULT )
103
		
104
		
104
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("NodeHistory.sql") , ORADYN_DEFAULT )
105
		'Pass record set to Repeater
105
		
106
		objRepeater.RecordSet = rsQry
106
		'Pass record set to Repeater
107
		
107
		objRepeater.RecordSet = rsQry
108
		'Define Table Row with bound variables
108
		
109
		objRepeater.Row = _
109
		'Define Table Row with bound variables
110
			"<tr>"&_
110
		objRepeater.Row = _
111
			"  <td bgcolor='#FFFFFF' class='body_smltxtg' nowrap valign='top'>""& <#DATE_TIME_STAMP#> &""</td>"&_
111
			"<tr>"&_
112
			"  <td bgcolor='#FFFFFF' class='body_row' valign='top'>""& <#TRAIL_ACTION#> &""</td>"&_
112
			"  <td bgcolor='#FFFFFF' class='body_smltxtg' nowrap valign='top'>""& <#DATE_TIME_STAMP#> &""</td>"&_
113
			"  <td bgcolor='#FFFFFF' class='body_row' nowrap valign='top'><a href='mailto:""& <#USER_EMAIL#> &""' class='body_link'>"&_
113
			"  <td bgcolor='#FFFFFF' class='body_row' valign='top'>""& <#TRAIL_ACTION#> &""</td>"&_
114
			"    <img src='icons/i_email.gif' width='15' height='10' hspace='2' border='0' align='absmiddle' title='Send email to ""& <#USER_EMAIL#> &""'>""& <#FULL_NAME#> &""</a></td>"&_
114
			"  <td bgcolor='#FFFFFF' class='body_row' nowrap valign='top'><a href='mailto:""& <#USER_EMAIL#> &""' class='body_link'>"&_
115
			"</tr>"
115
			"    <img src='icons/i_email.gif' width='15' height='10' hspace='2' border='0' align='absmiddle' title='Send email to ""& <#USER_EMAIL#> &""'>""& <#FULL_NAME#> &""</a></td>"&_
116
		%>
116
			"</tr>"
117
		<%Call objRepeater.Navigator ( TRUE, TRUE )%>
117
		%>
118
		<!-- DATA TABLE ++++++++++++++++++++++++++++++++++++++++++++++ -->
118
		<%Call objRepeater.Navigator ( TRUE, TRUE )%>
119
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
119
		<!-- DATA TABLE ++++++++++++++++++++++++++++++++++++++++++++++ -->
120
            <tr>
120
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
121
              <td background="images/bg_bage_0a.gif">
121
            <tr>
122
			   <table width="100%"  border="0" cellspacing="1" cellpadding="3">
122
              <td background="images/bg_bage_0a.gif">
123
                <tr>
123
			   <table width="100%"  border="0" cellspacing="1" cellpadding="3">
124
                  <td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>Date</td>
124
                <tr>
125
                  <td width="40%" background="images/bg_bage_0.gif" class="body_col" nowrap>Action</td>
125
                  <td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>Date</td>
126
				  <td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>User</td>
126
                  <td width="40%" background="images/bg_bage_0.gif" class="body_col" nowrap>Action</td>
127
                </tr>
127
				  <td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>User</td>
128
				<%objRepeater.RenderDataGrid ()%>
128
                </tr>
129
              </table>
129
				<%objRepeater.RenderDataGrid ()%>
130
			 </td>
130
              </table>
131
            </tr>
131
			 </td>
132
          </table>
132
            </tr>
133
		  <%
133
          </table>
134
		  OraDatabase.Parameters.Remove "NODE_ID"
134
		  <%
135
			
135
		  OraDatabase.Parameters.Remove "NODE_ID"
136
		  rsQry.Close()
136
			
137
		  Set rsQry = Nothing
137
		  rsQry.Close()
138
		  %>
138
		  Set rsQry = Nothing
139
		  <%Call objRepeater.Navigator ( FALSE, TRUE )%>
139
		  %>
140
		<br>
140
		  <%Call objRepeater.Navigator ( FALSE, TRUE )%>
141
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
141
		<br>
142
		</td>
142
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
143
      </tr>
143
		</td>
144
    </table>
144
      </tr>
145
	</td>
145
    </table>
146
    <td width="1%" valign="top" background="images/bg_favourits.gif">
146
	</td>
147
	<%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) <> "hide" Then%>
147
    <td width="1%" valign="top" background="images/bg_favourits.gif">
148
 
148
	<%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) <> "hide" Then%>
149
	<%End If%>
149
 
150
   </td>
150
	<%End If%>
151
  </tr>
151
   </td>
152
  <tr>
152
  </tr>
153
    <td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
153
  <tr>
154
    <td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
154
    <td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
155
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
155
    <td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
156
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
156
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
157
  </tr>
157
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
158
  <tr>
158
  </tr>
159
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
159
  <tr>
160
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
160
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
161
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
161
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
162
    <td bgcolor="#FFFFFF">&nbsp;</td>
162
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
163
  </tr>
163
    <td bgcolor="#FFFFFF">&nbsp;</td>
164
</table>
164
  </tr>
165
<!-- FOOTER ++++++++++++++++ -->
165
</table>
166
<!--#include file="_footer.asp"-->
166
<!-- FOOTER ++++++++++++++++ -->
167
<!-- +++++++++++++++++++++++ -->
167
<!--#include file="_footer.asp"-->
168
</body>
168
<!-- +++++++++++++++++++++++ -->
169
</html>
169
</body>
170
<%
170
</html>
171
'------------ RUN AFTER PAGE RENDER -----------
171
<%
172
Set objPMod = Nothing
172
'------------ RUN AFTER PAGE RENDER -----------
173
Set objCrumbs = Nothing
173
Set objPMod = Nothing
174
Set objTabControl = Nothing
174
Set objCrumbs = Nothing
175
'----------------------------------------------
175
Set objTabControl = Nothing
-
 
176
'----------------------------------------------
176
%><!--#include file="common/globals_destructor.asp"-->
177
%><!--#include file="common/globals_destructor.asp"-->
177
178