Rev 6615 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'====================================================='| |'| RequestUsedByThisProject.asp |'| |'=====================================================%><%Option explicit' Good idea to set when using redirectResponse.Expires = 0 ' always load the page, dont store%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><%'------------ Variable Definition -------------Dim rsTempDim pkgIdDim parMode'------------ Constants Declaration -----------'------------ Variable Init -------------------pkgId = Request ("pkg_id")parMode = Request ("mode")'----------------------------------------------%><%'------------------------------------------------------------------------------------------------------------------------%><%'------------------------ MAIN LINE ---------------------------------'--------------------------------------------------------------------%><table width="100%" border="0" cellspacing="1" cellpadding="1" class="stdGrey"><thead><tr><th width="33%" nowrap>Package and Version</th><th width="33%" nowrap>Version Used</th><th width="33%" nowrap></th><th width="1" nowrap>Last Modified</th></tr></thead><%OraDatabase.Parameters.Add "PV_ID", Request("pv_id"), ORAPARM_INPUT, ORATYPE_NUMBEROraDatabase.Parameters.Add "PKG_ID", pkgId, ORAPARM_INPUT, ORATYPE_NUMBEROraDatabase.Parameters.Add "MATCH", parMode, ORAPARM_INPUT, ORATYPE_NUMBERSet rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedByPackageDetail.sql"), cint(0))OraDatabase.Parameters.Remove "MATCH"OraDatabase.Parameters.Remove "PV_ID"OraDatabase.Parameters.Remove "PKG_ID"%><%If rsTemp.RecordCount < 1 Then%><tr><td nowrap> </td><td nowrap> </td><td nowrap> </td><td nowrap> </td></tr><%End If%><%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%><tr><td nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><a href="view_by_version.asp?pkg_id=<%=pkgId%>&listby=1" class="txt_linked"><%=rsTemp("pkg_name")%></a> <a href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>" class="txt_linked"><%=rsTemp("pkg_version")%></a></a></td><td nowrap><a href="dependencies.asp?pv_id=<%=rsTemp("used_pv_id")%>" class="txt_linked <%=iif(rsTemp("MATCH") <> 1,"err_alert","")%>"><%=rsTemp("used_version")%></td><td nowrap></td><td nowrap><%=enum_imgUser%><%=emailField(rsTemp("full_name"), rsTemp("user_email"))%> <%=DisplayDate ( rsTemp("modified_stamp") )%></td></tr><%rsTemp.MoveNextWEndrsTemp.CloseSet rsTemp = nothing%></table><%Call Destroy_All_Objects%>