Frontend elements to SugoiMusic, including CSS and public/private headers.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

66 строки
2.3 KiB

  1. </div>
  2. <?php TEXTAREA_PREVIEW::JavaScript(); ?>
  3. <div id="footer">
  4. <? if (!empty($Options['disclaimer'])) { ?>
  5. <br /><br />
  6. <div id="disclaimer_container" class="thin" style="text-align: center; margin-bottom: 20px;">
  7. 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.
  8. </div>
  9. <?
  10. }
  11. if (count($UserSessions) > 1) {
  12. foreach ($UserSessions as $ThisSessionID => $Session) {
  13. if ($ThisSessionID != $SessionID) {
  14. $LastActive = $Session;
  15. break;
  16. }
  17. }
  18. }
  19. $Load = sys_getloadavg();
  20. ?>
  21. <p>Site and design &copy; <?=date('Y')?> <?=SITE_NAME?></p>
  22. <? if (!empty($LastActive)) { ?>
  23. <p>
  24. <a href="user.php?action=sessions">
  25. <span class="tooltip" title="Manage sessions">Last activity: </span><?=time_diff($LastActive['LastUpdate'])?><span class="tooltip" title="Manage sessions"> from <?=(apcu_exists('DBKEY')?(DBCrypt::decrypt($LastActive['IP'])):'[Encrypted]') ?></span>
  26. </a>
  27. </p>
  28. <? } ?>
  29. <p>
  30. <strong>Time:</strong> <span><?=number_format(((microtime(true) - $ScriptStartTime) * 1000), 5)?> ms</span>
  31. <strong>Used:</strong> <span><?=Format::get_size(memory_get_usage(true))?></span>
  32. <strong>Load:</strong> <span><?=number_format($Load[0], 2).' '.number_format($Load[1], 2).' '.number_format($Load[2], 2)?></span>
  33. <strong>Date:</strong> <span id="site_date"><?=date('M d Y')?></span>, <span id="site_time"><?=date('H:i')?></span>
  34. </p>
  35. </div>
  36. <? if (DEBUG_MODE || check_perms('site_debug')) { ?>
  37. <!-- Begin Debugging -->
  38. <div id="site_debug">
  39. <?
  40. $Debug->perf_table();
  41. $Debug->flag_table();
  42. $Debug->error_table();
  43. $Debug->sphinx_table();
  44. $Debug->query_table();
  45. $Debug->cache_table();
  46. $Debug->vars_table();
  47. $Debug->ocelot_table();
  48. ?>
  49. </div>
  50. <!-- End Debugging -->
  51. <? } ?>
  52. </div>
  53. <?
  54. global $NotificationSpans;
  55. if (!empty($NotificationSpans)) {
  56. foreach ($NotificationSpans as $Notification) {
  57. echo "$Notification\n";
  58. }
  59. }
  60. ?>
  61. </body>
  62. </html>