Subversion Repositories DevTools

Rev

Rev 127 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'|                                                   |
'|                 ADMIN licences                    |
'|                                                   |
'=====================================================
%>
<%
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 -------------
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
'----------------------------------------------
%>



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

<title>Licence Administration</title>

<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 = "NAME"
objFormComponent.Action = ScriptName
objFormComponent.OnSubmit = "ShowProgress();"
Call objFormComponent.FormStart()
%>

<table width="25%"  border="0" cellspacing="10" cellpadding="0" >

   <div align="left" class=" body_col">
      Configured Licences
   </div>
   <tr>
      <td></td>
      <!-- GBE_MACHTYPE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
      <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">LICENCE NAME</td>
   </tr>

   <%
   Dim name, rsQry

   Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM LICENCES ORDER BY NAME", ORADYN_DEFAULT )
   While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
      name = rsQry("name")
      %>
      <tr>
         <td align="left" valign="top" class="body_txt"></td>
         <td align="left" valign="top" class="body_txt"><%=name%></td>
      </tr>
      <%
      rsQry.MoveNext()
      %>
      <tr>
         <td colspan="6" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
      </tr>
      <%
   WEnd
   rsQry.Close()
   Set rsQry = nothing
   %>

   <tr>
      <td class="form_iname">&nbsp;</td>
      <td class="val_err"><a href=""><%Call Action_Buttons ( "Add Licence" )%> </a>
      <td>&nbsp;</td>
   </tr>

</table>
<%=objPMod.ComposeHiddenTags()%>
<input type="hidden" name="action" value="true">
<%
Call objFormComponent.FormEnd()
  '-- FROM END ----------------------------------------------------------------------------------------------------------------
%>

</body>
</html>
<!-- FOOTER -->
<!--#include file="_footer.asp"-->
<%
Call Destroy_All_Objects
%>