403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/www/wp-content/plugins/woocommerce-currency-switcher/views/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/www/wp-content/plugins/woocommerce-currency-switcher/views/widgets/selector.php
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>


<?php



if (isset($args['before_widget']))
{
    echo $args['before_widget'];
}
?>

<div class="widget widget-woocommerce-currency-switcher">
    <?php
    if (!empty($instance['title']))
    {
        if (isset($args['before_title']))
        {
            echo $args['before_title'];
            echo $instance['title'];
            echo $args['after_title'];
        } else
        {
            ?>
            <h3 class="widget-title"><?php echo $instance['title'] ?></h3>
            <?php
        }
    }
    ?>


    <?php
	$show_flags = true;
	if (isset($instance['show_flags']))	{
		$show_flags = $instance['show_flags'];
	}
	if (!isset($instance['width'])) {
		$instance['width'] = '100%';
	}
	if (!isset($instance['flag_position'])) {
		$instance['flag_position'] = 'right';
	}
	
    if ($show_flags === 'true')
    {
        $show_flags = 1;
    } else
    {
        $show_flags = 0;
    }
    //+++
    $txt_type = 'code';
    if (isset($instance['txt_type']))
    {
        $txt_type = $instance['txt_type'];
    }
    echo do_shortcode("[woocs txt_type='{$txt_type}' show_flags={$show_flags} width='{$instance['width']}' flag_position='{$instance['flag_position']}']");
    ?>
</div>

<?php
if (isset($args['after_widget']))
{
    echo $args['after_widget'];
}


Youez - 2016 - github.com/yon3zu
LinuXploit