Subversion Repositories DevTools

Rev

Rev 62 | Details | Compare with Previous | Last modification | View Log | RSS feed

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