Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. <script type="text/javascript" src="{$cwebpath}lib/javascript/protoaculous-compressed.js"></script>
  2. <link rel="stylesheet" type="text/css" href="{$cwebpath}css/img_global.css" />
  3. {loop $ku_styles}
  4. <link rel="{if $ neq $__.ku_defaultstyle}alternate {/if}stylesheet" type="text/css" href="{$__.cwebpath}css/{$}.css" title="{$|capitalize}" />
  5. {/loop}
  6. {if $locale eq 'ja'}
  7. {literal}
  8. <style type="text/css">
  9. *{
  10. font-family: IPAMonaPGothic, Mona, 'MS PGothic', YOzFontAA97 !important;
  11. font-size: 1em;
  12. }
  13. </style>
  14. {/literal}
  15. {/if}
  16. {if %KU_RSS neq ''}
  17. <link rel="alternate" type="application/rss+xml" title="RSS" href="{%KU_BOARDSPATH}/{$board.name}/rss.xml" />
  18. {/if}
  19. <script type="text/javascript"><!--
  20. var ku_boardspath = '{%KU_BOARDSPATH}';
  21. var ku_cgipath = '{%KU_CGIPATH}';
  22. var style_cookie = "kustyle";
  23. {if $replythread > 0}
  24. var ispage = false;
  25. {else}
  26. var ispage = true;
  27. {/if}
  28. //--></script>
  29. <script type="text/javascript" src="{%KU_WEBPATH}/lib/javascript/kusaba.js"></script>
  30. <script type="text/javascript"><!--
  31. var hiddenthreads = getCookie('hiddenthreads').split('!');
  32. //--></script>
  33. </head>
  34. <body>
  35. <div class="adminbar">
  36. {if %KU_STYLESWITCHER}
  37. {if %KU_DROPSWITCHER}
  38. <select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
  39. <option>{t}Styles{/t}</option>
  40. {loop $ku_styles}
  41. <option value="{$|capitalize}">{$|capitalize}</option>;
  42. {/loop}
  43. </select>
  44. {else}
  45. {loop $ku_styles}
  46. [<a href="#" onclick="javascript:set_stylesheet('{$|capitalize}');return false;">{$|capitalize}</a>]&nbsp;
  47. {/loop}
  48. {/if}
  49. {if count($ku_styles) > 0}
  50. -&nbsp;
  51. {/if}
  52. {/if}
  53. {if %KU_WATCHTHREADS}
  54. [<a href="#" onclick="javascript:showwatchedthreads();return false" title="{t}Watched Threads{/t}">WT</a>]&nbsp;
  55. {/if}
  56. [<a href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>]&nbsp;[<a href="{%KU_CGIPATH}/manage.php" target="_top">{t}Manage{/t}</a>]
  57. </div>
  58. <div class="navbar">
  59. {if %KU_GENERATEBOARDLIST}
  60. {foreach name=sections item=sect from=$boardlist}
  61. [
  62. {foreach name=brds item=brd from=$sect}
  63. <a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
  64. {/foreach}
  65. ]
  66. {/foreach}
  67. {else}
  68. {if is_file($boardlist)}
  69. {include $boardlist}
  70. {/if}
  71. {/if}
  72. </div>
  73. {if %KU_WATCHTHREADS && not $isoekaki && not $hidewatchedthreads}
  74. <script type="text/javascript"><!--
  75. if (getCookie('showwatchedthreads') == '1') {
  76. document.write('<div id="watchedthreads" style="top: {$ad_top}px; left: 25px;" class="watchedthreads"><div class="postblock" id="watchedthreadsdraghandle" style="width: 100%;">{t}Watched Threads{/t}<\/div><span id="watchedthreadlist"><\/span><div id="watchedthreadsbuttons"><a href="#" onclick="javascript:hidewatchedthreads();return false;" title="{t}Hide the watched threads box{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="hidewatchedthreads" alt="hide" /><\/a>&nbsp;<a href="#" onclick="javascript:getwatchedthreads(\'0\', \'{$board.name}\');return false;" title="{t}Refresh watched threads{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="refreshwatchedthreads" alt="refresh" /><\/a><\/div><\/div>');
  77. watchedthreadselement = document.getElementById('watchedthreads');
  78. watchedthreadselement.style.top = getCookie('watchedthreadstop');
  79. watchedthreadselement.style.left = getCookie('watchedthreadsleft');
  80. watchedthreadselement.style.width = Math.max(250,getCookie('watchedthreadswidth')) + 'px';
  81. watchedthreadselement.style.height = Math.max(75,getCookie('watchedthreadsheight')) + 'px';
  82. getwatchedthreads('<!sm_threadid>', '{$board.name}');
  83. }
  84. //--></script>
  85. {/if}
  86.  
  87. <div class="logo">
  88. {if %KU_HEADERURL neq '' && $board.image eq ''}
  89. <img src="{%KU_HEADERURL}" alt="{t}Logo{/t}" /><br />
  90. {elseif $board.image neq '' && $board.image neq "none"}
  91. <img src="{$board.image}" alt="{t}Logo{/t}" /><br />
  92. {/if}
  93. {if %KU_DIRTITLE}
  94. /{$board.name}/ -
  95. {/if}
  96. {$board.desc}</div>
  97. {$board.includeheader}
  98. <hr />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement