Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
5945 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'   UsedBySDKDetail.asp
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 parSdkId
21
Dim parMode
22
'------------ Constants Declaration -----------
23
'------------ Variable Init -------------------
24
parSdkId = Request ("sdk_id")
25
parMode = Request ("mode")
26
'----------------------------------------------
27
%>
28
<%
29
'------------------------------------------------------------------------------------------------------------------------
30
%>
31
<%
32
'------------------------ MAIN LINE ---------------------------------
33
'--------------------------------------------------------------------
34
%>
6790 dpurdie 35
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="stdGrey">
36
    <thead>
37
      <tr>
38
        <th width="33%" nowrap>SDK Version</th>
39
        <th width="33%" nowrap>Version Used</th>
40
        <th width="33%" nowrap></th>
41
        <th width="1"   nowrap>Last&nbsp;Modified</th>
42
      </tr>
43
    </thead>
44
  <%
45
  OraDatabase.Parameters.Add "PV_ID",  Request("pv_id"),   ORAPARM_INPUT, ORATYPE_NUMBER 
46
  OraDatabase.Parameters.Add "SDK_ID", parSdkId, ORAPARM_INPUT, ORATYPE_NUMBER 
47
  OraDatabase.Parameters.Add "MATCH",  parMode, ORAPARM_INPUT, ORATYPE_NUMBER 
48
 
49
  Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedBySDKDetail.sql"), cint(0))
50
 
51
  OraDatabase.Parameters.Remove "MATCH"
52
  OraDatabase.Parameters.Remove "PV_ID"
53
  OraDatabase.Parameters.Remove "SDK_ID"
54
  %>
55
  <%If rsTemp.RecordCount < 1 Then%>
56
  <tr> 
57
    <td nowrap>&nbsp;</td>
58
    <td nowrap>&nbsp;</td>
59
    <td nowrap>&nbsp;</td>
60
    <td nowrap>&nbsp;</td>
5945 dpurdie 61
  </tr>
6790 dpurdie 62
  <%End If%>
63
  <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
64
  <tr> 
65
    <td nowrap>
66
        <a href="sdk_main_page.asp#url=sdk_details.asp&sdktag_id=<%=rsTemp("SDKTAG_ID")%>" class="txt_linked">
67
            <%=SdkIcon(rsTemp("SDK_STATE"))%>&nbsp;
68
            <%=rsTemp("sdktag_name")%></a>
69
    </td>
70
    <td nowrap>
71
      <a href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>" class="txt_linked <%=iif(rsTemp("MATCH") <> 1,"err_alert","")%>">
72
            <%=rsTemp("pkg_name")%>&nbsp;<%=rsTemp("pkg_version")%></a>
73
    </td>
74
    <td nowrap>
75
    </td>
76
    <td nowrap>
77
        <%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%>
78
    </td>
79
  </tr>
80
  <%rsTemp.MoveNext
81
  WEnd
82
  rsTemp.Close
83
  Set rsTemp = nothing%>
5945 dpurdie 84
</table>
85
<%
86
Call Destroy_All_Objects
87
%>