
<p class="forum_navi"> {$navigation} </p>
<table width="100%"  border="0" cellpadding="5" cellspacing="1" class="forum_tableborder">
  <tr>
    <td class="forum_header_bolder">{$lang.message_move_topic}</td>
  </tr>
  <tr>
    <td class="forum_info_main"><b>{$item->title|sslash}</b>&nbsp;{$lang.f_lbl_moveitem}</td>
  </tr>
  <tr>
    <td class="forum_info_main">
	<form action="index.php?p=move&amp;action=commit" method="post">

<select name="dest">
{if $smarty.get.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.get.fid == $forum_dropdown->id} selected="selected" {/if}>
	  {$forum_dropdown->visible_title}
	  </option>
	  {else}
	  <option value="{$forum_dropdown->id}" {if $smarty.get.fid == $forum_dropdown->id} selected="selected" {/if}>
	   {$forum_dropdown->visible_title}
	  </option>
	  {/if}
		{/foreach}
		</optgroup>
	  {/foreach}
</select>
{*
  <select name="dest">
    
    {if $smarty.get.item eq "c"}
        
    <option value="0"></option>
    
    {/if}
{foreach from=$destinations item=destination}
        
    <option value="{$destination->id}">{$destination->title}</option>
    
{/foreach}
	
  </select>
  *}
  <input type="submit" class="button" value="{$lang.f_btn_submit}" />
  <input type="hidden" name="item" value="{$smarty.get.item}" />
  <input type="hidden" name="id" value="{$smarty.get.id}" />
  <input type="hidden" name="fid" value="{$smarty.get.fid}" />
   <input type="hidden" name="area" value="{$area|default:'1'}" />
	</form>

	</td>
  </tr>
</table>
