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

Comparing projects/cms/source/reports/php/logins/logins.php (file contents):
Revision 1.5 by tdb, Fri Mar 11 12:23:33 2005 UTC vs.
Revision 1.6 by tdb, Sat Jun 30 11:24:41 2007 UTC

# Line 34 | Line 34 | include("iutils.inc.php");
34  
35   ?>
36  
37 < <? include($titleHTML); ?>
37 > <?php include($titleHTML); ?>
38  
39  
40 < <hr weight="1" color="<? echo $lineColor ?>">
40 > <hr weight="1" color="<?php echo $lineColor ?>">
41  
42   <b>Most recent login timelines available</b>
43 < <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
44 < <?
43 > <form method="<?php echo $formMethod ?>" action="<?php echo $thisPage ?>">
44 > <?php
45  
46      $file_array = getdirArray($reportDirectory,'rsort');
47      print "<select size=\"1\" name=\"date\">";
48      if ($date) { ?>
49 <        <option selected value="<? echo $date ?>"><? echo $date ?></option>
49 >        <option selected value="<?php echo $date ?>"><?php echo $date ?></option>
50          <option value="">----------------</option>
51 < <? }
51 > <?php }
52      foreach($file_array as $file_name) {
53          #if (is_dir($file_name)) {
54          if (preg_match("/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}$/", $file_name)) {
# Line 62 | Line 62 | include("iutils.inc.php");
62   <input type="submit" name="submit" value="Go">
63   </form>
64  
65 < <hr weight="1" color="<? echo $lineColor ?>">
65 > <hr weight="1" color="<?php echo $lineColor ?>">
66  
67 < <? if ($date) { ?>
67 > <?php if ($date) { ?>
68  
69 <    <b>Available timelines for <? echo $date ?></b>
69 >    <b>Available timelines for <?php echo $date ?></b>
70  
71 <    <form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>">
71 >    <form method="<?php echo $formMethod ?>" action="<?php echo $thisPage ?>">
72       <select size="1" name="machine">
73 <      <? if ($machine) { ?>
74 <        <option selected value="<? echo $machine ?>"><? echo $machine ?></option>
73 >      <?php if ($machine) { ?>
74 >        <option selected value="<?php echo $machine ?>"><?php echo $machine ?></option>
75          <option value="">----------------</option>
76 <      <? } else { ?>
76 >      <?php } else { ?>
77          <option selected value="">[select machine]</option>
78 <      <? } ?>
79 <      <? include("$reportDirectory/$date/$machineNameHTML"); ?>
78 >      <?php } ?>
79 >      <?php include("$reportDirectory/$date/$machineNameHTML"); ?>
80       </select>
81  
82 <     <input type="hidden" name="date" value="<? echo $date ?>">
82 >     <input type="hidden" name="date" value="<?php echo $date ?>">
83       <input type="submit" name="submit" value="Show">
84      </form>
85      
86 <    <hr weight="1" color="<? echo $lineColor ?>">
86 >    <hr weight="1" color="<?php echo $lineColor ?>">
87      
88 < <? } ?>
88 > <?php } ?>
89  
90      </p>
91  
92 < <? if ($date && $machine) { ?>
92 > <?php if ($date && $machine) { ?>
93  
94   <table border="0" cellpadding="0" cellspacing="0">
95   <tr>
96    <td>&nbsp;</td>
97 <  <td><img src="<?echo $scaleImage;?>" width="800" height="17" border="0"></td>
97 >  <td><img src="<?phpecho $scaleImage;?>" width="800" height="17" border="0"></td>
98    <td>&nbsp;</td>
99   </tr>
100  
101 < <?
101 > <?php
102  
103      $flip = 0;
104      $file_array = getdirArray("$reportDirectory/$date/$machine/login24",'asort');
# Line 146 | Line 146 | EOT;
146  
147   <tr>
148    <td>&nbsp;</td>
149 <  <td><img src="<?echo $scaleImage;?>" width="800" height="17" border="0"></td>
149 >  <td><img src="<?phpecho $scaleImage;?>" width="800" height="17" border="0"></td>
150    <td>&nbsp;</td>
151   </tr>
152   </table>
153  
154 < <hr weight="1" color="<? echo $lineColor ?>">
154 > <hr weight="1" color="<?php echo $lineColor ?>">
155  
156 < <? } ?>
156 > <?php } ?>
157  
158 < <? include($bottomHTML); ?>
158 > <?php include($bottomHTML); ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines