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/canspam/block.php
<?php
/*
 * Name: Company Info
 * Section: footer
 * Description: Company Info for Can-Spam act requirements
 */

/** @var array $options */
/** @var array $composer */
/** @var array $info */

$default_options = array(
    'font_family' => '',
    'font_size' => '',
    'font_color' => '',
    'font_weight' => '',
    'block_padding_top' => 15,
    'block_padding_bottom' => 15,
    'block_padding_left' => 15,
    'block_padding_right' => 15,
    'block_background' => '',
    'title' => $info['footer_title'],
    'address' => $info['footer_contact'],
    'copyright' => $info['footer_legal'],
);

$options = array_merge($default_options, $options);

$text_style = TNP_Composer::get_text_style($options, '', $composer);
?>

<style>
    .text {
        <?php $text_style->echo_css() ?>
        padding: 10px;
        text-align: center;
        line-height: normal;
    }
</style>

<div inline-class="text">
    <strong><?php echo esc_html($options['title']) ?></strong>
    <br>
    <?php echo esc_html($options['address']) ?>
    <br>
    <em><?php echo esc_html($options['copyright']) ?></em>
</div>