HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/be.naniguide.com/storage/framework/views/d673fad1f69c19108b96c71896b1a642.php
<div class="mc_section boxing">
    <div class="row">
        <div class="col-md-6">
            <h3 class="mt-0"><?php echo e(trans('messages.sending_servers.sending_identity'), false); ?></h3>
            <p>
                <?php echo trans('messages.sending_servers.sending_identity.intro', ['link' => 'https://us-west-2.console.aws.amazon.com/ses/home#verified-senders-domain']); ?>

            </p>
        </div>
        <div class="col-md-8">
            <?php if(is_null($identities)): ?>
                <?php echo $__env->make('elements._notification', [
                    'level' => 'warning',
                    'title' => 'Error fetching identities list',
                    'message' => 'Please check your connection to AWS',
                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <?php else: ?>
                <table class="table table-box table-box-head field-list">
                    <thead>
                        <tr>
                            <td><?php echo e(trans('messages.domain'), false); ?></td>
                            <td><?php echo e(trans('messages.status'), false); ?></td>
                            <td align="center" class="xtooltip" title="<?php echo e(trans('messages.sending_server.identity.available_for_all.desc'), false); ?>"><?php echo e(trans('messages.sending_server.identity.available_for_all'), false); ?></td>
                            <td><?php echo e(trans('messages.sending_server.identity.added_by'), false); ?></td>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $allIdentities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $domain => $attributes): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr class="odd">
                                <td>
                                    <?php echo e($domain, false); ?>

                                </td>
                                <td>
                                    <?php if($attributes['VerificationStatus'] == 'Success'): ?>
                                        <span class="label label-flat bg-active"><?php echo e(trans('messages.sending_domain_status_active'), false); ?></span>
                                    <?php else: ?>
                                        <span class="label label-flat bg-inactive"><?php echo e(trans('messages.sending_domain_status_inactive'), false); ?></span>
                                    <?php endif; ?>
                                    
                                </td>

                                <?php if(!is_null($attributes['UserId'])): ?>
                                    <td align="center"><span class="xtooltip" title="This domain is private and is available for the owner user only">Private</span></td>
                                <?php elseif($attributes['VerificationStatus'] == 'Success'): ?>
                                    <td align="center">
                                        <?php if(checkEmail($domain)): ?>
                                            <label class="checker">
                                                <input <?php echo e($attributes['Selected'] ? " checked" : "", false); ?> type="checkbox" name="options[emails][]" value="<?php echo e($domain, false); ?>" class="styled4">
                                                <span class="checker-symbol"></span>
                                            </label>
                                        <?php else: ?>
                                            <label class="checker">
                                                <input <?php echo e($attributes['Selected'] ? " checked" : "", false); ?> type="checkbox" name="options[domains][]" value="<?php echo e($domain, false); ?>" class="styled4">
                                                <span class="checker-symbol"></span>
                                            </label>
                                        <?php endif; ?>
                                    </td>
                                <?php else: ?>
                                    <td align="center"></td>
                                <?php endif; ?>
                                <td>
                                    <a href="#" target="_blank"><?php echo e($attributes['UserName'], false); ?></a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            <?php endif; ?>
        </div>
        <div class="col-md-6">
            <br>
            <a target="_blank" confirm="<?php echo e(trans('messages.sending_server.aws.add_domain_redirect_confirm'), false); ?>" href="https://us-west-2.console.aws.amazon.com/ses/home?region=<?php echo e($server->type, false); ?>" class="btn btn-secondary me-2">
                <?php echo e(trans('messages.sending_serbers.add_domain'), false); ?>

            </a>
            <a target="_blank" href="https://console.aws.amazon.com/ses/home?region=<?php echo e($server->aws_region, false); ?>" role="button"
              class="btn btn-primary">
                <?php echo e(trans('messages.sending_serbers.go_to_amazon_dashboard'), false); ?>

            </a>
            <p class="mt-5">
                <?php echo e(trans('messages.sending_serbers.aws.allow_verify.intro'), false); ?>

            </p>

            <div>
                <span class="form-label d-flex align-items-center">
                    <label class="checkbox-label readonly">
                        <input type="hidden" name="options[allow_verify_domain_remotely]" value="no" />
                        <input                           
                            type="checkbox"
                            class="styled me-2"
                            name="options[allow_verify_domain_remotely]"
                            <?php echo e($server->getOption('allow_verify_domain_remotely') == 'yes' ? 'checked' : '', false); ?>

                            value="yes"
                            readonly
                        >
                        <span class="check-symbol"></span>
                        <span class="ms-1">
                            <?php echo e(trans('messages.allow_verify_domain_against_aws'), false); ?>

                        </span>
                    </label>
                </span>
            </div>

            <?php echo $__env->make('helpers.form_control', [
                'type' => 'checkbox2',
                'label' => trans('messages.allow_verify_email_against_aws'),
                'name' => 'options[allow_verify_email_remotely]',
                'value' => $server->getOption('allow_verify_email_remotely'),
                'help_class' => 'sending_server',
                'options' => ['no', 'yes'],
            ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <hr>
            <div class="mt-20">
                <button class="btn btn-secondary me-2"><?php echo e(trans('messages.save'), false); ?></button>
                <a href="<?php echo e(action('SendingServerController@index'), false); ?>" role="button" class="btn btn-link">
                    <?php echo e(trans('messages.cancel'), false); ?>

                </a>
            </div>
        </div>
    </div>
</div>

<script>
    $(function() {
        $('[name="options[allow_verify_email_remotely]"]').change(function() {
            var value = $(this).is(':checked');
            if(value) {
                $('.use_custom_verification_email').show();
            } else {
                $('.use_custom_verification_email').hide();
            }
        });
        $('[name="options[allow_verify_email_remotely]"]').change();
    });
</script>
<?php /**PATH /home/xedaptot/be.naniguide.com/resources/views/sending_servers/form/amazon-sender-identity.blade.php ENDPATH**/ ?>