@extends('app') @section('head_title',trans('words.dashboard').' | '.getcong('site_name') ) @section('head_url', Request::url()) @section("content")
@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif @if(Session::has('error_flash_message'))
{{ Session::get('error_flash_message') }}
@endif
@if(Auth::user()->image_icon) User Photo @else profile_img @endif
{{Auth::user()->first_name.' '.Auth::user()->last_name}}
{{Auth::user()->email}} {{trans('words.edit_profile')}}

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

@if($user->plan_id!=0)
  • {{trans('words.plan_name')}}: {{\App\Models\SubscriptionPlan::getSubscriptionPlanInfo($user->plan_id)->plan_name}}
  • {{trans('words.purchase_date')}}: {{date('D, d M Y',$user->start_date)}}
  • {{trans('words.expiry_date')}}: {{date('D, d M Y',$user->exp_date)}}
  • {{trans('words.listings')}} {{trans('words.allowed')}}: {{\App\Models\SubscriptionPlan::getSubscriptionPlanInfo($user->plan_id)->plan_listing_limit}}
{{trans('words.upgrade_plan')}} @else {{trans('words.select_plan')}} @endif
{{trans('words.all_listings')}}

{{$total_listings}}

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

{{$publish_listings}}

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

{{$pending_listings}}

@foreach($my_listings as $listings_data) @endforeach
#{{trans('words.id')}} {{trans('words.title')}} {{trans('words.status')}} {{trans('words.actions')}}
{{$listings_data->id}} {{$listings_data->title}} @if($listings_data->status==0) {{trans('words.pending')}} @else {{trans('words.published')}} @endif {{trans('words.edit')}} {{trans('words.delete')}}
@endsection