!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:     52193187d2938b94445d899c25aa8cfc.php (16.24 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $user 
auth()->user();
?>



<?php $__env->startSection('title'); ?>
    <?php echo e(__('category_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">
                        <div class="d-flex justify-content-between align-items-center">
                            <h3 class="card-title" style="line-height: 36px;"><?php echo e(__('category_list')); ?></h3>
                            <div>
                                <?php if(userCan('category.create')): ?>
                                    <a href="<?php echo e(route('module.category.create')); ?>"
                                        class="btn bg-primary float-right d-flex align-items-center justify-content-center mr-1">
                                        <i class="fas fa-plus"></i>
                                        <span class="ml-1">
                                            <?php echo e(__('add_category')); ?>

                                        </span>
                                    </a>
                                <?php endif; ?>
                                <?php if(userCan('subcategory.create')): ?>
                                    <a href="<?php echo e(route('module.subcategory.create')); ?>"
                                        class="btn bg-secondary float-right d-flex align-items-center justify-content-center mr-1">
                                        <i class="fas fa-plus"></i>
                                        <span class="ml-1">
                                            <?php echo e(__('subcategory')); ?>

                                        </span>
                                    </a>
                                <?php endif; ?>
                                <?php if(userCan('subcategory.view')): ?>
                                    <a href="<?php echo e(route('module.subcategory.index')); ?>"
                                        class="btn bg-info float-right d-flex align-items-center justify-content-center mr-1">
                                        <i class="fas fa-list-alt"></i>
                                        <span class="ml-1">
                                            <?php echo e(__('subcategory')); ?>

                                        </span>
                                    </a>
                                <?php endif; ?>
                            </div>
                        </div>
                    </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="1%"></th>
                                    <th width="10%"><?php echo e(__('image')); ?></th>
                                    <th><?php echo e(__('name')); ?> (<?php echo e(__('ads_count')); ?>)</th>
                                    <th><?php echo e(__('icon')); ?></th>
                                    <th><?php echo e(__('custom_field')); ?></th>
                                    <?php if(userCan('category.update') || userCan('category.delete')): ?>
                                        <th width="10%"><?php echo e(__('status')); ?></th>
                                        <th width="10%"><?php echo e(__('action')); ?></th>
                                    <?php endif; ?>
                                </tr>
                            </thead>
                            <tbody id="sortable">
                                <?php $__empty_1 true$__currentLoopData $categories$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); $__empty_1 false?>
                                    <tr data-id="<?php echo e($category->id); ?>">
                                        <td>
                                            <div class="handle btn mt-0 text-left cursor-move">
                                                <?php if (isset($component)) { $__componentOriginal1923d45318ee2377d8fddad6fe007ae2 $component; } ?>
<?php 
if (isset($attributes)) { $__attributesOriginal1923d45318ee2377d8fddad6fe007ae2 $attributes; } ?>
<?php $component 
Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.drag-icon','data' => ['fill' => 'black']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component
->withName('svg.drag-icon'); ?>
<?php 
if ($component->shouldRender()): ?>
<?php $__env
->startComponent($component->resolveView(), $component->data()); ?>
<?php 
if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes 
$attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php 
endif; ?>
<?php $component
->withAttributes(['fill' => 'black']); ?>
<?php 
echo $__env->renderComponent(); ?>
<?php 
endif; ?>
<?php 
if (isset($__attributesOriginal1923d45318ee2377d8fddad6fe007ae2)): ?>
<?php $attributes 
$__attributesOriginal1923d45318ee2377d8fddad6fe007ae2?>
<?php 
unset($__attributesOriginal1923d45318ee2377d8fddad6fe007ae2); ?>
<?php 
endif; ?>
<?php 
if (isset($__componentOriginal1923d45318ee2377d8fddad6fe007ae2)): ?>
<?php $component 
$__componentOriginal1923d45318ee2377d8fddad6fe007ae2?>
<?php 
unset($__componentOriginal1923d45318ee2377d8fddad6fe007ae2); ?>
<?php 
endif; ?>
                                            </div>
                                        </td>
                                        <td class="text-center">
                                            <img width="50px" height="50px" src="<?php echo e($category->image_url); ?>"
                                                alt="category image">
                                        </td>
                                        <td class="text-center">
                                            <a href="<?php echo e(route('module.category.show'$category->slug)); ?>">
                                                <?php echo e($category->name); ?> (<?php echo e($category->ads_count); ?>)
                                            </a>
                                        </td>
                                        <td class="text-center"><i
                                                class="<?php echo e($category->icon); ?>"></i>&nbsp;&nbsp;&nbsp;(<?php echo e($category->icon); ?>)
                                        </td>
                                        <td class="text-center">
                                            <a href="<?php echo e(route('module.category.custom.field.add'$category->id)); ?>">
                                                <?php echo e($category->custom_fields_count); ?> <?php echo e(__('custom_field')); ?>

                                            </a>
                                        </td>
                                        <td class="text-center">
                                            <div>
                                                <label class="switch ">
                                                    <input data-id="<?php echo e($category->id); ?>" type="checkbox"
                                                        class="success toggle-switch"
                                                        <?php echo e($category->status == 'checked' ''); ?>>
                                                    <span class="slider round"></span>
                                                </label>
                                            </div>
                                        </td>
                                        <?php if(userCan('category.update') || userCan('category.delete')): ?>
                                            <td class="text-center">
                                                <?php if(userCan('category.update')): ?>
                                                    <a title="<?php echo e(__('edit_category')); ?>"
                                                        href="<?php echo e(route('module.category.edit'$category->id)); ?>"
                                                        class="btn bg-info mr-1">
                                                        <i class="fas fa-edit"></i>
                                                    </a>
                                                <?php endif; ?>
                                                <?php if(userCan('category.delete')): ?>
                                                    <form action="<?php echo e(route('module.category.destroy'$category->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_category')); ?>"
                                                            onclick="return confirm('<?php echo e(__('are_you_sure_want_to_delete_this_item')); ?>');"
                                                            class="btn bg-danger mr-1"><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' => 'Category','route' => 'module.category.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($categories->total() > $categories->count()): ?>
                        <div class="card-footer ">
                            <div class="d-flex justify-content-center">
                                <?php echo e($categories->links()); ?>

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

<?php $__env->startSection('script'); ?>
    <script type="text/javascript" src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

    <script>
        $(function() {
            $("#sortable").sortable({
                items: 'tr',
                cursor: 'move',
                opacity: 0.4,
                scroll: false,
                dropOnEmpty: false,
                update: function() {
                    sendTaskOrderToServer('#sortable tr');
                },
                classes: {
                    "ui-sortable": "highlight"
                },
            });
            $("#sortable").disableSelection();

            function sendTaskOrderToServer(selector) {
                var order = [];
                $(selector).each(function(index, element) {
                    order.push({
                        id: $(this).attr('data-id'),
                        position: index + 1
                    });
                });
                $.ajax({
                    type: "POST",
                    dataType: "json",
                    url: "<?php echo e(route('module.category.updateOrder')); ?>",
                    data: {
                        order: order,
                        _token: '<?php echo e(csrf_token()); ?>'
                    },
                    success: function(response) {
                        toastr.success(response.message, 'Success');
                    }
                });
            }
        });

        $('.toggle-switch').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.category.status.change')); ?>',
                data: {
                    'status': status,
                    'id': id
                },
                success: function(response) {
                    toastr.success(response.message, 'Success');
                }
            });
        })
    </script>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('style'); ?>
    <style>
        table td {
            vertical-align: middle !important;
        }

        table td:first-of-type {
            padding-left: 1rem !important;
        }

        .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 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/category/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.0058 ]--