⚝
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 :
f715df608d386e8c50852415072a5a4fdc232c81.php
<?php $__env->startSection('style'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <h4 class="mb-20"><?php echo e(__('Edit Menu')); ?></h4> <div class="row"> <div class="col-lg-12"> <div class="alert alert-danger none errorarea"> <ul id="errors"> </ul> </div> <form method="post" id="basicform" action="<?php echo e(route('admin.menu.update',$info->id)); ?>"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="custom-form"> <div class="form-group"> <label for="name"><?php echo e(__('Menu Name')); ?></label> <input type="text" name="name" class="form-control" id="name" value="<?php echo e($info->name); ?>"> </div> <div class="form-group"> <label for="position"><?php echo e(__('Menu Position')); ?></label> <select class="custom-select mr-sm-2" id="position" name="position"> <?php if(!empty($positions)): ?> <?php $__currentLoopData = $positions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($row['position']); ?>" <?php if($info->position == $row['position']): ?> selected="" <?php endif; ?>><?php echo e($row['position']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <option value="header" <?php if($info->position=='header'): ?> selected="" <?php endif; ?>><?php echo e(__('Header')); ?></option> <option value="footer" <?php if($info->position=='footer'): ?> selected="" <?php endif; ?>><?php echo e(__('Footer')); ?></option> <?php endif; ?> </select> </div> <div class="form-group"> <label for="lang"><?php echo e(__('Select Language')); ?></label> <select class="custom-select mr-sm-2" id="lang" name="lang"> <?php $__currentLoopData = $langs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($row); ?>" <?php if($info->lang== $row): ?> selected="" <?php endif; ?>><?php echo e($row); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label for="position"><?php echo e(__('Menu Status')); ?></label> <select class="custom-select mr-sm-2" id="status" name="status"> <option value="1" <?php if($info->status==1): ?> selected="" <?php endif; ?>><?php echo e(__('Active')); ?></option> <option value="0" <?php if($info->status==0): ?> selected="" <?php endif; ?>><?php echo e(__('Draft')); ?></option> </select> </div> <button class="btn col-12 mt-10"><?php echo e(__('Update')); ?></button> </div> </form> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(asset('admin/js/form.js')); ?>"></script> <script> "use strict"; //success response will assign this function function success(res){ $('.alert-danger').hide(); } function errosresponse(xhr){ $('.alert-success').hide(); $('.alert-danger').show(); } </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/public_html/script/resources/views/admin/menu/edit.blade.php ENDPATH**/ ?>