⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
storage
/
framework
/
views
/
View File Name :
5e5a55386d25d3014e52cca9ab40e670baf501ee.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e($keywords['CV_Management'] ?? __('CV Management')); ?></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($keywords['CV_Management'] ?? __('CV Management')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <div class="card-title d-inline-block"><?php echo e($keywords['CV_Management'] ?? __('CV Management')); ?> </div> </div> <div class="col-lg-6"> <button class="btn btn-danger float-right ml-2 d-none bulk-delete" data-href="<?php echo e(route('user.cv.bulk.delete')); ?>"><i class="flaticon-interface-5"></i><?php echo e($keywords['Delete'] ?? __('Delete')); ?> </button> <a href="#" class="btn btn-primary float-right" data-toggle="modal" data-target="#createModal"> <i class="fas fa-plus"></i> <?php echo e($keywords['Add_CV'] ?? __('Add CV')); ?> </a> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($cvs) == 0): ?> <h3 class="text-center"><?php echo e($keywords['NO_CV_FOUND'] ?? __('NO CV FOUND')); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3" id="basic-datatables"> <thead> <tr> <th scope="col"> <input type="checkbox" class="bulk-check" data-val="all"> </th> <th scope="col"><?php echo e($keywords['CV_Name'] ?? __('CV Name')); ?> </th> <th scope="col"><?php echo e($keywords['Direction'] ?? __('Direction')); ?></th> <th scope="col"><?php echo e($keywords['Preview'] ?? __('Preview')); ?></th> <th scope="col"><?php echo e($keywords['Actions'] ?? __('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $cvs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cv): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($cv->id); ?>"> </td> <td><?php echo e($cv->cv_name); ?></td> <td><?php echo e($cv->direction == 1 ? 'Left to Right' : 'Right to Left'); ?></td> <td> <button class="btn btn-primary btn-sm" data-toggle="modal" data-target="#urlsModal<?php echo e($cv->id); ?>"><i class="fas fa-link"></i> <?php echo e($keywords['URLs'] ?? __('URLs')); ?></button> </td> <td> <a class="btn btn-warning btn-sm editbtn" href="<?php echo e(route('user.cv.edit', $cv->id) . '?language=' . request('language')); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e($keywords['Edit'] ?? __('Edit')); ?> </a> <a class="btn btn-secondary btn-sm" href="<?php echo e(route('user.cv.info', $cv->id) . '?language=' . request('language')); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e($keywords['Information'] ?? __('Information')); ?> </a> <a class="btn btn-secondary btn-sm" href="<?php echo e(route('user.cv.section.index', $cv->id) . '?language=' . request('language')); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e($keywords['Sections'] ?? __('Sections')); ?> </a> <form class="deleteform d-inline-block" action="<?php echo e(route('user.cv.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="cv_id" value="<?php echo e($cv->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <i class="fas fa-trash"></i> </button> </form> </td> </tr> <!-- Modal --> <div class="modal fade" id="urlsModal<?php echo e($cv->id); ?>" tabindex="-1" role="dialog" aria-labelledby="urlsModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="urlsModalLabel"> <?php echo e($keywords['CV_URLs'] ?? __('CV URLs')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <ul> <li> <?php $pathUrl = env('WEBSITE_HOST') . '/' . Auth::user()->username . '/cv/' . $cv->id; ?> <strong class="mr-2"><?php echo e($keywords['Path_Based_URL'] ?? __('Path Based URL')); ?>:</strong> <a target="_blank" href="//<?php echo e($pathUrl); ?>"><?php echo e($pathUrl); ?></a> </li> <?php if(cPackageHasSubdomain(Auth::user())): ?> <li> <?php $subUrl = Auth::user()->username . '.' . env('WEBSITE_HOST') . '/cv/' . $cv->id; ?> <strong class="mr-2"><?php echo e($keywords['Subdomain_Based_URL'] ?? __('Subdomain Based URL')); ?>:</strong> <a target="_blank" href="//<?php echo e($subUrl); ?>"><?php echo e($subUrl); ?></a> </li> <?php endif; ?> <?php if(cPackageHasCdomain(Auth::user())): ?> <?php $domUrl = Auth::user() ->custom_domains() ->where('status', 1) ->orderBy('id', 'DESC') ->first(); ?> <?php if(!empty($domUrl)): ?> <li> <strong class="mr-2"><?php echo e($keywords['Domain_Based_URL'] ?? __('Domain Based URL')); ?>:</strong> <a target="_blank" href="//<?php echo e($domUrl->requested_domain); ?>/cv/<?php echo e($cv->id); ?>"><?php echo e($domUrl->requested_domain); ?>/cv/<?php echo e($cv->id); ?></a> </li> <?php endif; ?> <?php endif; ?> </ul> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e($keywords['Close'] ?? __('Close')); ?></button> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> <!-- Create CV Modal --> <?php if ($__env->exists('user.cv.create')) echo $__env->make('user.cv.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { $("select[name='direction']").on('change', function() { val = $(this).val(); let $formControls = $(".form-control:not(.ltr)"); // if RTL is selected if (val == 2) { $formControls.each(function() { $(this).addClass('rtl'); }); $("#ltrAlert").show(); } else { $formControls.each(function() { $(this).removeClass('rtl'); }); $("#ltrAlert").hide(); } }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/public_html/resources/views/user/cv/index.blade.php ENDPATH**/ ?>