⚝
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 :
1d3fe14948d4e0eeba1d6d442d13c8d4bfc9beb4.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"> <form id="basicform" method="post" action="<?php echo e(route('admin.portfoliocategory.store')); ?>"> <?php echo csrf_field(); ?> <div class="custom-form"> <div class="form-group"> <label for="name"><?php echo e(__('Name')); ?></label> <input type="text" name="name" class="form-control" id="name" placeholder="Category Name"> </div> <div class="form-group"> <label for="p_id"><?php echo e(__('Parent Category')); ?></label> <select class="custom-select mr-sm-2" name="p_id" id="p_id inlineFormCustomSelect"> <option value="">None</option> <?php echo ConfigCategory(8) ?> </select> </div> <div class="form-group mt-20"> <button class="btn col-12" type="submit"><?php echo e(__('Add New Category')); ?></button> </div> </div> </form> </div> </div> </div> <div class="col-lg-8" > <div class="card"> <div class="card-body"> <?php if (!empty($req)) { $categeories=App\Category::where('name','LIKE','%'.$req.'%' )->where('type',8)->latest()->paginate(15); } else{ $categeories=App\Category::where('type',8)->latest()->paginate(15); } ?> <div class="table-responsive"> <div class="card-action-filter"> <form id="basicform1" method="post" action="<?php echo e(route('admin.portfoliocategorys.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 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> <table class="table 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(__('Slug')); ?></th> <th class="am-title"><?php echo e(__('count')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $categeories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <th> <div class="custom-control custom-checkbox"> <input type="checkbox" name="ids[]" class="custom-control-input" id="customCheck<?php echo e($category->id); ?>" value="<?php echo e($category->id); ?>"> <label class="custom-control-label" for="customCheck<?php echo e($category->id); ?>"></label> </div> </th> <td> <?php echo e($category->name); ?> <div class="hover"> <a href="<?php echo e(route('admin.portfoliocategory.edit',$category->id)); ?>"><?php echo e(__('Edit')); ?></a> </div> </td> <td><?php echo e($category->slug); ?></td> <td><?php echo e(\App\PostCategory::where('category_id',$category->id)->count()); ?></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(__('Slug')); ?></th> <th class="am-categories"><?php echo e(__('Count')); ?></th> </tr> </tfoot> </table> <div style="float: right"><?php echo e($categeories->links()); ?></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 type="text/javascript"> "use strict"; function success(res){ location.reload(); } </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\am-content\Plugins/portfolio/views/portfolio/category/index.blade.php ENDPATH**/ ?>