Subversion Repositories DevTools

Rev

Rev 5506 | Rev 5957 | Go to most recent revision | 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 licences                    |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
' Good idea to set when using redirect
12
Response.Expires = 0    ' always load the page, dont store
13
%>
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="sec/Crypt.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
%>
28
<!--#include file="_access_control_general.asp"-->
29
<%
30
'------------ Variable Definition -------------
31
'------------ Constants Declaration -----------
32
'------------ Variable Init -------------------
33
'----------------------------------------------
34
%>
35
 
36
 
37
 
38
<%
39
' Page Access Condition
40
If NOT canActionControl("ConfigureBuildService") Then
41
    Response.Redirect("message.asp?msg=401-9")
42
End If
43
%>
44
<html>
45
<head>
46
 
47
<title>Licence Administration</title>
48
<link rel="shortcut icon" href="<%=FavIcon%>"/>
49
 
50
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
51
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
52
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
53
<link rel="stylesheet" href="images/navigation.css" type="text/css">
54
<script language="JavaScript" src="images/common.js"></script>
5590 dpurdie 55
<!--#include file="_jquery_includes.asp"-->
5357 dpurdie 56
<!-- DROPDOWN MENUS -->
57
<!--#include file="_menu_def.asp"-->
58
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
59
</head>
60
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
61
<!-- MENU LAYERS -------------------------------------->
62
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
63
</div>
64
<!-- TIPS LAYERS -------------------------------------->
65
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
66
<!-- HEADER -->
67
<!--#include file="_header.asp"-->
68
 
69
  <%
70
  '-- FROM START ---------------------------------------------------------------------------------------------------------
71
  objFormComponent.FormName = "VCSTYPE"
72
  objFormComponent.Action = ScriptName
73
  objFormComponent.OnSubmit = "ShowProgress();"
74
  Call objFormComponent.FormStart()
75
  %>   
76
  <div class="div_table">
77
    <table class="center_table" >
78
      <tr>
79
        <td background="images/bg_bage_0a.gif">
80
            <div align="center" class=" body_col">Configured Licences</div>
81
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
82
            <tr>
83
            <!-- GBE_MACHTYPE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
84
            <td background="images/bg_bage_0.gif" align="center"></td>
85
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">LICENCE NAME</td>
86
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Edit</td>
87
            </tr>
88
 
89
          <%
90
           Dim name, rsQry
91
 
92
           Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM LICENCES ORDER BY NAME", ORADYN_DEFAULT )
93
           While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
94
              name = rsQry("name")
95
              %>
96
              <tr>  
97
                <td background="images/bg_bage_0.gif"></td>
98
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=name%></td>
99
                <td bgcolor="#FFFFFF" class="body_row" nowrap></td>
100
              </tr> 
101
              <%
102
              rsQry.MoveNext()
103
          Wend
104
          rsQry.Close()
105
          Set rsQry = nothing
106
          %>
107
 
108
        <tr>
109
            <td background="images/bg_bage_0.gif"></td>
110
            <td bgcolor="#FFFFFF" class="body_row" nowrap></td>
111
            <td bgcolor="#FFFFFF" class="body_row" nowrap><a href=""><%Call Action_Buttons("Add Licence")%></a></td>
112
        </tr>
113
 
114
    </table>
115
    <%=objPMod.ComposeHiddenTags()%>
116
    <input type="hidden" name="action" value="true">
117
    <%Call objFormComponent.FormEnd()%>
118
    </table>
119
    </div>
120
</body>
121
</html>
122
<!-- FOOTER -->
123
<!--#include file="_footer.asp"-->
124
<%
125
Call Destroy_All_Objects
126
%>