@extends('layouts.core.backend', [ 'menu' => 'setting', ]) @section('title', trans('messages.license')) @section('page_header')

vpn_key {{ trans('messages.license') }}

@endsection @section('content')
{{ csrf_field() }}
@include("admin.settings._tabs")
@if ($license_error)
{{ $license_error }}
@endif @foreach ($settings as $name => $setting) @if (array_key_exists('cat', $setting) && $setting['cat'] == 'license') @if ($current_license)

{{ trans('messages.license.your_license') }}

{{ trans('messages.your_current_license') }} {{ trans('messages.license.type.' . \Acelle\Model\Setting::get('license_type')) }}

@else

{{ trans('messages.license.your_license') }}

{{ trans('messages.license.no_license') }}

@endif

{{ trans('messages.license.license_types') }}

{!! trans('messages.license_guide') !!}
@if (!$current_license)

{{ trans('messages.verify_license') }}

@else

{{ trans('messages.change_license') }}

@endif
@include('helpers.form_control', [ 'type' => $setting['type'], 'class' => (isset($setting['class']) ? $setting['class'] : "" ), 'name' => $name, 'value' => (request()->license ? request()->license : ''), 'label' => trans('messages.enter_license_and_click_verify'), 'help_class' => 'setting', 'options' => (isset($setting['options']) ? $setting['options'] : "" ), 'rules' => Acelle\Model\Setting::rules(), ])

@if ($current_license) @else @endif
@endif @endforeach
@endsection