Frontend elements to SugoiMusic, including CSS and public/private headers.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

publicheader.php 2.0 KiB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?
  2. global $LoggedUser, $SSL;
  3. define('FOOTER_FILE',SERVER_ROOT.'/design/publicfooter.php');
  4. ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html>
  7. <head>
  8. <title><?=display_str($PageTitle)?></title>
  9. <meta http-equiv="X-UA-Compatible" content="chrome=1; IE=edge" />
  10. <link rel="shortcut icon" href="favicon.ico?v=<?=md5_file('favicon.ico');?>" />
  11. <link href="<?=STATIC_SERVER ?>styles/public/style.css?v=<?=filemtime(SERVER_ROOT.'/static/styles/public/style.css')?>" rel="stylesheet" type="text/css" />
  12. <script src="<?=STATIC_SERVER?>functions/jquery.js" type="text/javascript"></script>
  13. <script src="<?=STATIC_SERVER?>functions/script_start.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/script_start.js')?>" type="text/javascript"></script>
  14. <script src="<?=STATIC_SERVER?>functions/ajax.class.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/ajax.class.js')?>" type="text/javascript"></script>
  15. <script src="<?=STATIC_SERVER?>functions/cookie.class.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/cookie.class.js')?>" type="text/javascript"></script>
  16. <script src="<?=STATIC_SERVER?>functions/storage.class.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/storage.class.js')?>" type="text/javascript"></script>
  17. <script src="<?=STATIC_SERVER?>functions/global.js?v=<?=filemtime(SERVER_ROOT.'/static/functions/global.js')?>" type="text/javascript"></script>
  18. <? $img = array_diff(scandir(SERVER_ROOT.'/misc/bg', 1), array('.', '..')); ?>
  19. <style> #content { background-image: url(<? echo("'/misc/bg/" . $img[rand(0,count($img)-1)] . "'"); ?>); }</style>
  20. </head>
  21. <body>
  22. <div id="head">
  23. </div>
  24. <div id="content">
  25. <table class="layout" id="maincontent">
  26. <tr>
  27. <td align="center" valign="middle">
  28. <div id="logo">
  29. <ul>
  30. <li><a href="index.php">Home</a></li>
  31. <li><a href="login.php">Log in</a></li>
  32. <? if (OPEN_REGISTRATION) { ?>
  33. <li><a href="register.php">Register</a></li>
  34. <? } ?>
  35. </ul>
  36. </div>
  37. <?