HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //home/madepabj/hc-cosmetics.com/wp-content/plugins/newsletter/emails/blocks/hero/block-full.php
<?php
/** @var array $options */
/** @var array $composer */
/** @var TNP_Media $media */
?>

<style>
    /* Styles which will be removed and injected in the replacing the matching "inline-class" attribute */
    .title {
        <?php $title_style->echo_css() ?>
        line-height: normal;
        margin: 0;
            padding: 0 0 20px 0;
    }

    .text {
        <?php $text_style->echo_css() ?>

            padding: 0 0 20px 0;

        line-height: 1.5;
        margin: 0;
    }

    .image {
        padding-bottom: 20px;
    }

    .button {
        padding: 10px 0 0 0;
    }

</style>

<table width="100%" class="responsive" border="0" cellspacing="0" cellpadding="0" role="presentation">
    <?php if ($media) { ?>
        <tr>
            <td align="center" inline-class="image">
                <?php echo TNP_Composer::image($media); ?>
            </td>
        </tr>
    <?php } ?>

    <?php if (empty($order)) { ?>
        <tr>
            <td align="center" inline-class="title">
                <?php echo $options['title'] ?>
            </td>
        </tr>

        <tr>
            <td align="center" inline-class="text">
                <?php echo $options['text'] ?>
            </td>
        </tr>
    <?php } else { ?>
        <tr>
            <td align="center" inline-class="text">
                <?php echo $options['text'] ?>
            </td>
        </tr>
        <tr>
            <td align="center" inline-class="title">
                <?php echo $options['title'] ?>
            </td>
        </tr>


    <?php } ?>

    <tr>
        <td align="center" inline-class="button">
            <?php echo TNP_Composer::button($button_options, 'button', $composer) ?>
        </td>
    </tr>
</table>