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.8 by pjm2, Thu Mar 8 22:29:19 2001 UTC vs.
Revision 1.9 by pjm2, Fri Mar 9 09:29:01 2001 UTC

# Line 37 | Line 37 | function getdirArray($dir='./',$sort='asort') {
37      }
38   }
39  
40 < function printLine() {
40 > function printLine($title) {
41      echo "<hr color=\"#9999ff\">";
42 +    echo "<b>$title</b>";
43   }
44  
45  
# Line 51 | Line 52 | function showStat($title, $value, $input) {
52      ?>
53          <table border="0" width="100%">
54            <tr>
55 <            <td width="50%" align="right" valign="top"><b><?=$title?></b></td>
56 <            <td width="50%" align="left" valign="top"><?=$value?></td>
55 >            <td width="50%" align="right" valign="top"><b><font size="2"><?=$title?>:</font></b></td>
56 >            <td width="50%" align="left" valign="top"><font size="2"><?=$value?></font></td>
57            </tr>
58          </table>
59      <?
# Line 100 | Line 101 | function showBar($title, $value, $max, $input) {
101  
102   <? include($titleHTML); ?>
103  
104 < <hr weight="1" color="<? echo $lineColor ?>">
104 > <? printLine("Display the latest information received from a host."); ?>
105  
105 <b>Display the latest information received from a host</b>
106   <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
107   <?
108  
# Line 123 | Line 123 | function showBar($title, $value, $max, $input) {
123   <input type="submit" name="submit" value="Display">
124   </form>
125  
126 <hr weight="1" color="<? echo $lineColor ?>">
127
126   <? if ($machine) {
127  
128         # Read the file.
# Line 140 | Line 138 | function showBar($title, $value, $max, $input) {
138             # Display the data specified in the display include.
139             include("latest_display.inc.php");
140         }
141 +   }
142 +   else {
143 +       printLine("");
144     }
145  
146   ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines