!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.96 GB of 117.98 GB (22.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     19f36ee9b21dd5e9f66e0f8ddef5d360.php (10.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Workout Plan <?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')); ?>">
    <link rel="stylesheet" type="text/css"  href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">

    <style>
        .w-100{
            width: 100%;
        }
        .list-style-none{
            list-style: none;
            background: whitesmoke;
            padding: 7px 20px;
            border-radius: 5px;
        }
        input[type=checkbox]{
            display: block !important;
        }
        .task-preview-section{
            width: 100%;
        }
        #previewImage{
            width: 100%;
        }
        video{
            width: 100%;
        }
        input[type=checkbox] {
            display: block !important;
        }
        .preview_task{
            padding: 0px 4px 1px 4px !important;
        }
    </style>
<?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('Workout Plan Details'); ?></h2>
                    </div>
                    <!-- /.card-header -->
                    <div class="card-body table-body">
                        <div class="row">
                            <?php if(!isset($upgrade_plan) && isset($customer_workout_plan) && $customer_workout_plan): ?>

                            <div class="col-md-10 mx-auto">
                                    <div class="mt-3">
                                        <h5><?php echo e($customer_workout_plan->meal_plan->title); ?></h5>
                                    </div>
                                    <?php if($customer_workout_plan->customer_workout_sections): ?>
                                        <div class="mt-3">
                                            <?php $__currentLoopData $customer_workout_plan->customer_workout_sections$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $s_key=>$section): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                <div class="card mt-3">
                                                    <div class="card-header text-center">
                                                        <h6><?php echo e(isset($section->title)?$section->title:''); ?></h6>
                                                    </div>
                                                    <div class="card-body">
                                                            <?php $__currentLoopData $section->customer_workout_tasks$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$task): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                            <ul class="list-style-none">

                                                                <li>
                                                                    <strong>Task: </strong> <?php echo e(isset($task->workout_task->name)?$task->workout_task->name:''); ?>


                                                                    <input type="checkbox" <?php echo e($task->status=='complete'?'checked':''); ?>

                                                                    class="check_workout_task border-red float-right"
                                                                           data-id="<?php echo e($task->id); ?>">
                                                                </li>


                                                                <li><strong>Repetation and set: </strong> <?php echo e(isset($task->repetation_and_set)?$task->repetation_and_set:''); ?></li>
                                                                <li>
                                                                    <strong>Rest Time: </strong> <?php echo e(isset($task->rest_time)?$task->rest_time:''); ?>


                                                                    <?php
                                                                        $attach_file
='';
                                                                        if(isset(
$task->workout_task->image_or_video) && $task->workout_task->image_or_video){
                                                                            
$file_name=explode('.',$task->workout_task->image_or_video);
                                                                            if(isset(
$file_name[1]) && $file_name[1]=='mp4'){
                                                                                
$attach_file='mp4';
                                                                            }
                                                                        }
                                                                    
?>

                                                                    <button
                                                                        data-path="<?php echo e(asset('uploads/'.$task->workout_task->image_or_video)); ?>"
                                                                        data-type="<?php echo e($attach_file); ?>" type="button"
                                                                        class="btn-sm btn btn-info float-right preview_task">
                                                                        <small>Preview</small>
                                                                    </button>

                                                                </li>
                                                            </ul>
                                                            <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                                    </div>
                                                </div>
                                            <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                        </div>
                                    <?php endif; ?>
                            </div>
                            <?php else: ?>
                                <div class="col-md-4 mx-auto">
                                    <div class="card">
                                        <div class="card-body text-center">
                                            <h5><?php echo e(trans('No Workout Plan Assigned')); ?></h5>
                                            <strong><?php echo e(trans('Contact With Admin')); ?></strong>
                                        </div>
                                    </div>
                                </div>
                            <?php endif; ?>

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



    <!-- Modal -->
    <div class="modal fade" id="previewModal" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
            <div class="modal-content">
                <div class="modal-header bg-white">
                    <button type="button" class="close pause_video" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="task-preview-section">
                        <div class="section-video">

                        </div>

                        <img id="previewImage" alt="">
                    </div>
                </div>
            </div>
        </div>
    </div>


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

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

    <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>

    <script>
        "use strict";

        let workout_task_status = 'incomplete';
        $(document).on("click", ".check_workout_task", function (e) {
            const data_id = $(this).attr('data-id');
            if ($(this).is(':checked')) {
                workout_task_status = 'complete';
            } else {
                workout_task_status = 'incomplete';
            }


            $.ajax({
                url: '<?php echo e(route('customer.work.out.plan.status')); ?>',
                method: 'POST',
                data: {
                    '_token': '<?php echo e(csrf_token()); ?>',
                    workout_task_status: workout_task_status,
                    id: data_id
                },
                success: function (res) {
                    if(res.status=='success'){
                        toastr.success(res.message);
                    }
                }
            });


        });
    </script>

    <script>
        "use strict";

        $(document).on('click', '.preview_task', function(e){
            const type=$(this).attr('data-type');
            const file=$(this).attr('data-path');

            if(type && type=='mp4'){
                $('#videoTag').removeClass('d-none');
                $('.section-video').html(`<video id="videoTag" controls autoplay> <source src="${file}" type="video/mp4"></video>`)
            }else{
                $('#videoTag').addClass('d-none');
                $('#previewImage').attr('src', file);
            }

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

        $(document).on('click', '.pause_video', function(e){
            $('#videoTag').get(0).pause();
        });
    </script>

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


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