⚝
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 :
d1df4eb384726a7cf460dab338945e959b4c62b7.php
<?php $__env->startSection('style'); ?> <link rel="stylesheet" href="<?php echo e(asset('admin/css/summernote.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('admin/css/bootstrap-tagsinput.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-9"> <div class="card"> <div class="card-body"> <div class="alert alert-danger none errorarea"> <ul id="errors"> </ul> </div> <h4><?php echo e(__('Add New Product')); ?></h4> <form method="post" id="basicform" action="<?php echo e(route('admin.ecommerce.product.store')); ?>"> <?php echo csrf_field(); ?> <div class="custom-form pt-20"> <div class="form-group"> <label for="name"><?php echo e(__('Product Title')); ?><span class="text-danger"><b>*</b></span></label> <input type="text" placeholder="Product Title" name="title" class="form-control" id="name"> </div> <div class="form-group"> <label for="name"><?php echo e(__('Previous Price')); ?></label> <input type="number" placeholder="Previous Price" class="form-control" name="p_price" id="p_price" > </div> <div class="form-group"> <label ><?php echo e(__('Selling Price')); ?><span class="text-danger"><b>*</b></span></label> <input type="number" placeholder="Selling Price" class="form-control" name="s_price" required=""> </div> <div class="form-group"> <label ><?php echo e(__('Tax')); ?></label> <input type="text" placeholder="Enter Tax Without Percent Sign" class="form-control" name="tax" > </div> <div class="form-group"> <label ><?php echo e(__('Quantity')); ?></label> <input type="number" placeholder="Enter Quantity" class="form-control" name="qty" > </div> <div class="form-group"> <label ><?php echo e(__('SKU')); ?></label> <input type="text" placeholder="Enter SKU" class="form-control" name="sku" > </div> <div class="form-group"> <label >Stock Status</label> <select class="form-control" name="stock_status"> <option value="In stock">In stock</option> <option value="Available on backorder">Available on backorder</option> <option value="Out of stock">Out of stock</option> </select> </div> <div class="form-group"> <label for="excerpt"><?php echo e(__('Excerpt')); ?></label> <textarea name="excerpt" class="form-control" cols="30" rows="3" placeholder="short description" id="excerpt" maxlength="300" ></textarea> </div> <div class="form-group"> <label for="content"><?php echo e(__('Product Content')); ?></label> <textarea name="content" class="form-control" cols="30" rows="10" placeholder="Enter Content" id="content" name="content"></textarea> </div> <div class="form-group"> <label for="information"><?php echo e(__('Product Information')); ?></label> <textarea name="information" class="form-control" cols="10" rows="5" placeholder="Enter Information" id="information" ></textarea> </div> </div> </div> </div> </div> <div class="col-lg-3"> <div class="single-area"> <div class="card"> <div class="card-body"> <h5><?php echo e(__('Publish')); ?></h5> <hr> <div class="btn-publish"> <button type="submit" class="btn btn-save"><i class="fa fa-save"></i> <?php echo e(__('Save')); ?></button> </div> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Status')); ?></h5> <hr> <select class="custom-select mr-sm-2" id="inlineFormCustomSelect" name="status"> <option value="1"><?php echo e(__('Published')); ?></option> <option value="2"><?php echo e(__('Draft')); ?></option> </select> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Categories')); ?></h5> <hr> <div class="scroll-bar-wrap"> <div class="category-list"> <?php echo AdminCategory(2) ?> <div class="cover-bar"></div> </div> </div> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Image')); ?></h5> <hr> <a href="#" data-toggle="modal" data-target=".media-single" class="single-modal"> <img class="img-fluid" id="preview" src="<?php echo e(asset('admin/img/img/placeholder.png')); ?>" alt=""></a> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Gallery')); ?></h5> <hr> <a href="#" data-toggle="modal" data-target=".media-multiple" class="multi-modal"> <img class="img-fluid multi-img" id="preview" src="<?php echo e(asset('admin/img/img/placeholder.png')); ?>" alt=""> <div class="gallary-img"> </div> </a> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Tags')); ?></h5> <hr> <input type="text" name="tag" id="tags" class="form-control"> </div> </div> </div> <div class="single-area"> <div class="card sub"> <div class="card-body"> <h5><?php echo e(__('Comment Status')); ?></h5> <hr> <select class="form-control" name="comment_status"> <option value="1">Allowed Comment</option> <option value="0">Comment Not Allow</option> <option value="2">Disqus Comment</option> <option value="3">Facebook Comment</option> <option value="4">Custom Comment</option> </select> </div> </div> </div> </div> </div> <input type="hidden" name="type" value="0"> <input type="hidden" name="post_type" value="ecommerce"> <input type="hidden" id="preview_input" name="preview"> <input type="hidden" id="gallary_input" name="gallery"> </form> <?php echo $__env->make('admin.media.mediamodal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('admin.media.multiplemediamodel', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(asset('admin/js/summernote.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/custom-summernote.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/bootstrap-tagsinput.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/form.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/media.js')); ?>"></script> <script> (function ($) { "use strict"; $('#tags').tagsinput(); $('.use').on('click',function(){ $('#preview').attr('src',myradiovalue); $('#preview_input').val(myradiovalue); }); //for multiple $('.use1').on('click',function(){ $('.multi-img').hide(); $('.gallary-src').remove(); $.each(mycheckboxvalue, function(index, value){ $(".gallary-img").append('<img class="gallary-src" src="' + value + '" />'); }); $('#gallary_input').val(mycheckboxvalue.toString()) }); })(jQuery); //response will assign this function 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 /home/tech/staging.techlup.co.ke/files/script/am-content/Plugins/ecommerce/views/admin/product/create.blade.php ENDPATH**/ ?>