Frontend elements to SugoiMusic, including CSS and public/private headers.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

67 rindas
2.4 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 <?=(apcu_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. <?
  55. global $NotificationSpans;
  56. if (!empty($NotificationSpans)) {
  57. foreach ($NotificationSpans as $Notification) {
  58. echo "$Notification\n";
  59. }
  60. }
  61. ?>
  62. </body>
  63. </html>