Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/syn.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/syn.corals.io/storage/framework/views/04efd5dd516e5d9eae4b04c8ff6f769e10a5f395.php
<?php $__env->startSection('title',$title); ?>

<?php $__env->startSection('css'); ?>
    <?php echo \Html::style('assets/corals/plugins/nestable/nestable.css'); ?>

    <?php echo \Html::style('assets/corals/plugins/fontawesome-iconpicker/css/fontawesome-iconpicker.min.css'); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content_header'); ?>
    <?php $__env->startComponent('components.content_header'); ?>

        <?php $__env->slot('page_title'); ?>
            <?php echo e($title); ?>

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

        <?php $__env->slot('breadcrumb'); ?>
            <?php echo e(Breadcrumbs::render('menu')); ?>

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

    <?php if (isset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f)): ?>
<?php $component = $__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f; ?>
<?php unset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-6">
            <?php $__env->startComponent('components.box'); ?>
                <?php echo $__env->make('components.nav_pills',['pills'=>\Corals\Menu\Facades\Menus::getParents($root->key)], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                <div class="dd" id="menu_tree">
                    <ol class="dd-list">
                        <?php echo $__env->make('Menu::menu.menu_item', ['menus'=>\Menus::getMenu($root->key) ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </ol>
                </div>
            <?php if (isset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5)): ?>
<?php $component = $__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5; ?>
<?php unset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
        </div>
        <div class="col-md-6">
            <div id="menu_form">
                <?php echo $__env->make('Menu::menu.create_edit', ['menu' => $root, 'root' => true,'parent'=>null], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
    <?php echo \Html::script('assets/corals/plugins/nestable/jquery.nestable.js'); ?>

    <?php echo \Html::script('assets/corals/plugins/fontawesome-iconpicker/js/fontawesome-iconpicker.min.js'); ?>


    <script type="text/javascript">
        var original_tree = '';

        var updateMenu = function (e) {
            var tree = $(e.target).nestable('serialize');
            tree = JSON.stringify(tree);

            if (_.isEqual(original_tree, tree)) {
                return;
            }

            var formData = new FormData();
            formData.append('tree', tree);

            var url = '<?php echo url(config('menu.models.menu.resource_url').'/update-tree/'.$root->hashed_id); ?>';

            $.ajax({
                url: url,
                type: 'POST',
                data: formData,
                processData: false,
                contentType: false,
                success: function (data, textStatus, jqXHR) {
                    original_tree = JSON.stringify($('#menu_tree').nestable('serialize'));
                    themeNotify(data);
                },
                error: function (jqXHR, textStatus, errorThrown) {
                    themeNotify(data);
                }
            });
        };

        var nestable = $('#menu_tree').nestable();

        nestable.nestable('collapseAll');

        nestable.on('change', updateMenu);

        original_tree = JSON.stringify($('#menu_tree').nestable('serialize'));
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/public_html/syn.corals.io/Corals/core/Menu/resources/views/menu/index.blade.php ENDPATH**/ ?>

Spamworldpro Mini