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


Viewing file:     68e80ab16ceb0fdcfd934ee270cb2a23.php (7.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Customers <?php $__env->stopSection(); ?>

<?php $__env->startSection('extra-css'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h2 class="card-title"><?php echo app('translator')->get('admin.customers.list'); ?></h2>
                        <?php if(auth()->user()->type=='admin'): ?>
                        <a class="btn btn-primary float-right" href="<?php echo e(route('admin.customers.create')); ?>"><?php echo app('translator')->get('admin.form.button.new'); ?></a>
                        <?php endif; ?>
                    </div>
                    <!-- /.card-header -->
                    <div class="card-body table-body">
                        <table id="customers" class="table table-striped table-bordered dt-responsive nowrap">
                            <thead>
                            <tr>
                                <th><?php echo app('translator')->get('admin.profile'); ?></th>
                                <th><?php echo app('translator')->get('admin.plan_details'); ?></th>
                              <?php if(auth()->user()->type !='trainer'): ?>
                                <th><?php echo app('translator')->get('Assign To'); ?></th>
                              <?php endif; ?>
                                <th><?php echo app('translator')->get('admin.table.status'); ?></th>
                                <th><?php echo app('translator')->get('admin.table.action'); ?></th>
                            </tr>
                            </thead>

                        </table>
                    </div>
                    <!-- /.card-body -->
                </div>
                <!-- /.card -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </section>
    <!-- /.content -->

    <div class="modal fade" id="assignTrainerModal" tabindex="-1" role="dialog" aria-labelledby="contactModalTitle" aria-hidden="true">
        <div class="modal-dialog custom-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="contactModalTitle"><?php echo app('translator')->get('Trainer Assign'); ?></h5>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
              <form method="post" role="form" id="dealsForm" action="<?php echo e(route('admin.customer.assign.trainer')); ?>">
                 <?php echo csrf_field(); ?>
                 <input type="hidden" name="customer_id" id="customer_id">
                 <div class="card-body">
                    <div class="form-group">
                        <label for="added_by"><?php echo app('translator')->get('Select Customer'); ?></label>
                        <select class="form-control select-tainer" name="added_by" id="added_by">
                            <?php if($trainers->isNotEmpty()): ?>
                                <option selected disabled><?php echo app('translator')->get('Select a option'); ?></option>
                                <?php $__currentLoopData $trainers$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $trainer): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                    <option  value="<?php echo e($trainer->id); ?>"><?php echo e($trainer->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                            <?php else: ?>
                                <option selected disabled><?php echo app('translator')->get('No data available'); ?></option>
                            <?php endif; ?>
                        </select>
                    </div>
                 </div>
                 <div class="modal-footer">

                      <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(trans('Close')); ?></button>

                      <button type="submit" class="btn btn-primary"><?php echo app('translator')->get('admin.form.button.save'); ?></button>
                 </div>
              </form>
            </div>
          </div>
        </div>
      </div>




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

<?php $__env->startSection('extra-scripts'); ?>
    <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script>
    <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script>
    <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script>
    <script>
        "use strict";

        $('.select-tainer').select2({
            placeholder: "Select A Trainer",
            multiple:false
        })
        $(document).on('click', '.assign-trainer', function (e){

            const id = $(this).attr('data-id');
            $('#customer_id').val(id);

            $('#assignTrainerModal').modal('show');
        })

        $(document).on('change', 'select[name=select_type]', function (e){
            const type= $(this).val();
            $('.custom_credit').hide();

            $('.credit_'+type).show();

        })
    </script>
    <?php if(auth()->user()->type == 'admin'): ?>
    <script>
        "use strict";
        $('#customers').DataTable({
            processing: true,
            serverSide: true,
            responsive:true,
            ajax:'<?php echo e(route('admin.customer.get.all')); ?>',
            columns: [
                { "data": "profile" },
                { "data": "plan_details" },
                { "data": "assign_to" },
                { "data": "status" },
                { "data": "action" },
            ]
        });
    </script>
    <?php else: ?>
    <script>
        "use strict";
        $('#customers').DataTable({
            processing: true,
            serverSide: true,
            responsive:true,
            ajax:'<?php echo e(route('admin.customer.get.all')); ?>',
            columns: [
                { "data": "profile" },
                { "data": "plan_details" },
                { "data": "status" },
                { "data": "action" },
            ]
        });
    </script>
    <?php endif; ?>

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


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