Skip to content

Commit

Permalink
Update Admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
djculex committed Jan 6, 2021
1 parent bf6b47f commit 3a75d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function mostactiveusers_allround()
$i = 1;
while (false !== ($row = $GLOBALS['xoopsDB']->fetchArray($result))) {
$msg['counter'][$i] = $i;
$msg['img'][$i] = (3 < $i) ? "<img style='margin:0px 5px;' src = '../assets/images/" . $i . ".png'>" : '';
$msg['img'][$i] = (3 >= $i) ? "<img style='margin:0px 5px;' src = '../assets/images/" . $i . ".png'>" : '';
$msg['cnt'][$i] = $row['cnt'];
$msg['from'][$i] = $GLOBALS['xoopsUser']->getUnameFromId($row['uid_fk']);
++$i;
Expand Down

0 comments on commit 3a75d1a

Please sign in to comment.