403Webshell
Server IP : 37.27.51.148  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/zodiac22/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/zodiac22/inc/clickbank-shortcode.php
<?php
function mansecrets_clickbank_link_shortcode_handler($atts)
{
    $atts = shortcode_atts([
        'link' => '',
        'text' => 'Purchase Now',
    ], $atts);

    $link = !empty($atts['link']) ? $atts['link'] : get_field('purchase_link', 'option');
    $image = get_field('order_image', 'option');
    $text = !empty($atts['text']) ? $atts['text'] : 'Purchase Now';

    if (isset($_GET['vtid'])) {
        if (strpos($link, '?') !== false) {
            $link = urldecode($link . '&vtid=' . $_GET['vtid']);
        }
    }

    if (isset($_GET['hop'])) {
        if (strpos($link, '?') !== false) {
            $link = urldecode($link . '&hop=' . $_GET['hop']);
        }
    }

    ob_start();
    if (!empty($atts['link'])) {
        ?>
        <div style="text-align: center;">
            <a style="display:block;" class="purchaseLink" href="<?php echo $link; ?>">
                <img class="orderButton" src="<?php echo $image; ?>"/>
            </a>
            <div style="text-align: center;">
                <a style="font-family: Poppins; font-size: 20px;"
                   href="<?php echo $link; ?>"><?php echo $atts['text']; ?></a>
            </div>
        </div>
        <?php
    }

    return ob_get_clean();
}

add_shortcode('clickbank_button', 'mansecrets_clickbank_link_shortcode_handler');

Youez - 2016 - github.com/yon3zu
LinuXploit