403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/js/admin-functions.js
(function($){

    'use strict';

    $( document ).on( 'click', '.sydney-update-fontawesome', function(e){
        e.preventDefault();

        if( confirm( sydneyadm.fontawesomeUpdate.confirmMessage ) ) {
            $.ajax({
                type: 'post',
                url: ajaxurl,
                data: {
                    action: 'sydney_update_fontawesome_callback',
                    nonce: $(this).data('nonce')
                },
                success: function (response) {
                    if( response.success ) {
                        window.location.reload();
                    } else {
                        alert( sydneyadm.fontawesomeUpdate.errorMessage );
                    }
                }
            });
        }
        
    } );
}(jQuery));


/**
 * Header update
 */
 (function($){

    'use strict';

    $( document ).on( 'click', '.sydney-update-header', function(e){
        e.preventDefault();

        if( confirm( sydneyadm.headerUpdate.confirmMessage ) ) {
            $.ajax({
                type: 'post',
                url: ajaxurl,
                data: {
                    action: 'sydney_header_update_notice_1_8_1_callback',
                    nonce: $(this).data('nonce')
                },
                success: function (response) {
                    if( response.success ) {
                        window.location.reload();
                    } else {
                        alert( sydneyadm.headerUpdate.errorMessage );
                    }
                }
            });
        }
        
    } );
}(jQuery));

/**
 * Header update dismiss
 */
 (function($){

    'use strict';

    $( document ).on( 'click', '.sydney-update-header-dismiss', function(e){
        e.preventDefault();

        if( confirm( sydneyadm.headerUpdateDimiss.confirmMessage ) ) {
            $.ajax({
                type: 'post',
                url: ajaxurl,
                data: {
                    action: 'sydney_header_update_dismiss_notice_1_8_2_callback',
                    nonce: $(this).data('nonce')
                },
                success: function (response) {
                    if( response.success ) {
                        window.location.reload();
                    } else {
                        alert( sydneyadm.headerUpdateDimiss.errorMessage );
                    }
                }
            });
        }
        
    } );
}(jQuery));

Youez - 2016 - github.com/yon3zu
LinuXploit