Subversion Repositories DevTools

Rev

Rev 5506 | Rev 5983 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'|                                                   |
'|                  ADMIN Page                       |
'|  admin_gbe_buildstandard.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"-->
<!--#include file="sec/Crypt.asp"-->
<!--#include file="common/_form_window_common.asp"-->
<!--#include file="_action_buttons.asp"-->

<!--#include file="class/classActionButtonControl.asp"-->

<%
'------------ ACCESS CONTROL ------------------
%>
<!--#include file="_access_control_general.asp"-->
<%
'------------ Variable Definition -------------
Dim objBtnControl
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
Set objBtnControl = New ActionButtonControl
'----------------------------------------------
%>



<%
' Page Access Condition
If NOT canActionControl("ConfigureBuildService") Then
    Response.Redirect("message.asp?msg=401-9")
End If
%>
<html>
<head>

<title>GBE Build Standard Addendum</title>
<link rel="shortcut icon" href="<%=FavIcon%>"/>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
<link rel="stylesheet" href="images/navigation.css" type="text/css">
<script language="JavaScript" src="images/common.js"></script>
<!-- DROPDOWN MENUS -->
<!--#include file="_menu_def.asp"-->
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
<!-- MENU LAYERS -------------------------------------->
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
</div>
<!-- TIPS LAYERS -------------------------------------->
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
<!-- HEADER -->
<!--#include file="_header.asp"-->

  <%
  '-- FROM START ---------------------------------------------------------------------------------------------------------
  objFormComponent.FormName = "GBE_BUILDSTANDARD"
  objFormComponent.FormClass = "form_tight"
  objFormComponent.Action = ScriptName
  objFormComponent.OnSubmit = "ShowProgress();"
  Call objFormComponent.FormStart()
  %>   
  <div class="div_table">
    <table class="center_table" >
      <tr>
        <td background="images/bg_bage_0a.gif">
            <div align="center" class=" body_col">Build Standards</div>
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
            <tr>
            <!-- BSA DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
            <td background="images/bg_bage_0.gif" align="center"></td>
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Id</td>
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Build Standard</td>
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Sub Type</td>
            </tr>

          <%
          ' Load some action buttons
          Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), OraDatabase )
          objBtnControl.ButtonSpacer = 1
          
          Dim bsa_id,rsQry

          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 )
          While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
              bsa_id = rsQry("bsa_id")
              %>
              <tr>  
                <td background="images/bg_bage_0.gif"></td>
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=bsa_id%></td>
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bs_name")%></td>
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bsa_name")%></td>
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call objBtnControl.Render( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), objAccessControl )%></td>
              </tr> 
              <%
              rsQry.MoveNext()
          Wend
          rsQry.Close()
          Set rsQry = nothing
          %>
        
        <tr>
            <td background="images/bg_bage_0.gif"></td>
            <td bgcolor="#FFFFFF" class="body_row" nowrap colspan=3></td>
            <td bgcolor="#FFFFFF" class="body_row" nowrap><a href=""><%Call Action_Buttons("Add GBE_BUILDSTANDARD")%></a></td>
        </tr>

    </table>
    <%=objPMod.ComposeHiddenTags()%>
    <input type="hidden" name="action" value="true">
    <%Call objFormComponent.FormEnd()%>
    </table>
    </div>
</body>
</html>
<!-- FOOTER -->
<!--#include file="_footer.asp"-->
<%
Call Destroy_All_Objects
%>