⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
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 :
93f606bdd5929c05c81e0a88757208a9bd3e5cc8.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"> <h4><?php echo e(__('Add new Service')); ?></h4> <form method="post" action="<?php echo e(route('admin.service.service.store')); ?>" id="basicform"> <?php echo csrf_field(); ?> <div class="custom-form pt-20"> <div class="form-group"> <label for="title"><?php echo e(__('Service Title')); ?><span class="text-danger"><b>*</b></span></label> <input type="text" placeholder="Service Title" class="form-control" name="title" id="title" required=""> </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(__('Service Page 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 >FAQ's</label> <table class="table table-bordered" id="dynamic_field"> <tr> <td><input type="text" name="question[]" placeholder="Enter Question Name" class="form-control name_list" /></td> </tr> <tr> <td><textarea class="form-control" placeholder="Enter Answer" name="answer[]"></textarea></td> </tr> </table> <button type="button" name="add" id="add" class="btn btn-success col-12">Add More FAQ</button> </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 selected value="1"><?php echo e(__('Published')); ?></option> <option value="2"><?php echo e(__('Draft')); ?></option> </select> </div> </div> </div> <?php echo adminLang(); ?> <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(3) ?> <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" onclick="SetId('preview')"> <img class="img-fluid 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(__('Banner')); ?></h5> <hr> <a href="#" data-toggle="modal" data-target=".media-single" class="single-modal" onclick="SetId('banner')"> <img class="img-fluid banner" src="<?php echo e(asset('admin/img/img/placeholder.png')); ?>" alt=""></a> </div> </div> </div> </div> <input type="hidden" name="type" value="2"> <input type="hidden" name="post_type" value="service"> <input type="hidden" class="preview" name="preview"> <input type="hidden" class="banner" name="gallery"> </form> <?php echo $__env->make('admin.media.mediamodal', \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/form.js')); ?>"></script> <script src="<?php echo e(asset('admin/js/media.js')); ?>"></script> <script> var getid=''; (function ($) { "use strict"; var i=1; $('#add').click(function(){ i++; $('#dynamic_field').append('<tr class="row'+i+'"><td>Question No '+ i +'</td></tr><tr class="row'+i+'"><td><input type="text" name="question[]" placeholder="Enter Question" class="form-control name_list" /></td></tr><tr class="row'+i+'"><td> <textarea class="form-control" placeholder="Enter Answer" name="answer[]"></textarea> </td></tr><tr class="row'+i+'"><td> <button type="button" name="remove" id="'+i+'" class="btn btn_remove col-12">Remove</button> </td></tr>'); }); $(document).on('click', '.btn_remove', function(){ var button_id = $(this).attr("id"); $('.row'+button_id+'').remove(); }); $('.use').on('click',function(){ $('.'+getid).attr('src',myradiovalue); $('.'+getid).val(myradiovalue); }); })(jQuery); //success response will assign here function success(res){ location.reload() } function SetId(id){ getid=id; } </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/services/views/admin/services/service/create.blade.php ENDPATH**/ ?>