403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.150
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/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/www/wp-content/plugins/woocommerce-currency-switcher/js//meta-box.js
"use strict";
var woocs_old_currency = null;
function  woocs_change_order_data() {
    woocs_old_currency = jQuery('#woocs_order_metabox .woocs_order_currency i').html();
    jQuery('#woocs_order_metabox .woocs_order_currency select').show();
    jQuery('#woocs_order_metabox .woocs_order_currency select').attr('name', 'woocs_order_currency');
    jQuery('#woocs_order_metabox .woocs_order_currency select').val(woocs_old_currency);
    jQuery('.woocs_change_order_curr_button').hide();
    jQuery('.woocs_cancel_order_curr_button').show();
    jQuery('.woocs_recalculate_order_curr_button').show();
}

function woocs_cancel_order_data() {
    jQuery('#woocs_order_metabox .woocs_order_currency select').hide();
    jQuery('#woocs_order_metabox .woocs_order_currency select').attr('name', 'woocs_order_currency2');
    jQuery('.woocs_change_order_curr_button').show();
    jQuery('.woocs_cancel_order_curr_button').hide();
    jQuery('.woocs_recalculate_order_curr_button').hide();
}

function woocs_recalculate_order_data() {
    if (confirm('Are you sure?')) {
        var id = jQuery(".woocs_recalculate_order_curr_button").data('order_id');
        jQuery('.woocs_recalculate_order_curr_button').prop('href', 'javascript:void(0);');
        var data = {
            action: "woocs_recalculate_order_data",
            selected_currency: jQuery("select[name='woocs_order_currency']").val(),
            order_id: id
        };

        jQuery.post(ajaxurl, data, function (data) {
            window.location.reload();
        });
    }
}



Youez - 2016 - github.com/yon3zu
LinuXploit