Viewing file: 09fe2874e865c558a2c4e4df00e37543.php (12.45 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.my_goal')); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <link href="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.css" rel="stylesheet"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-10 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('admin.my_goal')); ?> </h2> </div> <form method="post" role="form" id="welcomesectionForm" action="<?php echo e(route('admin.theme.my.goal.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php $my_goal =json_decode(get_settings('my_goal')); ?> <div class="card-body"> <div class="form-group"> <label for="title"><?php echo e(trans('Title')); ?></label> <input value="<?php echo e(isset($my_goal->title)?$my_goal->title:''); ?>" type="text" name="title" class="form-control" id="title" placeholder="<?php echo e(trans('Title')); ?>"> </div> <div class="form-group"> <label for="description"><?php echo app('translator')->get('admin.description'); ?></label> <textarea name="description" id="description" class="form-control description" placeholder="<?php echo e(trans('admin.description')); ?>"><?php echo e(isset($my_goal->description)?$my_goal->description:''); ?></textarea> </div>
<div class="all-section mt-5"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="section-header"> <h3> <?php echo e(trans('admin.section_one')); ?>
</h3> </div> <div class="section-body mt-3"> <div class="form-group"> <label for="section_img_one"><?php echo e(trans('admin.image')); ?></label> <input type="file" name="section_img_one" class="form-control" id="section_img_one" placeholder="<?php echo e(trans('admin.image')); ?>"> <input type="hidden" name="pre_image" value="<?php echo e(isset($my_goal)?$my_goal->imageone:''); ?>"> </div> <div class="form-group"> <label for="section_title_one"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($my_goal->section_title_one)?$my_goal->section_title_one:''); ?>" type="text" name="section_title_one" class="form-control" id="section_title_one" placeholder="<?php echo e(trans('admin.title')); ?>"> </div> <div class="form-group"> <label for="section_description_one"><?php echo e(trans('admin.description')); ?></label> <input value="<?php echo e(isset($my_goal->section_description_one)?$my_goal->section_description_one:''); ?>" type="text" name="section_description_one" class="form-control" id="section_description_one" placeholder="<?php echo e(trans('admin.description')); ?>"> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="section-header"> <h3> <?php echo e(trans('admin.section_two')); ?>
</h3> </div> <div class="section-body mt-3"> <div class="form-group"> <label for="section_img_two"><?php echo e(trans('admin.image')); ?></label> <input type="file" name="section_img_two" class="form-control" id="section_img_two" placeholder="<?php echo e(trans('admin.image')); ?>"> <input type="hidden" name="pre_image_two" value="<?php echo e(isset($courses)?$courses->imagetwo:''); ?>"> </div> <div class="form-group"> <label for="section_title_two"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($my_goal->section_title_two)?$my_goal->section_title_two:''); ?>" type="text" name="section_title_two" class="form-control" id="section_title_two" placeholder="<?php echo e(trans('admin.title')); ?>"> </div> <div class="form-group"> <label for="section_description_two"><?php echo e(trans('admin.description')); ?></label> <input value="<?php echo e(isset($my_goal->section_description_two)?$my_goal->section_description_two:''); ?>" type="text" name="section_description_two" class="form-control" id="section_description_two" placeholder="<?php echo e(trans('Title')); ?>"> </div> </div> </div> <div class="col-lg-6 col-md-6 mt-4"> <div class="section-header"> <h3> <?php echo e(trans('admin.section_three')); ?>
</h3> </div> <div class="section-body mt-3"> <div class="form-group"> <label for="section_img_three"><?php echo e(trans('admin.image')); ?></label> <input type="file" name="section_img_three" class="form-control" id="section_img_three" placeholder="<?php echo e(trans('admin.image')); ?>"> <input type="hidden" name="pre_image_three" value="<?php echo e(isset($courses)?$courses->imagethree:''); ?>"> </div> <div class="form-group"> <label for="section_title_three"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($my_goal->section_title_three)?$my_goal->section_title_three:''); ?>" type="text" name="section_title_three" class="form-control" id="section_title_three" placeholder="<?php echo e(trans('admin.title')); ?>"> </div> <div class="form-group"> <label for="section_description_three"><?php echo e(trans('admin.description')); ?></label> <input value="<?php echo e(isset($my_goal->section_description_three)?$my_goal->section_description_three:''); ?>" type="text" name="section_description_three" class="form-control" id="section_description_three" placeholder="<?php echo e(trans('Title')); ?>"> </div> </div> </div> <div class="col-lg-6 col-md-6 mt-4"> <div class="section-header"> <h3> <?php echo e(trans('admin.section_four')); ?>
</h3> </div> <div class="section-body mt-3"> <div class="form-group"> <label for="section_img_four"><?php echo e(trans('admin.image')); ?></label> <input type="file" name="section_img_four" class="form-control" id="section_img_four" placeholder="<?php echo e(trans('admin.image')); ?>"> <input type="hidden" name="pre_image_four" value="<?php echo e(isset($courses)?$courses->imagefour:''); ?>"> </div> <div class="form-group"> <label for="section_title_four"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($my_goal->section_title_four)?$my_goal->section_title_four:''); ?>" type="text" name="section_title_four" class="form-control" id="section_title_four" placeholder="<?php echo e(trans('admin.title')); ?>"> </div> <div class="form-group"> <label for="section_description_four"><?php echo e(trans('admin.description')); ?></label> <input value="<?php echo e(isset($my_goal->section_description_four)?$my_goal->section_description_four:''); ?>" type="text" name="section_description_four" class="form-control" id="section_description_four" placeholder="<?php echo e(trans('Title')); ?>"> </div> </div> </div> </div> </div> </div> <div class="card-footer text-right"> <button type="submit" class="btn btn-primary"><?php echo e(trans('admin.submit')); ?></button> </div> </form> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script> <script src="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.js"></script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/portfolio2.picotech.app/public_html/resources/views/admin/my_goal/index.blade.php ENDPATH**/ ?>
|