Subversion Repositories DevTools

Rev

Rev 119 | 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="0" cellpadding="0">
        <tr>
         <td background="images/bg_form_lightbluedark.gif">             
                                        
                                                <table width="100%" border="0" cellspacing="1" cellpadding="3">
                          <tr>
                                                    <td background="images/bg_form_lightbluedark.gif" nowrap class="body_txt">Location</td>
                                                  </tr>

<%
                                                  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 background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
                          </tr>
                                                  <%End If%>
                                                  <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
                          <tr> 
                            <td background="images/bg_form_lightgray.gif" nowrap class="body_txt"><%=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>
    </td>                                               
  </tr>
</table>
                                                <br>
                                                
<%
Call Destroy_All_Objects
%>