⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.26
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 :
8879e99c9e2906d02b01b3764dbb7e47086b4bb5.php
<?php $__env->startSection('content'); ?> <div class="card" > <div class="card-body"> <div class="alert alert-danger none"> <ul id="errors"> </ul> </div> <div class="alert alert-success none"> <ul id="success"> </ul> </div> <form id="basicform" method="post" action="<?php echo e(route('admin.filesystem.store')); ?>"> <?php echo csrf_field(); ?> <div class="form-group "> <label for="compress"><?php echo e(__('Auto Compress Lavel For Upload Image')); ?> </label> <select class="custom-select mr-sm-2" id="compress" name="compress"> <option value="1" <?php if($info->compress==1): ?> selected="" <?php endif; ?>><?php echo e(__('10%')); ?></option> <option value="2" <?php if($info->compress==2): ?> selected="" <?php endif; ?>><?php echo e(__('20%')); ?></option> <option value="3" <?php if($info->compress==3): ?> selected="" <?php endif; ?>><?php echo e(__('30%')); ?></option> <option value="4" <?php if($info->compress==4): ?> selected="" <?php endif; ?>><?php echo e(__('40%')); ?></option> <option value="5" <?php if($info->compress==5): ?> selected="" <?php endif; ?>><?php echo e(__('50%')); ?></option> <option value="6" <?php if($info->compress==6): ?> selected="" <?php endif; ?>><?php echo e(__('60%')); ?></option> <option value="7" <?php if($info->compress==7): ?> selected="" <?php endif; ?>><?php echo e(__('70%')); ?></option> <option value="8" <?php if($info->compress==8): ?> selected="" <?php endif; ?>><?php echo e(__('80%')); ?></option> <option value="9" <?php if($info->compress==9): ?> selected="" <?php endif; ?>><?php echo e(__('90%')); ?></option> </select> </div> <div class="custom-form"> <div class="form-group"> <label for="method"><?php echo e(__('Select File System')); ?></label> <select class="custom-select mr-sm-2" id="method" name="method"> <option value="local" <?php if($info->system_type=='local'): ?> selected="" <?php endif; ?>><?php echo e(__('System Directory')); ?></option> <option value="do" <?php if($info->system_type=='do'): ?> selected="" <?php endif; ?>><?php echo e(__('Digital Ocean Droplet')); ?></option> </select> </div> <div id="cdn" class="form-group <?php if($info->system_type =='local'): ?> none <?php endif; ?>"> <label for="url"><?php echo e(__('CDN Link')); ?></label> <input type="text" name="url" id="url" placeholder="https://cdn.example.com" class="form-control" value="<?php echo e($info->system_url); ?>"> </div> <div class="form-group"> <button type="submit" class="btn col-12"><?php echo e(__('Update')); ?></button> </div> </div> </form> </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"; //response will assign this function function success(res){ $('.alert-danger').hide(); Sweet('success','File System Updated') } function errosresponse(xhr){ $('.alert-success').hide(); $('.alert-danger').show(); $("#errors").html("<li class='text-danger'>"+xhr.responseJSON.errors.url+"</li>") } $(document).ready(function(){ $('#method').on('change',function(){ let val= $('#method').val(); if (val=='do') { $('#cdn').show(); } else{ $('#cdn').hide(); } }) }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\multipurpose_monkey\script\resources\views/admin/filesystem/index.blade.php ENDPATH**/ ?>