⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.219
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
tech
/
www
/
script
/
storage
/
framework
/
views
/
View File Name :
a3af0df2006a4eb5fba0aa6d32c5708db719a5de.php
<?php $__env->startSection('style'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="card"> <div class="card-body"> <div class="row mb-30"> <div class="col-lg-6"> <h4><?php echo e(__('Language Customization')); ?></h4> </div> </div> <div class="card-action-filter"> <div class="row mb-10"> <div class="col-lg-6"> <form id="basicform" method="post" action="<?php echo e(route('admin.language.update',1)); ?>"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="d-flex"> <div class="single-filter"> <div class="form-group"> <select class="form-control" name="status"> <option ><?php echo e(__('Select Action')); ?></option> <option value="active"><?php echo e(__('Set Active Langauge')); ?></option> </select> </div> </div> <div class="single-filter"> <button type="submit" class="btn"><?php echo e(__('Apply')); ?></button> </div> </div> </div> <div class="col-lg-6"> <div class="single-filter f-right"> <div class="form-group"> <input type="text" id="data_search" class="form-control" placeholder="Search"> </div> </div> </div> </div> </div> <div class="table-responsive custom-table"> <table class="table "> <thead> <tr> <th class="am-select"> <?php echo e(__('Language')); ?> </th> <th class="am-title"><?php echo e(__('Country Name')); ?></th> <th class="am-author"><?php echo e(__('Native Name')); ?></th> <th class="am-author"><?php echo e(__('Country Code')); ?></th> </tr> </thead> <tbody> <?php $old_lang = []; foreach (json_decode($langs->value) as $key => $value) { array_push($old_lang, $value); } ?> <?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <div class="custom-control custom-checkbox"> <input type="checkbox" name="lang[]" class="custom-control-input" id="customCheck<?php echo e($row['code']); ?>" value="<?php echo e($row['code']); ?>" <?php if(in_array($row['code'], $old_lang)): ?> checked="" <?php endif; ?>> <label class="custom-control-label" for="customCheck<?php echo e($row['code']); ?>"></label> </div> </td> <td><?php echo e($row['name']); ?></td> <td><?php echo e($row['nativeName']); ?></td> <td><?php echo e($row['code']); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> <tfoot> <tr> <th class="am-select"> <?php echo e(__('Language')); ?> </th> <th class="am-title"><?php echo e(__('Country Name')); ?></th> <th class="am-author"><?php echo e(__('Native Name')); ?></th> <th class="am-author"><?php echo e(__('Country Code')); ?></th> </tr> </tfoot> </table> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(asset('admin/js/form.js')); ?>"></script> <script type="text/javascript"> "use strict"; //success response will assign this function function success(res){ //location.reload(); } function errosresponse(xhr){ $("#errors").html("<li class='text-danger'>"+xhr.responseJSON[0]+"</li>") } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tech/staging.techlup.co.ke/files/script/resources/views/admin/language/index.blade.php ENDPATH**/ ?>