ヤミ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: b5544d6daa5fd1a337a5d558f092148a.php
<?php $__env->startSection('title', translate('banner')); ?> <?php $__env->startSection('content'); ?> <div class="content container-fluid"> <div class="d-flex justify-content-between flex-wrap gap-2 align-items-center mb-3"> <div> <h2 class="h1 mb-1 text-capitalize d-flex align-items-center gap-2"> <img width="20" src="<?php echo e(dynamicAsset(path: 'public/assets/back-end/img/banner.png')); ?>" alt=""> <?php echo e(translate('banner_update_form')); ?> </h2> </div> <div> <a class="btn btn-primary text-white" href="<?php echo e(route('admin.banner.list')); ?>"> <i class="fi fi-sr-angle-left"></i> <?php echo e(translate('back')); ?> </a> </div> </div> <div class="row text-start"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <form action="<?php echo e(route('admin.banner.update', [$banner['id']])); ?>" method="post" enctype="multipart/form-data" class="banner_form form-advance-validation form-advance-file-validation non-ajax-form-validate" novalidate="novalidate"> <?php echo csrf_field(); ?> <div class="row g-3"> <div class="col-md-6"> <div class="h-100"> <div class="form-group"> <input type="hidden" id="id" name="id"> </div> <div class="form-group"> <label for="name" class="form-label"><?php echo e(translate('banner_type')); ?> <span class="text-danger">*</span></label> <select class="custom-select" name="banner_type" required id="banner_type_select"> <?php $__currentLoopData = $bannerTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $singleBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e($banner['banner_type'] == $key ? 'selected':''); ?>> <?php echo e($singleBanner); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group" id="banner_resource_type" > <label for="resource_id" class="form-label"><?php echo e(translate('resource_type')); ?> <span class="text-danger">*</span></label> <select class="custom-select action-display-data" name="resource_type" required> <option value="product" <?php echo e($banner['resource_type'] == 'product'?'selected':''); ?>><?php echo e(translate('product')); ?></option> <option value="category" <?php echo e($banner['resource_type'] == 'category'?'selected':''); ?>><?php echo e(translate('category')); ?></option> <option value="shop" <?php echo e($banner['resource_type'] == 'shop'?'selected':''); ?>><?php echo e(translate('shop')); ?></option> <option value="brand" <?php echo e($banner['resource_type'] == 'brand'?'selected':''); ?>><?php echo e(translate('brand')); ?></option> <option value="custom" <?php echo e($banner['resource_type'] == 'custom' ? 'selected':''); ?>><?php echo e(translate('custom')); ?></option> </select> </div> <div class="form-group mb-0 <?php echo e($banner['resource_type'] == 'product'?'d--block':'d--none'); ?>" id="resource-product"> <label for="product_id" class="form-label"><?php echo e(translate('product')); ?> </label> <select class="custom-select" name="product_id" id="resource-product"> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($product['id']); ?>" <?php echo e($banner['resource_id']==$product['id']?'selected':''); ?>><?php echo e($product['name']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group mb-0 <?php echo e($banner['resource_type'] == 'category'?'d--block':'d--none'); ?>" id="resource-category"> <label for="name" class="form-label"><?php echo e(translate('category')); ?></label> <select class="custom-select" name="category_id"> <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($category['id']); ?>" <?php echo e($banner['resource_id']==$category['id']?'selected':''); ?>><?php echo e($category['name']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group mb-0 <?php echo e($banner['resource_type'] == 'shop'?'d--block':'d--none'); ?>" id="resource-shop"> <label for="shop_id" class="form-label"><?php echo e(translate('shop')); ?></label> <select class="custom-select" name="shop_id"> <?php $__currentLoopData = $shops; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $shop): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($shop['id']); ?>" <?php echo e($banner['resource_id']==$shop['id']?'selected':''); ?>><?php echo e($shop['name']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group mb-0 <?php echo e($banner['resource_type'] == 'brand' ? 'd--block' : 'd--none'); ?>" id="resource-brand"> <label for="brand_id" class="form-label"><?php echo e(translate('brand')); ?></label> <select class="custom-select" name="brand_id"> <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($brand['id']); ?>" <?php echo e($banner['resource_id']==$brand['id']?'selected':''); ?>><?php echo e($brand['name']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group mb-0 <?php echo e($banner['resource_type'] == 'custom' ? 'd--block' : 'd--none'); ?>" id="resource-custom-url"> <label for="name" class="form-label"><?php echo e(translate('banner_URL')); ?> <span class="text-danger">*</span></label> <input type="url" name="url" class="form-control" id="url" placeholder="<?php echo e(translate('enter_url')); ?>" value="<?php echo e($banner['url']); ?>"> </div> <?php if(theme_root_path() == 'theme_fashion'): ?> <div class="form-group mt-4 input-field-for-main-banner <?php echo e($banner['banner_type'] !='Main Banner'?'d-none':''); ?>"> <label for="title" class="form-label"><?php echo e(translate('Title')); ?></label> <input type="text" name="title" class="form-control" id="title" placeholder="<?php echo e(translate('Enter_banner_title')); ?>" value="<?php echo e($banner['title']); ?>"> </div> <div class="form-group mb-0 input-field-for-main-banner <?php echo e($banner['banner_type'] !='Main Banner'?'d-none':''); ?>"> <label for="sub_title" class="form-label"> <?php echo e(translate('Sub_Title')); ?> </label> <input type="text" name="sub_title" class="form-control" id="sub_title" placeholder="<?php echo e(translate('Enter_banner_sub_title')); ?>" value="<?php echo e($banner['sub_title']); ?>"> </div> <div class="form-group mt-4 input-field-for-main-banner <?php echo e($banner['banner_type'] !='Main Banner'?'d-none':''); ?>"> <label for="button_text" class="form-label"><?php echo e(translate('Button_Text')); ?></label> <input type="text" name="button_text" class="form-control" id="button_text" placeholder="<?php echo e(translate('Enter_button_text')); ?>" value="<?php echo e($banner['button_text']); ?>"> </div> <div class="form-group mt-4 mb-0 input-field-for-main-banner <?php echo e($banner['banner_type'] !='Main Banner'?'d-none':''); ?>"> <label for="background_color" class="form-label"><?php echo e(translate('background_color')); ?></label> <input type="color" name="background_color" class="form-control h-80px px-2 py-2" id="background_color" value="<?php echo e($banner['background_color']); ?>"> </div> <?php endif; ?> </div> </div> <div class="col-md-6 d-flex flex-column justify-content-center"> <div class="d-flex justify-content-center align-items-center bg-section rounded-8 p-20 w-100 h-100"> <div class="d-flex flex-column gap-30 w-100"> <div class="text-center"> <label for="" class="form-label fw-semibold mb-1"> <?php echo e(translate('banner_image')); ?> <span class="text-danger">*</span> </label> <h4 class="mb-0"><span class="text-info-dark" id="theme_ratio"> ( <?php echo e(translate('ratio')); ?> 4:1 )</span></h4> </div> <div class="upload-file"> <input type="file" name="image" id="banner" class="upload-file__input single_file_input" data-max-size="<?php echo e(getFileUploadMaxSize()); ?>" accept="<?php echo e(getFileUploadFormats(skip: '.svg')); ?>,image/*" data-required-msg="<?php echo e(translate('banner_image_is_required')); ?>" <?php echo e(empty(getStorageImages(path: $banner['photo_full_url'], type: 'banner')) ? 'required' : ''); ?>> <div class="upload-file__wrapper ratio-4-1"> <div class="upload-file-textbox text-center"> <img width="34" height="34" class="svg" src="<?php echo e(dynamicAsset(path: 'public/assets/new/back-end/img/svg/image-upload.svg')); ?>" alt="image upload"> <h6 class="mt-1 fw-medium lh-base text-center"> <span class="text-info"> <?php echo e(translate('Click to upload')); ?> </span> <br> <?php echo e(translate('or_drag_and_drop')); ?> </h6> </div> <img class="upload-file-img" loading="lazy" src="<?php echo e(getStorageImages(path:$banner['photo_full_url'],type: 'banner' )); ?>" data-default-src="<?php echo e(getStorageImages(path:$banner['photo_full_url'],type: 'banner' )); ?>" alt=""> </div> <div class="overlay"> <div class="d-flex gap-10 justify-content-center align-items-center h-100"> <button type="button" class="btn btn-outline-info icon-btn view_btn"> <i class="fi fi-sr-eye"></i> </button> <button type="button" class="btn btn-outline-info icon-btn edit_btn"> <i class="fi fi-rr-camera"></i> </button> </div> </div> </div> <p class="fs-12 text-center max-w-360 m-auto"> <?php echo e(translate('banner_Image_ratio_is_not_same_for_all_sections_in_website.')); ?> <?php echo e(translate('please_review_the_ratio_before_upload')); ?> </p> </div> </div> </div> <div class="col-md-12 d-flex justify-content-end gap-3"> <button type="submit" class="btn btn-primary px-4"> <?php echo e(translate('update')); ?> </button> </div> </div> </form> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <script src="<?php echo e(dynamicAsset(path: 'public/assets/backend/admin/js/promotion/banner.js')); ?>"></script> <script> "use strict"; $(document).on('ready', function () { getThemeWiseRatio(); }); let elementBannerTypeSelect = $('#banner_type_select'); elementBannerTypeSelect.on('change', function () { getThemeWiseRatio(); }); function getThemeWiseRatio() { let bannerType = elementBannerTypeSelect.val(); let theme = '<?php echo e(theme_root_path()); ?>'; let themeRatio = <?php echo json_encode(THEME_RATIO); ?>; let getRatio = themeRatio[theme][bannerType]; $('#theme_ratio').text(getRatio); } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/pollibazaar/public_html/resources/views/admin-views/banner/edit.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick