php - display full accurate Network, Last Block
This commit is contained in:
parent
04bcfb6e89
commit
036e1b8143
@ -180,10 +180,10 @@ function pgtop($dotop, $user, $douser)
|
||||
{
|
||||
$sec = $now - $info['lastlp'];
|
||||
$min = round($sec / 60);
|
||||
$nlb = '~'.$min.'m';
|
||||
# $s = $sec % 60;
|
||||
# if ($s > 0)
|
||||
# $nlb .= " ${s}s";
|
||||
$nlb = $min.'m';
|
||||
$s = $sec % 60;
|
||||
if ($s > 0)
|
||||
$nlb .= " ${s}s";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user