Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|		           Files and Folders                 |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
' Good idea to set when using redirect
12
Response.Expires = 0	' always load the page, dont store
13
%>
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_dbedit.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
<!--#include file="common/_package_common.asp"-->
23
<%
24
'------------ ACCESS CONTROL ------------------
25
%>
26
<!--#include file="_access_control_general.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim rsTemp
30
Dim rsQry
31
Dim isProduct
32
Dim sLink
33
Dim sSize
34
Dim sIcon
35
Dim parComparePvId
36
Dim parCompare
37
Dim parOsType
38
Dim sDiffStateIcon
39
Dim sStyle
40
Dim dAvailableOsTypes
41
'------------ Constants Declaration -----------
42
Const LIMG_UPDATED = "<img src='images/i_updated.gif' width='11' height='11' border='0' hspace='2' align='absmiddle' title='Updated'>"
43
Const LIMG_ADDED = "<img src='images/i_added.gif' width='11' height='11' border='0' hspace='2' align='absmiddle' title='Added'>"
44
Const LIMG_REMOVED = "<img src='images/i_removed.gif' width='11' height='11' border='0' hspace='2' align='absmiddle' title='Removed'>"
45
'------------ Variable Init -------------------
46
parComparePvId = Request("compare_pv_id")
47
parCompare = Request("compare")
48
parOsType = Request("os_type")
49
'----------------------------------------------
50
If Request("btn") = "Compare" Then
51
	parCompare = "true"
52
End If
53
Set dAvailableOsTypes = CreateObject("Scripting.Dictionary")
54
'----------------------------------------------
55
%>
56
<%
57
'--------------------------------------------------------------------------------------------------------------------------------------
58
Function GetModuleComponents ( nPvId )
59
	' TODO...
60
End Function
61
 
62
 
63
'--------------------------------------------------------------------------------------------------------------------------------------
64
Sub DisplayMessage ()
65
	If (pkgInfoHash.Item ("dlocked") = "Y") Then
