⚝
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 :
b36feea54ca0d3df80589686df2311cbe46c1857.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"> <?php echo e($keywords['Social_Links'] ?? __('Social Links')); ?> </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['Basic_Settings'] ?? __('Basic Settings')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e($keywords['Social_Links'] ?? __('Social Links')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <form id="socialForm" action="<?php echo e(route('user.social.store')); ?>" method="post"> <div class="card-header"> <div class="card-title"><?php echo e($keywords['Add_Social_Links'] ?? __('Add Social Links')); ?></div> </div> <div class="card-body pt-5 pb-5"> <div class="row"> <div class="col-lg-6 offset-lg-3"> <?php echo csrf_field(); ?> <div class="form-group"> <label for=""><?php echo e($keywords['Social_Icon'] ?? __('Social Icon')); ?> **</label> <div class="btn-group d-block"> <button type="button" class="btn btn-primary iconpicker-component"><i class="fa fa-fw fa-heart"></i></button> <button type="button" class="icp icp-dd btn btn-primary dropdown-toggle" data-selected="fa-car" data-toggle="dropdown"> </button> <div class="dropdown-menu"></div> </div> <input id="inputIcon" type="hidden" name="icon" value=""> <?php if($errors->has('icon')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('icon')); ?></p> <?php endif; ?> <div class="mt-2"> <small><?php echo e($keywords['Social_Icon_nb_text'] ?? __('NB: click on the dropdown icon to select a social link icon')); ?>.</small> </div> </div> <div class="form-group"> <label for=""><?php echo e($keywords['URL'] ?? __('URL')); ?> **</label> <input type="text" class="form-control" name="url" value="" placeholder="<?php echo e($keywords['Enter_URL_of_social_media_account'] ?? __('Enter URL of social media account')); ?>"> <?php if($errors->has('url')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('url')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label for=""><?php echo e($keywords['Serial_Number'] ?? __('Serial Number')); ?> **</label> <input type="number" class="form-control ltr" name="serial_number" value="" placeholder="<?php echo e($keywords['Enter_Serial_Number'] ?? __('Enter Serial Number')); ?>"> <p id="errserial_number" class="mb-0 text-danger em"></p> <p class="text-warning"> <small><?php echo e($keywords['social_icon_serial_msg'] ?? __('The higher the serial number is, the later the social link will be shown')); ?> .</small> </p> </div> </div> </div> </div> <div class="card-footer pt-3"> <div class="form"> <div class="form-group from-show-notify row"> <div class="col-lg-3 col-md-3 col-sm-12"> </div> <div class="col-12 text-center"> <button type="submit" id="displayNotif" class="btn btn-success"><?php echo e($keywords['Submit'] ?? __('Submit')); ?></button> </div> </div> </div> </div> </form> </div> <div class="card"> <div class="card-header"> <div class="card-title"> <?php echo e($keywords['Social_Links'] ?? __('Social Links')); ?> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($socials) == 0): ?> <h2 class="text-center"><?php echo e($keywords['NO_LINK_ADDED'] ?? __('NO LINK ADDED')); ?></h2> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col">#</th> <th scope="col"><?php echo e($keywords['Icon'] ?? __('Icon')); ?></th> <th scope="col"><?php echo e($keywords['URL'] ?? __('URL')); ?></th> <th scope="col"><?php echo e($keywords['Serial_Number'] ?? __('Serial Number')); ?> </th> <th scope="col"><?php echo e($keywords['Actions'] ?? __('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $socials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($loop->iteration); ?></td> <td><i class="<?php echo e($social->icon); ?>"></i></td> <td><?php echo e($social->url); ?></td> <td><?php echo e($social->serial_number); ?></td> <td> <a class="btn btn-secondary btn-sm" href="<?php echo e(route('user.social.edit', $social->id) . '?language=' . request('language')); ?>"> <span class="btn-label"> <i class="fas fa-edit"></i> </span> <?php echo e($keywords['Edit'] ?? __('Edit')); ?> </a> <form class="d-inline-block deleteform" action="<?php echo e(route('user.social.delete')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="socialid" value="<?php echo e($social->id); ?>"> <button type="submit" class="btn btn-danger btn-sm deletebtn"> <span class="btn-label"> <i class="fas fa-trash"></i> </span> <?php echo e($keywords['Delete'] ?? __('Delete')); ?> </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/id/public_html/resources/views/user/settings/social/index.blade.php ENDPATH**/ ?>