| Server IP : 138.197.107.151 / Your IP : 216.73.217.7 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/shark/resources/views/pricing_plans/partials/ |
Upload File : |
@extends('layouts.app')
@section('content')
<div class="page-content price-plan">
<div class="container">
<div class="row card-inner-row">
<div class="col-12">
<div class="page-title-box d-flex align-items-center justify-content-between">
<div> <h4 class="mb-0 font-size-18 page-inner-title">Choose Your Plan</h4></div>
</div>
</div>
<div class="pricing-tables">
@forelse ($plans as $key=>$plan)
<div class="@if($key>=1) w-50 dark-grey p-3 @else dark-bg w-50 p-3 @endif @if($plan->type=='monthly') monthlyplan @elseif($plan->type=='yearly') yearlyplan @endif" style="@if($plan->type=='monthly') display:none; @endif">
<h3 class="text-white">{{$plan->title}}</h3>
<p class="mb-0">{{$plan->subtitle}}</p>
@if($plan->type=="one-time")
<p id="price-row-14" class="price mb-0">${{$plan->price}}<sup> / One-Time</sup></p>
@endif
@if($plan->type=="monthly")
<div class="d-flex justify-content-between align-items-center">
<div>
<p id="price-row-14" class="price mb-0">${{$plan->price}}<sup> / Per Month</sup></p>
<p class="below_price_title">
{{$plan->below_price_title}}
</p>
</div>
<!--<div class="togglePlan">
<label class="switch plan-switch plan_switch_monthly" data_plan="monthly">
<div class="slider round">
<span class="off">Monthly</span>
<span class="on">Yearly</span>
</div>
</label>
</div>-->
</div>
<p class="price mb-0 buld-anul"><sup></sup></p>
@endif
@if($plan->type=="yearly")
<div class="d-flex justify-content-between align-items-center">
<div>
<p id="price-row-14" class="price mb-0">${{$plan->price/12}}<sup> / Per Month</sup></p>
</div>
<!--<div class="togglePlan">
<label class="switch plan-switch" data_plan="yearly">
<div class="slider round">
<span class="on">Monthly</span>
<span class="off">Yearly</span>
</div>
</label>
</div>-->
</div>
<p class="price mb-0 buld-anul"><sup>Billed Annually</sup></p>
@endif
@if($plan->type=="one-time")
<span class="one-time-price">$299 One-time</span>
@else
<span class="one-time-price text-white">$48 monthly price</span>
@endif
<p class="below_price_title">
{{$plan->below_price_title}}
</p>
<div class="pt-3">
@foreach($plan->features ?? [] as $key=> $feature)
<div class="price-details">
<p class="mb-2 fw-bold">{{$plan->features_labels[$key]}}</p>
<p class="d-flex align-items-center gap-2"><img src="/assets/images/star.svg" alt="icon" /> {{$feature}}</p>
</div>
@endforeach
<form method="post" action="{{route('checkout.session',['website_id'=>$website_id,'plan_id'=>$plan->id])}}" >
@csrf
<button type="submit" class="btn btn-primary btn-sm waves-effect waves-light button-text">Get Website Plan</button>
</form>
</div>
</div>
@empty
<div class="col-12"><p>No pricing plans available.</p></div>
@endforelse
</div>
</div>
</div>
</div>
@endsection
@push('scripts')
<script>
/*$(".plan-switch").click(function(){
var current = $(this).attr("data_plan")
if(current=="monthly"){
$(".monthlyplan").hide();
$(".yearlyplan").show();
} else {
$(".yearlyplan").hide();
$(".monthlyplan").show();
}
})*/
</script>
@endpush