@extends('layouts.classic')
@section('content')
{{-- Custom JS --}}
@section('custom-css')
{{-- AdSense status --}}
@if ($setting->adsense_code != "DISABLE")
@if ($setting->adsense_code != "")
{{-- AdSense code --}}
@endif
@endif
@endsection
{{-- Topbar --}}
@include('website.classic.includes.topbar')
@php
use App\Models\Page;
$page = Page::where('slug', 'pricing')->where('status', 1)->get();
@endphp
{{-- Pricing --}}
{{ __($plan->description) }}
{{-- Heading --}}
@if (!empty($page[0]->body))
@foreach (preg_split('/(<[^>]*>)/', $page[0]->body, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY) as $part)
@if (strpos($part, '<') === 0)
{!! __($part) !!}
@else
{{ __($part) }}
@endif
@endforeach
@endif
{{-- Pricing --}}
{{-- all plans --}}
@foreach ($plans as $plan)
{{-- Quick call --}}
@if (!empty($page[1]->body))
@foreach (preg_split('/(<[^>]*>)/', $page[1]->body, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY) as $part)
@if (strpos($part, '<') === 0)
{!! __($part) !!}
@else
{{ __($part) }}
@endif
@endforeach
@endif
@endforeach
{{ __($plan->name) }}
@if ($plan->price == 0)
{{
__('Free') }}
@endif
{{
$plan->price == 0 ? '' : $currency->symbol }}
{{ $plan->price == 0 ?
'' :
$plan->price }}
@if ($plan->price != 0 && $plan->validity == 9999)
{{ __('Forever') }}
@endif
@if ($plan->validity == 31)
{{ __('Per Month') }}
@endif
@if ($plan->validity == 366)
{{ __('Per Year') }}
@endif
@if ($plan->validity > 1 && $plan->validity != 31 && $plan->validity != 366 &&
$plan->validity != 9999)
{{ 'Per'.' '.$plan->validity.' '.__('Days') }}
@endif
{{-- Templates --}}
{{ $plan->template_counts }} {{ __('Templates') }}
{{-- Info --}}
{{ $plan->max_words == 9999 ? __('Unlimited') : $plan->max_words }} {{ __('AI Words') }}
{{ $plan->max_images == 9999 ? __('Unlimited') : $plan->max_images }} {{ __('AI Images') }}
@else
@endif
{{ __('AI Speech to Text') }}
@else
@endif
{{ __('AI Text to Speech') }}
@else
@endif
{{ __('AI Code') }}
@else
@endif
{{ __('AI Chat Assistant') }}
@else
@endif
{{ __('AI File Analyzer') }}
@else
@endif
{{ __('AI Web Chat') }}
{{ __('Multiple Languages') }}
{{ __('Rich Editor') }}
@else
@endif
{{ __('Additional Tools') }}
@else
@endif
{{ __('Support (Email)') }}