Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
5377 dpurdie 4
'   RequestUserWip.asp
119 ghuddy 5
'=====================================================
6
%>
7
<%
8
Option explicit
9
' Good idea to set when using redirect
10
Response.Expires = 0	' always load the page, dont store
11
%>
12
<!--#include file="common/conf.asp"-->
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/formating.asp"-->
15
<!--#include file="common/qstr.asp"-->
16
<!--#include file="common/common_subs.asp"-->
17
<%
18
'------------ Variable Definition -------------
19
Dim rsTemp
20
Dim PageInfoHash
21
'------------ Constants Declaration -----------
22
'------------ Variable Init -------------------
23
Set PageInfoHash = CreateObject("Scripting.Dictionary")
24
'----------------------------------------------
25
%>
26
<%
27
'------------------------------------------------------------------------------------------------------------------------
28
'------------------------------------------------------------------------------------------------------------------------
29
%>
30
<%
31
'------------------------ MAIN LINE ---------------------------------
32
'--------------------------------------------------------------------
33
%>
6790 dpurdie 34
<table width="100%" border="0" cellspacing="1" cellpadding="3" class='stdGrey'>
6791 dpurdie 35
    <thead class='thin'>
6790 dpurdie 36
      <tr>
37
        <th nowrap>Location</th>
38
      </tr>
39
    </thead>
119 ghuddy 40
 
41
<%
6790 dpurdie 42
  OraDatabase.Parameters.Add "USER_ID", Request("user_id"), 	ORAPARM_INPUT, ORATYPE_NUMBER 
43
 
44
  Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserWip.sql"), cint(0))
45
 
46
  OraDatabase.Parameters.Remove "USER_ID"
47
 
48
  %>
49
  <%If rsTemp.RecordCount < 1 Then%>
50
  <tr> 
51
    <td nowrap>&nbsp;</td>
119 ghuddy 52
  </tr>
6790 dpurdie 53
  <%End If%>
54
  <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
55
  <tr> 
56
    <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>
57
  </tr>
58
  <%rsTemp.MoveNext
59
  WEnd
60
  rsTemp.Close
61
  Set rsTemp = nothing%>
119 ghuddy 62
</table>
6790 dpurdie 63
<br>
64
<%Call Destroy_All_Objects%>