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.23 by pjm2, Tue Mar 13 20:31:39 2001 UTC vs.
Revision 1.24 by pjm2, Tue Mar 13 20:55:43 2001 UTC

# Line 19 | Line 19 | function printLine($title) {
19  
20  
21   function showStat($title, $value, $input) {
22 +
23 +    $report = $value;
24 +
25      preg_match("/$value=([^\,]*)[\,\}]/", $input, $matches);
26      $value = $matches[1];
27      if (empty($value)) {
# Line 27 | Line 30 | function showStat($title, $value, $input) {
30      ?>
31          <table border="0" width="100%">
32            <tr>
33 <            <td width="50%" align="right" valign="top"><b><?=$title?></b></td>
34 <            <td width="50%" align="left" valign="top"><?=$value?></td>
33 >            <td width="50%" align="right" valign="top">
34 >             <b><?=$title?></b>
35 >            </td>
36 >            <td width="50%" align="left" valign="top">
37 >             <? if (preg_match("/^[0-9]+\.?[0-9]*$/", $value)) {
38 >                    linkToHistory($report);
39 >                } ?>
40 >              <?=$value?></td>
41            </tr>
42          </table>
43      <?
# Line 138 | Line 147 | echo <<<EOT
147             </td>
148             <td bgcolor="#ffffcc">
149               <font face="arial,sans-serif" size="2">
150 <               <b>Recipt date:</b> $last_modified
150 >               <b>Receipt date:</b> $last_modified
151                 $warning
152               </font>
153             </td>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines