403Webshell
Server IP : 89.39.208.18  /  Your IP : 216.73.217.74
Web Server : LiteSpeed
System :
User :  ( )
PHP Version : 7.4.33
Disable Function : eval,./,ln,passthru,dl,system,exec,popen,shell_exec,posix_getpwuid,posix_uname,ftp_exec,posix_uname,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,get_current_user,getmyuid,getmygid,listen,chgrp,apache_note,apache_setenv,apache_child_terminate,closelog,debugger_off,debugge_on,ini_restore,netscript,escapeshellarg,cmd,backtick,virtual,show_sourc,show_source,pclose,pcntl_exec,datasec,old_offset,ctrl_dir,ini_alter,leak,listen,chgrp,apache_setenv,define_syslog_variables,root,diskfreespace,disk_free_space,disk_total_space,posix_kill,getmyuid,getmygid,apache_child_terminate,php_ini_scanned_files,ls,ps_aux,chown,getrusage,posixc,posame,chgrp,posix_setuid,posix_setsid,posix_setgid,apache_note,apache_setenv,x_getuid,e_ini_file,nfo,SQL,mysql_li,t_dbs,filegroup,highlight_file,ilegetcontents,get_dir,popen,popens,pfsockopen,dos_conv,apache_get_modules,crack_check,crack_closedict,rar_open,bzopen,bzread,bzwrite,shellcode,posix_isatty,posix_getservbyname,escapeshellarg,hypot,pg_host,pos,posix_access,inurl,posix_times,posix_mknod,pclose,ps_fill,symlink,id,escapeshellcmd,php_uname,phpinfo
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home3/./mahyarcake/www/wp-content/plugins/duplicator-pro/src/Utils/Email/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home3/./mahyarcake/www/wp-content/plugins/duplicator-pro/src/Utils/Email/EmailHelper.php
<?php

namespace Duplicator\Utils\Email;

class EmailHelper
{
    /** @var array<string, array<string, string>> List of styles in class => styles format*/
    public static $styles = [
        'body'             => [
            "border-collapse"          => "collapse",
            "border-spacing"           => "0",
            "vertical-align"           => "top",
            "mso-table-lspace"         => "0pt",
            "mso-table-rspace"         => "0pt",
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "height"                   => "100% !important",
            "width"                    => "100% !important",
            "min-width"                => "100%",
            "-moz-box-sizing"          => "border-box",
            "-webkit-box-sizing"       => "border-box",
            "box-sizing"               => "border-box",
            "-webkit-font-smoothing"   => "antialiased !important",
            "-moz-osx-font-smoothing"  => "grayscale !important",
            "background-color"         => "#e9eaec",
            "color"                    => "#444444",
            "font-family"              => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "font-weight"              => "normal",
            "padding"                  => "0",
            "margin"                   => "0",
            "text-align"               => "left",
            "font-size"                => "14px",
            "mso-line-height-rule"     => "exactly",
            "line-height"              => "140%",
        ],
        'table'            => [
            "border-collapse"          => "collapse",
            "border-spacing"           => "0",
            "vertical-align"           => "top",
            "mso-table-lspace"         => "0pt",
            "mso-table-rspace"         => "0pt",
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "margin"                   => "0 auto 0 auto",
            "padding"                  => "0",
            "text-align"               => "inherit",
        ],
        'main-tbl'         => ["width" => "600px"],
        'stats-tbl'        => [
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "width"                    => "100%",
            "margin"                   => "15px 0 38px 0",
        ],
        'tr'               => [
            "padding"        => "0",
            "vertical-align" => "top",
            "text-align"     => "left",
        ],
        'td'               => [
            "word-wrap"                => "break-word",
            "-webkit-hyphens"          => "auto",
            "-moz-hyphens"             => "auto",
            "hyphens"                  => "auto",
            "border-collapse"          => "collapse !important",
            "vertical-align"           => "top",
            "mso-table-lspace"         => "0pt",
            "mso-table-rspace"         => "0pt",
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "color"                    => "#444444",
            "font-family"              => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "font-weight"              => "normal",
            "padding"                  => "0",
            "margin"                   => "0",
            "font-size"                => "14px",
            "mso-line-height-rule"     => "exactly",
            "line-height"              => "140%",
        ],
        'stats-count-cell' => [
            'width'      => '1px',
            'text-align' => 'center',
        ],
        'unsubscribe'      => [
            "padding"    => "30px",
            "color"      => "#72777c",
            "font-size"  => "12px",
            "text-align" => "center",
        ],
        'th'               => [
            "font-family"          => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "margin"               => "0",
            "text-align"           => "left",
            "font-size"            => "14px",
            "mso-line-height-rule" => "exactly",
            "line-height"          => "140%",
            "font-weight"          => "700",
            "color"                => "#777777",
            "background"           => "#f1f1f1",
            "border"               => "1px solid #f1f1f1",
            "padding"              => "17px 20px 17px 20px",
        ],
        'stats-cell'       => [
            "font-size"     => "16px",
            "border-top"    => "none",
            "border-right"  => "none",
            "border-bottom" => "1px solid #f1f1f1",
            "border-left"   => "none",
            "color"         => "#444444",
            "padding"       => "17px 20px 17px 20px",
        ],
        'img'              => [
            "outline"                => "none",
            "text-decoration"        => "none",
            "width"                  => "auto",
            "clear"                  => "both",
            "-ms-interpolation-mode" => "bicubic",
            "display"                => "inline-block !important",
            "max-width"              => "45%",
        ],
        'h6'               => [
            "padding"              => "0",
            "text-align"           => "left",
            "word-wrap"            => "normal",
            "font-family"          => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "font-weight"          => "bold",
            "mso-line-height-rule" => "exactly",
            "line-height"          => "130%",
            "font-size"            => "18px",
            "color"                => "#444444",
            "margin"               => "0 0 3px 0",
        ],
        'p'                => [
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "font-family"              => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "font-weight"              => "normal",
            "padding"                  => "0",
            "text-align"               => "left",
            "mso-line-height-rule"     => "exactly",
            "line-height"              => "140%",
            "overflow-wrap"            => "break-word",
            "word-wrap"                => "break-word",
            "-ms-word-break"           => "break-all",
            "word-break"               => "break-word",
            "-ms-hyphens"              => "auto",
            "-moz-hyphens"             => "auto",
            "-webkit-hyphens"          => "auto",
            "hyphens"                  => "auto",
            "color"                    => "#777777",
            "font-size"                => "14px",
            "margin"                   => "25px 0 25px 0",
        ],
        'a'                => [
            "-ms-text-size-adjust"     => "100%",
            "-webkit-text-size-adjust" => "100%",
            "font-family"              => "'Helvetica Neue', Helvetica, Arial, sans-serif",
            "font-weight"              => "normal",
            "padding"                  => "0",
            "margin"                   => "0",
            "Margin"                   => "0",
            "text-align"               => "left",
            "mso-line-height-rule"     => "exactly",
            "line-height"              => "140%",
        ],
        'footer-link'      => [
            "color"           => "#72777c",
            "text-decoration" => "underline",
        ],
        'stats-title'      => ["margin" => "0 0 15px 0"],
        'subtitle'         => [
            "font-size" => "16px",
            "margin"    => "0 0 15px 0",
        ],
        'txt-orange'       => ["color" => "#e27730"],
        'txt-center'       => ['text-align' => 'center'],
        'logo'             => ["padding" => "30px 0px"],
        'content'          => [
            "background-color" => "#ffffff",
            "padding"          => "60px 75px 45px 75px",
            "border-top"       => "3px solid #e27730",
            "border-right"     => "1px solid #dddddd",
            "border-bottom"    => "1px solid #dddddd",
            "border-left"      => "1px solid #dddddd",
        ],
        'strong'           => ["font-weight" => "bold"],
    ];

    /**
     * Get Inline CSS of selector or empty if selector not found
     *
     * @param string $selectors Space separated selectors
     *
     * @return string
     */
    public static function getStyle($selectors)
    {
        if ($selectors === '') {
            return '';
        }

        $selArr       = explode(' ', $selectors);
        $uniqueStyles = [];
        foreach ($selArr as $i => $selector) {
            if (!isset(self::$styles[$selector])) {
                continue;
            }

            //overwrite repeating styles
            foreach (self::$styles[$selector] as $key => $value) {
                $uniqueStyles[$key] = $value;
            }
        }

        $style = '';
        foreach ($uniqueStyles as $key => $value) {
            $style .= $key . ': ' . $value . ';';
        }

        return $style;
    }

    /**
     * Print Inline CSS of selector or empty if selector not found
     *
     * @param string $selectors Space separated selectors
     *
     * @return void
     */
    public static function printStyle($selectors)
    {
        echo 'class="' . esc_attr($selectors) . '" style="' . esc_attr(self::getStyle($selectors)) . '"';
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit