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.52 by tdb, Sat Jun 30 11:24:40 2007 UTC vs.
Revision 1.53 by tdb, Sat Jun 30 12:12:49 2007 UTC

# Line 51 | Line 51 | function showUptime($title, $value, $input, $graph="")
51          <table border="0" width="100%">
52            <tr>
53              <td width="50%" align="right" valign="top">
54 <             <b><?php=$title?></b>
54 >             <b><?php echo $title?></b>
55              </td>
56              <td width="50%" align="left" valign="top">
57               <?php if (preg_match("/^[0-9]+\.?[0-9]*$/", $value)) {
58                      linkToHistory($graph);
59                  } ?>
60 <              <?php=uptime($value)?> (<?php=$value?> seconds)</td>
60 >              <?php echo uptime($value)?> (<?php echo $value?> seconds)</td>
61            </tr>
62          </table>
63      <?php
# Line 76 | Line 76 | function showStat($title, $value, $input, $graph="") {
76          <table border="0" width="100%">
77            <tr>
78              <td width="50%" align="right" valign="top">
79 <             <b><?php=$title?></b>
79 >             <b><?php echo $title?></b>
80              </td>
81              <td width="50%" align="left" valign="top">
82               <?php if (preg_match("/^[0-9]+\.?[0-9]*$/", $value)) {
83                      linkToHistory($graph);
84                  } ?>
85 <              <?php=$value?></td>
85 >              <?php echo $value?></td>
86            </tr>
87          </table>
88      <?php
# Line 300 | Line 300 | function showBar($title, $value, $max, $units, $input,
300      ?>
301          <table border="0" cellpadding="0" cellspacing="0" align="center">
302            <tr>
303 <            <td colspan="2"><?php linkToHistory($graph); ?> <b><?php=$title?></b> <font size="2">(<?php=$value?><?php=$units?>)</font></td>
303 >            <td colspan="2"><?php linkToHistory($graph); ?> <b><?php echo $title?></b> <font size="2">(<?php echo $value?><?php echo $units?>)</font></td>
304            </tr>
305            <tr>
306 <            <td colspan="2" bgcolor="#eeeeff"><img src="<?php=$barImage?>" border="0" height="20" width="<?php=$width?>"></td>
306 >            <td colspan="2" bgcolor="#eeeeff"><img src="<?php echo $barImage?>" border="0" height="20" width="<?php echo $width?>"></td>
307            </tr>
308            <tr>
309 <            <td colspan="2"><img src="<?php=$scaleImage?>" border="0" height="11" width="<?php=$max_width?>"></td>
309 >            <td colspan="2"><img src="<?php echo $scaleImage?>" border="0" height="11" width="<?php echo $max_width?>"></td>
310            </tr>
311            <tr>
312 <            <td align="left">0<?php=$units?></td>
313 <            <td align="right"><?php=$max?><?php=$units?></td>
312 >            <td align="left">0<?php echo $units?></td>
313 >            <td align="right"><?php echo $max?><?php echo $units?></td>
314            </tr>
315          </table>
316      <?php

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines