<? require_once('./templates/overall_header.tpl.php'); ?>
							 | 
						|
								
							 | 
						|
									<form action="<?= $_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"> </div>
							 | 
						|
										</div>
							 | 
						|
										
							 | 
						|
										<div class="row">
							 | 
						|
											<div class="tc1 lc">
							 | 
						|
												Topic title:
							 | 
						|
											</div>
							 | 
						|
											<div class="tc4 rc">
							 | 
						|
												<span style="font-weight: bold"><?= $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"><?= $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">
							 | 
						|
												<?
							 | 
						|
													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">
							 | 
						|
												 
							 | 
						|
											</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>
							 | 
						|
									
							 | 
						|
								<? require_once('./templates/overall_footer.tpl.php'); ?>
							 |