KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/leadai/leadai.co.in/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/leadai/leadai.co.in/storage/framework/views/c3ea8a3d47234f9f20027a933bd12ac9d6c95c47.php
<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>
        <?php if(!empty(Auth::user())): ?>
            <?php echo e(Auth::user()->name . ' | '); ?>

        <?php endif; ?>
        <?php echo e(Config::get('constants.website.title')); ?>

    </title>
    <!-- begin::global styles -->
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/bundle.css')); ?>" type="text/css">
    <!-- end::global styles -->
    <!-- begin::custom styles -->
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/css/app.min.css')); ?>" type="text/css">
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/css/custom.css')); ?>" type="text/css">
    <!-- end::custom styles -->
    <!-- begin::datepicker -->
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/datepicker/daterangepicker.css')); ?>">
    <!-- begin::datepicker -->
    <!-- begin::vmap -->
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/vmap/jqvmap.min.css')); ?>">
    <!-- begin::vmap -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.0/css/toastr.css" rel="stylesheet" />
    <!-- JS -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.0/js/toastr.js"></script>
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
    <script>
        const _base_url = "<?php echo e(URL::to('/')); ?>";
        let table;
    </script>
    <style>
        .error {
            color: red;
        }
    </style>
    <style>
        div.dt-buttons {
            margin-top: 20px;
        }
    </style>
</head>

<body>
    <!-- begin::page loader-->
    <div class="page-loader">
        <div class="spinner-border"></div>
        <span>Loading</span>
    </div>
    <!-- end::page loader -->
    <!-- begin::sidebar -->
    <?php if (isset($component)) { $__componentOriginal7bdd0e747b44a8463915ad9f764fcfe7fc7678da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\SuperadminSideBar::class, []); ?>
<?php $component->withName('SuperadminSideBar'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7bdd0e747b44a8463915ad9f764fcfe7fc7678da)): ?>
<?php $component = $__componentOriginal7bdd0e747b44a8463915ad9f764fcfe7fc7678da; ?>
<?php unset($__componentOriginal7bdd0e747b44a8463915ad9f764fcfe7fc7678da); ?>
<?php endif; ?>
    <!-- end::sidebar -->
    <!-- begin::side menu -->
    <?php if (isset($component)) { $__componentOriginal2f9e39fea046944c6a4dcde71b734d1f0cd0ef5e = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\SuperadminSideMenu::class, ['mainSuperAdminMenu' => $mainSuperAdminMenu,'superadminSubMenu' => $superadminSubMenu]); ?>
<?php $component->withName('SuperadminSideMenu'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2f9e39fea046944c6a4dcde71b734d1f0cd0ef5e)): ?>
<?php $component = $__componentOriginal2f9e39fea046944c6a4dcde71b734d1f0cd0ef5e; ?>
<?php unset($__componentOriginal2f9e39fea046944c6a4dcde71b734d1f0cd0ef5e); ?>
<?php endif; ?>
    <!-- end::side menu -->
    <!-- begin::navbar -->
    <?php if (isset($component)) { $__componentOriginalc7e15c763ac4af66255462995c834b53348d145c = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\SuperadminNavBar::class, []); ?>
