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
/
View File Name :
a2d804bc62db1c988d459b16f39c264b056080f3.php
<?php use App\Models\Language; $selLang = Language::where('code', request()->input('language'))->first(); ?> <?php if(!empty($selLang->language) && $selLang->language->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form input, form textarea, form select { direction: rtl; } form .note-editor.note-frame .note-editing-area .note-editable { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Edit package')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('admin.dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Packages')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Edit')); ?></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"><?php echo e(__('Edit package')); ?></div> <a class="btn btn-info btn-sm float-right d-inline-block" href="<?php echo e(route('admin.package.index')); ?>"> <span class="btn-label"> <i class="fas fa-backward"></i> </span> <?php echo e(__('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" class="" action="<?php echo e(route('admin.package.update')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="package_id" value="<?php echo e($package->id); ?>"> <div class="form-group"> <label for=""><?php echo e(__('Icon')); ?> **</label> <div class="btn-group d-block"> <button type="button" class="btn btn-primary iconpicker-component"><i class="<?php echo e($package->icon); ?>"></i></button> <button type="button" class="icp icp-dd btn btn-primary dropdown-toggle" data-selected="fa-car" data-toggle="dropdown"> </button> <div class="dropdown-menu"></div> </div> <input id="inputIcon" type="hidden" name="icon" value="<?php echo e($package->icon); ?>"> <p id="erricon" class="mb-0 text-danger em"></p> <div class="mt-2"> <small><?php echo e(__('NB: click on the dropdown sign to select an icon.')); ?></small> </div> </div> <div class="form-group"> <label for="title"><?php echo e(__('Package title')); ?>*</label> <input id="title" type="text" class="form-control" name="title" value="<?php echo e($package->title); ?>" placeholder="<?php echo e(__('Enter name')); ?>"> <p id="errtitle" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="price"><?php echo e(__('Price')); ?> (<?php echo e($bex->base_currency_text); ?>)*</label> <input id="price" type="number" class="form-control" name="price" placeholder="<?php echo e(__('Enter Package price')); ?>" value="<?php echo e($package->price); ?>"> <p class="text-warning"> <small><?php echo e(__('If price is 0 , than it will appear as free')); ?></small> </p> <p id="errprice" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="plan_term"><?php echo e(__('Package term')); ?>*</label> <select id="plan_term" name="term" class="form-control"> <option value="" selected disabled><?php echo e(__('Select a Term')); ?></option> <option value="monthly" <?php echo e($package->term == 'monthly' ? 'selected' : ''); ?>> <?php echo e(__('monthly')); ?></option> <option value="yearly" <?php echo e($package->term == 'yearly' ? 'selected' : ''); ?>> <?php echo e(__('yearly')); ?></option> <option value="lifetime" <?php echo e($package->term == 'lifetime' ? 'selected' : ''); ?>> <?php echo e('lifetime'); ?></option> </select> <p id="errterm" class="mb-0 text-danger em"></p> </div> <?php $permissions = $package->features; if (!empty($package->features)) { $permissions = json_decode($permissions, true); } ?> <div class="form-group"> <label class="form-label"><?php echo e(__('Package Features')); ?></label> <div class="selectgroup selectgroup-pills"> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Custom Domain" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Custom Domain', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Custom Domain')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Subdomain" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Subdomain', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Subdomain')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="vCard" class="selectgroup-input" <?php if(is_array($permissions) && in_array('vCard', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('vCard')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="QR Builder" class="selectgroup-input" <?php if(is_array($permissions) && in_array('QR Builder', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('QR Builder')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Follow/Unfollow" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Follow/Unfollow', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Follow/Unfollow')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Request a Quote" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Request a Quote', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Request a Quote')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Blog" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Blog', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Blog')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Portfolio" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Portfolio', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Portfolio')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Custom Page" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Custom Page', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Custom Page')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Counter Information" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Counter Information', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Counter Information')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Skill" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Skill', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Skill')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Service" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Service', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Service')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Testimonial" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Testimonial', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Testimonial')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Career" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Career', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Career')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Team" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Team', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Team')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Plugins" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Plugins', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Plugins')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Ecommerce" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Ecommerce', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Ecommerce')); ?></span> </label> <label class="selectgroup-item"> <input type="checkbox" name="features[]" value="Hotel Booking" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Hotel Booking', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Hotel Booking')); ?></span> </label> <label class="selectgroup-item"> <input id="CourseManagement" type="checkbox" name="features[]" value="Course Management" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Course Management', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Course Management')); ?></span> </label> <label class="selectgroup-item"> <input id="DonationManagement" type="checkbox" name="features[]" value="Donation Management" class="selectgroup-input" <?php if(is_array($permissions) && in_array('Donation Management', $permissions)): ?> checked <?php endif; ?>> <span class="selectgroup-button"><?php echo e(__('Donation Management')); ?></span> </label> </div> </div> <div class="form-group" id="max_video_size"> <label for="products "><?php echo e(__('Maximum Size of Single Video')); ?> (MB) *</label> <input id="products " type="number" class="form-control" name="video_size_limit" placeholder="<?php echo e(__('Enter max video size')); ?>" value="<?php echo e($package->video_size_limit); ?>"> <p class="text-warning"> <small><?php echo e(__('Enter 999999 , than it will appear as unlimited')); ?></small> </p> <p id="errvideo_size_limit" class="mb-0 text-danger em"></p> </div> <div class="form-group" id="max_file_size"> <label for="products1"><?php echo e(__('Maximum Size of Single File')); ?> (MB) *</label> <input id="products1" type="number" class="form-control" name="file_size_limit" placeholder="<?php echo e(__('Enter max file size')); ?>" value="<?php echo e($package->file_size_limit); ?>"> <p class="text-warning"> <small><?php echo e(__('Enter 999999 , than it will appear as unlimited')); ?></small> </p> <p id="errfile_size_limit" class="mb-0 text-danger em"></p> </div> <div class="form-group <?php if(is_array($permissions) && in_array('vCard', $permissions)): ?> <?php else: ?> vcrd-none <?php endif; ?> v-card-box "> <label for=""><?php echo e(__('Number of vcards')); ?> * </label> <input type="number" class="form-control" name="number_of_vcards" value="<?php echo e($package->number_of_vcards); ?>"> <p id="errnumber_of_vcards" class="mb-0 text-danger em"></p> <p class="text-warning">Enter 999999 , then it will appear as unlimited</p> </div> <div class="form-group"> <label class="form-label"><?php echo e(__('Featured')); ?> *</label> <div class="selectgroup w-100"> <label class="selectgroup-item"> <input type="radio" name="featured" value="1" class="selectgroup-input" <?php echo e($package->featured == 1 ? 'checked' : ''); ?>> <span class="selectgroup-button"><?php echo e(__('Yes')); ?></span> </label> <label class="selectgroup-item"> <input type="radio" name="featured" value="0" class="selectgroup-input" <?php echo e($package->featured == 0 ? 'checked' : ''); ?>> <span class="selectgroup-button"><?php echo e(__('No')); ?></span> </label> </div> </div> <div class="form-group"> <label class="form-label"><?php echo e(__('Trial')); ?> *</label> <div class="selectgroup w-100"> <label class="selectgroup-item"> <input type="radio" name="is_trial" value="1" class="selectgroup-input" <?php echo e($package->is_trial == 1 ? 'checked' : ''); ?>> <span class="selectgroup-button"><?php echo e(__('Yes')); ?></span> </label> <label class="selectgroup-item"> <input type="radio" name="is_trial" value="0" class="selectgroup-input" <?php echo e($package->is_trial == 0 ? 'checked' : ''); ?>> <span class="selectgroup-button"><?php echo e(__('No')); ?></span> </label> </div> </div> <?php if($package->is_trial == 1): ?> <div class="form-group" id="trial_day" style="display: block"> <label for="trial_days_2"><?php echo e(__('Trial days')); ?>*</label> <input id="trial_days_2" type="number" class="form-control" name="trial_days" placeholder="<?php echo e(__('Enter trial days')); ?>" value="<?php echo e($package->trial_days); ?>"> </div> <?php else: ?> <div class="form-group" id="trial_day" style="display: none"> <label for="trial_days_1"><?php echo e(__('Trial days')); ?>*</label> <input id="trial_days_1" type="number" class="form-control" name="trial_days" placeholder="<?php echo e(__('Enter trial days')); ?>" value="<?php echo e($package->trial_days); ?>"> </div> <?php endif; ?> <p id="errtrial_days" class="mb-0 text-danger em"></p> <div class="form-group"> <label for="status"><?php echo e(__('Status')); ?>*</label> <select id="status" class="form-control ltr" name="status"> <option value="" selected disabled><?php echo e(__('Select a status')); ?></option> <option value="1" <?php echo e($package->status == '1' ? 'selected' : ''); ?>> <?php echo e(__('Active')); ?></option> <option value="0" <?php echo e($package->status == '0' ? 'selected' : ''); ?>> <?php echo e(__('Deactive')); ?></option> </select> <p id="errstatus" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="meta_keywords"><?php echo e(__('Meta Keywords')); ?></label> <input id="meta_keywords" type="text" class="form-control" name="meta_keywords" value="<?php echo e($package->meta_keywords); ?>" data-role="tagsinput"> </div> <div class="form-group"> <label for="meta_description"><?php echo e(__('Meta Description')); ?></label> <textarea id="meta_description" type="text" class="form-control" name="meta_description" rows="5"><?php echo e($package->meta_description); ?></textarea> </div> <div class="form-group "> <label for=""><?php echo e(__('Serial Number')); ?> * </label> <input type="number" class="form-control" name="serial_number" value="<?php echo e($package->serial_number); ?>"> <p id="errserial_number" class="mb-0 text-danger em"></p> <p class="text-warning">The higher the serial number is, the later the feature will be shown. </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"><?php echo e(__('Update')); ?></button> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/admin/js/packages.js')); ?>"></script> <script src="<?php echo e(asset('assets/admin/js/edit-package.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/admin/packages/edit.blade.php ENDPATH**/ ?>