File: setup-index.php3

package info (click to toggle)
irm 1.0.3-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 816 kB
  • ctags: 753
  • sloc: php: 3,440; sh: 346; makefile: 40
file content (132 lines) | stat: -rw-r--r-- 5,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?
#    IRM - The Information Resource Manager
#    Copyright (C) 1999 Yann Ramin
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License (in file COPYING) for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#    $Id: setup-index.php3,v 1.7 2000/03/27 00:26:40 atrus Exp $
#

include("../irm.inc");

AuthCheck("admin");


commonHeader("IRM Setup");
?>
Welcome to IRM Setup.  Here we will administer new users, setup various 
computer types and operating systems, network card brands, and (almost) 
everything else realting to IRM.
<br><br>
<table border=0 width=100%>
<tr>
  <td align=center><h4><a href="setup-users.php3">Setup Users</a></h4></td>
  <td align=center><h4><a href="setup-templates.php3">Manage Templates</a>
		</h4></td>
<? 
if($cfg_groups == 1)
{
  PRINT "<td align=center><h4><a href=\"setup-groups.php3\">Setup computer 
		groups";
  PRINT "</a></h4></td>\n";
}
?>

</tr>
</table>
<p><h4>Locations</h4> Use this to edit where
equipment can be stored (it will always appear as a dropdown list).
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_locations", "name"); ?>
<input type=hidden name=tablename value=dropdown_locations>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_locations>
		<input type=submit value="Add"></form>
<hr noshade width="50%">
<!-- Computer Types -->

<h4>Computer Types</h4>These list the types of computers you can have 
		(i.e. Dell, HP, IBM RS/6000, HAL 10000, etc)
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_type", "name"); ?>
<input type=hidden name=tablename value=dropdown_type>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_type>
		<input type=submit value="Add"></form>

<hr noshade width="50%">
<!-- OSs -->

<h4>Operating Systems</h4>This is a list of Operating Systems your 
		computers can run.
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_os", "name"); ?>
<input type=hidden name=tablename value=dropdown_os>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_os>
		<input type=submit value="Add"></form>

<hr noshade width="50%">
<!-- RAM Types -->

<h4>RAM Types</h4>This is the types of RAM your systems can have 
		(i.e. Unbuffered DIMMS, SDRAM DIMMS, ECC DIMMS, etc)
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_ram", "name"); ?>
<input type=hidden name=tablename value=dropdown_ram>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_ram>
		<input type=submit value="Add"></form>
<hr noshade width="50%">
<!-- Processor Types -->
<h4>Processor Types</h4>This is a list of valid processors, i.e. Intel 
		Pentium, Pentium II, DEC Alpha, EverSlow WinChip, etc.
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_processor", "name"); ?>
<input type=hidden name=tablename value=dropdown_processor>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_processor>
		<input type=submit value="Add"></form>

<hr noshade width="50%">
<h4>Network Interfaces</h4>

<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_iface", "name"); ?>
<input type=hidden name=tablename value=dropdown_iface>
                <input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
                <input type=hidden name=tablename value=dropdown_iface>
                <input type=submit value="Add"></form>   
<hr noshade width=50%>
<!-- Network Types -->
<!-- OLD STUFF!!!!!!!! -->
<h4>Network Card Brands/Types</h4>This is a list of some possible network cards and their speed.
<form method=get action="setup-del.php3">
<?  Dropdown("dropdown_network", "name"); ?>
<input type=hidden name=tablename value=dropdown_network>
		<input type=submit value="Delete"></form>
<form action="setup-add.php3"><input type=text maxlength=100 name=name>
		<input type=hidden name=tablename value=dropdown_network>
		<input type=submit value="Add"></form>

<?
commonFooter();
?>