# | Line 70 | Line 70 | function getdirArray($dir='./',$sort='asort') { | |
---|---|---|
70 | ||
71 | ?> | |
72 | ||
73 | < | <? include("title.inc"); ?> |
73 | > | <? include($titleHTML); ?> |
74 | ||
75 | < | <hr weight="1" color="#9999ff"> |
75 | > | <hr weight="1" color="<? echo $lineColor ?>"> |
76 | ||
77 | <b>Most recent reports available</b> | |
78 | <form method="GET" action="browser.php"> | |
79 | <? | |
80 | ||
81 | < | $file_array = getdirArray('/home/cut/pjm2/webpages/reports','rsort'); |
81 | > | $file_array = getdirArray($reportDirectory,'rsort'); |
82 | print "<select size=\"1\" name=\"day\">"; | |
83 | foreach($file_array as $file_name) { | |
84 | if (is_dir($file_name)) { | |
# | Line 95 | Line 95 | function getdirArray($dir='./',$sort='asort') { | |
95 | <input type="submit" name="submit" value="Go"> | |
96 | </form> | |
97 | ||
98 | < | <hr weight="1" color="#9999ff"> |
98 | > | <hr weight="1" color="<? echo $lineColor ?>"> |
99 | ||
100 | <? if ($day) { ?> | |
101 | ||
# | Line 126 | Line 126 | function getdirArray($dir='./',$sort='asort') { | |
126 | <input type="submit" name="submit" value="Show"> | |
127 | </form> | |
128 | ||
129 | < | <hr weight="1" color="#9999ff"> |
129 | > | <hr weight="1" color="<? echo $lineColor ?>"> |
130 | ||
131 | <? } ?> | |
132 | ||
# | Line 162 | Line 162 | function getdirArray($dir='./',$sort='asort') { | |
162 | </tr> | |
163 | <tr> | |
164 | <td> </td> | |
165 | < | <td><img src="24hour.gif" width="500" height="39"></td> |
165 | > | <td><img src="<? echo $scaleImage ?>" width="500" height="39"></td> |
166 | </tr> | |
167 | </table> | |
168 | ||
169 | < | <hr weigth="1" color="#9999ff"> |
169 | > | <hr weigth="1" color="<? echo $lineColor ?>"> |
170 | ||
171 | <b>Extra data</b> | |
172 | <p> | |
# | Line 178 | Line 178 | function getdirArray($dir='./',$sort='asort') { | |
178 | else { | |
179 | echo "<p>The report could not be found. Somebody must have deleted it!</p>"; | |
180 | } | |
181 | < | echo "<hr weight=\"1\" color=\"#9999ff\">"; |
181 | > | echo "<hr weight=\"1\" color=\"$lineColor\">"; |
182 | } | |
183 | ||
184 | ?> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |