<?php $__env->startSection('title'); ?> Email Account <?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')); ?>"> <style> .select2-container--default .select2-selection--single .select2-selection__arrow { height: 26px; position: absolute; top: 1px; right: 1px; width: 20px; display: none; } .filter-sech-box-content-sec { padding: 5px 0px; } .filter-search-box-icon { margin-bottom: 10px; } .all-filters-input-content { overflow-y: scroll; height: 100vh; margin-bottom: 60px; overflow-x: hidden; padding-right: 10px; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-lg-12"> <div class="connect-warmup-email-sec"> <div class="connect-warmup-text"> Connect accounts to keep warm & send emails from </div> <a href="<?php echo e(route('customer.email_account.add.new')); ?>" class="btn btn-outline-primary btn-lg"> <i class="fa fa-link" aria-hidden="true"></i> Add New</a> </div> </div> <!-- /.col --> <div class="col-md-12 mt-5"> <div class="card"> <div class="card-body"> <table id="email_accounts" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('First Name'); ?></th> <th><?php echo app('translator')->get('Last Name'); ?></th> <th><?php echo app('translator')->get('Email'); ?></th> <th><?php echo app('translator')->get('Password'); ?></th> <th><?php echo app('translator')->get('Provider'); ?></th> <th><?php echo app('translator')->get('Type'); ?></th> <th><?php echo app('translator')->get('customer.action'); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $sending_servers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sending_server): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $value=$sending_server->value?json_decode($sending_server->value):''; if($value && isset($value->password)){ $revealCount = 2; $passwordLength = strlen($value->password); if ($passwordLength <= ($revealCount * 2)) { $obscuredPassword=$value->password; }else{ $start = substr($value->password, 0, $revealCount); $end = substr($value->password, -$revealCount); $obscured = str_repeat('*', $passwordLength - ($revealCount * 2)); $obscuredPassword = $start . $obscured . $end; } } ?> <tr> <td><?php echo e(isset($value->first_name)?$value->first_name:''); ?></td> <td><?php echo e(isset($value->last_name)?$value->last_name:''); ?></td> <td><?php echo e($sending_server->from_email); ?></td> <td><?php echo e(isset($obscuredPassword)?$obscuredPassword:''); ?></td> <td><?php echo e($sending_server->from); ?></td> <td><?php echo e(isset($value->account_type)?$value->account_type:''); ?></td> <td> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?> <?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('js/customer/email_account.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/instantly.picotech.app/public_html/resources/views/customer/email_account/index.blade.php ENDPATH**/ ?>