@php use App\FinanceModel; $finance_modelInstance = new FinanceModel(); use App\MasterModel; $master_instance = new MasterModel(); use App\registerModel; $register_instance = new registerModel(); $user = Session::get('user'); $userid=$user->id; $user_data = $finance_modelInstance->user_data($userid); if($user_data->plan_id == null) { $plan_id=$user_data->subscription_id; } else { $plan_id=$user_data->plan_id; } use App\DashboardModel; $session_id = session()->get('session_id'); $member_data_instance = new DashboardModel(); $member_sidebar_data = $member_data_instance->get_member_data($session_id); $sub_type_data = $finance_modelInstance->subscription_type($plan_id); $sub_type=$sub_type_data->profile_type; $publish_key = $finance_modelInstance->secret_key(); @endphp @include('frontend.include.header')

Join the only comprehensive online Directory for Structural Integration Worldwide.

My Dashboard

@if(@$member_sidebar_data->profile_logo != NULL && @file_get_contents(url('/')."/public/uploads/display/".$member_sidebar_data->profile_logo)) user @elseif(@$member_sidebar_data->profile_photo != NULL && @file_get_contents(url('/')."/public/uploads/display/".$member_sidebar_data->profile_photo)) user @else user @endif

{{@$member_sidebar_data->first_name.' '.@$member_sidebar_data->last_name}}

Current Plan/{{ucfirst(strtolower(@$plan_level->subscription_name))}}

{{--

Upgrade or Downgrade?

--}}

@include('frontend.include.footer')