Frontend elements to SugoiMusic, including CSS and public/private headers.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

76 rader
2.7 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. <div class='thin'><a href='/canary.php'>Warrant Canary</a></div>
  10. <?
  11. }
  12. if (count($UserSessions) > 1) {
  13. foreach ($UserSessions as $ThisSessionID => $Session) {
  14. if ($ThisSessionID != $SessionID) {
  15. $LastActive = $Session;
  16. break;
  17. }
  18. }
  19. }
  20. $Load = sys_getloadavg();
  21. ?>
  22. <p>Site and design &copy; <?=date('Y')?> <?=SITE_NAME?></p>
  23. <? if (!empty($LastActive)) { ?>
  24. <p>
  25. <a href="user.php?action=sessions">
  26. <span class="tooltip" title="Manage sessions">Last activity: </span><?=time_diff($LastActive['LastUpdate'])?><span class="tooltip" title="Manage sessions"> from <?=(apc_exists('DBKEY')?(DBCrypt::decrypt($LastActive['IP'])):'[Encrypted]') ?></span>
  27. </a>
  28. </p>
  29. <? } ?>
  30. <p>
  31. <strong>Time:</strong> <span><?=number_format(((microtime(true) - $ScriptStartTime) * 1000), 5)?> ms</span>
  32. <strong>Used:</strong> <span><?=Format::get_size(memory_get_usage(true))?></span>
  33. <strong>Load:</strong> <span><?=number_format($Load[0], 2).' '.number_format($Load[1], 2).' '.number_format($Load[2], 2)?></span>
  34. <strong>Date:</strong> <span id="site_date"><?=date('M d Y')?></span>, <span id="site_time"><?=date('H:i')?></span>
  35. </p>
  36. </div>
  37. <? if (DEBUG_MODE || check_perms('site_debug')) { ?>
  38. <!-- Begin Debugging -->
  39. <div id="site_debug">
  40. <?
  41. $Debug->perf_table();
  42. $Debug->flag_table();
  43. $Debug->error_table();
  44. $Debug->sphinx_table();
  45. $Debug->query_table();
  46. $Debug->cache_table();
  47. $Debug->vars_table();
  48. $Debug->ocelot_table();
  49. ?>
  50. </div>
  51. <!-- End Debugging -->
  52. <? } ?>
  53. </div>
  54. <div id="lightbox" class="lightbox hidden"></div>
  55. <div id="curtain" class="curtain hidden"></div>
  56. <?
  57. global $NotificationSpans;
  58. if (!empty($NotificationSpans)) {
  59. foreach ($NotificationSpans as $Notification) {
  60. echo "$Notification\n";
  61. }
  62. }
  63. ?>
  64. <!-- Extra divs, for stylesheet developers to add imagery -->
  65. <div id="extra1"><span></span></div>
  66. <div id="extra2"><span></span></div>
  67. <div id="extra3"><span></span></div>
  68. <div id="extra4"><span></span></div>
  69. <div id="extra5"><span></span></div>
  70. <div id="extra6"><span></span></div>
  71. </body>
  72. </html>