⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
storage
/
framework
/
views
/
View File Name :
da79dee66c3a1c41cd818c0767e27ce52b1e2b31.php
<?php $selLang = \App\Models\User\Language::where([['code', request()->input('language')], ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id]])->first(); $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id)->get(); ?> <?php if(!empty($selLang) && $selLang->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form:not(.modal-form) input, form:not(.modal-form) textarea, form:not(.modal-form) select, select[name='userLanguage'] { direction: rtl; } form:not(.modal-form) .note-editor.note-frame .note-editing-area .note-editable { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e($keywords['Offline_Gateways'] ?? __('Offline Gateways')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e($keywords['Payment_Gateways'] ?? __('Payment Gateways')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e($keywords['Offline_Gateways'] ?? __('Offline Gateways')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <div class="card-title d-inline-block"> <?php echo e($keywords['Offline_Gateways'] ?? __('Offline Gateways')); ?></div> </div> <div class="col-lg-6 mt-2 mt-lg-0"> <a href="#" class="btn btn-primary float-lg-right float-left btn-sm" data-toggle="modal" data-target="#createModal"><i class="fas fa-plus"></i> <?php echo e($keywords['Add_Gateway'] ?? __('Add Gateway')); ?></a> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($ogateways) == 0): ?> <h3 class="text-center"> <?php echo e($keywords['NO_OFFLINE_PAYMENT_GATEWAY_FOUND'] ?? __('NO OFFLINE PAYMENT GATEWAY FOUND')); ?> </h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3" id="basic-datatables"> <thead> <tr> <th scope="col"><?php echo e($keywords['Name'] ?? __('Name')); ?></th> <th scope="col"><?php echo e($keywords['Status'] ?? __('Status')); ?></th> <th scope="col"><?php echo e($keywords['Serial_Number'] ?? __('Serial Number')); ?> </th> <th scope="col"><?php echo e($keywords['Actions'] ?? __('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $ogateways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $ogateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($ogateway->name); ?> </td> <td> <form id="productForm<?php echo e($ogateway->id); ?>" class="d-inline-block" action="<?php echo e(route('user.offline.status')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="ogateway_id" value="<?php echo e($ogateway->id); ?>"> <input type="hidden" name="type" value="product"> <select class="form-control <?php echo e($ogateway->status == 1 ? 'bg-success' : 'bg-danger'); ?>" name="status" onchange="document.getElementById('productForm<?php echo e($ogateway->id); ?>').submit();"> <option value="1" <?php echo e($ogateway->status == 1 ? 'selected' : ''); ?>> <?php echo e($keywords['Active'] ?? __('Active')); ?></option> <option value="0" <?php echo e($ogateway->status == 0 ? 'selected' : ''); ?>> <?php echo e($keywords['Deactive'] ?? __('Deactive')); ?> </option> </select> </form> </td> <td><?php echo e($ogateway->serial_number); ?></td> <td> <a class="btn btn-secondary btn-sm editbtn" href="#editModal" data-toggle="modal" data-ogateway_id="<?php echo e($ogateway->id); ?>" data-name="<?php echo e($ogateway->name); ?>" data-short_description="<?php echo e($ogateway->short_description); ?>" data-instructions="<?php echo e(replaceBaseUrl($ogateway->instructions)); ?>" data-is_receipt="<?php echo e($ogateway->is_receipt); ?>" data-serial_number="<?php echo e($ogateway->serial_number); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e($keywords['Edit'] ?? __('Edit')); ?> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.offline.gateway.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="ogateway_id" value="<?php echo e($ogateway->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <span class="btn-label"> <i class="fas fa-trash"></i> </span> <?php echo e($keywords['Delete'] ?? __('Delete')); ?> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <!-- Create Offline Gateway Modal --> <?php if ($__env->exists('user.gateways.offline.create')) echo $__env->make('user.gateways.offline.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Edit Package Modal --> <?php if ($__env->exists('user.gateways.offline.edit')) echo $__env->make('user.gateways.offline.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/public_html/resources/views/user/gateways/offline/index.blade.php ENDPATH**/ ?>