{include file="$incpath/forums/user_panel_forums.tpl"}
<p class="forum_navi"> {$navigation} </p>
<table width="100%"  border="0" cellpadding="5" cellspacing="1" class="forum_tableborder">
  <tr>
    <td class="forum_header_bolder">{#Forums_SelectForumsToMove#}</td>
  </tr>
  <tr>
    <td class="forum_info_main"><b>{$item->title|sslash}</b>&nbsp;{#Forums_Label_moveitem#}</td>
  </tr>
  <tr>
    <td class="forum_info_main">
	<form action="index.php?p=move&amp;action=commit" method="post">

<select class="input" name="dest">
{if $smarty.request.item eq "c"}
<option value="0"></option>
{/if}
	  {foreach from=$categories_dropdown item=category name=cdd}
	  <optgroup label="{$category->title}">
		{foreach from=$category->forums item=forum_dropdown name=fdd}
	  {if $forum_dropdown->category_id == 0}
	<option style="font-weight: bold; font-style: italic;" value="{$forum_dropdown->id}" {if $smarty.request.fid == $forum_dropdown->id} selected="selected" {/if}>
	  {$forum_dropdown->visible_title}
	  </option>
	  {else}
	  <option value="{$forum_dropdown->id}" {if $smarty.request.fid == $forum_dropdown->id} selected="selected" {/if}>
	   {$forum_dropdown->visible_title}
	  </option>
	  {/if}
		{/foreach}
		</optgroup>
	  {/foreach}
</select>

  <input type="submit" class="button" value="{#Forums_ButtonSend#}" />
  <input type="button" class="button" value="{#Forums_JumpBack#}" onclick="history.go(-1);" />
  <input type="hidden" name="item" value="{$smarty.request.item}" />
  <input type="hidden" name="id" value="{$smarty.request.id}" />
  <input type="hidden" name="fid" value="{$smarty.request.fid}" />
	</form>

	</td>
  </tr>
</table>
<br />
{include file="$incpath/forums/forums_footer.tpl"}