From f12a6dd1bfc7c2075a035a505fdc1ced619a959a Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Fri, 28 Nov 2025 09:19:53 -0500 Subject: [PATCH] Improving display for remote and user --- www/lvlrmt.php | 8 ++++++-- www/lvlusr.php | 9 +++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/www/lvlrmt.php b/www/lvlrmt.php index ebe508c..c4474b4 100644 --- a/www/lvlrmt.php +++ b/www/lvlrmt.php @@ -19,6 +19,7 @@ $debut=$offset+1; $email=gettranslate($userlang,"Remote SMTP server"); $STR = <<
@@ -72,6 +73,7 @@ $email:
+ EOT; return $STR; @@ -151,6 +153,9 @@ $stop=endhtml(); $top=topper($isadmin,$logname,"lvlrmt"); $footer=footer("lvlrmt"); $tblheader=tblheader($remoteip,$numrec,$offset,$limit); +$tblfooter=""; +if ($limit>30) + $tblfooter=$tblheader; $STR = <<
- $tblheader
@@ -181,7 +185,7 @@ $tblheader $line
- +$tblfooter


diff --git a/www/lvlusr.php b/www/lvlusr.php index 6dfae09..5a14b68 100644 --- a/www/lvlusr.php +++ b/www/lvlusr.php @@ -19,6 +19,7 @@ $debut=$offset+1; $email=gettranslate($userlang,"Email"); $STR = <<
@@ -72,6 +73,7 @@ $email:
+ EOT; return $STR; @@ -96,7 +98,7 @@ if (isset($_POST['offset'])) $rqst=NEW probe("emails",$limit,$offset); if (isset($_POST['username'])) { $username=trim(($_POST['username'])); - if (stlen($username)>0) + if (strlen($username)>0) $rqst->where("email like '%$username%'"); } $numrec=$rqst->getnumrec(); @@ -151,6 +153,9 @@ $stop=endhtml(); $top=topper($isadmin,$logname,"lvlusr"); $footer=footer("lvlusr"); $tblheader=tblheader($username,$numrec,$offset,$limit); +$tblfooter=""; +if ($limit>30) + $tblfooter=$tblheader; $STR = << $line - +$tblfooter

-- 2.47.3