@extends('user.layouts') @section('css') @endsection @section('content')
@if (Session::has('successMsg')) @endif
{{trans('user.account.status')}} @if(sysConfig('is_checkin')) @endif
@if(!$paying_user)

{{trans('user.more')}}{{trans('validation.attributes.time')}}

{{trans('user.more')}}{{trans('user.attribute.data')}}

{{trans('user.more')}}{{trans('user.attribute.node')}}

{{trans('user.purchase_promotion')}} @elseif(Auth::user()->enable) {{trans('user.status.enabled')}}

{{trans('user.account.reason.normal')}}

@elseif($remainDays === 0) {{trans('user.status.expired')}}

{{trans('user.account.reason.expired')}}

@elseif($unusedTraffic === 0) {{trans('user.status.disabled')}}

{{trans('user.account.reason.traffic_exhausted')}}

@elseif(Auth::user()->isTrafficWarning() || $banedTime) {{trans('user.status.limited')}}

{!!trans('user.account.reason.overused', ['data'=>sysConfig('traffic_ban_value')])!!}

@else {{trans('user.status.disabled')}}

{{trans('user.account.reason.unknown')}}

@endif
{{trans('user.account.remain')}}
{{$unusedTraffic}}

{{trans('user.account.level')}}:{{Auth::user()->level}}

@if($paying_user && $resetDays && $remainDays > $resetDays && sysConfig('reset_traffic')) {{trans('user.account.reset', ['days' => $resetDays])}} @endif
{{$unusedPercent}}%
{{trans('user.account.time')}}
@if($remainDays !== -1) {{$remainDays.' '.trans('validation.attributes.day')}}

{{$expireTime}}

@else {{trans('user.status.expired')}}
{{trans('user.shop.buy')}} @endif
@if($userLoginLog)
{{trans('user.account.last_login')}}
  • {{trans('validation.attributes.time')}}:{{date_format($userLoginLog->created_at,'Y/m/d H:i')}}
  • {{trans('user.attribute.ip')}}:{{$userLoginLog->ip}}
  • {{trans('user.attribute.isp')}}:{{$userLoginLog->isp}}
  • {{trans('user.attribute.address')}}:{{$userLoginLog->area ?: $userLoginLog->country.' '.$userLoginLog->province.' '.$userLoginLog->city}}
@endif

{{trans('user.subscribe.link')}}

@if($subscribe_status)
@if(count($subType)>1)
@endif
@else @endif

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

{{trans('common.download').' & '.trans('user.tutorials')}}

{{trans('common.goto')}}
@if(sysConfig('is_push_bear') && sysConfig('push_bear_qrcode'))

{{trans('user.home.wechat_push')}}

@else

{{trans('user.home.chat_group')}}

@endif

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

{{$announcements->links()}}
@forelse($announcements as $announcement)

{!!$announcement->title!!}

{{trans('common.updated_at')}} {{$announcement->updated_at}}

{!! $announcement->content !!} @empty

{{trans('user.home.empty_announcement')}}

@endforelse
@endsection @section('javascript') @if(sysConfig('is_push_bear') && sysConfig('push_bear_qrcode')) @endif @endsection