Subversion Repositories DevTools

Rev

Rev 6790 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'   RequestUserWip.asp
'=====================================================
%>
<%
Option explicit
' Good idea to set when using redirect
Response.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 rsTemp
Dim PageInfoHash
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
Set PageInfoHash = CreateObject("Scripting.Dictionary")
'----------------------------------------------
%>
<%
'------------------------------------------------------------------------------------------------------------------------
'------------------------------------------------------------------------------------------------------------------------
%>
<%
'------------------------ MAIN LINE ---------------------------------
'--------------------------------------------------------------------
%>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class='stdGrey'>
    <thead class='thin'>
      <tr>
        <th nowrap>Location</th>
      </tr>
    </thead>

<%
  OraDatabase.Parameters.Add "USER_ID", Request("user_id"),     ORAPARM_INPUT, ORATYPE_NUMBER 
  
  Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserWip.sql"), cint(0))
  
  OraDatabase.Parameters.Remove "USER_ID"
  
  %>
  <%If rsTemp.RecordCount < 1 Then%>
  <tr> 
    <td nowrap>&nbsp;</td>
  </tr>
  <%End If%>
  <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
  <tr> 
    <td nowrap ><%=rsTemp("location") &" / "%><a href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>" class="txt_linked"><%= rsTemp("pkg_name") &" "& rsTemp("pkg_version") %></a></td>
  </tr>
  <%rsTemp.MoveNext
  WEnd
  rsTemp.Close
  Set rsTemp = nothing%>
</table>
<br>
<%Call Destroy_All_Objects%>