mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
74 lines
2.5 KiB
PHP
74 lines
2.5 KiB
PHP
</div>
|
|
<?php TEXTAREA_PREVIEW::JavaScript(); ?>
|
|
<div id="footer">
|
|
<? if (!empty($Options['disclaimer'])) { ?>
|
|
<br /><br />
|
|
<div id="disclaimer_container" class="thin" style="text-align: center; margin-bottom: 20px;">
|
|
None of the files shown here are actually hosted on this server. The links are provided solely by this site's users. These BitTorrent files are meant for the distribution of backup files. By downloading the BitTorrent file, you are claiming that you own the original file. The administrator of this site (<?=site_url()?>) holds NO RESPONSIBILITY if these files are misused in any way and cannot be held responsible for what its users post, or any other actions of it.
|
|
</div>
|
|
<?
|
|
}
|
|
if (count($UserSessions) > 1) {
|
|
foreach ($UserSessions as $ThisSessionID => $Session) {
|
|
if ($ThisSessionID != $SessionID) {
|
|
$LastActive = $Session;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
$Load = sys_getloadavg();
|
|
?>
|
|
<p>Site and design © <?=date('Y')?> <?=SITE_NAME?></p>
|
|
<? if (!empty($LastActive)) { ?>
|
|
<p>
|
|
<a href="user.php?action=sessions">
|
|
<span class="tooltip" title="Manage sessions">Last activity: </span><?=time_diff($LastActive['LastUpdate'])?><span class="tooltip" title="Manage sessions"> from <?=$LastActive['IP']?>.</span>
|
|
</a>
|
|
</p>
|
|
<? } ?>
|
|
<p>
|
|
<strong>Time:</strong> <span><?=number_format(((microtime(true) - $ScriptStartTime) * 1000), 5)?> ms</span>
|
|
<strong>Used:</strong> <span><?=Format::get_size(memory_get_usage(true))?></span>
|
|
<strong>Load:</strong> <span><?=number_format($Load[0], 2).' '.number_format($Load[1], 2).' '.number_format($Load[2], 2)?></span>
|
|
<strong>Date:</strong> <span id="site_date"><?=date('M d Y')?></span>, <span id="site_time"><?=date('H:i')?></span>
|
|
|
|
</p>
|
|
</div>
|
|
<? if (DEBUG_MODE || check_perms('site_debug')) { ?>
|
|
<!-- Begin Debugging -->
|
|
<div id="site_debug">
|
|
<?
|
|
$Debug->perf_table();
|
|
$Debug->flag_table();
|
|
$Debug->error_table();
|
|
$Debug->sphinx_table();
|
|
$Debug->query_table();
|
|
$Debug->cache_table();
|
|
$Debug->vars_table();
|
|
?>
|
|
</div>
|
|
<!-- End Debugging -->
|
|
<? } ?>
|
|
|
|
</div>
|
|
<div id="lightbox" class="lightbox hidden"></div>
|
|
<div id="curtain" class="curtain hidden"></div>
|
|
<?
|
|
global $NotificationSpans;
|
|
if (!empty($NotificationSpans)) {
|
|
foreach ($NotificationSpans as $Notification) {
|
|
echo "$Notification\n";
|
|
}
|
|
}
|
|
?>
|
|
<!-- Extra divs, for stylesheet developers to add imagery -->
|
|
<div id="extra1"><span></span></div>
|
|
<div id="extra2"><span></span></div>
|
|
<div id="extra3"><span></span></div>
|
|
<div id="extra4"><span></span></div>
|
|
<div id="extra5"><span></span></div>
|
|
<div id="extra6"><span></span></div>
|
|
</body>
|
|
</html>
|