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

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

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

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

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

{{ $user->getScore() }}

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

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

{!! nl2br(option('announcement')) !!}
@endsection