⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.162
Server IP:
147.93.29.146
Server:
Linux server.tagooz.co 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
webstoremaker
/
www
/
storage
/
framework
/
views
/
View File Name :
289c73f1cc421b3aba0681352bed92350d0e34a9.php
<?php $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); ?> <?php if ($__env->exists('user.partials.rtl-style')) echo $__env->make('user.partials.rtl-style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Working Process Section')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-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(__('Home Page')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Working Process Section')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <div class="row justify-content-center"> <div class="col-lg-3"> <?php if(!is_null($userDefaultLang)): ?> <?php if(!empty($userLanguages)): ?> <select name="userLanguage" class="form-control" onchange="window.location='<?php echo e(url()->current() . '?language='); ?>'+this.value"> <option value="" selected disabled>Select a Language</option> <?php $__currentLoopData = $userLanguages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($lang->code); ?>" <?php echo e($lang->code == request()->input('language') ? 'selected' : ''); ?>> <?php echo e($lang->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <?php endif; ?> <?php endif; ?> </div> </div> </div> </div> </div> <div class="col-lg-5"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <div class="card-title"><?php echo e(__('Texts & Images')); ?></div> </div> </div> </div> <div class="card-body "> <div class="row"> <div class="col-lg-12"> <form id="skillSecForm" action="<?php echo e(route('user.home_page.update_work_process_section', ['language' => request()->input('language')])); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php if($userBs->theme === 'home_two' || $userBs->theme === 'home_six' || $userBs->theme === 'home_four' || $userBs->theme === 'home_five'): ?> <div class="form-group"> <div class="col-12 mb-2"> <label for=""><?php echo e(__('Image')); ?></label> </div> <div class="col-md-12 showImage mb-3"> <img src="<?php echo e(isset($data->work_process_section_img)? asset('assets/front/img/work_process/' . $data->work_process_section_img): asset('assets/admin/img/noimage.jpg')); ?>" alt="..." class="img-thumbnail"> </div> <input type="file" name="work_process_section_img" id="image" class="form-control image"> <?php if($errors->has('work_process_section_img')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_img')); ?></p> <?php endif; ?> </div> <?php endif; ?> <div class="form-group"> <div class="row"> <div class="col-lg-12"> <label for=""><?php echo e(__('Title')); ?></label> <input type="text" class="form-control" name="work_process_section_title" value="<?php echo e($data->work_process_section_title ?? ''); ?>" placeholder="Enter title"> <?php if($errors->has('work_process_section_title')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_title')); ?></p> <?php endif; ?> </div> </div> </div> <?php if($userBs->theme != 'home_seven'): ?> <div class="form-group"> <div class="row"> <div class="col-lg-12"> <label for=""><?php echo e(__('Subtitle')); ?></label> <input type="text" class="form-control" name="work_process_section_subtitle" value="<?php echo e($data->work_process_section_subtitle ?? ''); ?>" placeholder="Enter subtitle"> <?php if($errors->has('work_process_section_subtitle')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_subtitle')); ?></p> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if($userBs->theme != 'home_six'): ?> <div class="form-group"> <label for=""><?php echo e(__('Text')); ?></label> <textarea class="form-control" name="work_process_section_text" rows="5" cols="80" placeholder="Enter content"><?php echo e($data->work_process_section_text ?? null); ?></textarea> <?php if($errors->has('work_process_section_text')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_text')); ?></p> <?php endif; ?> </div> <?php endif; ?> <?php if($userBs->theme === 'home_two'): ?> <div class="form-group"> <div class="col-12 mb-2"> <label for=""><?php echo e(__('Video Image')); ?></label> </div> <div class="col-md-12 showTestimonialImage mb-3"> <img src="<?php echo e(isset($data->work_process_section_video_img)? asset('assets/front/img/work_process/' . $data->work_process_section_video_img): asset('assets/admin/img/noimage.jpg')); ?>" alt="..." class="img-thumbnail"> </div> <input type="file" name="work_process_section_video_img" id="testimonial_image" class="form-control image"> <?php if($errors->has('work_process_section_video_img')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_video_img')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label for=""><?php echo e(__('Video URL')); ?></label> <input type="text" class="form-control ltr" name="work_process_section_video_url" value="<?php echo e($data->work_process_section_video_url ?? ''); ?>" placeholder="Enter video url"> <?php if($errors->has('work_process_section_video_url')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_section_video_url')); ?></p> <?php endif; ?> </div> <?php endif; ?> <?php if($userBs->theme === 'home_four' || $userBs->theme === 'home_five' || $userBs->theme === 'home_seven'): ?> <div class="form-group"> <label for=""><?php echo e(__('Button text')); ?></label> <input type="text" class="form-control ltr" name="work_process_btn_txt" value="<?php echo e($data->work_process_btn_txt ?? ''); ?>" placeholder="Enter button text"> <?php if($errors->has('work_process_btn_txt')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_btn_txt')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label for=""><?php echo e(__('Button URL')); ?></label> <input type="text" class="form-control ltr" name="work_process_btn_url" value="<?php echo e($data->work_process_btn_url ?? ''); ?>" placeholder="Enter button url"> <?php if($errors->has('work_process_btn_url')): ?> <p class="mt-2 mb-0 text-danger"> <?php echo e($errors->first('work_process_btn_url')); ?></p> <?php endif; ?> </div> <?php endif; ?> </form> </div> </div> </div> <div class="card-footer"> <div class="row"> <div class="col-12 text-center"> <button type="submit" form="skillSecForm" class="btn btn-success"> <?php echo e(__('Update')); ?> </button> </div> </div> </div> </div> </div> <div class="col-lg-7"> <div class="card"> <div class="card-header"> <div class="card-title d-inline-block"><?php echo e(__('Work Processes')); ?></div> <a href="<?php echo e(route('user.home_page.work_process_section.create_work_process')); ?>" class="btn btn-primary btn-sm float-right"><i class="fas fa-plus"></i> <?php echo e(__('Add Work Process')); ?></a> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($workProcessInfos) == 0): ?> <h3 class="text-center"><?php echo e(__('NO WORK PROCESS FOUND!')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"><?php echo e(__('Icon')); ?></th> <th scope="col"><?php echo e(__('Title')); ?></th> <th scope="col"><?php echo e(__('Serial Number')); ?></th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $workProcessInfos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $workProcessInfo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><i class="<?php echo e($workProcessInfo->icon); ?>"></i></td> <td><?php echo e($workProcessInfo->title); ?></td> <td><?php echo e($workProcessInfo->serial_number); ?></td> <td> <a class="btn btn-secondary btn-sm mr-1" href="<?php echo e(route('user.home_page.work_process_section.edit_work_process', $workProcessInfo->id) .'?language=' .request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.home_page.work_process_section.delete_work_process')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="work_process_id" value="<?php echo e($workProcessInfo->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <i class="fas fa-trash"></i> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/admin/js/home-sections.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/webstoremaker/public_html/resources/views/user/home/work_process_section/index.blade.php ENDPATH**/ ?>