GRAYBYTE WORDPRESS FILE MANAGER7997

Server IP : 162.213.255.40 / Your IP : 216.73.216.141
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/view/javascript/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/view/javascript//np_notices.js
(function() {
  document.addEventListener("click", function(e) {
    if (e.target.matches(".notice.is-dismissible[data-dismissible-id] button.notice-dismiss")) {
      let noticeId = e.target.closest(".notice.is-dismissible[data-dismissible-id]").dataset.dismissibleId;
      document.cookie = "dismissed_notice_" + noticeId + "=1;path=/;max-age=" + (86400 * 30) + "; secure";
    }
  }, true);


  document.addEventListener("click", function(e) {
    if (e.target.matches(".rml_btn")) {
      var xhr = new XMLHttpRequest();
      var data = new FormData();
      data.append('action', 'nitropack_rml_notification');
      data.append('nonce', nitropack_notices_vars.nonce);
      data.append('notification_id', e.target.dataset.notification_id);
      data.append('notification_end', e.target.dataset.notification_end);

      xhr.onreadystatechange = function() {
        if (xhr.readyState === XMLHttpRequest.DONE) {
          if (xhr.status === 200) {
            var response = JSON.parse(xhr.responseText);
            if (response.transient_status === true) {
              var notifications_count = document.getElementById('notifications-list').querySelectorAll('li').length;

              if ( notifications_count === 1 ) {
                document.getElementById('notifications').parentNode.parentNode.remove();
              } else {
                e.target.parentNode.parentNode.remove();
              }

            }
          } else {
            console.log('Error: ' + xhr.status);
          }
        }
      };
      xhr.open('POST', ajaxurl);
      xhr.send(data);
    }
  }, true);

})();

var loadDismissibleNotices = function() {
  var $ = jQuery;

  $(".notice.is-dismissible").each(function() {
    var b = $(this)
      , c = $('<button type="button" class="notice-dismiss"><span class="screen-reader-text"></span></button>');
      c.on("click.wp-dismiss-notice", function($) {
        $.preventDefault(),
          b.fadeTo(100, 0, function() {
            b.slideUp(100, function() {
              b.remove()
            })
          })
      }),
      b.append(c)
  });
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
admin_bar_menu.js
3.018 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
flowbite.min.js
82.105 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
gravity_forms.js
0.514 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
math_captcha.js
0.523 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
metabox.js
1.737 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
nitropackUI.js
6.473 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_notices.js
2.056 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_safemode.js
6.14 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
np_settings.js
6.588 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
popper.min.js
18.861 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
widgets_ajax.js
0.255 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF