, begin
HTML;
}
# Site meta
$Year = date('Y');
$Load = sys_getloadavg();
echo $HTML = <<
Site and design
©
$Year
$ENV->SITE_NAME
$Sep
Warrant Canary
HTML;
# Script meta
$MicroTime = number_format(((microtime(true) - $ScriptStartTime) * 1000), 5);
$Used = Format::get_size(memory_get_usage(true));
$Load = number_format($Load[0], 2).' '.number_format($Load[1], 2).' '.number_format($Load[2], 2);
$Date = date('M d Y');
$Time = date('H:i');
echo $HTML = <<
Time:
$MicroTime ms
$Sep
Load:
$Load
$Sep
Date:
$Date,
$Time
HTML;
if (DEBUG_MODE || check_perms('site_debug')) {
echo $HTML = <<
HTML;
$Debug->perf_table();
$Debug->flag_table();
$Debug->error_table();
$Debug->sphinx_table();
$Debug->query_table();
$Debug->cache_table();
$Debug->vars_table();
$Debug->ocelot_table();
echo $HTML = <<
HTML;
}
global $NotificationSpans;
if (!empty($NotificationSpans)) {
foreach ($NotificationSpans as $Notification) {
echo "$Notification\n";
}
}
echo $HTML = '';