📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: 404.html.tt
[% USE Monitoring; USE Whostmgr; SET dprefix = "../"; SET CPANEL.CPVAR.dprefix = dprefix.repeat(2); SET TEMPLATE_NAME = "404.html.tt"; SET HOME_PATH = cp_security_token _ '/whostmgr/docroot/cgi/monitoring'; SET ROUTER_PATH = HOME_PATH _ '/monitoring'; SET PROTOCOL = 'http'; SET SECONDS_TO_REDIRECT = 15; IF CPANEL.ENV.HTTPS == 'on'; SET PROTOCOL = 'https'; END; SET HOME_URL = PROTOCOL _ '://' _ CPANEL.ENV.SERVER_NAME _ ':' _ CPANEL.ENV.SERVER_PORT _ '/' _ cp_security_token; SET MIXPANEL_APP_NAME = '360Monitoring'; is_root = Whostmgr.ENV.REMOTE_USER == "root" ? 1 : 0; is_root_reseller = Whostmgr.checkacl('all'); has_feature = is_root || is_root_reseller; SET is_allow = Monitoring.is_allow(); SET is_ready = Monitoring.is_ready(); IF is_allow && is_ready; SET signin_info = Monitoring.get_signin_info(); SET error = signin_info.error; END; # See: https://api.docs.cpanel.net/openapi/cpanel/operation/get_site_monitor_environment/ #SET result = execute('SiteQuality', 'get_environment'); #SET environment = result.data.environment; SET environment = ''; links_code = PROCESS links_block; init_code = PROCESS init_block; js_code = PROCESS js_block; meta_code = PROCESS meta_block; %] [% WRAPPER 'master_templates/master.tmpl' header = 'Server Monitoring' theme = 'bootstrap' link_block = links_code js_first_block = init_code js_block = js_code meta_block = meta_code -%] [% SET is_monitoring_ready = has_feature && is_allow && is_ready && signin_info.api_key; SET is_monitoring_setup = has_feature && is_allow && !is_ready; SET error_messages = { setup_failed = locale.maketext('[output,strong,Error:] The [asis,Server Monitoring] setup failed due to the following error: “[_1]”. Please check error_log for more information.', error), setup_in_progress = locale.maketext('[output,strong,Error:] [asis,Server Monitoring] is being setup. Please wait.'), feature_disabled = locale.maketext('[output,strong,Error:] [asis,Server Monitoring] is not enabled for your server. Please contact your hosting provider for access.') }; %] [% MACRO error_message(message) BLOCK %] <div class="body-content"> <div class="alert alert-danger"> <span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> <div class="alert-message">[% message %]</div> </div> <div>[% locale.maketext('You will be redirected to the home page.') %]</div> </div> <meta http-equiv="refresh" content="[% SECONDS_TO_REDIRECT %];url=[% CPANEL.CPVAR.dprefix %]" /> [% END %] <div class="body-content whmsp" id="360MonitoringApp"> [% IF error %] [% error_message(error_messages.setup_failed)%] [% ELSIF is_monitoring_ready %] <script> /** Use in the template expansion of some linked resources **/ const calculateBasePath = (keepSegments) => { const path = window.location.pathname const segments = path.split('/') const keep = [ ...segments.slice(0, keepSegments + 1), 'templates', 'monitoring', 'spa', ]; console.log("Path: " + keep.join('/')) return keep.join('/') + '/' } </script> <div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{nodeEnv:"production",apiEnv:"development",WHM_EXTRAS:true,LOGIN_API_BASE_URL:"",DASHBOARD_LINK:"/",SELECT_METANAV:"DEFAULT",WHM_APPLICATION_PATH:"/cgi/monitoring/whm-360-monitoring.cgi#",TRACKER_PREFIX:"WHM-SPA",MIXPANEL_API_KEY:"",API_URL:"https://api.monitoring360.io",PERSIST_KEY:"whmsp",EXTERNAL_DASHBOARD:"https://app.360monitoring.com",persistedState:{storage:"cookies",debug:false,cookieOptions:{}},i18n:{baseUrl:"",defaultLocale:"en",rootRedirect:"",redirectStatusCode:302,skipSettingLocaleOnNavigate:false,locales:[{code:"en",language:""},{code:"de",language:""},{code:"fr",language:""},{code:"es",language:""},{code:"it",language:""},{code:"ru",language:""},{code:"ja",language:""},{code:"pt",language:""}],detectBrowserLanguage:{alwaysRedirect:false,cookieCrossOrigin:false,cookieDomain:"",cookieKey:"i18n_redirected",cookieSecure:false,fallbackLocale:"",redirectOn:"root",useCookie:true},experimental:{localeDetector:"",typedPages:true,typedOptionsAndMessages:false,alternateLinkCanonicalQueries:true,devCache:false,cacheLifetime:"",stripMessagesPayload:false,preload:false,strictSeo:false,nitroContextDetection:true,httpCacheDuration:10},domainLocales:{en:{domain:""},de:{domain:""},fr:{domain:""},es:{domain:""},it:{domain:""},ru:{domain:""},ja:{domain:""},pt:{domain:""}}}},app:{baseURL: calculateBasePath(1),buildId:"436816b9-b08e-469d-9ef0-c9813d2f866a",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__" type="application/json">[{"prerenderedAt":1,"serverRendered":2},1782393941023,false]</script> [% ELSIF is_monitoring_setup %] [% error_message(error_messages.setup_in_progress)%] [% ELSE %] [% error_message(error_messages.feature_disabled)%] [% END %] </div> [% END %] [% BLOCK links_block %] <!-- links_block --> <link crossorigin="crossorigin" href="[% Whostmgr.find_file_url('/templates/monitoring/spa/_nuxt/entry.C1YSsCtD.css') %]" rel="stylesheet" /> <link as="script" crossorigin="crossorigin" href="[% Whostmgr.find_file_url('/templates/monitoring/spa/_nuxt/Bb0d5mhF.js') %]" rel="modulepreload" /> <style> /* html, body { height: 100% !important; } .body-content .min-h-screen { min-height: unset !important } .body-content .fixed.top-0 { top: 60px !important } html[dir=ltr] .body-content .fixed.left-0 { left: clamp(240px,14.8vw,320px) !important } html[dir=rtl] .body-content .fixed.right-0 { right: clamp(240px,14.8vw,320px) !important } .body-content .mobileFullHeight { height: calc(100vh - 6rem) !important} */ /* Correction for the page title that are being overwritten by tailwind */ /* NOTE: This is a very fragil hack that will work until the shared styles */ /* change or the tailwind stuff breaks things further. The real solution */ /* is to isolate the tailwind styles to inside the .page-body tag. */ /* .page-title { display: block; font-size: 30px; text-transform: capitalize; } .page-title-section { display: inline-block; vertical-align: top; font-size: 20px; } h1.page-header { border-bottom: 0; font-weight: lighter; font-family: "Open Sans",sans-serif; line-height: 1.1; color: inherit; font-size: 2em; margin-bottom: 0.67em; } h1 #pageSubHeading { font-size: 65%; font-weight: 400; line-height: 1; color: #999; } */ </style> [% END %] [% BLOCK init_block %] <!-- init_block --> [% SET locale_tag = locale.get_language_tag(); # es_419 SET language_tag = locale_tag.split('_').0; # es %] <script> window.PLUGINS = { monitoring: { isSandbox: [% IF CPANEL.is_sandbox; 'false'; ELSE; 'false'; END; %], isCpanel: true, locale: [% language_tag.json() %], apiKey: [% signin_info.api_key.json() %], userId: [% signin_info.user_id.json() %], environment: [% environment.json() %], basePath: [% ROUTER_PATH.json() %], homeUrl: [% HOME_URL.json() %], defaultPage: 'index.html#', companyId: [% get_company_id() %], track: function(eventName, additionalProperties) { window["mixpanel"]?.track([% MIXPANEL_APP_NAME.json() %] + "-" + eventName, additionalProperties); }, hasDevConfig: false, } } </script> [% END %] [% BLOCK js_block %] <!-- js_block --> <script crossorigin="crossorigin" src="[% Whostmgr.find_file_url('/templates/monitoring/spa/_nuxt/Bb0d5mhF.js') %]" type="module"></script> [% END %] [% BLOCK meta_block %] <!-- meta_block --> <meta charset="utf-8" /> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta content="no-referrer" name="referrer" /> [% END %]
Save