GRAYBYTE WORDPRESS FILE MANAGER4560

Server IP : 162.213.255.40 / Your IP : 216.73.216.114
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/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/view//admin.php
<script>
  let nitroNonce = '<?php echo wp_create_nonce(NITROPACK_NONCE); ?>';
</script>
<div id="nitropack-container">
  <nav class="nitro-navigation">
    <div class="nitro-navigation-inner">
      <img src="<?php echo plugin_dir_url(__FILE__) . 'images/nitropack_logo.svg'; ?>" height="25" alt="NitroPack" />
    </div>
  </nav>

  <main id="main">
    
    <div class="container">
      <?php if (count(get_nitropack()->Notifications->get('system')) > 0) { ?>
        <div class="notification notification-danger" id="notifications">
          <div class="text-box">
            <div class="title-wrapper">
              <img src="<?php echo plugin_dir_url(__FILE__) . 'images/alert-triangle.svg'; ?>" alt="alert" class="icon" />
              <h5 class="title"><?php esc_html_e('Notifications', 'nitropack'); ?></h5>
            </div>
            <ul>

              <?php foreach (get_nitropack()->Notifications->get('system') as $notification) : ?>
                <li class="grid grid-cols-2 justify-between items-center">
                  <div class="col-span-8">
                    <?php echo $notification['message']; ?>
                  </div>
                  <div class="col-span-4 ml-auto">
                    <a class="btn btn-danger rml_btn" data-notification_end="<?php echo $notification['end_date']; ?>" data-notification_id="<?php echo $notification['id']; ?>">Remind me later</a>
                  </div>
                </li>
              <?php endforeach; ?>
            </ul>
          </div>
        </div>
      <?php } ?>
      <?php if (!isset($_GET['subpage'])) : ?>
        <?php require_once NITROPACK_PLUGIN_DIR . "view/dashboard.php";
        ?>
      <?php endif; ?>


      <?php if (isset($_GET['subpage']) && $_GET['subpage'] == 'system-report') : ?>
        <?php require_once NITROPACK_PLUGIN_DIR . "view/system-report.php";
        ?>
      <?php endif; ?>
    </div>
  </main>
  <?php require_once NITROPACK_PLUGIN_DIR . 'view/templates/template-toast.php'; ?>
</div>

<?php if (NITROPACK_SUPPORT_BUBBLE_VISIBLE) { ?>
  <div class="support-widget">
    <!-- support widget -->
    <script>
      window.intercomSettings = {
        api_base: "https://api-iam.intercom.io",
        app_id: "d5v9p9vg"
      };

      (function() {
        var w = window;
        var ic = w.Intercom;
        if (typeof ic === "function") {
          ic('reattach_activator');
          ic('update', w.intercomSettings);
        } else {
          var d = document;
          var i = function() {
            i.c(arguments);
          };
          i.q = [];
          i.c = function(args) {
            i.q.push(args);
          };
          w.Intercom = i;
          var l = function() {
            var s = d.createElement('script');
            s.type = 'text/javascript';
            s.async = true;
            s.src = 'https://widget.intercom.io/widget/d5v9p9vg';
            var x = d.getElementsByTagName('script')[0];
            x.parentNode.insertBefore(s, x);
          };
          if (document.readyState === 'complete') {
            l();
          } else if (w.attachEvent) {
            w.attachEvent('onload', l);
          } else {
            w.addEventListener('load', l, false);
          }
        }
      })();
    </script>
    <!-- end support widget -->
  </div>
<?php } ?>
<script>
  (function($) {
    window.Notification = (_ => {
      var timeout;

      var display = (msg, type) => {
        clearTimeout(timeout);
        $('#nitropack-notification').remove();

        $('[name="form"]').prepend('<div id="nitropack-notification" class="notice notice-' + type + '" is-dismissible"><p>' + msg + '</p></div>');

        timeout = setTimeout(_ => {
          $('#nitropack-notification').remove();
        }, 10000);
        loadDismissibleNotices();
      }

      return {
        success: msg => {
          display(msg, 'success');
        },
        error: msg => {
          display(msg, 'error');
        },
        info: msg => {
          display(msg, 'info');
        },
        warning: msg => {
          display(msg, 'warning');
        }
      }
    })();

    const clearCacheHandler = clearCacheAction => {
      return function(success, error) {
        $.ajax({
          url: ajaxurl,
          type: 'GET',
          data: {
            action: "nitropack_" + clearCacheAction + "_cache",
            nonce: nitroNonce
          },
          dataType: 'json',
          beforeSend: function() {
            $('#optimizations-purge-cache').attr('disabled', true);
          },
          success: function(data) {
            if (data.type === 'success') {
              NitropackUI.triggerToast('success', data.message);
              cacheEvent = new Event("cache." + clearCacheAction + ".success");
            } else {

              NitropackUI.triggerToast('error', data.message);
              cacheEvent = new Event("cache." + clearCacheAction + ".error");
            }
            window.dispatchEvent(cacheEvent);
          },
          error: function(data) {

            NitropackUI.triggerToast('error', data.message);
            cacheEvent = new Event("cache." + clearCacheAction + ".error");
            window.dispatchEvent(cacheEvent);
          },
          complete: function() {
            setTimeout(function() {
              $('#optimizations-purge-cache').attr('disabled', false);
            }, 3000);
          }
        });
      };
    }

    $(window).on("load", _ => {
      //Remove styles from jobcareer and jobhunt plugins since they break our layout. They should not be loaded on our options page anyway.
      $('link[href*="jobcareer"').remove();
      $('link[href*="jobhunt"').remove();

      $("#dashboard").addClass("show active");
      window.addEventListener('cache.invalidate.request', clearCacheHandler("invalidate"));
      window.addEventListener('cache.purge.request', clearCacheHandler("purge"));

    });
    const loading_icon = '<img src="<?php echo plugin_dir_url(__FILE__); ?>/images/loading.svg" width="14" class="icon loading"/>',
      success_icon = '<img src="<?php echo plugin_dir_url(__FILE__); ?>/images/check.svg" width="16" class="icon success"/>';

    $("#nitro-restore-connection-btn").on("click", function() {
      $.ajax({
        url: ajaxurl,
        type: 'GET',
        data: {
          action: "nitropack_reconfigure_webhooks",
          nonce: nitroNonce
        },
        dataType: 'json',
        beforeSend: function() {
          $("#nitro-restore-connection-btn").attr("disabled", true).html(loading_icon);
        },
        success: function(data) {
          if (!data.status || data.status != "success") {
            if (data.message) {
              alert("<?php esc_html_e('Error:', 'nitropack'); ?> " + data.message);
            } else {
              alert("<?php esc_html_e('Error: We were unable to restore the connection. Please contact our support team to get this resolved.', 'nitropack'); ?>");
            }
          } else {
            $("#nitro-restore-connection-btn").attr("disabled", true).html(success_icon);
            NitropackUI.triggerToast('success', data.message);
          }
        },
        complete: function() {
          location.reload();
        }
      });
    });
  })(jQuery);
</script>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 15:04:17
hellrfbn / hellrfbn
0755
images
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
javascript
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
modals
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
stylesheet
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
templates
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
admin.php
7.13 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
connect-oneclick.php
2.738 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
connect.php
10.211 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
dashboard-oneclick.php
5.705 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
dashboard.php
26.436 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
diagnostics.php
7.102 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
oneclick.php
6.756 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
safemode.php
2.677 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644
system-report.php
7.102 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF