@if (isset($blocks) && count($blocks) > 0)
@foreach ($blocks as $block)
@endforeach
@endif
@if(isset($remove_subscription) && $remove_subscription == 0)
@if(isset($plans) && count($plans) > 0)
{{__('staticwords.membershipplans')}}
- {{__('staticwords.membershiplines1')}}
- {{__('staticwords.membershiplines2')}}
@if(Auth::check())
@php
$id = Auth::user()->id;
$getuserplan = App\PaypalSubscription::where('status','=','1')->where('user_id',$id)->first();
@endphp
@endif
@foreach($plans as $plan)
@if($plan->delete_status ==1 )
@if($plan->status != 'inactive')
@php
$pricingTexts = App\PricingText::where('package_id',$plan->id)->get();
@endphp
@if(isset($package_feature))
@foreach($package_feature as $pf)
@isset($plan['feature'])
- @if(in_array($pf->id, $plan['feature'])) @else @endif {{ $pf->name }}
@endisset
@endforeach
@endif
@auth
@if(isset($getuserplan['package_id']) && $getuserplan['package_id'] == $plan->id && $getuserplan->status == "1" && $today <= $getuserplan->subscription_to )
@else
@if($plan->free == 1 && $plan->status == 'upcoming')
@elseif($plan->free == 1 && $plan->status == 'status')
@elseif($plan->status == 'upcoming')
@else
@endif
@endif
@else
@if($plan->status == 'upcoming')
@else
@endif
@endauth
@endif
@endif
@endforeach
@endif
@endif
@endsection
@section('script')
@endsection