mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
fix invite pager
This commit is contained in:
@@ -510,7 +510,7 @@ function get_user_class_name($class, $compact = false, $b_colored = false, $I18N
|
||||
case UC_SYSOP: {$class_name = $this_lang_functions['text_sysops']; break;}
|
||||
case UC_STAFFLEADER: {$class_name = $this_lang_functions['text_staff_leader']; break;}
|
||||
}
|
||||
if ($class < UC_VIP) {
|
||||
if ($class < UC_VIP && isset($settingAccount["{$class}_alias"])) {
|
||||
$alias = trim($settingAccount["{$class}_alias"]);
|
||||
if (!empty($alias)) {
|
||||
$class_name = sprintf('%s(%s)', $class_name, $alias);
|
||||
|
||||
@@ -7,7 +7,7 @@ parked();
|
||||
$id = intval($_GET["id"] ?? 0);
|
||||
$type = unesc($_GET["type"] ?? '');
|
||||
$menuSelected = $_REQUEST['menu'] ?? 'invitee';
|
||||
$pageSize = 20;
|
||||
$pageSize = 50;
|
||||
|
||||
registration_check('invitesystem',true,false);
|
||||
|
||||
@@ -132,7 +132,8 @@ if ($type == 'new'){
|
||||
}
|
||||
print("</form>");
|
||||
}
|
||||
print("</table>$pagertop");
|
||||
print("</table>");
|
||||
print("</td></tr></table>$pagertop");
|
||||
} elseif ($menuSelected == 'sent') {
|
||||
$rul = sql_query("SELECT COUNT(*) FROM invites WHERE inviter =".mysql_real_escape_string($id)) or sqlerr();
|
||||
$arre = mysql_fetch_row($rul);
|
||||
|
||||
Reference in New Issue
Block a user