403Webshell
Server IP : 63.250.38.98  /  Your IP : 216.73.216.80
Web Server : LiteSpeed
System : Linux premium291.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : samejjip ( 1289)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/samejjip/www/wp-content/plugins/secure-copy-content-protection/admin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/samejjip/www/wp-content/plugins/secure-copy-content-protection/admin/js/admin.js
(function ($) {
    'use strict';

    $(document).on('click', '[data-slug="secure-copy-content-protection"] .deactivate a', function () {
        swal({
            html: "<h2>Do you want to upgrade to Pro version or permanently delete the plugin?</h2><ul><li>Upgrade: Your data will be saved for upgrade.</li><li>Deactivate: Your data will be deleted completely.</li></ul>",
            footer: '<a href="" class="ays-poll-temporary-deactivation">Temporary deactivation</a>',
            type: 'question',
            showCloseButton: true,
            showCancelButton: true,
            allowOutsideClick: false,
            allowEscapeKey: false,
            allowEnterKey: false,
            confirmButtonColor: '#3085d6',
            cancelButtonColor: '#d33',
            confirmButtonText: 'Upgrade',
            cancelButtonText: 'Deactivate',
            confirmButtonClass: "ays-sccp-upgrade-button",
            cancelButtonClass: "ays-sccp-cancel-button"
        }).then((result) => {

            if( result.dismiss && result.dismiss == 'close' ){
                return false;
            }

            var upgrade_plugin = false;
            if (result.value) upgrade_plugin = true;
            var data = {action: 'deactivate_sccp_option_sccp', upgrade_plugin: upgrade_plugin};
            $.ajax({
                url: sccp_admin_ajax.ajax_url,
                method: 'post',
                dataType: 'json',
                data: data,
                success: function () {
                    window.location = $(document).find('[data-slug="secure-copy-content-protection"]').find('.deactivate').find('a').attr('href');
                }
            });
        });
        return false;
    });

    $(document).on('click', '.ays-poll-temporary-deactivation', function (e) {
        e.preventDefault();

        $(document).find('.ays-sccp-upgrade-button').trigger('click');

    });

    $('.ays-sccp-upgrade-plugin-btn').hover(
        function() {
            $(this).css('color', '#3B8D3F');
        },
        function() {
            $(this).css('color', '#01A32A');
        }
    );

})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit