%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/vendor/cakephp/debug_kit/src/Template/MailPreview/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/vendor/cakephp/debug_kit/src/Template/MailPreview/email.ctp
<style type="text/css">
    html, body {
        height: 100%;
    }

    body {
        margin: 0;
    }

    iframe.messageBody {
        border: 0;
        height: calc(100vh);
        width: 100%;
    }
</style>

<?php if (!$this->request->getQuery('part')) : ?>
    <?= $this->element('preview_header'); ?>
<?php endif; ?>

<?php if (!empty($part)) : ?>
    <iframe seamless name="messageBody" class="messageBody" src="?part=<?= h($part); ?>&plugin=<?= h($plugin); ?>"></iframe>
<?php else : ?>
    <p><?= __d('debug_kit', 'You are trying to preview an email that does not have any content.') ?></p>
<?php endif; ?>

<script>
    function formatChanged(form) {
        var part_name = form.options[form.selectedIndex].value
        var iframe = document.getElementsByName('messageBody')[0];
        iframe.contentWindow.location.replace('?part=' + part_name + '&plugin=<?= h($plugin); ?>');
    }
</script>

VaKeR 2022