PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

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

https://github.com/stormeus/Kusaba-Z
PHP | 48 lines | 43 code | 5 blank | 0 comment | 27 complexity | eeaf25ba61026d93229409952db703a2 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. ob_start(); /* template body */ ?>&#91;<a href="<?php echo KU_WEBFOLDER;
  5. echo $this->scope["board"]["name"];?>/"><?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();?>Return<?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>&#93;
  6. <?php if ((defined("KU_FIRSTLAST") ? KU_FIRSTLAST : null) && ( count((isset($this->scope["posts"]) ? $this->scope["posts"] : null)) > 50 || (isset($this->scope["replycount"]) ? $this->scope["replycount"] : null) > 50 )) {
  7. ?>
  8. &#91;<a href="<?php echo KU_WEBFOLDER;
  9. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["posts"]["0"]["id"];?>.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();?>Entire 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>&#93;
  10. &#91;<a href="<?php echo KU_WEBFOLDER;
  11. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["posts"]["0"]["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>&#93;
  12. <?php if (( count((isset($this->scope["posts"]) ? $this->scope["posts"] : null)) > 100 || (isset($this->scope["replycount"]) ? $this->scope["replycount"] : null) > 100 )) {
  13. ?>
  14. &#91;<a href="<?php echo KU_WEBFOLDER;
  15. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["posts"]["0"]["id"];?>-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>&#93;
  16. <?php
  17. }?>
  18. <?php
  19. }?>
  20. <?php if (! (isset($this->scope["isread"]) ? $this->scope["isread"] : null)) {
  21. ?>
  22. <div class="replymode"><?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();?>Posting mode: 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);?>
  23. <?php if ((isset($this->scope["modifier"]) ? $this->scope["modifier"] : null) == 'first100') {
  24. ?>
  25. [<?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);?>]
  26. <?php
  27. }
  28. elseif ((isset($this->scope["modifier"]) ? $this->scope["modifier"] : null) == 'last50') {
  29. ?>
  30. [<?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);?>]
  31. <?php
  32. }?>
  33. <?php
  34. }
  35. else {
  36. ?>
  37. &#91;<a href="<?php echo KU_WEBFOLDER;
  38. echo $this->scope["board"]["name"];?>/res/<?php echo $this->scope["posts"]["0"]["id"];?>.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();?>Entire 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>&#93;
  39. <?php
  40. }?>
  41. </div><?php /* end template body */
  42. return $this->buffer . ob_get_clean();
  43. ?>