@extends("admin.admin_app") @section("content")

{{trans('words.edit')}}

  @if($user->status==1){{trans('words.active')}} @else{{trans('words.inactive')}}@endif
@if($user->user_image!='') profile_img @else profile_img @endif

{{$user->name}}

{{trans('words.email')}}: {{$user->email}}
{{trans('words.phone')}}: {{$user->phone}}

{{trans('words.account_verified')}}: @if($user->account_verified==1) {{trans('words.yes')}} @else {{trans('words.no')}} @endif

{{trans('words.user_statistics')}}

{{trans('words.total_post')}} {{total_posts_count($user->id)}}

{{trans('words.total_following')}} {{total_following_count($user->id)}}

{{trans('words.total_followers')}} {{total_followed_count($user->id)}}


{{trans('words.total_points')}} {{$user->total_points}}

{{trans('words.total_earnings')}} {{html_entity_decode(getCurrencySymbols(getcong('currency_code')))}}{{$user->withdrawals_sum_amount}}

@foreach($post_list as $i => $data)
@if($data->post_type=="Video") @endif @if($data->post_type=="Image" OR $data->post_type=="Video") {!! strip_tags(stripslashes($data->caption)) !!} @else

{!! strip_tags(Str::limit(stripslashes($data->caption),140)) !!}

@endif

@if($data->post_type!="Text") {!! strip_tags(stripslashes($data->caption)) !!} @else   @endif

@if($data->post_type=="Video") @elseif($data->post_type=="Image") @else @endif status==1) {{ 'checked' }} @endif/>
@endforeach
@foreach($story_list as $i => $data)
{!! strip_tags(stripslashes($data->caption)) !!}

@if($data->caption!="") {!! strip_tags(stripslashes($data->caption)) !!} @else   @endif

@endforeach
@foreach($withdrawal_list as $i => $transaction_data) @endforeach
{{trans('words.request_points')}} {{trans('words.amount')}} {{trans('words.request_date')}} {{trans('words.payout_date')}} {{trans('words.status')}}
{{ $transaction_data->points }} {{html_entity_decode(getCurrencySymbols(getcong('currency_code')))}}{{$transaction_data->amount}}
(When withdrawal requested that time {{$transaction_data->request_one_points}} point(s) = {{html_entity_decode(getCurrencySymbols(getcong('currency_code')))}}{{$transaction_data->request_one_money}})
{{ date('M d Y h:i A',$transaction_data->request_date) }} @if($transaction_data->payout_date!=NULL) {{date('m-d-Y',$transaction_data->payout_date)}} @endif @if($transaction_data->status==1){{trans('words.complete')}} @else{{trans('words.pending')}}@endif
@include("admin.copyright")
@endsection