@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')
My Dashboard
{{@$member_sidebar_data->first_name.' '.@$member_sidebar_data->last_name}}
Member ID #{{@$member_sidebar_data->user_id}}
@php
$plan_level = $member_data_instance->get_plan_level(@$member_sidebar_data->plan_id)
@endphp
Level: {{ucfirst(strtolower(@$plan_level->subscription_name))}}
Current Plan/{{ucfirst(strtolower(@$plan_level->subscription_name))}}
Upgrade or Downgrade?
@php
$featured_data = [];
$featured_data = unserialize($res_Plan_list->new_features);
@endphp
@if (is_array($featured_data))
@foreach ($featured_data as $key => $val)
@if ($featured_data != '')