Subversion Repositories DevTools

Rev

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

Rev 23 Rev 4216
Line 24... Line 24...
24
Dim aProducts
24
Dim aProducts
25
Dim numOfRows
25
Dim numOfRows
26
Dim rowNum
26
Dim rowNum
27
Dim objFormCollector
27
Dim objFormCollector
28
Dim currPkg_id
28
Dim currPkg_id
-
 
29
Dim objList
-
 
30
Dim key
-
 
31
 
29
'------------ CONSTANTS DECLARATION -----------
32
'------------ CONSTANTS DECLARATION -----------
30
'------------ VARIABLE INIT -------------------
33
'------------ VARIABLE INIT -------------------
31
parBom_id = Request("bom_id")
34
parBom_id = Request("bom_id")
32
Set objFormCollector = CreateObject("Scripting.Dictionary")
35
Set objFormCollector = CreateObject("Scripting.Dictionary")
-
 
36
Set objList = CreateObject("Scripting.Dictionary")
-
 
37
 
33
'------------ CONDITIONS ----------------------
38
'------------ CONDITIONS ----------------------
34
'----------------------------------------------
39
'----------------------------------------------
35
%>
40
%>
36
<%
41
<%
37
'----------------------------------------------------------------------------------------------------------------------------------
42
'----------------------------------------------------------------------------------------------------------------------------------
Line 319... Line 324...
319
			<%If rsQry.RecordCount < 1 Then%>
324
			<%If rsQry.RecordCount < 1 Then%>
320
			<tr>
325
			<tr>
321
              <td colspan="5" class="body_row">No Products to Update.                 </td>
326
              <td colspan="5" class="body_row">No Products to Update.                 </td>
322
            </tr>
327
            </tr>
323
			<%End If%>
328
			<%End If%>
324
			<%
-
 
325
			While (NOT rsQry.BOF) AND (NOT rsQry.EOF)%>
329
			<%While (NOT rsQry.BOF) AND (NOT rsQry.EOF)%>
326
			<%If currPkg_id <> rsQry("pkg_id") Then%>
330
			<%If currPkg_id <> rsQry("pkg_id") Then%>
327
            <tr>
331
            <tr>
328
			  <td nowrap><div align="left"><span class="body_row"><img src="icons/i_product.gif" width="19" height="19" hspace="2" align="absmiddle"><%=rsQry("prod_name")%>                                                                     				   </span></div></td>
332
			  <td nowrap><div align="left"><span class="body_row"><img src="icons/i_product.gif" width="19" height="19" hspace="2" align="absmiddle"><%=rsQry("prod_name")%>                                                                     				   </span></div></td>
329
              <td nowrap></td>
333
              <td nowrap></td>
330
              <td nowrap class="body_row">&nbsp;</td>
334
              <td nowrap class="body_row">&nbsp;</td>
Line 334... Line 338...
334
			<tr>
338
			<tr>
335
              <td colspan="5" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
339
              <td colspan="5" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
336
            </tr>
340
            </tr>
337
			<%currPkg_id = rsQry("pkg_id")%>
341
			<%currPkg_id = rsQry("pkg_id")%>
338
			<%End If%>
342
			<%End If%>
339
			
-
 
-
 
343
            <%key = rsQry("os_id") & "_" & rsQry("prod_id")%>
340
            <tr>
344
            <tr>
-
 
345
              <%If objList.Exists(key) Then%> 
-
 
346
              <td></td>
-
 
347
              <%Else%>
341
              <td align="center" nowrap><input type="checkbox" name="unhide_<%=rsQry("os_id") &"_"& rsQry("prod_id")%>" value="<%=rsQry("prod_id")%>"> </td>
348
              <td align="center" nowrap><input type="checkbox" name="unhide_<%=rsQry("os_id") &"_"& rsQry("prod_id")%>" value="<%=rsQry("prod_id")%>"> </td>
-
 
349
              <%End If%>
-
 
350
              <%objList.Item(key) = objList.Item(key) + 1 %>
342
              <td nowrap class="body_row"><img hspace="2" src="icons/<%=rsQry("node_icon")%>" align="absmiddle" border="0"><%=rsQry("prod_location")%></td>
351
              <td nowrap class="body_row"><img hspace="2" src="icons/<%=rsQry("node_icon")%>" align="absmiddle" border="0"><%=rsQry("prod_location")%></td>
343
              <td nowrap class="body_row"><%=rsQry("prod_version")%></td>
352
              <td nowrap class="body_row"><%=rsQry("prod_version")%></td>
344
              <td nowrap class="body_row"><span class="body_txtr"><%=rsQry("rm_latest_version")%></span></td>
353
              <td nowrap class="body_row"><span class="body_txtr"><%=rsQry("rm_latest_version")%></span></td>
345
              </tr>
354
              </tr>
346
			<tr>
355
			<tr>