66
		If (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") > 0) Then	
67
			Select Case CStr( pkgInfoHash.Item ("release_notes_info") )
68
			Case enum_RELEASE_NOTES_GENERATING
69
				Call DisplayInfo ( "GENERATING_RELEASE_NOTES", "400" )
70
			Case enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE
71
				Call DisplayInfo ( "NOT_FOUND_IN_PKG_ARCHIVE_FILE_GENERATE", "400" )
72
			Case enum_RELEASE_NOTES_FAILED
73
				Call DisplayInfo ( "FAILED_GENERATING_RELEASE_NOTES", "400" )
74
			Case enum_RELEASE_NOTES_NO_PREVIOUS_VERSION
75
				Call DisplayInfo ( "NO_PREVIOUS_VERSION_RELEASE_NOTES", "400" )
76
			End Select
77
 
78
		ElseIf IsNull(pkgInfoHash.Item ("release_notes_info")) Then
79
			Call DisplayInfo ( "GENERATE_FILES_AND_FOLDERS", "400" )
80
 
81
		End If
82
 
83
	End If
84
End Sub
85
'--------------------------------------------------------------------------------------------------------------------------------------
86
Sub GetProductOsTypes ( outAvailableOsTypes, outOsType )
87
	Dim rsQry
88
 
89
	' --- Get all available product os types from captured components ---
90
	OraDatabase.Parameters.Add "PV_ID", parPv_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
91
 
92
	Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ProductBuildOsTypes.sql"), cint(0))
93
 
94
	OraDatabase.Parameters.Remove "PV_ID"
95
 
96
 
97
	While ((NOT rsQry.BOF) AND (NOT rsQry.EOF))
98
		outAvailableOsTypes.Item (CStr(rsQry("os_id"))) = CStr(rsQry("os_id"))
99
 
100
		If outOsType = "" Then
101
			outOsType = CStr(rsQry("os_id"))
102
		End If
103
 
104
		rsQry.MoveNext
105
    WEnd
106
 
107
	rsQry.Close()
108
	Set rsQry = nothing
109
 
110
End Sub
111
'--------------------------------------------------------------------------------------------------------------------------------------
112
Sub DisplayOsTypeCombo ( )
113
	Dim sOsType, aOsTypeParts, selected
114
 
115
 
116
	' -- Render combo box ---
117
	If dAvailableOsTypes.Count > 0 Then
118
		For Each sOsType In aPRODUCT_OS_BUILD_TYPES
119
			aOsTypeParts = Split( sOsType, "|")
120
 
121
 
122
			If dAvailableOsTypes.Exists ( CStr(aOsTypeParts(1)) ) Then	
123
				' Define selected item
124
 
125
				selected = ""
126
 
127
				If parOsType = "" Then
128
					parOsType = aOsTypeParts(1)
129
					selected = "selected"
130
				Else
131
					If CStr(parOsType) = CStr(aOsTypeParts(1)) Then
132
						selected = "selected"
133
					End If
134
				End If
135
 
136
				Response.write "<option value='"& aOsTypeParts(1) &"' "& selected &">"& aOsTypeParts(0) &"</option>"
137
 
138
			End If
139
 
140
		Next
141
	End If
142
 
143
End Sub
144
'--------------------------------------------------------------------------------------------------------------------------------------
145
Sub DisplayComparePvIdCombo()
146
	Dim rsQry, isOfficial
147
 
148
	' Define version to compare
149
	If parComparePvId = "" Then
150
		If NOT IsNull( pkgInfoHash.Item("last_pv_id") ) Then 
151
			parComparePvId = pkgInfoHash.Item("last_pv_id")
152
		Else
153
			parComparePvId = 0
154
		End If
155
 
156
	End If
157
 
158
 
159
	OraDatabase.Parameters.Add "COMPARE_PV_ID", parComparePvId,	ORAPARM_INPUT, ORATYPE_NUMBER 
160
	OraDatabase.Parameters.Add "PKG_ID", 		pkgInfoHash.Item("pkg_id"),	ORAPARM_INPUT, ORATYPE_NUMBER 
161
 
162
	If IsNull(pkgInfoHash.Item("v_ext")) OR (pkgInfoHash.Item("v_ext") = "") Then
163
		OraDatabase.Parameters.Add "V_EXT", 		NULL,	ORAPARM_INPUT, ORATYPE_VARCHAR2 
164
	Else
165
		OraDatabase.Parameters.Add "V_EXT", 		pkgInfoHash.Item("v_ext"),	ORAPARM_INPUT, ORATYPE_VARCHAR2 
166
	End If
167
 
168
 
169
	Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("AllPackageVersions.sql"), cint(0))
170
 
171
	Response.write "<option value=''></option>"
172
 
173
    While ((NOT rsQry.BOF) AND (NOT rsQry.EOF))
174
 
175
		If rsQry("dlocked") = "Y" Then
176
			isOfficial = "R&nbsp;"
177
		Else
178
			isOfficial = "&nbsp;&nbsp;&nbsp;&nbsp;"
179
		End If
180
 
181
		Response.write "<option value='"& rsQry("pv_id") &"' "& rsQry("selected") &" >"& isOfficial & rsQry("pkg_version") &"</option>"
182
 
183
		rsQry.MoveNext
184
    WEnd
185
 
186
	' Clean up
187
	rsQry.Close()
188
	Set rsQry = nothing
189
 
190
	OraDatabase.Parameters.Remove "COMPARE_PV_ID"
191
	OraDatabase.Parameters.Remove "PKG_ID"
192
	OraDatabase.Parameters.Remove "V_EXT"
193
 
194
End Sub
195
'--------------------------------------------------------------------------------------------------------------------------------------
196
Sub GetDiffStateIcon( nDiffState, outIcon, outStyle )
197
	Select Case CInt( nDiffState )
198
		Case enumDB_NUM_DIFF_UPDATED
199
			outIcon  = LIMG_UPDATED
200
			outStyle = "body_rowbold"
201
 
202
		Case enumDB_NUM_DIFF_REMOVED
203
			outIcon = LIMG_REMOVED
