PageRenderTime 64ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/dwoo/templates_c/var/www/html/kuzaba/dwoo/templates/img_board_page.tpl.d15.php

https://github.com/stormeus/Kusaba-Z
PHP | 841 lines | 822 code | 17 blank | 2 comment | 21 complexity | da3cf1d5b9f206361a030af0efedca1d MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. if (function_exists('smarty_block_t')===false)
  3. $this->getLoader()->loadPlugin('t');
  4. ob_start(); /* template body */ ?><form id="delform" action="<?php echo KU_CGIPATH;?>/board.php" method="post">
  5. <input type="hidden" name="board" value="<?php echo $this->scope["board"]["name"];?>" />
  6. <?php
  7. $_fh5_data = (isset($this->scope["posts"]) ? $this->scope["posts"] : null);
  8. $this->globals["foreach"]['thread'] = array
  9. (
  10. "iteration" => 1,
  11. );
  12. $_fh5_glob =& $this->globals["foreach"]['thread'];
  13. if ($this->isArray($_fh5_data) === true)
  14. {
  15. foreach ($_fh5_data as $this->scope['postsa'])
  16. {
  17. /* -- foreach start output */
  18. ?>
  19. <?php
  20. $_fh4_data = (isset($this->scope["postsa"]) ? $this->scope["postsa"] : null);
  21. if ($this->isArray($_fh4_data) === true)
  22. {
  23. foreach ($_fh4_data as $this->scope['postkey']=>$this->scope['post'])
  24. {
  25. /* -- foreach start output */
  26. ?>
  27. <?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  28. ?>
  29. <span id="unhidethread<?php echo $this->scope["post"]["id"];
  30. echo $this->scope["board"]["name"];?>" style="display: none;">
  31. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Thread<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?> <a href="<?php echo KU_BOARDSFOLDER;
  32. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["post"]["id"];?>.html"><?php echo $this->scope["post"]["id"];?></a> <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>hidden.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  33. <a href="#" onclick="javascript:togglethread('<?php echo $this->scope["post"]["id"];
  34. echo $this->scope["board"]["name"];?>');return false;" title="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Un-Hide Thread<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>">
  35. <img src="<?php echo $this->scope["cwebpath"];?>css/icons/blank.gif" border="0" class="unhidethread" alt="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Un-Hide Thread<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>" />
  36. </a>
  37. </span>
  38. <div id="thread<?php echo $this->scope["post"]["id"];
  39. echo $this->scope["board"]["name"];?>">
  40. <script type="text/javascript"><!--
  41. if (hiddenthreads.toString().indexOf('<?php echo $this->scope["post"]["id"];
  42. echo $this->scope["board"]["name"];?>')!==-1) {
  43. document.getElementById('unhidethread<?php echo $this->scope["post"]["id"];
  44. echo $this->scope["board"]["name"];?>').style.display = 'block';
  45. document.getElementById('thread<?php echo $this->scope["post"]["id"];
  46. echo $this->scope["board"]["name"];?>').style.display = 'none';
  47. }
  48. //--></script>
  49. <a name="s<?php echo $this->globals["foreach"]["thread"]["iteration"];?>"></a>
  50. <?php if (( (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != '' ) && ( ( (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '' && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' ) && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != 'removed' )) {
  51. ?>
  52. <span class="filesize">
  53. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'mp3') {
  54. ?>
  55. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Audio<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  56. <?php
  57. }
  58. else {
  59. ?>
  60. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  61. <?php
  62. }?>
  63. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'jpg' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'gif' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'png' && (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '') {
  64. ?>
  65. <a
  66. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  67. ?>
  68. target="_blank"
  69. <?php
  70. }?>
  71. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  72. <?php
  73. }
  74. else {
  75. ?>
  76. <a href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>" onclick="javascript:expandimg('<?php echo $this->scope["post"]["id"];?>', '<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>', '<?php echo $this->scope["file_path"];?>/thumb/<?php echo $this->scope["post"]["file"];?>s.<?php echo $this->scope["post"]["file_type"];?>', '<?php echo $this->scope["post"]["image_w"];?>', '<?php echo $this->scope["post"]["image_h"];?>', '<?php echo $this->scope["post"]["thumb_w"];?>', '<?php echo $this->scope["post"]["thumb_h"];?>');return false;">
  77. <?php
  78. }?>
  79. <?php if (((isset($this->scope["post"]["id3"]["comments_html"]) ? $this->scope["post"]["id3"]["comments_html"]:null) !== null)) {
  80. ?>
  81. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["artist"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["artist"]["0"]:null) != '') {
  82. ?>
  83. <?php echo $this->scope["post"]["id3"]["comments_html"]["artist"]["0"];?>
  84. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  85. ?>
  86. -
  87. <?php
  88. }?>
  89. <?php
  90. }?>
  91. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  92. ?>
  93. <?php echo $this->scope["post"]["id3"]["comments_html"]["title"]["0"];?>
  94. <?php
  95. }?>
  96. </a>
  97. <?php
  98. }
  99. else {
  100. ?>
  101. <?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?></a>
  102. <?php
  103. }?>
  104. - (<?php echo $this->scope["post"]["file_size_formatted"];?>
  105. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["bitrate"]) ? $this->scope["post"]["id3"]["comments_html"]["bitrate"]:null) != 0 || (isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  106. ?>
  107. <?php if ((isset($this->scope["post"]["id3"]["audio"]["bitrate"]) ? $this->scope["post"]["id3"]["audio"]["bitrate"]:null) != 0) {
  108. ?>
  109. - <?php echo round((isset($this->scope["post"]["id3"]["audio"]["bitrate"]) ? $this->scope["post"]["id3"]["audio"]["bitrate"]:null)/1000);?> kbps
  110. <?php if ((isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  111. ?>
  112. -
  113. <?php
  114. }?>
  115. <?php
  116. }?>
  117. <?php if ((isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  118. ?>
  119. <?php echo $this->scope["post"]["id3"]["audio"]["sample_rate"]/1000;?> kHz
  120. <?php
  121. }?>
  122. <?php
  123. }?>
  124. <?php if ((isset($this->scope["post"]["image_w"]) ? $this->scope["post"]["image_w"]:null) > 0 && (isset($this->scope["post"]["image_h"]) ? $this->scope["post"]["image_h"]:null) > 0) {
  125. ?>
  126. , <?php echo $this->scope["post"]["image_w"];?>x<?php echo $this->scope["post"]["image_h"];?>
  127. <?php
  128. }?>
  129. <?php if ((isset($this->scope["post"]["file_original"]) ? $this->scope["post"]["file_original"]:null) != '' && (isset($this->scope["post"]["file_original"]) ? $this->scope["post"]["file_original"]:null) != (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null)) {
  130. ?>
  131. , <?php echo $this->scope["post"]["file_original"];?>.<?php echo $this->scope["post"]["file_type"];?>
  132. <?php
  133. }?>
  134. )
  135. <?php if ((isset($this->scope["post"]["id3"]["playtime_string"]) ? $this->scope["post"]["id3"]["playtime_string"]:null) != '') {
  136. ?>
  137. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Length<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>: <?php echo $this->scope["post"]["id3"]["playtime_string"];?>
  138. <?php
  139. }?>
  140. </span>
  141. <?php if ((defined("KU_THUMBMSG") ? KU_THUMBMSG : null)) {
  142. ?>
  143. <span class="thumbnailmsg">
  144. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'jpg' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'gif' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'png' && (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '') {
  145. ?>
  146. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Extension icon displayed, click image to open file.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  147. <?php
  148. }
  149. else {
  150. ?>
  151. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Thumbnail displayed, click image for full size.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  152. <?php
  153. }?>
  154. </span>
  155. <?php
  156. }?>
  157. <br />
  158. <?php
  159. }?>
  160. <?php if ((isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '' && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' && ( (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'jpg' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'gif' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'png' )) {
  161. ?>
  162. <?php if ((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) == 'removed') {
  163. ?>
  164. <div class="nothumb">
  165. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<br />Removed<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  166. </div>
  167. <?php
  168. }
  169. else {
  170. ?>
  171. <a
  172. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  173. ?>
  174. target="_blank"
  175. <?php
  176. }?>
  177. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  178. <span id="thumb<?php echo $this->scope["post"]["id"];?>"><img src="<?php echo $this->scope["file_path"];?>/thumb/<?php echo $this->scope["post"]["file"];?>s.<?php echo $this->scope["post"]["file_type"];?>" alt="<?php echo $this->scope["post"]["id"];?>" class="thumb" height="<?php echo $this->scope["post"]["thumb_h"];?>" width="<?php echo $this->scope["post"]["thumb_w"];?>" /></span>
  179. </a>
  180. <?php
  181. }?>
  182. <?php
  183. }
  184. elseif ((isset($this->scope["post"]["nonstandard_file"]) ? $this->scope["post"]["nonstandard_file"]:null) != '') {
  185. ?>
  186. <?php if ((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) == 'removed') {
  187. ?>
  188. <div class="nothumb">
  189. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<br />Removed<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  190. </div>
  191. <?php
  192. }
  193. else {
  194. ?>
  195. <a
  196. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  197. ?>
  198. target="_blank"
  199. <?php
  200. }?>
  201. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  202. <span id="thumb<?php echo $this->scope["post"]["id"];?>"><img src="<?php echo $this->scope["post"]["nonstandard_file"];?>" alt="<?php echo $this->scope["post"]["id"];?>" class="thumb" height="<?php echo $this->scope["post"]["thumb_h"];?>" width="<?php echo $this->scope["post"]["thumb_w"];?>" /></span>
  203. </a>
  204. <?php
  205. }?>
  206. <?php
  207. }?>
  208. <a name="<?php echo $this->scope["post"]["id"];?>"></a>
  209. <label>
  210. <input type="checkbox" name="post[]" value="<?php echo $this->scope["post"]["id"];?>" />
  211. <?php if ((isset($this->scope["post"]["subject"]) ? $this->scope["post"]["subject"]:null) != '') {
  212. ?>
  213. <span class="filetitle">
  214. <?php echo $this->scope["post"]["subject"];?>
  215. </span>
  216. <?php
  217. }?>
  218. <span class="postername"><?php if ((isset($this->scope["post"]["email"]) ? $this->scope["post"]["email"]:null) && (isset($this->scope["board"]["anonymous"]) ? $this->scope["board"]["anonymous"]:null)) {?><a href="mailto:<?php echo $this->scope["post"]["email"];?>"><?php }
  219. if ((isset($this->scope["post"]["name"]) ? $this->scope["post"]["name"]:null) == '' && (isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) == '') {
  220. echo $this->scope["board"]["anonymous"];
  221. }
  222. elseif ((isset($this->scope["post"]["name"]) ? $this->scope["post"]["name"]:null) == '' && (isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) != '') {
  223. }
  224. else {
  225. echo $this->scope["post"]["name"];
  226. }
  227. if ((isset($this->scope["post"]["email"]) ? $this->scope["post"]["email"]:null) != '' && (isset($this->scope["board"]["anonymous"]) ? $this->scope["board"]["anonymous"]:null) != '') {?></a><?php }?></span><?php if ((isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) != '') {?><span class="postertrip">!<?php echo $this->scope["post"]["tripcode"];?></span><?php }?>
  228. <?php if ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 1) {
  229. ?>
  230. <span class="admin">
  231. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Admin<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  232. </span>
  233. <?php
  234. }
  235. elseif ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 4) {
  236. ?>
  237. <span class="mod">
  238. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Super Mod<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  239. </span>
  240. <?php
  241. }
  242. elseif ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 2) {
  243. ?>
  244. <span class="mod">
  245. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Mod<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  246. </span>
  247. <?php
  248. }?>
  249. <?php echo $this->scope["post"]["timestamp_formatted"];?>
  250. </label>
  251. <span class="reflink">
  252. <?php echo $this->scope["post"]["reflink"];?>
  253. </span>
  254. <?php if ((isset($this->scope["board"]["showid"]) ? $this->scope["board"]["showid"]:null)) {
  255. ?>
  256. ID: <?php echo substr((isset($this->scope["post"]["ipmd5"]) ? $this->scope["post"]["ipmd5"]:null), 0, 6);?>
  257. <?php
  258. }?>
  259. <span class="extrabtns">
  260. <?php if ((isset($this->scope["post"]["locked"]) ? $this->scope["post"]["locked"]:null) == 1) {
  261. ?>
  262. <img style="border: 0;" src="<?php echo $this->scope["boardpath"];?>css/locked.gif" alt="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Locked<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>" />
  263. <?php
  264. }?>
  265. <?php if ((isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 1) {
  266. ?>
  267. <img style="border: 0;" src="<?php echo $this->scope["boardpath"];?>css/sticky.gif" alt="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Stickied<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>" />
  268. <?php
  269. }?>
  270. <span id="hide<?php echo $this->scope["post"]["id"];?>"><a href="#" onclick="javascript:togglethread('<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  271. echo $this->scope["post"]["id"];
  272. }
  273. else {
  274. echo $this->scope["post"]["parentid"];
  275. }
  276. echo $this->scope["board"]["name"];?>');return false;" title="Hide Thread"><img src="<?php echo $this->scope["boardpath"];?>css/icons/blank.gif" border="0" class="hidethread" alt="hide" /></a></span>
  277. <?php if ((defined("KU_WATCHTHREADS") ? KU_WATCHTHREADS : null)) {
  278. ?>
  279. <a href="#" onclick="javascript:addtowatchedthreads('<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  280. echo $this->scope["post"]["id"];
  281. }
  282. else {
  283. echo $this->scope["post"]["parentid"];
  284. }?>','<?php echo $this->scope["board"]["name"];?>');return false;" title="Watch Thread"><img src="<?php echo $this->scope["boardpath"];?>css/icons/blank.gif" border="0" class="watchthread" alt="watch" /></a>
  285. <?php
  286. }?>
  287. <?php if ((defined("KU_EXPAND") ? KU_EXPAND : null) && (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) && ( (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) + (defined("KU_REPLIES") ? KU_REPLIES : null) ) < 300) {
  288. ?>
  289. <a href="#" onclick="javascript:expandthread('<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  290. echo $this->scope["post"]["id"];
  291. }
  292. else {
  293. echo $this->scope["post"]["parentid"];
  294. }?>','<?php echo $this->scope["board"]["name"];?>');return false;" title="Expand Thread"><img src="<?php echo $this->scope["boardpath"];?>css/icons/blank.gif" border="0" class="expandthread" alt="expand" /></a>
  295. <?php
  296. }?>
  297. <?php if ((defined("KU_QUICKREPLY") ? KU_QUICKREPLY : null)) {
  298. ?>
  299. <a href="#postbox" onclick="javascript:quickreply('<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  300. echo $this->scope["post"]["id"];
  301. }
  302. else {
  303. echo $this->scope["post"]["parentid"];
  304. }?>');" title="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Quick Reply<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>"><img src="<?php echo $this->scope["boardpath"];?>css/icons/blank.gif" border="0" class="quickreply" alt="quickreply" /></a>
  305. <?php
  306. }?>
  307. </span>
  308. <span id="dnb-<?php echo $this->scope["board"]["name"];?>-<?php echo $this->scope["post"]["id"];?>-y"></span>
  309. [<a href="<?php echo KU_BOARDSFOLDER;
  310. echo $this->scope["board"]["name"];?>/res/<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  311. echo $this->scope["post"]["id"];
  312. }
  313. else {
  314. echo $this->scope["post"]["parentid"];
  315. }?>.html"><?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Reply<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?></a>]
  316. <?php if ((defined("KU_FIRSTLAST") ? KU_FIRSTLAST : null) && ( ( (isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 1 && (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) + (defined("KU_REPLIESSTICKY") ? KU_REPLIESSTICKY : null) > 50 ) || ( (isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 0 && (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) + (defined("KU_REPLIES") ? KU_REPLIES : null) > 50 ) )) {
  317. ?>
  318. <?php if (( ( (isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 1 && (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) + (defined("KU_REPLIESSTICKY") ? KU_REPLIESSTICKY : null) > 100 ) || ( (isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 0 && (isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) + (defined("KU_REPLIES") ? KU_REPLIES : null) > 100 ) )) {
  319. ?>
  320. [<a href="<?php echo KU_BOARDSFOLDER;
  321. echo $this->scope["board"]["name"];?>/res/<?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  322. echo $this->scope["post"]["id"];
  323. }
  324. else {
  325. echo $this->scope["post"]["parentid"];
  326. }?>-100.html"><?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>First 100 posts<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?></a>]
  327. <?php
  328. }?>
  329. [<a href="<?php echo KU_BOARDSFOLDER;
  330. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["post"]["id"];?>+50.html"><?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Last 50 posts<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?></a>]
  331. <?php
  332. }?>
  333. <br />
  334. <?php
  335. }
  336. else {
  337. ?>
  338. <table>
  339. <tbody>
  340. <tr>
  341. <td class="doubledash">
  342. &gt;&gt;
  343. </td>
  344. <td class="reply" id="reply<?php echo $this->scope["post"]["id"];?>">
  345. <a name="<?php echo $this->scope["post"]["id"];?>"></a>
  346. <label>
  347. <input type="checkbox" name="post[]" value="<?php echo $this->scope["post"]["id"];?>" />
  348. <?php if ((isset($this->scope["post"]["subject"]) ? $this->scope["post"]["subject"]:null) != '') {
  349. ?>
  350. <span class="filetitle">
  351. <?php echo $this->scope["post"]["subject"];?>
  352. </span>
  353. <?php
  354. }?>
  355. <span class="postername"><?php if ((isset($this->scope["post"]["email"]) ? $this->scope["post"]["email"]:null) && (isset($this->scope["board"]["anonymous"]) ? $this->scope["board"]["anonymous"]:null)) {?><a href="mailto:<?php echo $this->scope["post"]["email"];?>"><?php }
  356. if ((isset($this->scope["post"]["name"]) ? $this->scope["post"]["name"]:null) == '' && (isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) == '') {
  357. echo $this->scope["board"]["anonymous"];
  358. }
  359. elseif ((isset($this->scope["post"]["name"]) ? $this->scope["post"]["name"]:null) == '' && (isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) != '') {
  360. }
  361. else {
  362. echo $this->scope["post"]["name"];
  363. }
  364. if ((isset($this->scope["post"]["email"]) ? $this->scope["post"]["email"]:null) != '' && (isset($this->scope["board"]["anonymous"]) ? $this->scope["board"]["anonymous"]:null) != '') {?></a><?php }?></span><?php if ((isset($this->scope["post"]["tripcode"]) ? $this->scope["post"]["tripcode"]:null) != '') {?><span class="postertrip">!<?php echo $this->scope["post"]["tripcode"];?></span><?php }?>
  365. <?php if ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 1) {
  366. ?>
  367. <span class="admin">
  368. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Admin<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  369. </span>
  370. <?php
  371. }
  372. elseif ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 4) {
  373. ?>
  374. <span class="mod">
  375. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Super Mod<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  376. </span>
  377. <?php
  378. }
  379. elseif ((isset($this->scope["post"]["posterauthority"]) ? $this->scope["post"]["posterauthority"]:null) == 2) {
  380. ?>
  381. <span class="mod">
  382. &#35;&#35;&nbsp;<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Mod<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>&nbsp;&#35;&#35;
  383. </span>
  384. <?php
  385. }?>
  386. <?php echo $this->scope["post"]["timestamp_formatted"];?>
  387. </label>
  388. <span class="reflink">
  389. <?php echo $this->scope["post"]["reflink"];?>
  390. </span>
  391. <?php if ((isset($this->scope["board"]["showid"]) ? $this->scope["board"]["showid"]:null)) {
  392. ?>
  393. ID: <?php echo substr((isset($this->scope["post"]["ipmd5"]) ? $this->scope["post"]["ipmd5"]:null), 0, 6);?>
  394. <?php
  395. }?>
  396. <span class="extrabtns">
  397. <?php if ((isset($this->scope["post"]["locked"]) ? $this->scope["post"]["locked"]:null) == 1) {
  398. ?>
  399. <img style="border: 0;" src="<?php echo $this->scope["boardpath"];?>css/locked.gif" alt="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Locked<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>" />
  400. <?php
  401. }?>
  402. <?php if ((isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 1) {
  403. ?>
  404. <img style="border: 0;" src="<?php echo $this->scope["boardpath"];?>css/sticky.gif" alt="<?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Stickied<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>" />
  405. <?php
  406. }?>
  407. </span>
  408. <span id="dnb-<?php echo $this->scope["board"]["name"];?>-<?php echo $this->scope["post"]["id"];?>-n"></span>
  409. <?php if (( (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != '' ) && ( ( (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '' && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' ) && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != 'removed' )) {
  410. ?>
  411. <br /><span class="filesize">
  412. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'mp3') {
  413. ?>
  414. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Audio<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  415. <?php
  416. }
  417. else {
  418. ?>
  419. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  420. <?php
  421. }?>
  422. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'jpg' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'gif' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'png' && (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '') {
  423. ?>
  424. <a
  425. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  426. ?>
  427. target="_blank"
  428. <?php
  429. }?>
  430. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  431. <?php
  432. }
  433. else {
  434. ?>
  435. <a href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>" onclick="javascript:expandimg('<?php echo $this->scope["post"]["id"];?>', '<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>', '<?php echo $this->scope["file_path"];?>/thumb/<?php echo $this->scope["post"]["file"];?>s.<?php echo $this->scope["post"]["file_type"];?>', '<?php echo $this->scope["post"]["image_w"];?>', '<?php echo $this->scope["post"]["image_h"];?>', '<?php echo $this->scope["post"]["thumb_w"];?>', '<?php echo $this->scope["post"]["thumb_h"];?>');return false;">
  436. <?php
  437. }?>
  438. <?php if (((isset($this->scope["post"]["id3"]["comments_html"]) ? $this->scope["post"]["id3"]["comments_html"]:null) !== null)) {
  439. ?>
  440. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["artist"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["artist"]["0"]:null) != '') {
  441. ?>
  442. <?php echo $this->scope["post"]["id3"]["comments_html"]["artist"]["0"];?>
  443. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  444. ?>
  445. -
  446. <?php
  447. }?>
  448. <?php
  449. }?>
  450. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  451. ?>
  452. <?php echo $this->scope["post"]["id3"]["comments_html"]["title"]["0"];?>
  453. <?php
  454. }?>
  455. </a>
  456. <?php
  457. }
  458. else {
  459. ?>
  460. <?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?></a>
  461. <?php
  462. }?>
  463. - (<?php echo $this->scope["post"]["file_size_formatted"];?>
  464. <?php if ((isset($this->scope["post"]["id3"]["comments_html"]["bitrate"]) ? $this->scope["post"]["id3"]["comments_html"]["bitrate"]:null) != 0 || (isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  465. ?>
  466. <?php if ((isset($this->scope["post"]["id3"]["audio"]["bitrate"]) ? $this->scope["post"]["id3"]["audio"]["bitrate"]:null) != 0) {
  467. ?>
  468. - <?php echo round((isset($this->scope["post"]["id3"]["audio"]["bitrate"]) ? $this->scope["post"]["id3"]["audio"]["bitrate"]:null)/1000);?> kbps
  469. <?php if ((isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  470. ?>
  471. -
  472. <?php
  473. }?>
  474. <?php
  475. }?>
  476. <?php if ((isset($this->scope["post"]["id3"]["audio"]["sample_rate"]) ? $this->scope["post"]["id3"]["audio"]["sample_rate"]:null) != 0) {
  477. ?>
  478. <?php echo $this->scope["post"]["id3"]["audio"]["sample_rate"]/1000;?> kHz
  479. <?php
  480. }?>
  481. <?php
  482. }?>
  483. <?php if ((isset($this->scope["post"]["image_w"]) ? $this->scope["post"]["image_w"]:null) > 0 && (isset($this->scope["post"]["image_h"]) ? $this->scope["post"]["image_h"]:null) > 0) {
  484. ?>
  485. , <?php echo $this->scope["post"]["image_w"];?>x<?php echo $this->scope["post"]["image_h"];?>
  486. <?php
  487. }?>
  488. <?php if ((isset($this->scope["post"]["file_original"]) ? $this->scope["post"]["file_original"]:null) != '' && (isset($this->scope["post"]["file_original"]) ? $this->scope["post"]["file_original"]:null) != (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null)) {
  489. ?>
  490. , <?php echo $this->scope["post"]["file_original"];?>.<?php echo $this->scope["post"]["file_type"];?>
  491. <?php
  492. }?>
  493. )
  494. <?php if ((isset($this->scope["post"]["id3"]["playtime_string"]) ? $this->scope["post"]["id3"]["playtime_string"]:null) != '') {
  495. ?>
  496. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Length<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>: <?php echo $this->scope["post"]["id3"]["playtime_string"];?>
  497. <?php
  498. }?>
  499. </span>
  500. <?php if ((defined("KU_THUMBMSG") ? KU_THUMBMSG : null)) {
  501. ?>
  502. <span class="thumbnailmsg">
  503. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'jpg' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'gif' && (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) != 'png' && (isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '') {
  504. ?>
  505. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Extension icon displayed, click image to open file.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  506. <?php
  507. }
  508. else {
  509. ?>
  510. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Thumbnail displayed, click image for full size.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  511. <?php
  512. }?>
  513. </span>
  514. <?php
  515. }?>
  516. <?php
  517. }?>
  518. <?php if ((isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null) == '' && (isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) != '' && ( (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'jpg' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'gif' || (isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'png' )) {
  519. ?>
  520. <br />
  521. <?php if ((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) == 'removed') {
  522. ?>
  523. <div class="nothumb">
  524. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<br />Removed<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  525. </div>
  526. <?php
  527. }
  528. else {
  529. ?>
  530. <a
  531. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  532. ?>
  533. target="_blank"
  534. <?php
  535. }?>
  536. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  537. <span id="thumb<?php echo $this->scope["post"]["id"];?>"><img src="<?php echo $this->scope["file_path"];?>/thumb/<?php echo $this->scope["post"]["file"];?>s.<?php echo $this->scope["post"]["file_type"];?>" alt="<?php echo $this->scope["post"]["id"];?>" class="thumb" height="<?php echo $this->scope["post"]["thumb_h"];?>" width="<?php echo $this->scope["post"]["thumb_w"];?>" /></span>
  538. </a>
  539. <?php
  540. }?>
  541. <?php
  542. }
  543. elseif ((isset($this->scope["post"]["nonstandard_file"]) ? $this->scope["post"]["nonstandard_file"]:null) != '') {
  544. ?>
  545. <br />
  546. <?php if ((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null) == 'removed') {
  547. ?>
  548. <div class="nothumb">
  549. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>File<br />Removed<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  550. </div>
  551. <?php
  552. }
  553. else {
  554. ?>
  555. <a
  556. <?php if ((defined("KU_NEWWINDOW") ? KU_NEWWINDOW : null)) {
  557. ?>
  558. target="_blank"
  559. <?php
  560. }?>
  561. href="<?php echo $this->scope["file_path"];?>/src/<?php echo $this->scope["post"]["file"];?>.<?php echo $this->scope["post"]["file_type"];?>">
  562. <span id="thumb<?php echo $this->scope["post"]["id"];?>"><img src="<?php echo $this->scope["post"]["nonstandard_file"];?>" alt="<?php echo $this->scope["post"]["id"];?>" class="thumb" height="<?php echo $this->scope["post"]["thumb_h"];?>" width="<?php echo $this->scope["post"]["thumb_w"];?>" /></span>
  563. </a>
  564. <?php
  565. }?>
  566. <?php
  567. }?>
  568. <?php
  569. }?>
  570. <?php if ((isset($this->scope["post"]["file_type"]) ? $this->scope["post"]["file_type"]:null) == 'mp3') {
  571. ?>
  572. <!--[if !IE]> -->
  573. <object type="application/x-shockwave-flash" data="<?php echo KU_WEBPATH;?>/inc/player/player.swf?playerID=<?php echo $this->scope["post"]["id"];?>&amp;soundFile=<?php echo $this->scope["file_path"];?>/src/<?php echo urlencode(utf8_encode((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null)));?>.mp3<?php if ((isset($this->scope["post"]["id3"]["comments_html"]["artist"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["artist"]["0"]:null) != '') {
  574. ?>&amp;artists=<?php echo $this->scope["post"]["id3"]["comments_html"]["artist"]["0"];
  575. }
  576. if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  577. ?>&amp;titles=<?php echo urlencode(utf8_encode(html_entity_decode((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null))));
  578. }?>&amp;wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
  579. <param name="wmode" value="transparent" />
  580. <!-- <![endif]-->
  581. <!--[if IE]>
  582. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
  583. <param name="movie" value="<?php echo KU_WEBPATH;?>/inc/player/player.swf?playerID=<?php echo $this->scope["post"]["id"];?>&amp;soundFile=<?php echo $this->scope["file_path"];?>/src/<?php echo urlencode(utf8_encode((isset($this->scope["post"]["file"]) ? $this->scope["post"]["file"]:null)));?>.mp3<?php if ((isset($this->scope["post"]["id3"]["comments_html"]["artist"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["artist"]["0"]:null) != '') {
  584. ?>&amp;artists=<?php echo $this->scope["post"]["id3"]["comments_html"]["artist"]["0"];
  585. }
  586. if ((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null) != '') {
  587. ?>&amp;titles=<?php echo urlencode(utf8_encode(html_entity_decode((isset($this->scope["post"]["id3"]["comments_html"]["title"]["0"]) ? $this->scope["post"]["id3"]["comments_html"]["title"]["0"]:null))));
  588. }?>&amp;wmode=transparent" />
  589. <param name="wmode" value="transparent" />
  590. <!-->
  591. </object>
  592. <!-- <![endif]-->
  593. <?php
  594. }?>
  595. <blockquote>
  596. <?php if ((isset($this->scope["post"]["videobox"]) ? $this->scope["post"]["videobox"]:null)) {
  597. ?>
  598. <?php echo $this->scope["post"]["videobox"];?>
  599. <?php
  600. }?>
  601. <?php echo $this->scope["post"]["message"];?>
  602. </blockquote>
  603. <?php if (! (isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) && (isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0 && ( ( (isset($this->scope["board"]["maxage"]) ? $this->scope["board"]["maxage"]:null) > 0 && ( (isset($this->scope["post"]["timestamp"]) ? $this->scope["post"]["timestamp"]:null) + ( (isset($this->scope["board"]["maxage"]) ? $this->scope["board"]["maxage"]:null) * 3600 ) ) < ( time() + 7200 ) ) || ( (isset($this->scope["post"]["deleted_timestamp"]) ? $this->scope["post"]["deleted_timestamp"]:null) > 0 && (isset($this->scope["post"]["deleted_timestamp"]) ? $this->scope["post"]["deleted_timestamp"]:null) <= ( time() + 7200 ) ) )) {
  604. ?>
  605. <span class="oldpost">
  606. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Marked for deletion (old)<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  607. </span>
  608. <br />
  609. <?php
  610. }?>
  611. <?php if ((isset($this->scope["post"]["parentid"]) ? $this->scope["post"]["parentid"]:null) == 0) {
  612. ?>
  613. <div id="replies<?php echo $this->scope["post"]["id"];
  614. echo $this->scope["board"]["name"];?>">
  615. <?php if ((isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null)) {
  616. ?>
  617. <span class="omittedposts">
  618. <?php if ((isset($this->scope["post"]["stickied"]) ? $this->scope["post"]["stickied"]:null) == 0) {
  619. ?>
  620. <?php echo $this->scope["post"]["replies"];?>
  621. <?php if ((isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) == 1) {
  622. ?>
  623. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array('lower' => "yes",); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Post<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  624. <?php
  625. }
  626. else {
  627. ?>
  628. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array('lower' => "yes",); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Posts<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  629. <?php
  630. }?>
  631. <?php
  632. }
  633. else {
  634. ?>
  635. <?php echo $this->scope["post"]["replies"];?>
  636. <?php if ((isset($this->scope["post"]["replies"]) ? $this->scope["post"]["replies"]:null) == 1) {
  637. ?>
  638. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array('lower' => "yes",); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Post<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  639. <?php
  640. }
  641. else {
  642. ?>
  643. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array('lower' => "yes",); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Posts<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?>
  644. <?php
  645. }?>
  646. <?php
  647. }?>
  648. <?php if ((isset($this->scope["post"]["images"]) ? $this->scope["post"]["images"]:null) > 0) {
  649. ?>
  650. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>and<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?> <?php echo $this->scope["post"]["images"];?>
  651. <?php if ((isset($this->scope["post"]["images"]) ? $this->scope["post"]["images"]:null) == 1) {
  652. ?>
  653. <?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array('lower' => "yes",); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat);

Large files files are truncated, but you can click here to view the full file