!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.29 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:     4a621fadf86dc2a53d396523d313ace7f7a193fd.php (9.33 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'trans('layout.blog')); ?>

<?php $__env->startSection('css'); ?>
<link href="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote.min.css" rel="stylesheet">
<style>
    .modal-content-section.mt-4 {
    overflow-x: scroll;
}
.blog-img{
    width: 80px;
    height: 60px;
}
</style>
<?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.blog')); ?></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.blog')); ?></a></li>
        </ol>
    </div>
</div>

<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="#blogCreateModal">
                        <?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.title')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.image')); ?></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 $__currentLoopData $blogs$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($blog->title); ?></td>
                                <td><img src="<?php echo e(asset('uploads/'.$blog->image)); ?>" alt="blog" class="blog-img"></td>
                                <td>
                                    <?php if($blog->status == 'active'): ?>
                                    <span class="badge light badge-success"><?php echo e(trans('layout.active')); ?></span>
                                    <?php else: ?>
                                    <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">
                                            <i class="fa fa-ellipsis-v"></i>
                                        </button>
                                        <div class="dropdown-menu">
                                            <button class="dropdown-item edit_blog"
                                                data-id="<?php echo e($blog->id); ?>"
                                                data-title="<?php echo e($blog->title); ?>"
                                                data-description="<?php echo e($blog->description); ?>"
                                                data-image="<?php echo e($blog->image); ?>"
                                                data-status="<?php echo e($blog->status); ?>"
                                                data-action="<?php echo e(route('blog.update'$blog->id)); ?>"
                                                data-toggle="modal" data-target="#blogEditModal">
                                                <?php echo e(trans('layout.edit')); ?>

                                            </button>
                                            <button class="dropdown-item"
                                                data-message="<?php echo e(trans('Are you sure you want to delete this blog?')); ?>"
                                                data-action="<?php echo e(route('blog.destroy'$blog->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(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- Create Modal -->
<?php $__env->startSection('create-modal-id''blogCreateModal'); ?>
<?php $__env
->startSection('create-modal-title''Create Blog'); ?>
<?php $__env
->startSection('create-modal-content-wapper'); ?>
<form method="POST" action="<?php echo e(route('blog.store')); ?>" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>
    <div class="modal-body">
        <?php echo $__env->make('blog.form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(trans('layout.close')); ?></button>
        <button type="submit" class="btn btn-primary"><?php echo e(trans('layout.submit')); ?></button>
    </div>
</form>
<?php $__env->stopSection(); ?>

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

    <div class="modal-body">
        <div class="form-group">
            <label><?php echo e(trans('layout.title')); ?></label>
            <input type="text" name="title" id="edit-blog-title" class="form-control" required>
        </div>
        <div class="form-group">
            <label><?php echo e(trans('layout.description')); ?></label>
            <textarea name="description" id="edit-blog-description" class="form-control" rows="4"></textarea>
        </div>
        <div class="form-group">
            <label><?php echo e(trans('layout.image')); ?></label>
            <input type="file" name="image" class="form-control">
            <img id="edit-blog-image-preview" src="" width="100" height="100" class="mt-2"/>
        </div>
        <div class="form-group">
            <label><?php echo e(trans('layout.status')); ?></label>
            <select name="status" id="edit-blog-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 class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(trans('layout.close')); ?></button>
        <button type="submit" class="btn btn-primary"><?php echo e(trans('layout.submit')); ?></button>
    </div>
</form>
<?php $__env->stopSection(); ?>

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

<?php $__env->startSection('js'); ?>
<script src="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote.min.js"></script>

<script>
$(document).ready(function() {
    $('#blog_description').summernote();
    $('#edit-blog-description').summernote();
});
</script>
<script>
    $(document).on('click', '.edit_blog', function () {
        const id = $(this).data('id');
        const title = $(this).data('title');
        const description = $(this).data('description');
        const image = $(this).data('image');
        const status = $(this).data('status');
        const action = $(this).data('action');

        $('#edit-blog-id').val(id);
        $('#edit-blog-title').val(title);
        $('#edit-blog-description').summernote('code', description);
        $('#edit-blog-status').val(status).change();
        $('#edit-blog-image-preview').attr('src', '/uploads/' + image);
        $('#blogFormUpdate').attr('action', action);
    });
</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/blog/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.0041 ]--