get_value('stats_user_count')) { $DB->query(" SELECT COUNT(ID) FROM users_main WHERE Enabled = '1'"); list($UserCount) = $DB->next_record(); $Cache->cache_value('stats_user_count', $UserCount, 0); } $UserID = $LoggedUser['ID']; $Sneaky = false; } list($UserID, $Username, $PermissionID) = array_values(Users::user_info($UserID)); $DB->query(" SELECT InviteKey, Email, Expires FROM invites WHERE InviterID = '$UserID' ORDER BY Expires"); $Pending = $DB->to_array(); $OrderWays = array('username', 'email', 'joined', 'lastseen', 'uploaded', 'downloaded', 'ratio'); if (empty($_GET['order'])) { $CurrentOrder = 'id'; $CurrentSort = 'desc'; $NewSort = 'asc'; } else { if (in_array($_GET['order'], $OrderWays)) { $CurrentOrder = $_GET['order']; if ($_GET['sort'] == 'asc' || $_GET['sort'] == 'desc') { $CurrentSort = $_GET['sort']; $NewSort = ($_GET['sort'] == 'asc' ? 'desc' : 'asc'); } else { error(404); } } else { error(404); } } switch ($CurrentOrder) { case 'username': $OrderBy = "um.Username"; break; case 'email': $OrderBy = "um.Email"; break; case 'joined': $OrderBy = "ui.JoinDate"; break; case 'lastseen': $OrderBy = "um.LastAccess"; break; case 'uploaded': $OrderBy = "um.Uploaded"; break; case 'downloaded': $OrderBy = "um.Downloaded"; break; case 'ratio': $OrderBy = "(um.Uploaded / um.Downloaded)"; break; default: $OrderBy = "um.ID"; break; } $CurrentURL = Format::get_url(array('action', 'order', 'sort')); $DB->query(" SELECT ID, Email, Uploaded, Downloaded, JoinDate, LastAccess FROM users_main AS um LEFT JOIN users_info AS ui ON ui.UserID = um.ID WHERE ui.Inviter = '$UserID' ORDER BY $OrderBy $CurrentSort"); $Invited = $DB->to_array(); $JSIncludes = ''; if (check_perms('users_mod') || check_perms('admin_advanced_user_search')) { $JSIncludes = 'invites'; } View::show_header('Invites', $JSIncludes); ?>

> Invites

= USER_LIMIT && !check_perms('site_can_invite_always')) { ?>

Because the user limit has been reached you are unable to send invites at this time.

query(" SELECT can_leech FROM users_main WHERE ID = $UserID"); list($CanLeech) = $DB->next_record(); if (!$Sneaky && !$LoggedUser['RatioWatch'] && $CanLeech && empty($LoggedUser['DisableInvites']) && ($LoggedUser['Invites'] > 0 || check_perms('site_send_unlimited_invites')) && ($UserCount <= USER_LIMIT || USER_LIMIT == 0 || check_perms('site_can_invite_always')) ) { ?>

Do not trade or sell invites under any circumstances.

You may invite anyone so long as you and they both lack malicious intent, but keep in mind that you are responsible for anyone you invite. If you invite someone you don't know well and they surprise you by breaking the rules or being a generally poor user, you will likely end up punished for it. For that reason, we stongly recommend you only invite people you personally know and trust.

Do not send an invite to anyone who has previously had a account. Please direct them to on if they wish to reactivate their account.

Do not send an invite if you have not read or do not understand the information above.

Email address:
Staff Note:
Your invites have been disabled. Please read this article for more information.
You may not send invites while on Ratio Watch or while your leeching privileges are disabled. Please read this article for more information.

Pending invites

Email address Expires in Delete invite
Delete invite

Invitee list

Username Email Joined Last Seen Uploaded Downloaded Ratio