Account name | Requested by | Date | Reason | Actions | No pending kick requests | "; } else { foreach ($data['lists'][0] as $r) { $pn = handler::$h->accounts->call('getUser', $r['to_kick']); $an = handler::$h->accounts->call('getUser', $r['requested_by']); echo "
---|---|---|---|---|
" . utf8entities($pn['name']) . " | " . utf8entities($an['name']) . " | " . gmstrftime("%Y-%m-%d %H:%M:%S", $r['requested_at']) . " | " . utf8entities($r['reason']) . " | "; if ($r['requested_by'] == $_SESSION['userid']) { echo "Cancel"; } else { echo "Reject - Kick player"; } echo " |
Account name | Requested by | Date | Reason | Validated by | No accepted kick requests | "; } else { foreach ($data['lists'][1] as $r) { $pn = handler::$h->accounts->call('getUser', $r['to_kick']); $an = handler::$h->accounts->call('getUser', $r['requested_by']); $vn = handler::$h->accounts->call('getUser', $r['examined_by']); echo "
---|---|---|---|---|
" . utf8entities($pn['name']) . " | " . utf8entities($an['name']) . " | " . gmstrftime("%Y-%m-%d %H:%M:%S", $r['requested_at']) . " | " . utf8entities($r['reason']) . " | " . utf8entities($vn['name']) . " |
Account name | Requested by | Date | Reason | Rejected by | No rejected requests | "; } else { foreach ($data['lists'][2] as $r) { $pn = handler::$h->accounts->call('getUser', $r['to_kick']); $an = handler::$h->accounts->call('getUser', $r['requested_by']); $vn = handler::$h->accounts->call('getUser', $r['examined_by']); echo "
---|---|---|---|---|
" . utf8entities($pn['name']) . " | " . utf8entities($an['name']) . " | " . gmstrftime("%Y-%m-%d %H:%M:%S", $r['requested_at']) . " | " . utf8entities($r['reason']) . " | " . utf8entities($vn['name']) . " |