204
			outStyle = "body_rowthru"
205
 
206
		Case enumDB_NUM_DIFF_NEW
207
			outIcon = LIMG_ADDED
208
			outStyle = "body_rowbold"
209
 
210
		Case Else
211
			outIcon = ""
212
			outStyle = "body_rowg"
213
 
214
	End Select
215
 
216
End Sub
217
'--------------------------------------------------------------------------------------------------------------------------------------
218
Sub DisplayDiffSummary( orsQry )
219
	Dim dDiffSummary
220
	Set dDiffSummary = CreateObject("Scripting.Dictionary")
221
 
222
	dDiffSummary.Item ("UPDATED") = 0
223
	dDiffSummary.Item ("REMOVED") = 0
224
	dDiffSummary.Item ("ADDED") = 0
225
 
226
	While ((NOT orsQry.BOF) AND (NOT orsQry.EOF))
227
 
228
		Select Case CInt( orsQry("diff_state") )
229
			Case enumDB_NUM_DIFF_UPDATED
230
				dDiffSummary.Item ("UPDATED") = CInt( dDiffSummary.Item ("UPDATED") ) + 1
231
 
232
			Case enumDB_NUM_DIFF_REMOVED
233
				dDiffSummary.Item ("REMOVED") = CInt( dDiffSummary.Item ("REMOVED") ) + 1
234
 
235
			Case enumDB_NUM_DIFF_NEW
236
				dDiffSummary.Item ("ADDED") = CInt( dDiffSummary.Item ("ADDED") ) + 1
237
 
238
		End Select
239
 
240
		orsQry.MoveNext
241
	WEnd
242
 
243
 
244
	' Reset cursor
245
	orsQry.MoveFirst()
246
 
247
 
248
	' Display Summary
249
	Response.write dDiffSummary.Item ("UPDATED") &" -<img src='images/i_updated.gif' width='11' height='11' hspace='3'>Updated, "
250
	Response.write dDiffSummary.Item ("ADDED") &" -<img src='images/i_added.gif' width='11' height='11' hspace='3'>Added, "
251
	Response.write dDiffSummary.Item ("REMOVED") &" -<img src='images/i_removed.gif' width='11' height='11' hspace='3'>Removed"
252
 
253
End Sub
254
'--------------------------------------------------------------------------------------------------------------------------------------
255
%>
256
<html>
257
<title><%=Title(Request("rtag_id"))%></title>
258
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
259
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
260
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
261
<link rel="stylesheet" href="images/navigation.css" type="text/css">
262
<script language="JavaScript" src="images/common.js"></script>
263
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
264
 
265
<!-- DROPDOWN MENUS -->
266
<!--#include file="_menu_def.asp"-->
267
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
268
</head>
269
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
270
<!-- MENU LAYERS -------------------------------------->
271
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
272
  <!----------------------------------------------------->
273
</div>
274
<!-- HEADER -->
275
<!--#include file="_header.asp"-->
276
<!-- BODY ---->
277
<table width="100%" border="0" cellspacing="0" cellpadding="0">
278
	<tr> 
279
		<td valign="top" width="1" background="images/bg_bage.gif">
280
		<!-- LEFT -->
281
		<!--#include file="_environment.asp"-->
282
		</td>
283
		<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
284
		<td valign="top" width="100%">
285
		<!-- MIDDLE -->
286
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
287
		  <tr>
288
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
185 brianf 289
		    <td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
119 ghuddy 290
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
291
		  </tr>
183 brianf 292
          <tr>
293
            <td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
185 brianf 294
            <td background="images/bg_lght_gray.gif"></td>
183 brianf 295
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
296
          </tr>
119 ghuddy 297
		  <tr>
298
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
299
		    <td valign="bottom" background="images/bg_lght_gray.gif">
300
		      <table width="100" border="0" cellspacing="0" cellpadding="0">
301
		        <tr>
302
		          <td><IMG height=1 src="images/spacer.gif" width=50></td>
303
		          <td>
304
				  <!-- TABS ------------------------------------->
