mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +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_SYSOP: {$class_name = $this_lang_functions['text_sysops']; break;}
|
||||||
case UC_STAFFLEADER: {$class_name = $this_lang_functions['text_staff_leader']; 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"]);
|
$alias = trim($settingAccount["{$class}_alias"]);
|
||||||
if (!empty($alias)) {
|
if (!empty($alias)) {
|
||||||
$class_name = sprintf('%s(%s)', $class_name, $alias);
|
$class_name = sprintf('%s(%s)', $class_name, $alias);
|
||||||
|
|||||||
+3
-2
@@ -7,7 +7,7 @@ parked();
|
|||||||
$id = intval($_GET["id"] ?? 0);
|
$id = intval($_GET["id"] ?? 0);
|
||||||
$type = unesc($_GET["type"] ?? '');
|
$type = unesc($_GET["type"] ?? '');
|
||||||
$menuSelected = $_REQUEST['menu'] ?? 'invitee';
|
$menuSelected = $_REQUEST['menu'] ?? 'invitee';
|
||||||
$pageSize = 20;
|
$pageSize = 50;
|
||||||
|
|
||||||
registration_check('invitesystem',true,false);
|
registration_check('invitesystem',true,false);
|
||||||
|
|
||||||
@@ -132,7 +132,8 @@ if ($type == 'new'){
|
|||||||
}
|
}
|
||||||
print("</form>");
|
print("</form>");
|
||||||
}
|
}
|
||||||
print("</table>$pagertop");
|
print("</table>");
|
||||||
|
print("</td></tr></table>$pagertop");
|
||||||
} elseif ($menuSelected == 'sent') {
|
} elseif ($menuSelected == 'sent') {
|
||||||
$rul = sql_query("SELECT COUNT(*) FROM invites WHERE inviter =".mysql_real_escape_string($id)) or sqlerr();
|
$rul = sql_query("SELECT COUNT(*) FROM invites WHERE inviter =".mysql_real_escape_string($id)) or sqlerr();
|
||||||
$arre = mysql_fetch_row($rul);
|
$arre = mysql_fetch_row($rul);
|
||||||
|
|||||||
Reference in New Issue
Block a user