@if( ! is_null($player->infractions_global) && ! is_null($player->infractions_server))
{{ trans('player.profile.infractions.table2.col1') }} |
{{ trans('player.profile.infractions.table2.col2') }} |
{{ trans('player.profile.infractions.table2.col3') }} |
{{ trans('player.profile.infractions.table2.col4') }} |
{{ trans('player.profile.infractions.table2.col5') }} |
@foreach($player->infractions_global->history as $infraction)
{{ $infraction->type->command_name }} |
{{ $infraction->action->command_name }} |
@if(!is_null($infraction->source_id))
{{ link_to_route('player.show', $infraction->source_name, [
$infraction->source_id,
$infraction->source_name
], ['target' => '_blank']) }}
@else
{{ $infraction->source_name }}
@endif
|
|
{{ $infraction->record_message }} |
@endforeach
@else
{{ trans('player.profile.infractions.none') }}
@endif
@if( ! is_null($player->ban) && $player->ban->is_active )
{{ trans('player.profile.bans.current.table.col1') }} |
@if(!$player->ban->is_perm)
{{ trans('player.profile.bans.current.table.col2') }} |
@endif
{{ trans('player.profile.bans.current.table.col3') }} |
{{ trans('player.profile.bans.current.table.col4') }} |
{{ trans('player.profile.bans.current.table.col5') }} |
{{ trans('player.profile.bans.current.table.col6') }} |
{{ trans('player.profile.bans.current.table.col7') }} |
|
@if(!$player->ban->is_perm)
|
@endif
{{ $player->ban->record->source_name }}
|
@if($player->ban->record->server->is_active)
{{ $player->ban->record->server->server_name_short or str_limit($player->ban->record->server->ServerName, 30) }}
@else
{{ $player->ban->record->server->server_name_short or str_limit($player->ban->record->server->ServerName, 30) }}
@endif
|
@if($player->ban->is_perm)
@else
@endif
|
@if($player->ban->is_active)
@elseif($player->ban->is_expired)
@elseif( ! $player->ban->is_active && ! $player->ban->is_expired)
@endif
|
{{ $player->ban->record->record_message }} |
@elseif( ! is_null($player->ban) && (!$player->ban->is_active || $player->ban->is_expired))
{!! trans('player.profile.bans.current.inactive', ['status' => $player->ban->ban_status]) !!}
@else
{{ trans('player.profile.bans.current.none') }}
@endif
@if(is_null($player->ban) && $bfacp->isLoggedIn && Auth::user()->ability(null, 'admin.adkats.bans.create'))
{{ link_to_route('admin.adkats.bans.create', 'Create Ban', ['player_id' => $player->PlayerID], ['class' => 'btn btn-xs bg-green', 'target' => '_self']) }}
@elseif(!is_null($player->ban) && $bfacp->isLoggedIn && Auth::user()->ability(null, 'admin.adkats.bans.edit'))
{{ link_to_route('admin.adkats.bans.edit', 'Edit Ban', [$player->ban->ban_id], ['class' => 'btn btn-xs bg-green', 'target' => '_self']) }}
@endif
@if( ! is_null($player->ban) && ! is_null($player->ban->previous) && !$player->ban->is_active)
{{ trans('player.profile.bans.previous.table.col1') }} |
{{ trans('player.profile.bans.previous.table.col2') }} |
{{ trans('player.profile.bans.previous.table.col3') }} |
{{ trans('player.profile.bans.previous.table.col4') }} |
{{ trans('player.profile.bans.previous.table.col5') }} |
{{ trans('player.profile.bans.previous.table.col6') }} |
@foreach($player->ban->previous as $ban)
|
|
{{ $ban->source_name }}
|
@if($ban->server->is_active)
{{ $ban->server->server_name_short or str_limit($ban->server->ServerName, 30) }}
@else
{{ $ban->server->server_name_short or str_limit($ban->server->ServerName, 30) }}
@endif
|
@if(in_array($ban->command_action, [8, 73]))
@else
@endif
|
{{ $ban->record_message }} |
@endforeach
@else
{{ trans('player.profile.bans.previous.none') }}
@endif
@foreach($player->links as $key => $link)
@unless(is_null($link))
@if($key == 'chatlogs' && ((!$bfacp->isLoggedIn && !Config::get('bfacp.site.chatlogs.guest')) || ($bfacp->isLoggedIn && !Auth::user()->ability(null, 'chatlogs'))))
{{-- Do not show the chatlogs button --}}
@elseif($key == 'pbbans' && (is_null($bfacp->user) || !Auth::user()->ability(null, 'player.view.guids')))
{{-- Do not show the pbbans button --}}
@elseif($key == 'bf4db')
@if($bf4db['data']['is_banned'] == 1)
{!! Html::link($link, trans(sprintf('player.profile.links.items.%s', $key)) . ' - ' . $bf4db['data']['ban_reason'], ['class' => 'btn bg-red']) !!}
@else
{!! Html::link($link, trans(sprintf('player.profile.links.items.%s', $key)), ['class' => 'btn bg-blue']) !!}
@endif
@else
{!! Html::link($link, trans(sprintf('player.profile.links.items.%s', $key)), ['class' => 'btn bg-blue', 'target' => ($key == 'chatlogs' or $key == 'disconnects') ? '_blank' : '_self']) !!}
@endif
@endunless
@endforeach
{{ trans('player.profile.language_infractions.title') }}
@if (!is_null($mutes) && count($mutes) !== 0)
{{ trans('player.profile.mutes.title') }}
These are isolated from the language infractions and were done with non-language commands.
{{ trans('player.profile.mutes.table.col1') }} |
{{ trans('player.profile.mutes.table.col2') }} |
{{ trans('player.profile.mutes.table.col3') }} |
{{ trans('player.profile.mutes.table.col4') }} |
{{ trans('player.profile.mutes.table.col5') }} |
{{ trans('player.profile.mutes.table.col6') }} |
@foreach($mutes as $mute)
|
@if(in_array($mute->command_type, [11, 150]))
-
@else
@endif
|
@if(!is_null($mute->source_id))
{{ link_to_route('player.show', $mute->source_name, [
$mute->source_id,
$mute->source_name
], ['target' => '_blank']) }}
@else
{{ $mute->source_name }}
@endif
|
{{ str_limit($mute->server->ServerName, 30) }}
|
@if($mute->command_type === 11)
@elseif($mute->command_type === 150)
@elseif($mute->command_numeric === 10518984)
@else
@endif
|
{{ $mute->record_message }} |
@endforeach
@else
{{ trans('player.profile.mutes.none') }}
@endif
@if(!$groups->contains('group_key', 'persistent_mute') && $bfacp->isLoggedIn && Auth::user()->ability(null, 'admin.adkats.mutes.create'))
{{ link_to_route('admin.adkats.mutes.create', 'Create Mute', ['player_id' => $player->PlayerID], ['class' => 'btn bg-green', 'target' => '_self']) }}
{!! Former::open()->method('DELETE')->route('admin.adkats.mutes.destroy', [$player->PlayerID])->id('unmute-form') !!}
{!! Former::close() !!}
@endif
Name |
Used |
@foreach($charts['aliases'] as $alias)
{{ $alias[0] }} |
{{ $alias[1] }} |
@endforeach
@if($bfacp->isLoggedIn && Auth::user()->ability(null, 'player.view.ip'))
IP |
Used |
@foreach($charts['iphistory'] as $ip)
{{ $ip[0] }} |
{{ $ip[1] }} |
@endforeach
@endif