shell bypass 403

UnknownSec Shell


name : 8005f422cdb12366513d542381e678e1311d2874.php
<?php $__env->startSection('title', __('locale.plans.add_new_plan')); ?>

<?php $__env->startSection('vendor-style'); ?>
    <!-- vendor css files -->
    <link rel="stylesheet" href="<?php echo e(asset(mix('vendors/css/forms/select/select2.min.css'))); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <!-- Basic Vertical form layout section start -->
    <section id="basic-vertical-layouts">
        <div class="row match-height">
            <div class="col-md-6 col-12">

                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title"> <?php echo e(__('locale.plans.add_new_plan')); ?> </h4>
                    </div>
                    <div class="card-content">
                        <div class="card-body">
                            <p><?php echo __('locale.description.plan_details'); ?> </p>
                            <div class="form-body">
                                <form class="form form-vertical" action="<?php echo e(route('admin.plans.store')); ?>" method="post">
                                    <?php echo csrf_field(); ?>
                                    <div class="row">
                                        <div class="col-12">
                                            <div class="mb-1">
                                                <label for="name" class="form-label required"><?php echo e(__('locale.labels.name')); ?></label>
                                                <input type="text" id="name" class="form-control <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e(old('name')); ?>" name="name" required>
                                                <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                            </div>
                                        </div>

                                        <div class="col-12">
                                            <div class="mb-1">
                                                <label for="price" class="form-label required"><?php echo e(__('locale.plans.price')); ?></label>
                                                <input type="text" id="price" class="form-control text-right <?php $__errorArgs = ['price'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e(old('price')); ?>" name="price" required>
                                                <?php $__errorArgs = ['price'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                            </div>
                                        </div>


                                        <div class="col-12">
                                            <div class="mb-1">
                                                <label for="billing_cycle" class="form-label required"><?php echo e(__('locale.plans.billing_cycle')); ?></label>
                                                <select class="form-select" id="billing_cycle" name="billing_cycle">
                                                    <option value="daily" <?php echo e(old('billing_cycle') == 'daily' ? 'selected': null); ?>> <?php echo e(__('locale.labels.daily')); ?></option>
                                                    <option value="monthly" <?php echo e(old('billing_cycle') == 'monthly' ? 'selected': null); ?>>  <?php echo e(__('locale.labels.monthly')); ?></option>
                                                    <option value="yearly" <?php echo e(old('billing_cycle') == 'yearly' ? 'selected': null); ?>>  <?php echo e(__('locale.labels.yearly')); ?></option>
                                                    <option value="custom" <?php echo e(old('billing_cycle') == 'custom' ? 'selected': null); ?>>  <?php echo e(__('locale.labels.custom')); ?></option>
                                                </select>
                                            </div>
                                            <?php $__errorArgs = ['billing_cycle'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>


                                        <div class="col-sm-6 col-12 show-custom">
                                            <div class="mb-1">
                                                <label for="frequency_amount" class="form-label required"><?php echo e(__('locale.plans.frequency_amount')); ?></label>
                                                <input type="text" id="frequency_amount" class="form-control text-right <?php $__errorArgs = ['frequency_amount'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e(old('frequency_amount')); ?>" name="frequency_amount">
                                                <?php $__errorArgs = ['frequency_amount'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                            </div>
                                        </div>

                                        <div class="col-sm-6 col-12 show-custom">
                                            <div class="mb-1">
                                                <label for="frequency_unit" class="form-label required"><?php echo e(__('locale.plans.frequency_unit')); ?></label>
                                                <select class="form-select" id="frequency_unit" name="frequency_unit">
                                                    <option value="day"> <?php echo e(__('locale.labels.day')); ?></option>
                                                    <option value="week">  <?php echo e(__('locale.labels.week')); ?></option>
                                                    <option value="month">  <?php echo e(__('locale.labels.month')); ?></option>
                                                    <option value="year">  <?php echo e(__('locale.labels.year')); ?></option>
                                                </select>
                                            </div>
                                            <?php $__errorArgs = ['frequency_unit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>


                                        <div class="col-12">
                                            <div class="mb-1">
                                                <label for="currency_id" class="form-label required"><?php echo e(__('locale.labels.currency')); ?></label>
                                                <select class="form-select select2" id="currency_id" name="currency_id">
                                                    <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <option value="<?php echo e($currency->id); ?>"> <?php echo e($currency->name); ?>

                                                            (<?php echo e($currency->code); ?>)
                                                        </option>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                </select>
                                            </div>
                                            <?php $__errorArgs = ['currency_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <p><small class="text-danger"><?php echo e($message); ?></small></p>
                                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                        </div>


                                        <div class="col-12">
                                            <div class="mb-1">
                                                <div class="form-check me-3 me-lg-5 mt-1">
                                                    <input type="checkbox" class="form-check-input" id="show_in_customer" checked value="true" name="show_in_customer">
                                                    <label for="show_in_customer" class="form-label"><?php echo e(__('locale.plans.show_in_customer')); ?></label>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-12">
                                            <div class="mb-1">
                                                <div class="form-check me-3 me-lg-5 mt-1">
                                                    <input type="checkbox" class="form-check-input" id="tax_billing_required" value="true" name="tax_billing_required">
                                                    <label for="tax_billing_required" class="form-label"><?php echo e(__('locale.plans.billing_information_required')); ?></label>
                                                </div>
                                                <p><small class="text-muted"><?php echo e(__('locale.plans.ask_tax_billing_information_subscribing_plan')); ?></small></p>

                                            </div>
                                        </div>

                                        <div class="col-12">
                                            <div class="mb-1">
                                                <div class="form-check me-3 me-lg-5 mt-1">
                                                    <input type="checkbox" class="form-check-input" id="is_popular" value="true" name="is_popular">
                                                    <label class="form-label" for="is_popular"><?php echo e(__('locale.labels.is_popular')); ?></label>
                                                </div>
                                                <p><small class="text-muted"><?php echo e(__('locale.plans.set_this_plan_as_popular')); ?></small></p>
                                            </div>
                                        </div>


                                        <div class="col-12 mt-2">
                                            <button type="submit" class="btn btn-primary mb-1">
                                                <i data-feather="save"></i> <?php echo e(__('locale.buttons.save')); ?>

                                            </button>
                                        </div>


                                    </div>
                                </form>
                            </div>

                        </div>
                    </div>
                </div>


            </div>
        </div>
    </section>
    <!-- // Basic Vertical form layout section end -->


<?php $__env->stopSection(); ?>

<?php $__env->startSection('vendor-script'); ?>
    <!-- vendor files -->
    <script src="<?php echo e(asset(mix('vendors/js/forms/select/select2.full.min.js'))); ?>"></script>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('page-script'); ?>

    <script>
        let showCustom = $('.show-custom');
        let billing_cycle = $('#billing_cycle');

        let firstInvalid = $('form').find('.is-invalid').eq(0);

        if (firstInvalid.length) {
            $('body, html').stop(true, true).animate({
                'scrollTop': firstInvalid.offset().top - 200 + 'px'
            }, 200);
        }

        if (billing_cycle.val() === 'custom') {
            showCustom.show();
        } else {
            showCustom.hide();
        }

        billing_cycle.on('change', function () {
            if (billing_cycle.val() === 'custom') {
                showCustom.show();
            } else {
                showCustom.hide();
            }

        });

        // Basic Select2 select
        $(".select2").each(function () {
            let $this = $(this);
            $this.wrap('<div class="position-relative"></div>');
            $this.select2({
                // the following code is used to disable x-scrollbar when click in select input and
                // take 100% width in responsive also
                dropdownAutoWidth: true,
                width: '100%',
                dropdownParent: $this.parent()
            });
        });

    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts/contentLayoutMaster', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/bouloter/sms/resources/views/admin/plans/create.blade.php ENDPATH**/ ?>

© 2025 UnknownSec
afwwrfwafr45458465
Password