File: computers-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 (148 lines) | stat: -rw-r--r-- 6,441 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?
#    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: computers-index.php3,v 1.5 2000/03/26 23:12:04 atrus Exp $
#
################################################################################
#                                  CHANGELOG                                   #
################################################################################
#  7/22/99 - Keith Schoenefeld:	Cleaned up code, converted all IF(): to if(){. #
#  7/24/99 - Keith Schoenefeld:	Added a link to comp-loc-specific-search.php3  #
#				This makes location searches find only exact   #
#				instead I recommend that the location search   #
#				be incorperate into the other search routine   #
#				and that a check box for "contains" or "exact  #
#				phrase" is added.                              #
#  7/24/99 - Keith Schoenefeld:	Added the location option to the drop down     #
#				so that IRM still supports location searches   #
#				based on "contains".                           #
#  7/24/99 - Keith Schoenefeld: Added the ability to specify exact phrase or   #
#				contains searches on any field.  As a result,  #
#				the individual location search was             #
#				incorperated with the other search options.    #
#  7/25/99 - Yann Ramin: Re-added Location: dropdown view.
#  8/16/99 - Keith Schoenefeld:	Redesigned the	display of "Add a computer"    #
################################################################################

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

AuthCheck("normal");

commonHeader("IRM Computers");
?>
Welcome to the IRM Computer Tracking utility!  This is where you store
information about your various computers scattered about your organization. 
Below are tools in which you can view your computers, as well as edit and add
entries. 
<hr noshade>
<table border=0 width=100%>
<tr>
  <td align=center><h4><a href="computers-add-select.php3">Add a computer
		</a></h4></td>
</tr>
</table>
<hr noshade width="50%">
View by location: <form method=get action="computers-search.php3">
<?
Dropdown( "dropdown_locations",  "contains");
?>
 and show in <input type=hidden name=field value=location>
<select name=style>
<option value=list selected>list view</option>
<option value=full>full view</option>
</select> sorted by <select name=sort size=1>
<option value="name">Name</option>
<option value="ID">IRM ID</option>
<option value="location">Location</option>
<option value="type">Type</option>
<option value="os">Operating System</option>
<option value="osver">Operating System Version</option>
<option value="processor">Processor</option>
<option value="processor_speed">Processor Speed</option>
<option value="serial">Serial Number</option>
<option value="otherserial">Other Number</option>
<option value="ramtype">RAM Type</option>
<option value="ram">RAM Amount</option>
<option value="network">Network Card Type/Brand</option>
<option value="ip">IP Address</option>
<option value="mac">MAC/Network Address</option>
<option value="hdspace">Hard Drive Capacity</option>
<option value="comments">Comments</option>
<option value="contact">Contact Person</option>
<option value="contact_num">Contact Number</option>
<option value="date_mod">Date Last Modified</option>
</select>.
<input type=hidden name=phrasetype value=exact>
<input type=submit value=Show></form>
Search by:<form method=get action="computers-search.php3">
<select name="field" size=1>
<option value="ID">IRM ID</option>
<option value="name">Name</option>
<option value="location">Location</option>
<option value="type">Type</option>
<option value="os">Operating System</option>
<option value="osver">Operating System Version</option>
<option value="processor">Processor</option>
<option value="processor_speed">Processor Speed</option>
<option value="serial">Serial Number</option>
<option value="otherserial">Other Number</option>
<option value="ramtype">RAM Type</option>
<option value="ram">RAM Amount</option>
<option value="network">Network Card Type/Brand</option>
<option value="ip">IP Address</option>
<option value="mac">MAC/Network Address</option>
<option value="hdspace">Hard Drive Capacity</option>
<option value="comments">Comments</option>
<option value="contact">Contact Person</option>
<option value="contact_num">Contact Number</option>
<option value="date_mod">Date Last Modified</option>
</select> where that field 
<select name=phrasetype>
<option value=contains>contains</option>
<option value=exact>is the exact phrase</option>
</select>
<input type=text size=30 name="contains"> 
		and then show in <select name=style>
<option value=list selected>list view</option>
<option value=full>full view</option>
</select> and sort by  <select name=sort size=1>
<option value="name">Name</option>
<option value="ID">IRM ID</option>
<option value="location">Location</option>
<option value="type">Type</option>
<option value="os">Operating System</option>
<option value="osver">Operating System Version</option>
<option value="processor">Processor</option>
<option value="processor_speed">Processor Speed</option>
<option value="serial">Serial Number</option>
<option value="otherserial">Other Number</option>
<option value="ramtype">RAM Type</option>
<option value="ram">RAM Amount</option>
<option value="network">Network Card Type/Brand</option>
<option value="ip">IP Address</option>
<option value="mac">MAC/Network Address</option>
<option value="hdspace">Hard Drive Capacity</option>
<option value="comments">Comments</option>
<option value="contact">Contact Person</option>
<option value="contact_num">Contact Number</option>
<option value="date_mod">Date Last Modified</option>
</select>. <input type=submit value="Search"></form>

<?
commonFooter();
?>