ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
storage
/
framework
/
views
/
Viewing: 29b5ff4a0d1e554a4b7cf50bdec0cd40.php
<?php if(count($stockClearanceProduct) == 0 && request()->has('searchValue')): ?> <div class="card mb-3"> <div class="card-header d-flex gap-3 flex-wrap justify-content-between"> <h3 class="m-0"><?php echo e(translate('Product_List')); ?> </h3> <div class="d-flex flex-wrap justify-content-end gap-3 flex-grow-1"> <div class="flex-grow-1 max-w-300 min-w-100-mobile"> <form action="<?php echo e(url()->current()); ?>" method="GET"> <div class="input-group input-group-custom input-group-merge"> <input id="datatableSearch_" type="search" name="searchValue" class="form-control" placeholder="<?php echo e(translate('search_by_product_name')); ?>..." aria-label="Search by Order ID" value="<?php echo e(request('searchValue')); ?>"> <div class="input-group-append search-submit"> <button type="submit"> <i class="fi fi-rr-search"></i> </button> </div> </div> </form> </div> <a href="#product-add-modal" data-bs-toggle="modal" class="btn btn-primary">+ <?php echo e(translate('Add_Product')); ?></a> <?php if(count($stockClearanceProduct) > 0): ?> <a class="btn text-danger bg-danger bg-opacity-10 stock-clearance-delete-all-products" data-id="clearance-product"><?php echo e(translate('clear_all')); ?></a> <?php endif; ?> </div> </div> <?php if(count($stockClearanceProduct) > 0): ?> <form action="<?php echo e(route('admin.deal.clearance-sale.clearance-delete-all-product')); ?>" method="post" id="clearance-product"> <?php echo csrf_field(); ?> <?php echo method_field('delete'); ?> </form> <?php endif; ?> <div class="card-body"> <div class="table-responsive datatable-custom"> <table class="table table-hover table-borderless align-middle"> <thead class="text-capitalize"> <tr> <th><?php echo e(translate('sl')); ?></th> <th> <div class="d-flex"> <div class="w-60"><?php echo e(translate('Image')); ?></div> <div><?php echo e(translate('name')); ?></div> </div> </th> <th class="text-center"> <?php echo e(translate('unit_price')); ?> (<?php echo e(getCurrencySymbol(currencyCode: getCurrencyCode())); ?>) </th> <?php if(isset($clearanceConfig->discount_type) && $clearanceConfig->discount_type == 'product_wise'): ?> <th class="text-center"><?php echo e(translate('discount_amount')); ?> </th> <?php else: ?> <th class="text-center"><?php echo e(translate('discount_amount') . ' (%)'); ?> </th> <?php endif; ?> <th class="text-center"> <?php echo e(translate('discount_price')); ?> (<?php echo e(getCurrencySymbol(currencyCode: getCurrencyCode())); ?>) </th> <th class="text-center"><?php echo e(translate('status')); ?></th> <th class="text-center"><?php echo e(translate('action')); ?></th> </tr> </thead> </table> </div> <?php echo $__env->make('layouts.admin.partials._empty-state',['text'=>'no_product_found'],['image'=>'default'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> </div> <?php elseif(count($stockClearanceProduct) == 0): ?> <div class="card mb-3"> <div class="card-header d-flex gap-3 flex-wrap justify-content-between"> <h3 class="m-0"><?php echo e(translate('Product_List')); ?> </h3> <a href="#product-add-modal" data-bs-toggle="modal" class="btn btn-primary">+ <?php echo e(translate('Add_Product')); ?></a> </div> <div class="card-body"> <div class="p-4 bg-chat rounded text-center"> <div class="py-5"> <img src="<?php echo e(dynamicAsset('public/assets/back-end/img/empty-product.png')); ?>" width="64" alt=""> <div class="mx-auto my-3 max-w-353px"> <?php echo e(translate('add_product_show_in_the_clearance_offer_section_in_customer_app_and_website')); ?> </div> <a href="#product-add-modal" data-bs-toggle="modal" class="text-primary text-underline">+ <?php echo e(translate('Add_Product')); ?></a> </div> </div> </div> </div> <?php else: ?> <div class="card"> <div class="card-header card-header d-flex gap-3 flex-wrap justify-content-between"> <h3 class="mb-0"> <?php echo e(translate('Product_List')); ?> <span class="badge text-dark bg-body-secondary fw-semibold rounded-50"><?php echo e($stockClearanceProduct->total()); ?></span> </h3> <div class="d-flex flex-wrap justify-content-end gap-3 flex-grow-1"> <div class="flex-grow-1 max-w-300 min-w-100-mobile"> <form action="<?php echo e(url()->current()); ?>" method="GET"> <div class="input-group"> <input id="datatableSearch_" type="search" name="searchValue" class="form-control" placeholder="<?php echo e(translate('search_by_product_name')); ?>..." aria-label="Search by Order ID" value="<?php echo e(request('searchValue')); ?>"> <div class="input-group-append search-submit"> <button type="submit"> <i class="fi fi-rr-search"></i> </button> </div> </div> </form> </div> <a href="#product-add-modal" data-bs-toggle="modal" class="btn btn-primary">+ <?php echo e(translate('Add_Product')); ?></a> <?php if(count($stockClearanceProduct) > 0): ?> <a class="btn text-danger bg-danger bg-opacity-10 stock-clearance-delete-all-products" data-id="clearance-product"><?php echo e(translate('clear_all')); ?></a> <?php endif; ?> </div> </div> <?php if(count($stockClearanceProduct) > 0): ?> <form action="<?php echo e(route('admin.deal.clearance-sale.clearance-delete-all-product')); ?>" method="post" id="clearance-product"> <?php echo csrf_field(); ?> <?php echo method_field('delete'); ?> </form> <?php endif; ?> <div class="card-body p-0"> <div class="table-responsive datatable-custom"> <table class="table table-hover table-borderless align-middle"> <thead class="text-capitalize"> <tr> <th><?php echo e(translate('sl')); ?></th> <th> <div class="d-flex"> <div class="w-60"><?php echo e(translate('Image')); ?></div> <div><?php echo e(translate('name')); ?></div> </div> </th> <th class="text-center"> <?php echo e(translate('unit_price')); ?> (<?php echo e(getCurrencySymbol(currencyCode: getCurrencyCode())); ?>) </th> <?php if(isset($clearanceConfig->discount_type) && $clearanceConfig->discount_type == 'product_wise'): ?> <th class="text-center"><?php echo e(translate('discount_amount')); ?> </th> <?php else: ?> <th class="text-center"><?php echo e(translate('discount_amount') . ' (%)'); ?> </th> <?php endif; ?> <th class="text-center"> <?php echo e(translate('discount_price')); ?> (<?php echo e(getCurrencySymbol(currencyCode: getCurrencyCode())); ?>) </th> <th class="text-center"><?php echo e(translate('status')); ?></th> <th class="text-center"><?php echo e(translate('action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $stockClearanceProduct; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $clearanceProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($stockClearanceProduct->firstItem() + $key); ?></td> <td> <a href="<?php echo e(route('admin.products.view', ['addedBy'=> ($clearanceProduct?->product['added_by'] == 'seller' ? 'vendor' : 'in-house'),'id' => $clearanceProduct?->product['id']])); ?>" class="text-dark text-hover-primary d-flex align-items-center gap-2"> <img src="<?php echo e(getStorageImages(path:$clearanceProduct?->product?->thumbnail_full_url , type: 'backend-product')); ?>" class="rounded border aspect-1" alt="" width="60"> <div class="max-w-250 overflow-hidden"> <h4 class="text-truncate"> <?php echo e($clearanceProduct?->product?->name); ?> </h4> <div class="fs-12 text-dark d-flex flex-column gap-2"> <div class="border-between gap-2"> <?php if($clearanceProduct?->product->product_type == 'physical'): ?> <span class="parent"> <span class="opacity-75"> <?php echo e(translate('current_stock')); ?> </span> <?php echo e($clearanceProduct?->product?->current_stock); ?> </span> <?php endif; ?> <span class="parent text-truncate"> <span class="opacity-75"><?php echo e(translate('category')); ?>: </span> <?php echo e($clearanceProduct?->product?->category->name ?? translate('not_found')); ?> </span> </div> <?php if($clearanceProduct?->product->product_type == 'physical'): ?> <span class="parent text-truncate"> <span class="opacity-75"><?php echo e(translate('brand')); ?>: </span> <?php echo e($clearanceProduct?->product?->brand?->name ?? translate('not_available')); ?> </span> <?php endif; ?> </div> </div> </a> </td> <td> <?php if($clearanceConfig?->discount_type == 'flat'): ?> <?php ($discountAmount = $clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100); ?> <?php else: ?> <?php ($discountAmount = $clearanceProduct->discount_type === 'percentage' ? ($clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100): ($clearanceProduct?->product?->unit_price - $clearanceProduct->discount_amount)); ?> <?php endif; ?> <?php if($discountAmount < 0): ?> <div class="fw-bold text-center text-warning"> <span> <?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price), currencyCode: getCurrencyCode())); ?> </span> <span class="cursor-pointer" data-bs-toggle="tooltip" data-bs-placement="top" area-label="<?php echo e(translate('Your_products_unit_price_is_lower_then_offer_price')); ?>" data-bs-title="<?php echo e(translate('Your_products_unit_price_is_lower_then_offer_price')); ?>"> <img src="<?php echo e(dynamicAsset('public/assets/back-end/img/icons/clearance-product-warning.svg')); ?>" alt=""> </span> </div> <?php else: ?> <div class="text-center"> <?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price), currencyCode: getCurrencyCode())); ?> </div> <?php endif; ?> </td> <td> <div class="d-flex justify-content-center align-items-center gap-2"> <?php if($clearanceConfig?->discount_type == 'flat'): ?> <div class="text-center"> <?php echo e($clearanceProduct->discount_amount); ?> </div> <?php else: ?> <div class="discount-input-container position-relative d-inline-block"> <div class="input-group w-140"> <input type="number" class="form-control form-control-focus-none w-80 h-25 text-center px-1 disabled" value="<?php echo e($clearanceProduct?->discount_type == 'flat' ? usdToDefaultCurrency(amount: $clearanceProduct->discount_amount) : $clearanceProduct->discount_amount); ?>" readonly> <div class="input-group-append"> <span class="input-group-text lh-1 h-100"><?php echo e($clearanceProduct?->discount_type == 'flat' ? getCurrencySymbol(currencyCode: getCurrencyCode()) : '%'); ?></span> </div> </div> </div> <?php if(isset($clearanceConfig->discount_type) && $clearanceConfig->discount_type == 'product_wise'): ?> <a href="#discount-update-modal" data-bs-toggle="modal" class="btn border-0 shadow-none text-primary discount-edit-btn" data-product-id="<?php echo e($clearanceProduct->product_id); ?>" data-discount-amount="<?php echo e($clearanceProduct?->discount_type == 'flat' ? usdToDefaultCurrency(amount: $clearanceProduct->discount_amount) : $clearanceProduct->discount_amount); ?>" data-discount-type="<?php echo e($clearanceProduct->discount_type); ?>" data-image="<?php echo e(getStorageImages(path: $clearanceProduct?->product?->thumbnail_full_url, type: 'backend-basic')); ?>" data-product-name="<?php echo e($clearanceProduct?->product?->name); ?>" data-product-brand="<?php echo e($clearanceProduct?->product?->brand?->name ?? ""); ?>" data-product-category="<?php echo e($clearanceProduct?->product?->category?->name ?? ""); ?>" data-product-stock="<?php echo e($clearanceProduct?->product?->current_stock); ?>" data-product-type="<?php echo e($clearanceProduct?->product?->product_type); ?>" data-unit-price="<?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price), currencyCode: getCurrencyCode())); ?>" data-shop-name="<?php echo e($clearanceProduct?->product?->added_by == 'seller' ? $clearanceProduct?->product?->seller?->shop?->name : getInHouseShopConfig(key: 'name')); ?>" data-id="<?php echo e($clearanceProduct->id); ?>" > <i class="fi fi-sr-pencil"></i> </a> <?php endif; ?> <?php endif; ?> </div> </td> <td> <div class="text-center"> <?php if($clearanceConfig?->discount_type == 'flat'): ?> <?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100), currencyCode: getCurrencyCode())); ?> <?php else: ?> <?php ($discountAmount = $clearanceProduct->discount_type === 'percentage'? ($clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100): ($clearanceProduct?->product?->unit_price - $clearanceProduct->discount_amount)); ?> <?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $discountAmount), currencyCode: getCurrencyCode())); ?> <?php endif; ?> </div> </td> <td> <div class="d-flex justify-content-center"> <form action="<?php echo e(route('admin.deal.clearance-sale.product-status-update')); ?>" method="post" id="clearance-sale-product-status<?php echo e($clearanceProduct['id']); ?>-form" class="no-reload-form"> <?php echo csrf_field(); ?> <label class="switcher" for="clearance-sale-product-status<?php echo e($clearanceProduct['id']); ?>"> <input class="switcher_input custom-modal-plugin" type="checkbox" value="1" name="status" id="clearance-sale-product-status<?php echo e($clearanceProduct['id']); ?>" <?php echo e($clearanceProduct?->is_active == 1 ? 'checked':''); ?> data-modal-type="input-change-form" data-modal-form="#clearance-sale-product-status<?php echo e($clearanceProduct['id']); ?>-form" data-on-image="<?php echo e(dynamicAsset(path: 'public/assets/new/back-end/img/modal/clearance-sale-on.png')); ?>" data-off-image="<?php echo e(dynamicAsset(path: 'public/assets/new/back-end/img/modal/clearance-sale-off.png')); ?>" data-on-title="<?php echo e(translate('Want_to_Turn_ON_Active_Clearance_Sale_product').'?'); ?>" data-off-title="<?php echo e(translate('Want_to_Turn_OFF_Active_Clearance_Sale_product').'?'); ?>" data-on-message="<p><?php echo e(translate('if_enabled_this_clearance_sale_product_will_be_available_to_users_on_the_website_and_app')); ?></p>" data-off-message="<p><?php echo e(translate('if_disabled_this_clearance_sale_product_will_be_hidden_to_users_on_the_website_and_app')); ?></p>" data-on-button-text="<?php echo e(translate('turn_on')); ?>" data-off-button-text="<?php echo e(translate('turn_off')); ?>"> <span class="switcher_control"></span> </label> </form> </div> </td> <td> <div class="d-flex justify-content-center"> <a title="Delete" class="btn btn-outline-danger icon-btn stock-clearance-delete-data" href="javascript:" data-id="clearance-product-<?php echo e($clearanceProduct->id); ?>"> <i class="fi fi-rr-trash"></i> </a> </div> <form action="<?php echo e(route('admin.deal.clearance-sale.clearance-delete',[$clearanceProduct->product_id])); ?>" method="post" id="clearance-product-<?php echo e($clearanceProduct->id); ?>"> <?php echo csrf_field(); ?> <?php echo method_field('delete'); ?> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> <?php endif; ?> <?php if(count($stockClearanceProduct) > 0): ?> <div class="px-4 d-flex justify-content-lg-end mt-3"> <?php echo e($stockClearanceProduct->links()); ?> </div> <?php endif; ?> <?php /**PATH /home/pollibazaar/public_html/resources/views/admin-views/deal/clearance-sale/partials/_product-add-list.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick