403Webshell
Server IP : 141.193.213.10  /  Your IP : 216.73.216.101
Web Server : nginx
System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200079 ( 200079)
PHP Version : 8.2.36
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/bartislaw/wp-content/themes/spk/includes/theme-functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/bartislaw/wp-content/themes/spk/includes/theme-functions//shortcodes.php
<?php
/* ---------------Add CAll To Action shortcodes-------------------- */
function CallToAction() {
    $CallToAction_pic = get_theme_mod('theme_call_to_action_box_image');
    $CallToAction_AltText = get_theme_mod('theme_call_to_action_box_image_alt');
    $CallToAction_text = get_theme_mod('theme_call_to_action_box_txt');

    if (empty(get_theme_mod('theme_call_to_action_box_hide'))) {
        $return = '<!-----Call To Action Box Code--------------------->
            <div class="my-4">
                <div class="cal-to-action-box m-auto d-table py-2 px-2">
                    <div class="media">
                        <img class="mr-3" src="' . $CallToAction_pic . '" alt="' . $CallToAction_AltText . '"/>
                        <div class="media-body align-self-center">
                            <p class="m-0 text-center br-none-480">
                               ' . $CallToAction_text . '
                            </p>
                        </div>
                    </div>
                </div>
            </div>';
    } else {
        $return = "";
    }
    return $return;
}
add_shortcode('CTA', 'CallToAction');

/* ---------------Add Share Box shortcodes-------------------- */
function AuthorBox() {
    $AuthorBox_link = get_theme_mod('theme_AuthorBox_link');
    $AuthorBox_pic = get_theme_mod('theme_AuthorBox_image');
    $AuthorBox_AltText = get_theme_mod('theme_AuthorBox_image_alt');
    $AuthorBox_text = get_theme_mod('theme_AuthorBox_txt');

    if (empty(get_theme_mod('theme_blog_author_box_hide'))) {
        $return = '<!-----Author Box Code--------------------->
    <div class="atty-bio-box m-auto d-table p-2">
    <div class="media d-inline-block d-md-flex d-sm-flex">
        <a target="_blank" href="' . $AuthorBox_link . '" class="mr-3 float-left float-md-none float-sm-none">
            <img src="' . $AuthorBox_pic . '"  alt="' . $AuthorBox_AltText . '">                       
        </a>
        <div class="media-body">
            <p class="m-0  br-none-767">   ' . $AuthorBox_text . '</p>
        </div>
    </div>
</div>';
    } else {
        $return = "";
    }
    return $return;
}

add_shortcode('AuthorBox', 'AuthorBox');


/* ...................Phone Numbers Shortcode....................... */

function phone_number($atts, $content = null) {
    global $data;
    extract(shortcode_atts(array(
        'type' => '1'
                    ), $atts));
    if ($type == '1') {
        $return = get_theme_mod('theme_phone');
    } elseif ($type == '2') {
        $return = get_theme_mod('theme_phone2');
    }
    return $return;
}
add_shortcode('number', 'phone_number');
/* ...................Phone Numbers Shortcode....................... */
function custom_font_style() { 
}
add_action('custom_font_style', 'custom_font_style');

Youez - 2016 - github.com/yon3zu
LinuXploit