305
				  <%Call Generate_Tab_Menu ( TABarray1, "Files and Folders", "orange" )%>
306
				  </td>
307
		        </tr>
308
		      </table>
309
		    </td>
310
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
311
		  </tr>
312
		  <tr>
313
		    <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
314
		    <td background="images/lbox_bg_orange.gif"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;" class="body_txt"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN>
315
			<!-- TAB ACTION BUTTONS ------------------------------------->
316
			<%Call Action_Buttons ( "Files and Folders" )%> 
317
			</td>
318
		    <td background="images/lbox_bg_orange.gif">&nbsp;</td>
319
		  </tr>
320
		  <tr>
321
		    <td></td>
322
		    <td valign="top">
323
			<!-- DETAILS ------------------------------------------------->
324
			<%
325
			' --- Decide if pv_id is ERG Product ---
326
			isProduct = FALSE
327
 
328
			If NOT IsNull( pkgInfoHash.Item("base_view_id") ) OR ( pkgInfoHash.Item("base_view_id") <> "") Then
329
				If CInt(pkgInfoHash.Item("base_view_id")) = enumBASE_VIEW_PRODUCTS Then
330
				isProduct = TRUE
331
			End If
332
 
333
			Else
334
				' Try to be smart and decide if it is ERG product by name
335
				If InStr( pkgInfoHash.Item("pkg_name"), "ERG", 0) = 1  Then
336
				isProduct = TRUE
337
			End If
338
 
339
			End If
340
 
341
			%>	
342
 
343
			<%
344
			' -- Open Database connection
345
			If isProduct Then
346
				Call GetProductOsTypes ( dAvailableOsTypes, parOsType )
347
 
348
				If parCompare <> "" Then
349
					OraDatabase.Parameters.Add "PV_ID", parPv_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
350
					OraDatabase.Parameters.Add "COMPARE_PV_ID", parComparePvId,	ORAPARM_INPUT, ORATYPE_NUMBER 
351
					OraDatabase.Parameters.Add "OS_ID", parOsType,	ORAPARM_INPUT, ORATYPE_NUMBER 
352
 
353
					Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ProductComponentDiff.sql"), cint(0))
354
 
355
					OraDatabase.Parameters.Remove "PV_ID"
356
					OraDatabase.Parameters.Remove "COMPARE_PV_ID"
357
					OraDatabase.Parameters.Remove "OS_ID"
358
 
359
				Else
360
 
361
					OraDatabase.Parameters.Add "PV_ID", parPv_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
362
					OraDatabase.Parameters.Add "OS_ID", parOsType,	ORAPARM_INPUT, ORATYPE_NUMBER 
363
 
364
					Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ProductComponents.sql"), cint(0))
365
 
366
					OraDatabase.Parameters.Remove "PV_ID"
367
					OraDatabase.Parameters.Remove "OS_ID"
368
				End If
369
 
370
			Else
371
 
372
				If parCompare <> "" Then
373
					OraDatabase.Parameters.Add "PV_ID", parPv_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
374
					OraDatabase.Parameters.Add "COMPARE_PV_ID", parComparePvId,	ORAPARM_INPUT, ORATYPE_NUMBER 
375
 
376
					Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ModuleComponentDiff.sql"), cint(0))
377
 
378
					OraDatabase.Parameters.Remove "PV_ID"
379
					OraDatabase.Parameters.Remove "COMPARE_PV_ID"
380
 
381
				Else
382
					OraDatabase.Parameters.Add "PV_ID", parPv_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
383
 
384
					Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ModuleComponents.sql"), cint(0))
385
 
386
					OraDatabase.Parameters.Remove "PV_ID"
387
 
388
				End If
389
 
390
			End If
391
			%>
392
 
393
 
394
 
395
			<form name="formname" method="get" action="<%=ScriptName%>" onSubmit="ProgressBar.style.visibility='visible';">
396
			<br> 					  
397
                        <span class="body_colb">Files and Folders</span><br>
398
 
399
						<%If rsQry.Recordcount > 0 Then%>
400
						<table width="100%"  border="0" cellspacing="1" cellpadding="3">
401
	                      <tr>
402
	                        <td nowrap class="body_txt">
403
	                        	Show differences since version
404
		                        <select name="compare_pv_id" class="form_item">
405
								<%Call DisplayComparePvIdCombo()%>
406
		              			</select>
407
								<input name="btn" type="submit" class="form_btn" value="Compare"> 
408
							</td>
409
	                        <td nowrap class="body_txt" align="right">
410
								<%If parCompare <> "" Then%>
411
									<%Call DisplayDiffSummary( rsQry ) %>
412
								<%End If%>
413
							</td>
414
	                      </tr>
415
	                    </table>
416
						<hr size="1" noshade color="#999999"> 
417
						<%End If%>                                               
418
 
419
 
420
 
421
 
422
 
423
 
424
 
425
			  <%If isProduct Then%>
426
 
427
				  <%If rsQry.Recordcount > 0 Then%>
428
				  <table width="100%"  border="0" cellspacing="1" cellpadding="3">
429
                    <tr>
430
                      <td nowrap class="body_txt">Build Platform
431
                        <select name="os_type" class="form_item">
432
						<%Call DisplayOsTypeCombo()%>
433
                        </select>
434
                        <input name="btn" type="submit" class="form_btn" value="View"></td>
435
                    </tr>
436
                  </table> 
437
				  <%End If%> 
438
 
439
				  <%If rsQry.Recordcount < 1 Then%>
440
 
441
					<%
442
					' No files found ...
443
					Call DisplayInfo ( "NO_PRODUCT_FILES_CAPTURED", "400" )
444
					%>
445
 
446
				  <%End If%>
447
 
448
			   <%End If%>    				                   
449
 
450
 
451
 
452
 
453
 
454
			  <!-- MODULE COMPONENTS ++++++++++++++++++++++++++++++++++++++ --> 
455
 
456
 
457
			  	  <!-- ==================================================== -->
458
				  <!-- ===================  COMPARE ======================= -->
459
				  <!-- ==================================================== -->
460
				  <%If parCompare <> "" Then%>
461
 
462
 
463
					  <%If rsQry.Recordcount > 0 Then%>
464
 
465
 
466
					  <table width="100%"  border="0" cellspacing="1" cellpadding="3">
467
		                <tr>
468
						  <td width="1" background="images/bg_form_lightbluedark.gif" class="form_item"></td>
469
		                  <td width="50%" background="images/bg_form_lightbluedark.gif" class="form_item">Name</td>
470
		                  <td width="50%" background="images/bg_form_lightbluedark.gif" class="form_item" align="right">Byte Size</td>
471
		                </tr>
472
						<%
473
						While ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) 
474
 
475
							Call GetDiffStateIcon( rsQry("diff_state"), sDiffStateIcon, sStyle )
476
 
477
							' Find if this is file or folder
478
							If IsNull( rsQry("crc_cksum") )  AND  (rsQry("byte_size") = 0) Then 
479
								sSize = ""
480
								sIcon = "<img src='images/rex_images/_folder.gif' border='0' hspace='3' align='absmiddle'>"
481
							Else
482
								sSize = rsQry("byte_size")
483
								sIcon = "<img src='images/rex_images/ext_blank.gif' border='0' hspace='3' align='absmiddle'>"
484
							End If
485
 
486
						%>
487
		                <tr>
488
						  <td background="images/bg_form_lightgray.gif" nowrap class="body_txt_gray"><%=sDiffStateIcon%></td>
489
		                  <td background="images/bg_form_lightgray.gif" nowrap class="<%=sStyle%>"><%=sIcon & rsQry("name")%></td>
490
		                  <td background="images/bg_form_lightgray.gif" class="body_txt_gray" nowrap align="right"><%=sSize%></td>
491
		                </tr>
492
						<%
493
							rsQry.MoveNext
494
						WEnd
495
 
496
						rsQry.Close()
497
						Set rsQry = nothing
498
						%>
499
		              </table><br>
500
 
501
				  	  <%End If%>
502
 
503
 
