One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
Edit File Name :
0d38b632c46f01cd187eab01e7ccf479b50d866a.php
<?php if(!empty($data->language) && $data->language->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form input, form textarea, form select { direction: rtl; } .nicEdit-main { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title">Edit Subcategory</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="#">Shop Management</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">Manage Items</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">Edit Subcategory</a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="card-title d-inline-block">Edit Subcategory</div> <a class="btn btn-info btn-sm float-right d-inline-block" href="<?php echo e(route('user.itemsubcategory.index') . '?language=' . request()->input('language')); ?>"> <span class="btn-label"> <i class="fas fa-backward" style="font-size: 12px;"></i> </span> Back </a> </div> <div class="card-body pt-5 pb-5"> <div class="row"> <div class="col-lg-6 offset-lg-3"> <form id="ajaxForm" action="<?php echo e(route('user.itemsubcategory.update')); ?>" method="POST"> <?php echo csrf_field(); ?> <input type="hidden" name="user_language_id" value="<?php echo e($data->language_id); ?>"> <div class="form-group"> <label for=""><?php echo e(__('Category')); ?> **</label> <select id="language" name="category_id" class="form-control"> <option value="" selected disabled><?php echo e(__('Select a category')); ?></option> <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php echo e($data->category_id == $category->id ? 'selected' : ''); ?> value="<?php echo e($category->id); ?>"><?php echo e($category->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <p id="errcategory_id" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="">Name **</label> <input type="text" class="form-control" name="name" value="<?php echo e($data->name); ?>" placeholder="Enter name"> <p id="errname" class="mb-0 text-danger em"></p> </div> <input type="hidden" name="subcategory_id" value="<?php echo e($data->id); ?>"> <div class="form-group"> <label for="">Status **</label> <select class="form-control ltr" name="status"> <option value="" selected disabled>Select a status</option> <option value="1" <?php echo e($data->status == 1 ? 'selected' : ''); ?>>Active</option> <option value="0" <?php echo e($data->status == 0 ? 'selected' : ''); ?>>Deactive</option> </select> <p id="errstatus" class="mb-0 text-danger em"></p> </div> </form> </div> </div> </div> <div class="card-footer"> <div class="form"> <div class="form-group from-show-notify row"> <div class="col-12 text-center"> <button type="submit" id="submitBtn" class="btn btn-success">Update</button> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/item/subcategory/edit.blade.php ENDPATH**/ ?>
Save