{include file="../head.tpl"} 
<form action="downloads.php?seloption=moveto&amp;area={$smarty.request.area}" method="post" enctype="multipart/form-data">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="2" class="header">{$langadmin.download_movefiles}</td>
    </tr>
	
	 {foreach from=$moveto item=movedoc}
    <tr>
      <td class="firstrow">{$movedoc->title} </td>
      <td class="secondrow"><input name="sel[{$movedoc->id}]" type="checkbox" id="sel[{$movedoc->id}]" value="1" checked></td>
    </tr>
	{/foreach}    <tr>
      <td width="30%" class="firstrow">{$langadmin.download_move_selnewcat}</td>
      <td class="secondrow">
	 
	 
	 <select name="newcat" id="newcat">
     {foreach from=$cat_sel item=item} 
	{if $item->parent_id == 0}
	<option style="font-weight:bold;font-style:italic" value="{$item->catid}" {if $parent_id==$item->catid or $smarty.request.parent_id==$item->catid} selected="selectd" {/if}>{$item->visible_title}</option>
    {else}
	<option value="{$item->catid}" {if $parent_id == $item->catid or $smarty.request.parent_id==$item->catid} selected="selectd" {/if}>{$item->visible_title}</option>
    {/if}
	{/foreach}
	</select>
	</td>
    </tr>
    <tr>
      <td class="firstrow">&nbsp;</td>
      <td class="secondrow"><input name="area" type="hidden" id="area" value="{$smarty.request.area}" />
        <input name="final" type="hidden" id="final" value="1">
      <input type="submit" class="button" value="{$langadmin.save}"></td>
    </tr>
  </table>
</form>
{include file="../foot.tpl"} 