504
				  <%Else%>
505
				  <!-- ==================================================== -->
506
				  <!-- =================== NORMAL FILES =================== -->
507
				  <!-- ==================================================== -->
508
 
509
					  <%If rsQry.Recordcount < 1 Then%>
510
 
511
						<%
512
						' No files found ...
513
						Call DisplayMessage ()
514
						%>
515
 
516
					  <%Else%>
517
 
518
					  <table width="100%"  border="0" cellspacing="1" cellpadding="3">
519
		                <tr>
520
		                  <td width="25%" background="images/bg_form_lightbluedark.gif" class="form_item">Name</td>
521
		                  <td width="25%" background="images/bg_form_lightbluedark.gif" class="form_item" align="right">Byte Size</td>
522
		                  <td width="25%" background="images/bg_form_lightbluedark.gif" class="form_item" align="right">CKSUM</td>
523
		                  <td width="25%" background="images/bg_form_lightbluedark.gif" class="form_item" align="right">MODCRC</td>
524
		                </tr>
525
						<%
526
						Dim uRL
527
						If CInt(pkgInfoHash.Item("base_view_id"))	=	enumAUTOPRODUCTS_BASE_VIEW_ID	Then
528
							uRL	=	deploy_archiveURL
529
						Else
530
							uRL	=	dpkg_archiveURL
531
						End	If	
532
						While ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) 
533
							sLink = uRL & pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") &"/"& Replace( rsQry("file_path") & rsQry("file_name"), "\", "/" )
534
 
535
							' Find if this is file or folder
536
							If IsNull( rsQry("crc_cksum") )  AND  (rsQry("byte_size") = 0) Then 
537
								sSize = ""
538
								sIcon = "<img src='images/rex_images/_folder.gif' border='0' hspace='3' align='absmiddle'>"
539
							Else
540
								sSize = rsQry("byte_size")
541
								sIcon = "<img src='images/rex_images/ext_blank.gif' border='0' hspace='3' align='absmiddle'>"
542
							End If
543
 
544
						%>
545
		                <tr>
546
		                  <td background="images/bg_form_lightgray.gif" nowrap><a target="_blank" href="<%=sLink%>" class="body_txt_gray_link"><%=sIcon & rsQry("file_path") & rsQry("file_name")%></a></td>
547
		                  <td background="images/bg_form_lightgray.gif" class="body_txt_gray" nowrap align="right"><%=sSize%></td>
548
		                  <td background="images/bg_form_lightgray.gif" class="body_txt_gray" nowrap align="right"><%=rsQry("crc_cksum")%></td>
549
		                  <td background="images/bg_form_lightgray.gif" class="body_txt_gray" nowrap align="right"><%=rsQry("crc_modcrc")%></td>
550
		                </tr>
551
						<%
552
							rsQry.MoveNext
553
						WEnd
554
 
555
						rsQry.Close()
556
						Set rsQry = nothing
557
						%>
558
		              </table><br>
559
 
560
				  	  <%End If%>
561
 
562
 
563
				  <!-- ==================================================== -->
564
				  <!-- ==================================================== -->
565
				  <!-- ==================================================== -->	  
566
			      <%End If%>		
567
 
568
			  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->   
569
 
570
 
571
 
572
 
573
			  <%
574
 
575
			  '--- Clean up ---
576
 
577
 
578
			  %>
579
			  <input type="hidden" name="compare" value="<%=parCompare%>">
580
			  <input type="hidden" name="pv_id" value="<%=parPv_Id%>">
581
			  <input type="hidden" name="rtag_id" value="<%=parRtag_Id%>">
582
			</form>
583
			<!-- END DETAILS ------------------------------------------------->
584
			</td>
585
		    <td>&nbsp;</td>
586
		  </tr>
587
		</table>
588
		<!-- END MIDDLE -------->
589
		</td>
590
	</tr>
591
</table>
592
<!-- FOOTER -->
593
<!--#include file="_footer.asp"-->
594
</body>
595
</html>			
596
<%
597
Call Destroy_All_Objects
598
%>