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

Comparing projects/cms/source/reports/php/historical/browser.php (file contents):
Revision 1.11 by pjm2, Sun Feb 25 16:21:19 2001 UTC vs.
Revision 1.13 by pjm2, Wed Feb 28 11:43:35 2001 UTC

# Line 36 | Line 36 | function getdirArray($dir='./',$sort='asort') {
36   <hr weight="1" color="#9999ff">
37  
38   <b>Most recent reports available</b>
39 < <form method="GET" action="">
39 > <form method="GET" action="browser.php">
40   <?
41  
42      $file_array = getdirArray('/home/cut/pjm2/webpages/reports','rsort');
# Line 62 | Line 62 | function getdirArray($dir='./',$sort='asort') {
62  
63      <b>Available reports for <? echo $day ?></b>
64  
65 <    <form method="GET" action="">
65 >    <form method="GET" action="browser.php">
66       <select size="1" name="machine_name">
67 <      <option selected value="">[select machine]</option>
67 >      <? if ($machine_name) { ?>
68 >        <option selected value="<? echo $machine_name ?>"><? echo $machine_name ?></option>
69 >        <option value="">----------------</option>
70 >      <? } else { ?>
71 >        <option selected value="">[select machine]</option>
72 >      <? } ?>
73        <? include("$day/machine_name.inc"); ?>
74       </select>
75  
76       <select size="1" name="report">
77 <      <option selected value="">[select report]</option>
77 >      <? if ($report) { ?>
78 >        <option selected value="<? echo $report ?>"><? echo $report ?></option>
79 >        <option value="">----------------</option>
80 >      <? } else { ?>
81 >        <option selected value="">[select report]</option>
82 >      <? } ?>
83        <? include("$day/report.inc"); ?>
84       </select>
85  
# Line 89 | Line 99 | function getdirArray($dir='./',$sort='asort') {
99          
100          include("$day/$machine_name/$report/i-maxmin.txt");
101          
102 <        $url = escapeshellcmd("$day/$machine_name/$report/chart.gif");
102 >        $url = escapeshellcmd("$day/$machine_name/$report/i-chart.gif");
103          if (file_exists($url)) {  ?>
104            
105              <center><b>[<? echo $machine_name; ?>] - <? echo $report; ?></b></center>
# Line 131 | Line 141 | function getdirArray($dir='./',$sort='asort') {
141      
142   ?>
143  
144 < <? include("bottom.inc"); ?>
144 > <? include("bottom.inc"); ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines