[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: b7cca1f4110cf549583bd6815bf329b3.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="<?php echo e($alert_col); ?>"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Add Payout Method')); ?></span> </div> <div class="card-body"> <form method="post" class="validate" autocomplete="off" action="<?php echo e(route('affiliate_payout_methods.store')); ?>" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Name')); ?></label> <input type="text" class="form-control" name="name" value="<?php echo e(old('name')); ?>" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Status')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('status', 1)); ?>" name="status" required> <option value="1"><?php echo e(_lang('Active')); ?></option> <option value="0"><?php echo e(_lang('Disabled')); ?></option> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Image')); ?></label> <input type="file" class="form-control dropify" name="image" data-max-file-size="2M" data-allowed-file-extensions="png jpg jpeg"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Fixed Charge')); ?></label> <div class="input-group"> <div class="input-group-prepend"> <span class="input-group-text"><?php echo e(currency()); ?></span> </div> <input type="text" class="form-control float-field" name="fixed_charge" value="<?php echo e(old('fixed_charge', 0)); ?>"> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Charge In Percentage')); ?></label> <div class="input-group"> <input type="text" class="form-control float-field no-msg" name="charge_in_percentage" value="<?php echo e(old('charge_in_percentage', 0)); ?>"> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Instructions')); ?></label> <textarea class="form-control instructions" name="instructions"><?php echo e(old('instructions')); ?></textarea> </div> </div> <div class="col-md-12 mt-3"> <hr> <div class="d-flex align-items-center justify-content-between"> <h5 class="mb-0"><b><?php echo e(_lang('Payout Details')); ?></b></h5> <button type="button" id="add-new-field" class="btn btn-outline-primary btn-xs"><i class="fas fa-plus mr-1"></i><?php echo e(_lang('Add New Field')); ?></button> </div> <hr> <div class="row"> <div class="col-md-12 mt-4"> <table class="table table-bordered" id="form-fields"> <thead class="bg-light"> <th class="text-dark"><?php echo e(_lang('Field Name')); ?></th> <th class="text-dark"><?php echo e(_lang('Field Type')); ?></th> <th class="text-dark"><?php echo e(_lang('Validation')); ?></th> <th class="text-dark"><?php echo e(_lang('File Max Size (MB)')); ?></th> <th class="text-center text-dark"><?php echo e(_lang('Action')); ?></th> </thead> <tbody> <tr class="row-data"> <td><input type="text" name="field_name[]" class="form-control" placeholder="Field Name" required></td> <td> <select name="field_type[]" class="form-select form-control" required> <option value="file">File (PNG,JPG,PDF)</option> <option value="text">Textbox</option> <option value="number">Number</option> <option value="textarea">Textarea</option> </select> </td> <td> <select name="validation[]" class="form-control" required> <option value="required">Required</option> <option value="nullable">No Required</option> </select> </td> <td><input type="number" name="max_size[]" class="form-control" placeholder="2" value="2" required></td> <td class="text-center"><button type="button" class="btn btn-danger btn-xs btn-remove-row"><i class="far fa-trash-alt"></i></button></td> </tr> </tbody> </table> </div> </div> </div> <div class="col-md-12 mt-4"> <div class="form-group"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-1"></i> <?php echo e(_lang('Save Changes')); ?></button> </div> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js-script'); ?> <script> (function ($) { "use strict"; $(document).on('click', '#add-new-field', function () { var rowData = `<tr class="row-data"> <td><input type="text" name="field_name[]" class="form-control" placeholder="Field Name" required></td> <td> <select name="field_type[]" class="form-control" required> <option value="file">File (PNG,JPG,PDF)</option> <option value="text">Textbox</option> <option value="number">Number</option> <option value="textarea">Textarea</option> </select> </td> <td> <select name="validation[]" class="form-control" required> <option value="required">Required</option> <option value="nullable">No Required</option> </select> </td> <td><input type="number" name="max_size[]" class="form-control" placeholder="2" value="2" required></td> <td class="text-center"><button type="button" class="btn btn-danger btn-xs btn-remove-row"><i class="far fa-trash-alt"></i></button></td> </tr>`; $('#form-fields tbody').append(rowData); }); $(document).on('click', '.btn-remove-row', function () { $(this).closest('.row-data').remove(); }); $('.instructions').summernote({ tabsize: 4, height: 250, toolbar: [ ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['height', ['height']], ['insert', ['link', 'table']], ] }); })(jQuery); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/public_html/resources/views/backend/admin/affiliate/payout_methods/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.79 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