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

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

https://github.com/stormeus/Kusaba-Z
PHP | 222 lines | 189 code | 28 blank | 5 comment | 67 complexity | 987441c012dd39cdd9d6a76bb6b5d488 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php
  2. if (function_exists('smarty_block_t')===false)
  3. $this->getLoader()->loadPlugin('t');
  4. if (function_exists('Dwoo_Plugin_include')===false)
  5. $this->getLoader()->loadPlugin('include');
  6. ob_start(); /* template body */ ;
  7. if (! (isset($this->scope["isread"]) ? $this->scope["isread"] : null)) {
  8. ?>
  9. <table class="userdelete">
  10. <tbody>
  11. <tr>
  12. <td>
  13. <?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();?>Delete 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);?>
  14. [<input type="checkbox" name="fileonly" id="fileonly" value="on" /><label for="fileonly"><?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 Only<?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);?></label>]<br /><?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();?>Password<?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);?>
  15. <input type="password" name="postpassword" size="8" />&nbsp;<input name="deletepost" value="<?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();?>Delete<?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);?>" type="submit" />
  16. <?php if ((isset($this->scope["board"]["enablereporting"]) ? $this->scope["board"]["enablereporting"]:null) == 1) {
  17. ?>
  18. </td>
  19. </tr>
  20. <tr>
  21. <td>
  22. <?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();?>Report post<?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();?><br />
  23. <?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();?>Reason<?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);?>
  24. <input type="text" name="reportreason" size="10" />&nbsp;<input name="reportpost" value="<?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();?>Report<?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);?>" type="submit" />
  25. <?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);
  26. $_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);
  27. }?>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </form>
  33. <script type="text/javascript"><!--
  34. set_delpass("delform");
  35. //--></script>
  36. <?php
  37. }?>
  38. <?php if ((isset($this->scope["replythread"]) ? $this->scope["replythread"] : null) == 0) {
  39. ?>
  40. <table border="1">
  41. <tbody>
  42. <tr>
  43. <td>
  44. <?php if ((isset($this->scope["thispage"]) ? $this->scope["thispage"] : null) == 0) {
  45. ?>
  46. <?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();?>Previous<?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);?>
  47. <?php
  48. }
  49. else {
  50. ?>
  51. <form method="get" action="<?php echo KU_BOARDSFOLDER;
  52. echo $this->scope["board"]["name"];?>/<?php if (( ((isset($this->scope["thispage"]) ? $this->scope["thispage"] : null) - 1) ) != 0) {
  53. echo ($this->scope["thispage"] - 1);?>.html<?php
  54. }?>">
  55. <input value="<?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();?>Previous<?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);?>" type="submit" /></form>
  56. <?php
  57. }?>
  58. </td>
  59. <td>
  60. &#91;<?php if ((isset($this->scope["thispage"]) ? $this->scope["thispage"] : null) != 0) {
  61. ?><a href="<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["board"]["name"];?>/"><?php
  62. }?>0<?php if ((isset($this->scope["thispage"]) ? $this->scope["thispage"] : null) != 0) {
  63. ?></a><?php
  64. }?>&#93;
  65. <?php $this->globals['section']['pages'] = array();
  66. $_section0 =& $this->globals['section']['pages'];
  67. $_section0['loop'] = is_array($tmp = (isset($this->scope["numpages"]) ? $this->scope["numpages"] : null)) ? count($tmp) : max(0, (int) $tmp);
  68. $_section0['show'] = true;
  69. $_section0['name'] = 'pages';
  70. $_section0['max'] = $_section0['loop'];
  71. $_section0['step'] = 1;
  72. $_section0['start'] = $_section0['step'] > 0 ? 0 : $_section0['loop'] - 1;
  73. if ($_section0['start'] < 0) { $_section0['start'] = max($_section0['step'] > 0 ? 0 : -1, $_section0['loop'] + $_section0['start']); }
  74. else { $_section0['start'] = min($_section0['start'], $_section0['step'] > 0 ? $_section0['loop'] : $_section0['loop'] -1); }
  75. if ($_section0['show']) {
  76. $_section0['total'] = $_section0['loop'];
  77. if ($_section0['total'] == 0) {
  78. $_section0['show'] = false;
  79. }
  80. } else {
  81. $_section0['total'] = 0;
  82. }
  83. if ($_section0['show']) {
  84. for ($this->scope['pages'] = $_section0['start'], $_section0['iteration'] = 1; $_section0['iteration'] <= $_section0['total']; $this->scope['pages'] += $_section0['step'], $_section0['iteration']++) {
  85. $_section0['rownum'] = $_section0['iteration'];
  86. $_section0['index_prev'] = $this->scope['pages'] - $_section0['step'];
  87. $_section0['index_next'] = $this->scope['pages'] + $_section0['step'];
  88. $_section0['first'] = ($_section0['iteration'] == 1);
  89. $_section0['last'] = ($_section0['iteration'] == $_section0['total']);
  90. ?>
  91. &#91;<?php if ((isset($this->globals["section"]["pages"]["iteration"]) ? $this->globals["section"]["pages"]["iteration"]:null) != (isset($this->scope["thispage"]) ? $this->scope["thispage"] : null)) {?><a href="<?php echo KU_BOARDSFOLDER;
  92. echo $this->scope["board"]["name"];?>/<?php echo $this->globals["section"]["pages"]["iteration"];?>.html"><?php }
  93. echo $this->globals["section"]["pages"]["iteration"];
  94. if ((isset($this->globals["section"]["pages"]["iteration"]) ? $this->globals["section"]["pages"]["iteration"]:null) != (isset($this->scope["thispage"]) ? $this->scope["thispage"] : null)) {?></a><?php }?>&#93;
  95. <?php
  96. }
  97. } ?>
  98. </td>
  99. <td>
  100. <?php if ((isset($this->scope["thispage"]) ? $this->scope["thispage"] : null) == (isset($this->scope["numpages"]) ? $this->scope["numpages"] : null)) {
  101. ?>
  102. <?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();?>Next<?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);?>
  103. <?php
  104. }
  105. else {
  106. ?>
  107. <form method="get" action="<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["board"]["name"];?>/<?php echo ($this->scope["thispage"] + 1);?>.html"><input value="<?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();?>Next<?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);?>" type="submit" /></form>
  108. <?php
  109. }?>
  110. </td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. <?php
  115. }?>
  116. <br />
  117. <?php if ((isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null)) {
  118. ?>
  119. <div class="navbar">
  120. <?php if ((defined("KU_GENERATEBOARDLIST") ? KU_GENERATEBOARDLIST : null)) {
  121. ?>
  122. <?php
  123. $_fh7_data = (isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null);
  124. if ($this->isArray($_fh7_data) === true)
  125. {
  126. foreach ($_fh7_data as $this->scope['sect'])
  127. {
  128. /* -- foreach start output */
  129. ?>
  130. [
  131. <?php
  132. $_fh6_data = (isset($this->scope["sect"]) ? $this->scope["sect"] : null);
  133. $this->globals["foreach"]['brds'] = array
  134. (
  135. "iteration" => 1,
  136. "last" => null,
  137. "total" => $this->isArray($_fh6_data) ? count($_fh6_data) : 0,
  138. );
  139. $_fh6_glob =& $this->globals["foreach"]['brds'];
  140. if ($this->isArray($_fh6_data) === true)
  141. {
  142. foreach ($_fh6_data as $this->scope['brd'])
  143. {
  144. $_fh6_glob["last"] = (string) ($_fh6_glob["iteration"] === $_fh6_glob["total"]);
  145. /* -- foreach start output */
  146. ?>
  147. <a title="<?php echo $this->scope["brd"]["desc"];?>" href="<?php echo KU_BOARDSFOLDER;
  148. echo $this->scope["brd"]["name"];?>/"><?php echo $this->scope["brd"]["name"];?></a><?php if ((isset($this->globals["foreach"]["brds"]["last"]) ? $this->globals["foreach"]["brds"]["last"]:null)) {
  149. }
  150. else {
  151. ?> / <?php
  152. }?>
  153. <?php
  154. /* -- foreach end output */
  155. $_fh6_glob["iteration"]+=1;
  156. }
  157. }?>
  158. ]
  159. <?php
  160. /* -- foreach end output */
  161. }
  162. }?>
  163. <?php
  164. }
  165. else {
  166. ?>
  167. <?php if (is_file((isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null))) {
  168. ?>
  169. <?php echo Dwoo_Plugin_include($this, (isset($this->scope["boardlist"]) ? $this->scope["boardlist"] : null), null, null, null, '_root', null);?>
  170. <?php
  171. }?>
  172. <?php
  173. }?>
  174. </div>
  175. <?php
  176. }?>
  177. <br />
  178. <div class="footer" style="clear: both;">
  179. - <a href="http://www.kusabax.org/" target="_top">kusaba x <?php echo KU_VERSION;?></a>
  180. <?php if ((isset($this->scope["executiontime"]) ? $this->scope["executiontime"] : null) != '') {
  181. ?> + <?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();?>Took<?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["executiontime"];?>s -<?php
  182. }?>
  183. <?php if ((isset($this->scope["botads"]) ? $this->scope["botads"] : null) != '') {
  184. ?>
  185. <div class="content ads">
  186. <center>
  187. <?php echo $this->scope["botads"];?>
  188. </center>
  189. </div>
  190. <?php
  191. }?>
  192. </div><?php /* end template body */
  193. return $this->buffer . ob_get_clean();
  194. ?>