Changeset 126 for trollforge/lastmeasure
- Timestamp:
- 11/30/05 16:45:51 (7 years ago)
- File:
-
- 1 edited
-
trollforge/lastmeasure/stats/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/stats/index.php
r125 r126 28 28 echo '<td>' . date('Y-m-d H:i:s', $date) . '</td>'; 29 29 if($host != '') { ?> 30 <div id="h<?php echo $l;?>" class="tooltip"><?php echo $host; ?></div> 31 <td><?php tooltip("h$l", "$ip:$port"); ?></td><?php30 <div id="h<?php echo $l;?>" class="tooltip"><?php echo $host; ?></div><?php 31 tooltip("h$l", "$ip:$port"); 32 32 } else { 33 33 $host = gethostbyaddr($ip); … … 37 37 } 38 38 if(strlen($uagent) > 40) { ?> 39 <div id="b<?php echo $l;?>" class="tooltip"><?php echo $uagent; ?></div> 40 <td><?php tooltip("b$l", substr($uagent, 0, 25).'...'); ?></td>41 <?php } else { ?>42 <td><?php echo $uagent; ?></td>43 <?php}39 <div id="b<?php echo $l;?>" class="tooltip"><?php echo $uagent; ?></div><?php 40 tooltip("b$l", substr($uagent, 0, 25).'...'); 41 } else { 42 echo '<td>'.$uagent.'</td>'; 43 } 44 44 if(strlen($referer) > 40) { ?> 45 <div id="r<?php echo $l;?>" class="tooltip"><?php echo $referer; ?></div> 46 <td><?php tooltip("r$l", substr($referer, 0, 25).'...'); ?></td>47 <?php } else { ?>48 <td><?php echo $referer; ?></td>49 <?php } ?>50 <td><?php echo $user; ?></td><?php45 <div id="r<?php echo $l;?>" class="tooltip"><?php echo $referer; ?></div><?php 46 tooltip("r$l", substr($referer, 0, 25).'...'); 47 } else { 48 echo '<td>'.$referer.'</td>'; 49 } 50 echo '<td>'.$user'</td>'; 51 51 if(strlen($clipboard) > 40) { ?> 52 <div id="c<?php echo $l;?>" class="tooltip"><?php echo $clipboard; ?></div> 53 <td><?php tooltip("c$l", substr($clipboard, 0, 25).'...'); ?></td>54 <?php } else { ?>55 <td><?php echo $clipboard; ?></td>56 <?php} ?>52 <div id="c<?php echo $l;?>" class="tooltip"><?php echo $clipboard; ?></div><?php 53 tooltip("c$l", substr($clipboard, 0, 25).'...'); 54 } else { 55 echo '<td>'.$clipboard.'</td>'; 56 } ?> 57 57 </tr><?php 58 58 $key = dba_nextkey($id);
Note: See TracChangeset
for help on using the changeset viewer.
