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


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

<?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.plan')); ?></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.plan')); ?></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="#planCreateModal">
                            <?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.cost')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.recurring_type')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.pos_system')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.table_limit')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.restaurant_limit')); ?></strong></th>
                                <th><strong><?php echo e(trans('layout.item_limit')); ?></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($plans): ?>
                                <?php $__currentLoopData $plans$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($plan->title); ?></td>
                                        <td><?php echo e(formatNumberWithCurrSymbol($plan->cost)); ?></td>
                                        <?php if($plan->recurring_type == 'onetime'): ?>
                                            <td><?php echo e(trans('layout.onetime')); ?></td>
                                        <?php elseif($plan->recurring_type == 'monthly'): ?>
                                            <td><?php echo e(trans('layout.monthly')); ?></td>
                                        <?php elseif($plan->recurring_type == 'weekly'): ?>
                                            <td><?php echo e(trans('layout.weekly')); ?></td>
                                        <?php elseif($plan->recurring_type == 'yearly'): ?>
                                            <td><?php echo e(trans('layout.yearly')); ?></td>
                                        <?php endif; ?>

                                        <td><?php echo e(ucfirst(isset($plan->pos_system)?$plan->pos_system:'')); ?></td>
                                        <td><?php echo e($plan->table_unlimited=='yes'?trans('layout.unlimited'):$plan->table_limit); ?></td>
                                        <td><?php echo e($plan->restaurant_unlimited=='yes'?trans('layout.unlimited'):$plan->restaurant_limit); ?></td>
                                        <td><?php echo e($plan->item_unlimited=='yes'?trans('layout.unlimited'):$plan->item_limit); ?></td>
                                        <td>
                                            <?php if($plan->status=='active'): ?>
                                                <span
                                                    class="badge light badge-success"><?php echo e(trans('layout.active')); ?></span>
                                            <?php elseif($plan->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_Plan" type="button"
                                                    
                                                    data-action="<?php echo e(route('plan.update', [$plan->id])); ?>
                                                    data-toggle="modal"
                                                    data-target="#planEditModal"
                                                    data-title="<?php echo e($plan->title); ?>"
                                                    data-recurring_type="<?php echo e($plan->recurring_type); ?>"
                                                    data-pos_system="<?php echo e($plan->pos_system); ?>"
                                                    data-status="<?php echo e($plan->status); ?>"
                                                    data-cost="<?php echo e($plan->cost); ?>"
                                                    data-table_limit="<?php echo e($plan->table_limit); ?>"
                                                    data-table_unlimited="<?php echo e($plan->table_unlimited); ?>"
                                                    data-restaurant_limit="<?php echo e($plan->restaurant_limit); ?>"
                                                    data-restaurant_unlimited="<?php echo e($plan->restaurant_unlimited); ?>"
                                                    data-item_limit="<?php echo e($plan->item_limit); ?>"
                                                    data-item_unlimited="<?php echo e($plan->item_unlimited); ?>"
                                                    data-id="<?php echo e($plan->id); ?>">
                                                <?php echo e(trans('layout.edit')); ?>

                                            </button>
                                            
                                                    <button class="dropdown-item" type="button"
                                                            data-message="<?php echo e(trans('layout.message.plan_delete_warning')); ?>"
                                                            data-action='<?php echo e(route('plan.destroy',[$plan])); ?>'
                                                            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>

<?php $__env->stopSection(); ?>
        <!-- Modal Create -->
        <?php $__env->startSection('create-modal-id''planCreateModal'); ?>
        <?php $__env->startSection('create-modal-title''Plan Create'); ?>
        <?php $__env->startSection('create-modal-content-wapper'); ?>
            <form method="POST" action="<?php echo e(route('plan.store')); ?>">
                <div class="modal-body">
                    <?php echo $__env->make('plans.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(); ?>

            <?php $__env->startSection('edit-modal-id''planEditModal'); ?>
            <?php $__env->startSection('edit-modal-title''Plan Edit'); ?>
            <?php $__env->startSection('edit-modal-content-wapper'); ?>
            <form method="post" role="form" id="editPlanForm">
                <?php echo csrf_field(); ?>
                <?php echo method_field('PUT'); ?>
                <input type="hidden" value="" name="id" id="edit_plan_id">
            
                <div class="modal-body">
                    <section>
                        <div class="row">
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label>
                                    <input type="text" name="title" id="edit_plan_title"
                                           class="form-control" placeholder="Ex: Basic" required>
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.recurring_type')); ?>*</label>
                                    <select name="recurring_type" id="edit_plan_recurring_type" class="form-control">
                                        <option value="onetime"><?php echo e(trans('layout.onetime')); ?></option>
                                        <option value="weekly"><?php echo e(trans('layout.weekly')); ?></option>
                                        <option value="monthly"><?php echo e(trans('layout.monthly')); ?></option>
                                        <option value="yearly"><?php echo e(trans('layout.yearly')); ?></option>
                                    </select>
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.pos_system')); ?>*</label>
                                    <select name="pos_system" id="edit_plan_pos_system" class="form-control">
                                        <option value="no"><?php echo e(trans('layout.no')); ?></option>
                                        <option value="yes"><?php echo e(trans('layout.yes')); ?></option>
                                    </select>
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.status')); ?>*</label>
                                    <select name="status" id="edit_plan_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="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.cost')); ?>*</label>
                                    <input min="0" step="0.001" type="number" name="cost" id="edit_plan_cost"
                                           class="form-control" placeholder="Ex: 200" required>
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.table_limit')); ?>*</label>
                                    <div class="form-check form-check-inline">
                                        <label class="form-check-label">
                                            <?php echo e(trans('layout.is_unlimited')); ?>

                                            <input data-name="table_limit" name="is_table_unlimited" type="checkbox"
                                                   class="form-check-input isUnlimited" value="yes" id="edit_plan_is_table_unlimited">
                                        </label>
                                    </div>
                                    <input type="number" name="table_limit" id="edit_plan_table_limit"
                                           class="form-control" placeholder="Ex: 5" required min="0" step="0.001">
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.restaurant_limit')); ?>*</label>
                                    <div class="form-check form-check-inline">
                                        <label class="form-check-label">
                                            <?php echo e(trans('layout.is_unlimited')); ?>

                                            <input data-name="restaurant_limit" name="is_restaurant_unlimited" type="checkbox"
                                                   class="form-check-input isUnlimited" value="yes" id="edit_plan_is_restaurant_unlimited">
                                        </label>
                                    </div>
                                    <input type="number" name="restaurant_limit" id="edit_plan_restaurant_limit"
                                           class="form-control" placeholder="Ex: 5" required min="0" step="0.001">
                                </div>
                            </div>
            
                            <div class="col-lg-6 mb-2">
                                <div class="form-group">
                                    <label class="text-label"><?php echo e(trans('layout.item_limit')); ?>*</label>
                                    <div class="form-check form-check-inline">
                                        <label class="form-check-label">
                                            <?php echo e(trans('layout.is_unlimited')); ?>

                                            <input data-name="item_limit" name="is_item_unlimited" type="checkbox"
                                                   class="form-check-input isUnlimited" value="yes" id="edit_plan_is_item_unlimited">
                                        </label>
                                    </div>
                                    <input type="number" name="item_limit" id="edit_plan_item_limit"
                                           class="form-control" placeholder="Ex: 5" required min="0" step="0.001">
                                </div>
                            </div>
                        </div>
                    </section>
                </div>
            
                <div class="modal-footer">
                    <button type="button" aria-label="Close" 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
->startSection('js'); ?>
<script >
    $(document).on('click','.isUnlimited',function (e) {
        let inputFieldName=$(this).attr('data-name');
        if($(this).is(':checked')){
            $('[name='+inputFieldName+']').hide();
        }else{
            $('[name='+inputFieldName+']').show();
        }
    })
</script>

<script>
    $(document).on("click", ".edit_Plan", function(e) {
        e.preventDefault();

        const id = $(this).data('id');
        const title = $(this).data('title');
        const recurring_type = $(this).data('recurring_type');
        const pos_system = $(this).data('pos_system');
        const status = $(this).data('status');
        const cost = $(this).data('cost');
        const table_limit = $(this).data('table_limit');
        const table_unlimited = $(this).data('table_unlimited');
        const restaurant_limit = $(this).data('restaurant_limit');
        const restaurant_unlimited = $(this).data('restaurant_unlimited');
        const item_limit = $(this).data('item_limit');
        const item_unlimited = $(this).data('item_unlimited');
        const actionUrl = $(this).data('action');

        $('#edit_plan_id').val(id);
        $('#edit_plan_title').val(title);
        $('#edit_plan_recurring_type').val(recurring_type).trigger('change');
        $('#edit_plan_pos_system').val(pos_system).trigger('change');
        $('#edit_plan_status').val(status).trigger('change');
        $('#edit_plan_cost').val(cost);

        $('#edit_plan_is_table_unlimited').prop('checked', table_unlimited === 'yes');
        $('#edit_plan_is_restaurant_unlimited').prop('checked', restaurant_unlimited === 'yes');
        $('#edit_plan_is_item_unlimited').prop('checked', item_unlimited === 'yes');

        if (table_unlimited === 'yes') {
            $('#edit_plan_table_limit').hide();
        } else {
            $('#edit_plan_table_limit').val(table_limit).show();
        }

        if (restaurant_unlimited === 'yes') {
            $('#edit_plan_restaurant_limit').hide();
        } else {
            $('#edit_plan_restaurant_limit').val(restaurant_limit).show();
        }

        if (item_unlimited === 'yes') {
            $('#edit_plan_item_limit').hide();
        } else {
            $('#edit_plan_item_limit').val(item_limit).show();
        }

        $('#editPlanForm').attr('action', actionUrl);
        $('#planEditModal').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/plans/plan_table.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.0322 ]--