One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
View File Name :
ee14df57021a1f1a01fb7dd3a43ee7aec37defb9.php
<?php $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); ?> <?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(__('Team 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(__('Team 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><?php echo e(__('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> <?php if( $userBs->theme == 'home_one' || $userBs->theme == 'home_three' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven'): ?> <div class="col-md-5"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-10"> <div class="card-title"><?php echo e(__('Update Team Section')); ?></div> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <form id="teamSecForm" action="<?php echo e(route('user.update_team_section', ['language' => request()->input('language')])); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="language" value="<?php echo e(request()->input('language')); ?>"> <div class="form-group"> <label for="team_section_title"><?php echo e(__('Team Section Title*')); ?></label> <input id="team_section_title" type="text" class="form-control" name="team_section_title" value="<?php echo e($data->team_section_title ?? ''); ?>"> <?php if($errors->has('team_section_title')): ?> <p class="mt-2 mb-0 text-danger"><?php echo e($errors->first('team_section_title')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label for="team_section_subtitle"><?php echo e(__('Team Section Subtitle*')); ?></label> <input id="team_section_subtitle" type="text" class="form-control" name="team_section_subtitle" value="<?php echo e($data->team_section_subtitle ?? ''); ?>"> <?php if($errors->has('team_section_subtitle')): ?> <p class="mt-2 mb-0 text-danger"><?php echo e($errors->first('team_section_subtitle')); ?> </p> <?php endif; ?> </div> </form> </div> </div> </div> <div class="card-footer"> <div class="row"> <div class="col-12 text-center"> <button type="submit" form="teamSecForm" class="btn btn-success"> <?php echo e(__('Update')); ?> </button> </div> </div> </div> </div> </div> <?php endif; ?> <div class=" <?php if( $userBs->theme == 'home_one' || $userBs->theme == 'home_three' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven'): ?> col-lg-7 <?php else: ?> col-lg-12 <?php endif; ?> "> <div class="card"> <div class="card-header"> <div class="card-title d-inline-block"><?php echo e(__('Members')); ?></div> <a href="<?php echo e(route('user.team_section.create_member')); ?>?language=<?php echo e(request()->input('language')); ?>" class="btn btn-primary btn-sm float-right"><i class="fas fa-plus"></i> <?php echo e(__('Add Member')); ?></a> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($memberInfos) == 0): ?> <h3 class="text-center"><?php echo e(__('NO MEMBER FOUND!')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"><?php echo e(__('Image')); ?></th> <th scope="col"><?php echo e(__('Name')); ?></th> <th scope="col"><?php echo e(__('Rank')); ?></th> <?php if( $userBs->theme == 'home_one' || $userBs->theme == 'home_three' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven'): ?> <th scope="col"><?php echo e(__('Featured')); ?></th> <?php endif; ?> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $memberInfos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $memberInfo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php if(!is_null($memberInfo->image)): ?> <img src="<?php echo e(asset('/assets/front/img/user/team/' . $memberInfo->image)); ?>" alt="user" width="40"> <?php else: ?> - <?php endif; ?> </td> <td><?php echo e($memberInfo->name ?? '-'); ?></td> <td><?php echo e($memberInfo->rank ?? '-'); ?></td> <?php if( $userBs->theme == 'home_one' || $userBs->theme == 'home_three' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven'): ?> <td> <form id="featureForm<?php echo e($memberInfo->id); ?>" class="d-inline-block" action="<?php echo e(route('user.team_section.member.feature')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="member_id" value="<?php echo e($memberInfo->id); ?>"> <select class="form-control <?php echo e($memberInfo->featured == 1 ? 'bg-success' : 'bg-danger'); ?>" name="featured" onchange="document.getElementById('featureForm<?php echo e($memberInfo->id); ?>').submit();"> <option value="1" <?php echo e($memberInfo->featured == 1 ? 'selected' : ''); ?>> Yes </option> <option value="0" <?php echo e($memberInfo->featured == 0 ? 'selected' : ''); ?>> No </option> </select> </form> </td> <?php endif; ?> <td> <a class="btn btn-secondary btn-sm mr-1" href="<?php echo e(route('user.team_section.edit_member', $memberInfo->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.team_section.delete_member')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="member_id" value="<?php echo e($memberInfo->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 echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/team_section/index.blade.php ENDPATH**/ ?>