@extends('admin.layouts.master') @section('title', 'View User - Admin') @section('body')
@include('admin.message')

{{ __('adminstaticword.Users') }}

+ {{ __('adminstaticword.Add') }} {{ __('adminstaticword.User') }} {{--
@csrf
@method('delete') @csrf
--}}
  • 所有帳號
  • @php $roles = get_role_names(); foreach( $roles as $role_key => $role_name ){ $count = isset( $user_counts[ $role_key ] ) ? $user_counts[ $role_key ] : 0 ; printf( '
  • %s(%d)
  • ', route( 'user.index' ), $role_key, $role_name, $count ); } @endphp


{{-- --}} {{-- --}} {{-- --}} {{-- --}} @php $user_controller = new \App\Http\Controllers\UserController(); @endphp @foreach ($users as $user) @php $subsciption_detail = $user_controller->get_subscription_detail($user); @endphp {{-- --}} {{-- --}} @endforeach
使用者 ID {{ __('adminstaticword.Image') }} {{ __('adminstaticword.UserInfo') }}{{ __('adminstaticword.Email') }}{{ __('adminstaticword.Role') }}{{ __('adminstaticword.FeaturedInstructor') }}{{ __('adminstaticword.Mobile') }}{{ __('adminstaticword.Country') }}訂閱主帳 訂閱狀態 訂單狀態 訂閱啟日 訂閱迄日 {{ __('adminstaticword.Status') }} {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Delete') }}
{{ $user->id }}
@if($user->user_img != null || $user->user_img !='') @else @if ($user->jht_introuctor_img) User Image @else User Image @endif @endif

{{ __('adminstaticword.Name') }} : {{ name_mask($user['fname']) }}

{{ __('adminstaticword.Email') }} : {{ email_mask($user['email']) }}

{{ __('adminstaticword.Mobile') }} : @if(isset($user->mobile)) {{ phone_mask($user->mobile) }} @endif

@php get_role_name( $user->role ) @endphp @if ($user->jht_introuctor_id) (喬山) @endif @if(isset($user->country)) {{ $user->country->nicename }} @endif @if ($user->role === 'instructor')
{{ csrf_field() }}
@endif
{{ $subsciption_detail['family_account'] }} {{ $subsciption_detail['subscription_status'] }} {{ $subsciption_detail['order_status'] }} {{ $subsciption_detail['enroll_start'] }} {{ $subsciption_detail['enroll_expire'] }}
{{ csrf_field() }}
@if ($user->jht_introuctor_id) @else @endif
{{ csrf_field() }} {{ method_field('DELETE') }}
{{ $users->links() }}
{{trans('adminstaticword.GC_TOP_NOTICE')}}
{{trans('adminstaticword.GC_SEC_NOTICE')}}
@endsection @section('script') @endsection