Subversion Repositories DevTools

Rev

Rev 6615 | Rev 6971 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|	           RequestUsedByThisProject.asp     	 |
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
<%
20
'------------ Variable Definition -------------
21
Dim rsTemp
5939 dpurdie 22
Dim parPvId
5946 dpurdie 23
Dim parMode
119 ghuddy 24
'------------ Constants Declaration -----------
25
'------------ Variable Init -------------------
5939 dpurdie 26
parPvId = Request("pv_id")
5946 dpurdie 27
parMode = Request ("mode")
119 ghuddy 28
'----------------------------------------------
29
%>
6790 dpurdie 30
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="stdGrey">
31
    <thead>
32
      <tr>
33
        <th width="33%" nowrap>Release</th>
34
        <th width="33%" nowrap>Location</th>
35
        <th width="33%" nowrap>Version&nbsp;Used</th>
36
        <th width="1"   nowrap>Last&nbsp;Modified</th>
37
      </tr>
38
    </thead>
119 ghuddy 39
 
40
<%
6790 dpurdie 41
  OraDatabase.Parameters.Add "PROJ_ID", Request("proj_id"), 	ORAPARM_INPUT, ORATYPE_NUMBER 
42
  OraDatabase.Parameters.Add "PV_ID",   parPvId, ORAPARM_INPUT, ORATYPE_NUMBER 
43
  OraDatabase.Parameters.Add "MATCH",   parMode, ORAPARM_INPUT, ORATYPE_VARCHAR2
44
 
45
  Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedByThisProject.sql"), cint(0))
46
 
47
  OraDatabase.Parameters.Remove "PROJ_ID"
48
  OraDatabase.Parameters.Remove "PV_ID"
49
  OraDatabase.Parameters.Remove "MATCH"
50
  %>
51
  <%If rsTemp.RecordCount < 1 Then%>
52
  <tr> 
53
    <td nowrap>&nbsp;</td>
54
    <td nowrap>&nbsp;</td>
55
    <td nowrap>&nbsp;</td>
56
    <td nowrap>&nbsp;</td>
119 ghuddy 57
  </tr>
6790 dpurdie 58
  <%End If%>
59
  <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
60
  <tr> 
61
    <td nowrap><a href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>" class="txt_linked"><%=ReleaseIcon( rsTemp("official") )%>&nbsp;<%=rsTemp("rtag_name")%></a></td>
62
    <td nowrap><%=GetEnvName(rsTemp("env_area")) %></td>
63
    <td <%If rsTemp("pv_id") <> Request("pv_id") Then%>class="err_alert"<%Else%>class="form_item"<%End If%>><%=rsTemp.Item ("pkg_name") &" "& rsTemp("pkg_version")%></td>
64
    <td nowrap><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
65
  </tr>
66
  <%rsTemp.MoveNext
67
  WEnd
68
  rsTemp.Close
69
  Set rsTemp = nothing%>
119 ghuddy 70
</table>
71
<%
72
Call Destroy_All_Objects
73
%>