Skip to content

Commit

Permalink
Update online.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Jan 12, 2025
1 parent 9f4e4d5 commit c39e93c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions trunk/web/template/sidebar/online.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,8 @@
?>
<tr>
<td><?php $l = $ip->getlocation($u['ip']);
echo $u['ip'].'<br />';
if(strlen(trim($l['area']))==0)
echo $l['country'];
else
echo $l['area'].'@'.$l['country'];
?>
echo $u['ip'].'<br />';
if(!empty($l)) echo $l; ?>
</td>
<td><?php echo $u['uri']?></td>
<td><?php echo $u['refer']?></td>
Expand Down

0 comments on commit c39e93c

Please sign in to comment.