Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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