A new, object-oriented, better vesion of μForum
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.7 KiB

  1. <?php require_once('./templates/overall_header.tpl.php'); ?>
  2. <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
  3. <div id="content">
  4. <br>
  5. <div class="forum_table">
  6. <div class="row">
  7. <div class="hc1">Move topic to another forum</div>
  8. <div class="hc4">&nbsp;</div>
  9. </div>
  10. <div class="row">
  11. <div class="tc1 lc">
  12. Topic title:
  13. </div>
  14. <div class="tc4 rc">
  15. <span style="font-weight: bold"><?php echo $this->TPL['topic_info']['topic_title']; ?></span>
  16. </div>
  17. </div>
  18. <div class="row">
  19. <div class="tc1 lc">
  20. Topic is in forum:
  21. </div>
  22. <div class="tc4 rc">
  23. <span style="font-weight: bold"><?php echo $this->TPL['topic_info']['forum_name']; ?></span>
  24. </div>
  25. </div>
  26. <div class="row">
  27. <div class="tc1 lc">
  28. Select a new forum:
  29. </div>
  30. <div class="tc4 rc">
  31. <select name="forum_id">
  32. <?php
  33. for ($i=0; $i<count($this->TPL['forums_list']); $i++)
  34. {
  35. $sel = ($this->TPL['forums_list'][$i]['forum_id'] == $this->TPL['topic_info']['forum_id']) ? 'selected="selected"' : '';
  36. echo '<option value="'.$this->TPL['forums_list'][$i]['forum_id'].'" '.$sel.'>'.$this->TPL['forums_list'][$i]['name'].'</option>';
  37. }
  38. ?>
  39. </select>
  40. </div>
  41. </div>
  42. <div class="row">
  43. <div class="tc1 lc">
  44. &nbsp;
  45. </div>
  46. <div class="tc4 rc">
  47. <input type="hidden" name="confirmed" id="confirmed" value="true">
  48. <input type="submit" value="Move" style="font-weight: bold">
  49. <input type="submit" name="rejected" value="Cancel">
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </form>
  55. <?php require_once('./templates/overall_footer.tpl.php'); ?>