<?php $component->withName('SuperadminNavBar'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc7e15c763ac4af66255462995c834b53348d145c)): ?>
<?php $component = $__componentOriginalc7e15c763ac4af66255462995c834b53348d145c; ?>
<?php unset($__componentOriginalc7e15c763ac4af66255462995c834b53348d145c); ?>
<?php endif; ?>
    <!-- end::navbar -->
    <!-- begin::main content -->
    <?php echo $__env->yieldContent('content'); ?>

    <!-- end::main content -->
    <div class="modal fade school-modal" id="staticBackdrop" data-backdrop="static" tabindex="-1" role="dialog"
        aria-labelledby="staticBackdropLabel" aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="staticBackdropLabel">Select School</h5>
                    
                </div>
                <?php
                $admin_id = Request::session()->get('loggedIn')['id'];
                $schools = App\Helpers\Dashboard::getSchools($admin_id);
                ?>
                <div class="modal-body">
                    
                    <select class="form-control select2 schools">
                        <?php if(!empty($schools)): ?>
                            <option value="">--select-school--</option>
                            <?php $__currentLoopData = $schools; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $school): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($school->id); ?>"><?php echo e($school->school); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endif; ?>
                    </select>
                </div>
            </div>
        </div>
    </div>
    <!-- begin::global scripts -->
    <script src="<?php echo e(asset('public/admin/vendors/bundle.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/js/custom.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/js/borderless.min.js')); ?>"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script>
    <script src="<?php echo e(asset('public/admin/vendors/datepicker/daterangepicker.js')); ?>"></script>
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/select2/css/select2.min.css')); ?>" type="text/css">
    <script src="<?php echo e(asset('public/admin/vendors/select2/js/select2.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/js/examples/select2.js')); ?>"></script>
    <?php echo $__env->yieldPushContent('footer-script'); ?>
    <?php if(!Request::session()->has('school')): ?>
        <?php if(!$schools->isEmpty()): ?>
            <script type="text/javascript">
                $('.school-modal').modal({
                    backdrop: 'static',
                    keyboard: false
                }, 'show');
            </script>
        <?php elseif(Request::segment(1) != 'add-school'): ?>
            <script>
                $(document).ready(function() {
                    window.location.href = "<?php echo e(asset('add-school')); ?>";
                })
            </script>
        <?php endif; ?>
    <?php endif; ?>
    <script type="text/javascript">
        $('.schools').on('change', function() {
            $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
            var school = $(this).val();
            $.ajax({
                type: "post",
                data: {
                    "school": school
                },
                url: "<?php echo e(route('change-loggedin-school')); ?>",
                success: function(result) {
                    location.reload();
                }
            });
        });

        $('.change-school').on('click', function() {
            $('.school-modal').modal({
                backdrop: 'static',
                keyboard: false
            }, 'show');
        });
        $('.select2').select2({
            tags: false
        });
        $('#school').select2({
            placeholder: "Select School/Center",
            tags: false
        });
        $('.delete-confirm').on('click', function(event) {
            event.preventDefault();
            const url = $(this).attr('link');
            swal({
                title: 'Are you sure?',
                text: 'Once deleted, you will not be recover!',
                icon: 'warning',
                dangerMode: true,
                buttons: ["Cancel", "Yes!"],
            }).then(function(value) {
                if (value) {
                    window.location.href = url;
                }
            });
        });
    </script>

    <script>
        $('.status-change').on('change', function(e) {
            e.preventDefault();
            $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
            var id = $(this).data('id');
            var ckb = $(this).is(':checked');
            $.ajax({
                type: "POST",
                data: {
                    "id": id,
                    "ckb": ckb
                },
                url: $(this).data('link'),
                success: function(result) {
                    if (ckb && result) {
                        toastr.success('Successfully Activated!');
                    } else {
                        toastr.warning('Successfully Deactivated!');
                    }
                }
            });
        });
    </script>
    <script>
        $(document).ready(function() {
            toastr.options.timeOut = 10000;
            <?php if(Session::has('error')): ?>
                toastr.error('<?php echo e(Session::get('error')); ?>');
            <?php elseif(Session::has('success')): ?>
                toastr.success('<?php echo e(Session::get('success')); ?>');
            <?php endif; ?>
        });
    </script>
    <script type="text/javascript">
        var url = "<?php echo e(route('LangChange')); ?>";
        $(".Langchange").change(function() {
            window.location.href = url + "?lang=" + $(this).val();
        });
    </script>

    


    
    <script>
        $(".checkAll").click(function() {
            $('.multiple_ids').not(this).prop('checked', this.checked);
        });
        $(".delete-multiple").click(function() {
            var URL = $(this).data('link');
            var multiple_ids = [];
            $('.multiple_ids:checkbox:checked').each(function() {
                multiple_ids.push($(this).val());
            });
            swal({
                title: 'Are you sure?',
                text: 'Once deleted, you will not be recover!',
                icon: 'warning',
                dangerMode: true,
                buttons: ["Cancel", "Yes!"],
            }).then(function(value) {
                if (value) {
                    $.ajaxSetup({
                        headers: {
                            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                        }
                    });
                    $.ajax({
                        type: "post",
                        data: {
                            "multiple_ids": multiple_ids
                        },
                        url: URL,
                        dataType: "html",
                        success: function(result) {
                            swal("success!", "Successfully deleted!", "success");
                            window.location.reload();
                        }
                    });

                }
            });
        });
    </script>
    
</body>

</html>
<?php /**PATH F:\xampp\htdocs\school_saas_erp\resources\views/layout.blade.php ENDPATH**/ ?>

Anon7 - 2021