Server IP : 66.29.132.124 / Your IP : 18.116.28.79 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/cwd/storage/framework/views/ |
Upload File : |
<div class="form-group"> <label> <?php echo e(__('Name')); ?></label> <input type="text" value="<?php echo e($translation->name); ?>" placeholder="Category name" name="name" class="form-control"> </div> <?php if(is_default_lang()): ?> <div class="form-group"> <label> <?php echo e(__('Parent')); ?></label> <select name="parent_id" class="form-control"> <option value=""> <?php echo e(__('-- Please Select --')); ?></option> <?php $traverse = function ($categories, $prefix = '') use (&$traverse, $row) { foreach ($categories as $category) { if ($category->id == $row->id) { continue; } $selected = ''; if ($row->parent_id == $category->id) $selected = 'selected'; printf("<option value='%s' %s>%s</option>", $category->id, $selected, $prefix . ' ' . $category->name); $traverse($category->children, $prefix . '-'); } }; $traverse($parents); ?> </select> </div> <div class="form-group"> <label> <?php echo e(__('Slug')); ?></label> <input type="text" value="<?php echo e($row->slug); ?>" placeholder="Category slug" name="slug" class="form-control"> </div> <?php endif; ?> <?php /**PATH /home/wavevlvu/book24.ng/modules/News/Views/admin/category/form.blade.php ENDPATH**/ ?>