From c39e93c9761f2e1a629afd51b8188de1a6164c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B5=A9=E6=96=8C?= Date: Sun, 12 Jan 2025 13:42:14 +0800 Subject: [PATCH] Update online.php --- trunk/web/template/sidebar/online.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/trunk/web/template/sidebar/online.php b/trunk/web/template/sidebar/online.php index 9de5d22760b..7962203b6ae 100644 --- a/trunk/web/template/sidebar/online.php +++ b/trunk/web/template/sidebar/online.php @@ -33,12 +33,8 @@ ?> getlocation($u['ip']); - echo $u['ip'].'
'; - if(strlen(trim($l['area']))==0) - echo $l['country']; - else - echo $l['area'].'@'.$l['country']; - ?> + echo $u['ip'].'
'; + if(!empty($l)) echo $l; ?>