Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
5357 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|                  ADMIN Page                       |
6
'|  admin_gbe_buildstandard.asp
7
'|                                                   |
8
'=====================================================
9
%>
10
<%
11
Option explicit
12
' Good idea to set when using redirect
13
Response.Expires = 0    ' always load the page, dont store
14
%>
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
18
<!--#include file="common/qstr.asp"-->
19
<!--#include file="common/common_subs.asp"-->
20
<!--#include file="common/_form_window_common.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
 
23
<!--#include file="class/classActionButtonControl.asp"-->
24
 
25
<%
26
'------------ ACCESS CONTROL ------------------
27
%>
6181 dpurdie 28
<!--#include file="_access_control_login_optional.asp"-->
5357 dpurdie 29
<!--#include file="_access_control_general.asp"-->
30
<%
31
'------------ Variable Definition -------------
32
Dim objBtnControl
33
'------------ Constants Declaration -----------
34
'------------ Variable Init -------------------
35
Set objBtnControl = New ActionButtonControl
36
'----------------------------------------------
37
%>
38
 
39
 
40
 
41
<%
42
' Page Access Condition
43
If NOT canActionControl("ConfigureBuildService") Then
5957 dpurdie 44
    Call Destroy_All_Objects
5357 dpurdie 45
    Response.Redirect("message.asp?msg=401-9")
46
End If
47
%>
48
<html>
49
<head>
50
 
51
<title>GBE Build Standard Addendum</title>
52
<link rel="shortcut icon" href="<%=FavIcon%>"/>
53
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
54
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6579 dpurdie 55
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
56
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
57
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
5983 dpurdie 58
<!--#include file="_jquery_includes.asp"-->
5357 dpurdie 59
<!-- DROPDOWN MENUS -->
60
<!--#include file="_menu_def.asp"-->
6579 dpurdie 61
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 62
</head>
63
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
64
<!-- HEADER -->
65
<!--#include file="_header.asp"-->
66
  <%
67
  '-- FROM START ---------------------------------------------------------------------------------------------------------
68
  objFormComponent.FormName = "GBE_BUILDSTANDARD"
5590 dpurdie 69
  objFormComponent.FormClass = "form_tight"
5357 dpurdie 70
  objFormComponent.Action = ScriptName
71
  objFormComponent.OnSubmit = "ShowProgress();"
72
  Call objFormComponent.FormStart()
73
  %>   
74
  <div class="div_table">
75
    <table class="center_table" >
76
      <tr>
77
        <td background="images/bg_bage_0a.gif">
78
            <div align="center" class=" body_col">Build Standards</div>
79
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
80
            <tr>
81
            <!-- BSA DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
82
            <td background="images/bg_bage_0.gif" align="center"></td>
83
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Id</td>
84
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Build Standard</td>
85
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Sub Type</td>
86
            </tr>
87
 
88
          <%
89
          ' Load some action buttons
90
          Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), OraDatabase )
91
          objBtnControl.ButtonSpacer = 1
92
 
93
          Dim bsa_id,rsQry
94
 
95
          Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM BUILD_STANDARDS BS, BUILD_STANDARDS_ADDENDUM BSA WHERE BSA.BS_ID=BS.BS_ID(+) ORDER BY BSA.BS_ID, BSA_ID", ORADYN_DEFAULT )
96
          While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
97
              bsa_id = rsQry("bsa_id")
98
              %>
99
              <tr>  
100
                <td background="images/bg_bage_0.gif"></td>
101
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=bsa_id%></td>
102
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bs_name")%></td>
103
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bsa_name")%></td>
104
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call objBtnControl.Render( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), objAccessControl )%></td>
105
              </tr> 
106
              <%
107
              rsQry.MoveNext()
108
          Wend
109
          rsQry.Close()
110
          Set rsQry = nothing
111
          %>
112
 
113
        <tr>
114
            <td background="images/bg_bage_0.gif"></td>
115
            <td bgcolor="#FFFFFF" class="body_row" nowrap colspan=3></td>
5983 dpurdie 116
            <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call Action_Buttons("Add GBE_BUILDSTANDARD")%></td>
5357 dpurdie 117
        </tr>
118
 
119
    </table>
120
    <%=objPMod.ComposeHiddenTags()%>
121
    <input type="hidden" name="action" value="true">
122
    <%Call objFormComponent.FormEnd()%>
123
    </table>
124
    </div>
5957 dpurdie 125
<!-- FOOTER -->
126
<!--#include file="_footer.asp"-->
5357 dpurdie 127
</body>
128
</html>