@extends('user.master') @section('title', trans('general.dashboard')) @section('content')

{{ trans('general.dashboard') }}

{{ trans('user.used.title') }}

{{ trans('user.used.players') }} players->count() + floor($user->getScore() / option('score_per_player')); $percentage = $user->players->count() / $total * 100; } ?> {{ $user->players->count() }}/ {{ $total }}
{{ trans('user.used.storage') }} getStorageUsed() + $user->getScore() / $rate; $percentage = $user->getStorageUsed() / ($user->getStorageUsed() + $user->getScore() / $rate) * 100; } ?> @if ($user->getStorageUsed() > 1024) {{ round($user->getStorageUsed() / 1024, 1) }}/ {{ is_string($total) ? $total : round($total / 1024, 1) }} MB @else {{ $user->getStorageUsed() }}/ {{ $total }} KB @endif

{{ trans('user.cur-score') }}

{{ $user->getScore() }}

{{ trans('user.score-notice') }}

{{ trans('user.announcement') }}

{!! bs_announcement() !!}
@endsection