403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.229
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/hotelzm.com/wp-content/plugins/newsletter/emails/blocks/footer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/hotelzm.com/wp-content/plugins/newsletter/emails/blocks/footer/block.php
<?php
/*
 * Name: Footer
 * Section: footer
 * Description: View online ad profile links
 */

$default_options = array(
    'view' => 'View online',
    'view_enabled' => 1,
    'profile' => 'Manage your subscription',
    'profile_enabled' => 1,
    'unsubscribe' => 'Unsubscribe',
    'unsubscribe_enabled' => 1,
    'font_family' => '',
    'font_size' => '',
    'font_color' => '',
    'font_weight' => '',
    'block_padding_left' => 15,
    'block_padding_right' => 15,
    'block_padding_bottom' => 15,
    'block_padding_top' => 15,
    'block_background' => '',
    'url' => 'profile'
);

// Migration code
if (!isset($options['profile_enabled']) && isset($options['url'])) {
    if ($options['url'] === 'profile') {
        $options['profile_enabled'] = 1;
        $options['unsubscribe_enabled'] = 0;
    } else {
        $options['profile_enabled'] = 1;
        $options['unsubscribe_enabled'] = 0;
    }
}

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

$text_style = TNP_Composer::get_text_style($options, '', $composer, ['scale'=>0.8]);

$links = [];
if ($options['unsubscribe_enabled']) {
    $links[] = '<a inline-class="text" href="{unsubscription_url}" target="_blank">' . esc_html($options['unsubscribe']) . '</a>';
}
if ($options['profile_enabled']) {
    $links[] = '<a inline-class="text" href="{profile_url}" target="_blank">' . esc_html($options['profile']) . '</a>';
}
if ($options['view_enabled']) {
    $links[] = '<a inline-class="text" href="{email_url}" target="_blank">' . esc_html($options['view']) . '</a>';
}

?>
<style>
    .text {
        <?php $text_style->echo_css()?>
        text-decoration: none;
        line-height: normal;
    }
</style>

<?php echo implode('<span inline-class="text">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;</span>', $links) ?>


Youez - 2016 - github.com/yon3zu
LinuXploit