⚝
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 :
05d1d2ed04d2488daf6b91fef2d00fc95e793011.php
<?php $__env->startSection('style'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row" id="category_body"> <div class="col-lg-4"> <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.menu.store')); ?>"> <?php echo csrf_field(); ?> <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" placeholder="Menu 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 echo e($row['position']); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <option value="header"><?php echo e(__('Header')); ?></option> <option value="footer"><?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 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 echo e(__('Active')); ?></option> <option value="0" selected=""><?php echo e(__('Draft')); ?></option> </select> </div> <div class="form-group mt-20"> <button class="btn col-12" type="submit"><?php echo e(__('Add New Menu')); ?></button> </div> </div> </form> </div> </div> </div> <div class="col-lg-8" > <div class="card"> <div class="card-body"> <div class="table-responsive"> <div class="card-action-filter"> <form id="basicform1" method="post" action="<?php echo e(route('admin.menues.destroy')); ?>"> <?php echo csrf_field(); ?> <div class="card-filter-content"> <div class="single-filter"> <div class="form-group"> <select class="form-control" name="method"> <option ><?php echo e(__('Select Actions')); ?></option> <option value="delete"><?php echo e(__('Delete Permanently')); ?></option> </select> </div> </div> <div class="single-filter"> <button type="submit" class="btn"><?php echo e(__('Apply')); ?></button> </div> </div> </div> <div id="menuArea"> <table class="table text-center category"> <thead> <tr> <th class="am-select"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input checkAll" id="checkAll"> <label class="custom-control-label" for="checkAll"></label> </div> </th> <th class="am-title"><?php echo e(__('Title')); ?></th> <th class="am-title"><?php echo e(__('Postion')); ?></th> <th class="am-title"><?php echo e(__('Language')); ?></th> <th class="am-title"><?php echo e(__('Status')); ?></th> <th class="am-title"><?php echo e(__('Customize')); ?></th> <th class="am-title"><?php echo e(__('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = App\Menu::latest()->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td> <div class="custom-control custom-checkbox"> <input type="checkbox" name="ids[]" class="custom-control-input" id="customCheck<?php echo e($menu->id); ?>" value="<?php echo e($menu->id); ?>"> <label class="custom-control-label" for="customCheck<?php echo e($menu->id); ?>"></label> </div> </td> <td><?php echo e($menu->name); ?> </td> <td><?php echo e($menu->position); ?></td> <td><?php echo e($menu->lang); ?></td> <td><?php if($menu->status==1): ?> <p class="badge badge-success"><?php echo e(__('Active Menu')); ?></p> <?php else: ?> <p class="badge badge-danger"><?php echo e(__('Draft Menu')); ?></p> <?php endif; ?></td> <td><a href="<?php echo e(route('admin.menu.show',$menu->id)); ?>"><i class="fas fa-arrows-alt"></i> <?php echo e(__('Customize')); ?></a></td> <td><a class="text-success" href="<?php echo e(route('admin.menu.edit',$menu->id)); ?>" ><i class="far fa-edit"></i></a></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </form> <tfoot> <tr> <th class="am-select"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input checkAll" id="checkAll"> <label class="custom-control-label" for="checkAll"></label> </div> </th> <th class="am-title"><?php echo e(__('Title')); ?></th> <th class="am-author"><?php echo e(__('Postion')); ?></th> <th class="am-title"><?php echo e(__('Language')); ?></th> <th class="am-author"><?php echo e(__('Status')); ?></th> <th class="am-title"><?php echo e(__('Customize')); ?></th> <th class="am-author"><?php echo e(__('Action')); ?></th> </tr> </tfoot> </table> </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){ $('#menuArea').load(' #menuArea'); Sweet('success','Menu Creaed') } $(".checkAll").click(function(){ $('input:checkbox').not(this).prop('checked', this.checked); }); </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/menu/create.blade.php ENDPATH**/ ?>