ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/latest/latest.php
(Generate patch)

Comparing projects/cms/source/reports/php/latest/latest.php (file contents):
Revision 1.1 by pjm2, Thu Mar 8 21:22:05 2001 UTC vs.
Revision 1.3 by pjm2, Thu Mar 8 21:52:06 2001 UTC

# Line 109 | Line 109 | function showBar($title, $value, $max, $input) {
109          <option value="">----------------</option>
110      <? }
111      foreach($file_array as $file_name) {
112 <        if (is_dir($file_name)) {
113 <            $i++;
112 >        #if (is_dir($file_name)) {
113              print "<option value=\"$file_name\">$file_name</option>";
114 <        }
114 >        #}
115      }
116      print "</select>";
117  
# Line 126 | Line 125 | function showBar($title, $value, $max, $input) {
125  
126         # Read the file.
127         #$input = "packet.attributes.machine_name=raptor.ukc.ac.uk,packet.memory.free=10,packet.memory.total=100,";
128 <       $input = file("$latestDirectory/$machine/latest_data");
128 >       $input = file("$latestDirectory/$machine/$latestData");
129         # All we need is the first line if there is more than one line.
130         $input = $input[0];
131  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines