[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: bce9f6a7801b8c1e445b7fd1e1d9330da13f9d58.php
<div class="tab-pane mt-3 fade" id="purchased_products" role="tabpanel" aria-labelledby="purchased_products-tab"> <div class="row"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin_enrollment_add_student_to_items')): ?> <div class="col-12 col-md-6"> <h5 class="section-title after-line"><?php echo e(trans('update.add_student_to_product')); ?></h5> <form action="<?php echo e(getAdminPanelUrl()); ?>/enrollments/store" method="Post"> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> <div class="form-group"> <label class="input-label"><?php echo e(trans('update.product')); ?></label> <select name="product_id" class="form-control search-product-select2" data-placeholder="<?php echo e(trans('update.search_product')); ?>"> </select> <div class="invalid-feedback"></div> </div> <div class=" mt-4"> <button type="button" class="js-save-manual-add btn btn-primary"><?php echo e(trans('admin/main.submit')); ?></button> </div> </form> </div> <?php endif; ?> <div class="col-12"> <div class="mt-5"> <h5 class="section-title after-line"><?php echo e(trans('update.manual_added_products')); ?></h5> <div class="table-responsive mt-3"> <table class="table table-striped table-md"> <tr> <th><?php echo e(trans('update.product')); ?></th> <th><?php echo e(trans('admin/main.type')); ?></th> <th><?php echo e(trans('admin/main.price')); ?></th> <th><?php echo e(trans('update.seller')); ?></th> <th class="text-center"><?php echo e(trans('update.added_date')); ?></th> <th class="text-right"><?php echo e(trans('admin/main.actions')); ?></th> </tr> <?php if(!empty($manualAddedProducts)): ?> <?php $__currentLoopData = $manualAddedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $manualAddedProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td width="25%"> <a href="<?php echo e(!empty($manualAddedProduct->productOrder->product) ? $manualAddedProduct->productOrder->product->getUrl() : '#!'); ?>" target="_blank" class=""><?php echo e(!empty($manualAddedProduct->productOrder->product) ? $manualAddedProduct->productOrder->product->title : trans('update.deleted_item')); ?></a> </td> <td> <?php if(!empty($manualAddedProduct->productOrder->product)): ?> <?php echo e(trans('update.product_type_'.$manualAddedProduct->productOrder->product->type)); ?> <?php endif; ?> </td> <td> <?php if(!empty($manualAddedProduct->productOrder->product)): ?> <?php echo e(!empty($manualAddedProduct->productOrder->product->price) ? handlePrice($manualAddedProduct->productOrder->product->price) : '-'); ?> <?php else: ?> <?php echo e(!empty($manualAddedProduct->amount) ? handlePrice($manualAddedProduct->amount) : '-'); ?> <?php endif; ?> </td> <td width="25%"> <?php if(!empty($manualAddedProduct->productOrder->product)): ?> <p><?php echo e($manualAddedProduct->productOrder->product->creator->full_name); ?></p> <?php else: ?> <p><?php echo e(!empty($manualAddedProduct->seller) ? $manualAddedProduct->seller->full_name : trans('update.deleted_seller')); ?></p> <?php endif; ?> </td> <td class="text-center"><?php echo e(dateTimeFormat($manualAddedProduct->created_at,'j M Y | H:i')); ?></td> <td class="text-right"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin_enrollment_block_access')): ?> <?php echo $__env->make('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $manualAddedProduct->id .'/block-access', 'tooltip' => trans('update.block_access'), 'btnIcon' => 'fa-times-circle' ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </table> <p class="font-12 text-gray mt-1 mb-0"><?php echo e(trans('update.manual_add_hint')); ?></p> </div> </div> </div> <div class="col-12"> <div class="mt-5"> <h5 class="section-title after-line"><?php echo e(trans('update.manual_disabled_products')); ?></h5> <div class="table-responsive mt-3"> <table class="table table-striped table-md"> <tr> <th><?php echo e(trans('update.product')); ?></th> <th><?php echo e(trans('admin/main.type')); ?></th> <th><?php echo e(trans('admin/main.price')); ?></th> <th><?php echo e(trans('update.seller')); ?></th> <th class="text-right"><?php echo e(trans('admin/main.actions')); ?></th> </tr> <?php if(!empty($manualDisabledProducts)): ?> <?php $__currentLoopData = $manualDisabledProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $manualDisabledProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td width="25%"> <a href="<?php echo e(!empty($manualDisabledProduct->productOrder->product) ? $manualDisabledProduct->productOrder->product->getUrl() : '#!'); ?>" target="_blank" class=""><?php echo e(!empty($manualDisabledProduct->productOrder->product) ? $manualDisabledProduct->productOrder->product->title : trans('update.deleted_item')); ?></a> </td> <td> <?php if(!empty($manualDisabledProduct->productOrder->product)): ?> <?php echo e(trans('update.product_type_'.$manualDisabledProduct->productOrder->product->type)); ?> <?php endif; ?> </td> <td> <?php if(!empty($manualDisabledProduct->productOrder->product)): ?> <?php echo e(!empty($manualDisabledProduct->productOrder->product->price) ? handlePrice($manualDisabledProduct->productOrder->product->price) : '-'); ?> <?php else: ?> <?php echo e(!empty($manualDisabledProduct->amount) ? handlePrice($manualDisabledProduct->amount) : '-'); ?> <?php endif; ?> </td> <td width="25%"> <?php if(!empty($manualDisabledProduct->productOrder->product)): ?> <p><?php echo e($manualDisabledProduct->productOrder->product->creator->full_name); ?></p> <?php else: ?> <p><?php echo e($manualDisabledProduct->seller->full_name); ?></p> <?php endif; ?> </td> <td class="text-right"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin_enrollment_block_access')): ?> <?php echo $__env->make('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $manualDisabledProduct->id .'/enable-access', 'tooltip' => trans('update.enable-student-access'), ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </table> <p class="font-12 text-gray mt-1 mb-0"><?php echo e(trans('update.manual_remove_hint')); ?></p> </div> </div> </div> <div class="col-12"> <div class="mt-5"> <h5 class="section-title after-line"><?php echo e(trans('panel.purchased')); ?></h5> <div class="table-responsive mt-3"> <table class="table table-striped table-md"> <tr> <th><?php echo e(trans('update.product')); ?></th> <th><?php echo e(trans('admin/main.type')); ?></th> <th><?php echo e(trans('admin/main.price')); ?></th> <th><?php echo e(trans('update.seller')); ?></th> <th class="text-center"><?php echo e(trans('panel.purchase_date')); ?></th> <th><?php echo e(trans('admin/main.actions')); ?></th> </tr> <?php if(!empty($purchasedProducts)): ?> <?php $__currentLoopData = $purchasedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $purchasedProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td width="25%"> <a href="<?php echo e(!empty($purchasedProduct->productOrder->product) ? $purchasedProduct->productOrder->product->getUrl() : '#!'); ?>" target="_blank" class=""><?php echo e(!empty($purchasedProduct->productOrder->product) ? $purchasedProduct->productOrder->product->title : trans('update.deleted_item')); ?></a> </td> <td> <?php if(!empty($purchasedProduct->productOrder->product)): ?> <?php echo e(trans('update.product_type_'.$purchasedProduct->productOrder->product->type)); ?> <?php endif; ?> </td> <td> <?php if(!empty($purchasedProduct->productOrder->product)): ?> <?php echo e(!empty($purchasedProduct->productOrder->product->price) ? handlePrice($purchasedProduct->productOrder->product->price) : '-'); ?> <?php else: ?> <?php echo e(!empty($purchasedProduct->amount) ? handlePrice($purchasedProduct->amount) : '-'); ?> <?php endif; ?> </td> <td width="25%"> <?php if(!empty($purchasedProduct->productOrder->product)): ?> <p><?php echo e($purchasedProduct->productOrder->product->creator->full_name); ?></p> <?php else: ?> <p><?php echo e(!empty($purchasedProduct->seller) ? $purchasedProduct->seller->full_name : trans('update.deleted_seller')); ?></p> <?php endif; ?> </td> <td class="text-center"> <?php echo e(dateTimeFormat($purchasedProduct->created_at,'j M Y | H:i')); ?> </td> <td class="text-right"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin_enrollment_block_access')): ?> <?php echo $__env->make('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/enrollments/'. $purchasedProduct->id .'/block-access', 'tooltip' => trans('update.block_access'), 'btnIcon' => 'fa-times-circle' ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </table> <p class="font-12 text-gray mt-1 mb-0"><?php echo e(trans('update.purchased_hint')); ?></p> </div> </div> </div> </div> </div> <?php /**PATH /home/aoneqssk/public_html/resources/views/admin/users/editTabs/purchased_products.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285