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.
 
 
 

67 lines
1.7 KiB

<?php require_once('./templates/overall_header.tpl.php'); ?>
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
<div id="content">
<br>
<div class="forum_table">
<div class="row">
<div class="hc1">Move topic to another forum</div>
<div class="hc4">&nbsp;</div>
</div>
<div class="row">
<div class="tc1 lc">
Topic title:
</div>
<div class="tc4 rc">
<span style="font-weight: bold"><?php echo $this->TPL['topic_info']['topic_title']; ?></span>
</div>
</div>
<div class="row">
<div class="tc1 lc">
Topic is in forum:
</div>
<div class="tc4 rc">
<span style="font-weight: bold"><?php echo $this->TPL['topic_info']['forum_name']; ?></span>
</div>
</div>
<div class="row">
<div class="tc1 lc">
Select a new forum:
</div>
<div class="tc4 rc">
<select name="forum_id">
<?php
for ($i=0; $i<count($this->TPL['forums_list']); $i++)
{
$sel = ($this->TPL['forums_list'][$i]['forum_id'] == $this->TPL['topic_info']['forum_id']) ? 'selected="selected"' : '';
echo '<option value="'.$this->TPL['forums_list'][$i]['forum_id'].'" '.$sel.'>'.$this->TPL['forums_list'][$i]['name'].'</option>';
}
?>
</select>
</div>
</div>
<div class="row">
<div class="tc1 lc">
&nbsp;
</div>
<div class="tc4 rc">
<input type="hidden" name="confirmed" id="confirmed" value="true">
<input type="submit" value="Move" style="font-weight: bold">
<input type="submit" name="rejected" value="Cancel">
</div>
</div>
</div>
</div>
</form>
<?php require_once('./templates/overall_footer.tpl.php'); ?>