Subversion Repositories DevTools

Rev

Rev 6579 | Rev 7225 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6579 Rev 6793
Line 54... Line 54...
54
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
54
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
55
</head>
55
</head>
56
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
56
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
57
<!-- HEADER -->
57
<!-- HEADER -->
58
<!--#include file="_header.asp"-->
58
<!--#include file="_header.asp"-->
59
 
-
 
60
  <%
-
 
61
  '-- FROM START ---------------------------------------------------------------------------------------------------------
-
 
62
  objFormComponent.FormName = "GBE_MACHCLASS"
-
 
63
  objFormComponent.Action = ScriptName
-
 
64
  objFormComponent.OnSubmit = "ShowProgress();"
-
 
65
  Call objFormComponent.FormStart()
-
 
66
  %>   
-
 
67
  <div class="div_table">
59
  <div class="div_table">
68
    <table class="center_table" >
-
 
69
      <tr>
-
 
70
        <td background="images/bg_bage_0a.gif">
60
        <table border="0" cellspacing="1" cellpadding="2" class='stdBrown center_table'>
71
            <div align="center" class=" body_col">Build Machine Types</div>
61
            <caption>Build Machine Classes</caption>
72
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
62
            <thead>
73
            <tr>
63
            <tr>
74
            <!-- DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
64
            <!-- DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
75
            <td background="images/bg_bage_0.gif" align="center"></td>
65
                <th>BM ID</th>
76
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">BM ID</td>
-
 
77
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">BM Name</td>
66
                <th>BM Name</th>
78
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Edit</td>
67
                <th>Edit</th>
79
            </tr>
68
            </tr>
-
 
69
            </thead>
80
 
70
 
81
          <%
71
      <%
82
          ' Load some action buttons
72
      ' Load some action buttons
83
          Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_Machclass", "btnDeleteGBE_Machclass"), OraDatabase )
73
      Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_Machclass", "btnDeleteGBE_Machclass"), OraDatabase )
84
          objBtnControl.ButtonSpacer = 1
74
      objBtnControl.ButtonSpacer = 1
85
 
75
 
86
          If NOT bCanEdit Then
76
      If NOT bCanEdit Then
87
            Call objBtnControl.Active  ( "btnEditGBE_Machclass", "N" )
77
        Call objBtnControl.Active  ( "btnEditGBE_Machclass", "N" )
88
            Call objBtnControl.Active  ( "btnDeleteGBE_Machclass", "N" )
78
        Call objBtnControl.Active  ( "btnDeleteGBE_Machclass", "N" )
89
          End If
79
      End If
90
 
80
 
91
          
81
      
92
          Dim rsQry, bm_id,GBE_VALUE
82
      Dim rsQry, bm_id,GBE_VALUE
93
          
83
      
94
          Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM BUILD_MACHINES ORDER BY BM_ID", ORADYN_DEFAULT )
84
      Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM BUILD_MACHINES ORDER BY BM_ID", ORADYN_DEFAULT )
95
          While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
85
      While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
96
              bm_id = rsQry("bm_id")
86
          bm_id = rsQry("bm_id")
97
              GBE_VALUE = rsQry("bm_name") 
87
          GBE_VALUE = rsQry("bm_name") 
98
              %>
-
 
99
              <tr>  
-
 
100
                <td background="images/bg_bage_0.gif"></td>
-
 
101
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bm_id")%></td>
-
 
102
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bm_name")%></td>
-
 
103
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call objBtnControl.Render( Array("btnEditGBE_Machclass", "btnDeleteGBE_Machclass"), objAccessControl )%></td>
-
 
104
              </tr> 
-
 
105
              <%
-
 
106
              rsQry.MoveNext()
-
 
107
          Wend
-
 
108
          rsQry.Close()
-
 
109
          Set rsQry = nothing
-
 
110
          %>
88
          %>
111
        
89
          <tr>  
-
 
90
            <td nowrap><%=rsQry("bm_id")%></td>
-
 
91
            <td nowrap><%=rsQry("bm_name")%></td>
-
 
92
            <td nowrap><%Call objBtnControl.Render( Array("btnEditGBE_Machclass", "btnDeleteGBE_Machclass"), objAccessControl )%></td>
112
        <tr>
93
          </tr> 
-
 
94
          <%
113
            <td background="images/bg_bage_0.gif"></td>
95
          rsQry.MoveNext()
-
 
96
      Wend
-
 
97
      rsQry.Close()
114
            <td bgcolor="#FFFFFF" class="body_row" nowrap></td>
98
      Set rsQry = nothing
-
 
99
      %>
-
 
100
    
-
 
101
    <tr>
115
            <td bgcolor="#FFFFFF" class="body_row" nowrap></td>
102
        <td colspan=2></td>
116
            <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call Action_Buttons_State("Add BM_NAME", bCanEdit)%></td>
103
        <td nowrap><%Call Action_Buttons_State("Add BM_NAME", bCanEdit)%></td>
117
        </tr>
104
    </tr>
118
 
105
 
119
    </table>
106
</table>
120
    <%=objPMod.ComposeHiddenTags()%>
-
 
121
    <input type="hidden" name="action" value="true">
-
 
122
    <%Call objFormComponent.FormEnd()%>
-
 
123
    </table>
-
 
124
    </div>
107
    </div>
125
<!-- FOOTER -->
108
<!-- FOOTER -->
126
<!--#include file="_footer.asp"-->
109
<!--#include file="_footer.asp"-->
127
</body>
110
</body>
128
</html>
111
</html>