{include file="../head.tpl"}
<script language="javascript">
{literal}
	<!--
	function check(){
		if(document.moveto.new_cat.value == "" )
		{
			alert("{/literal}{$langadmin.enonewscat}{literal}");
			document.moveto.new_cat.focus();
			return false;
		}
	}
	-->
{/literal}
</script>
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <form action="news.php?seloption=moveto" method="post" name="moveto" id="moveto" onsubmit="return check();">
    <tr>
      <th colspan="2" class="header">{$langadmin.movetosec}</th>
    </tr>
    <tr>
      <td colspan="2" class="secondrow">{$langadmin.selectareat}</td>
    </tr>
    {foreach from=$moveto item=move}
    <tr>
      <td width="5%" class="firstrow"><input name="news_{$move->newsid}" type="checkbox" id="news_{$move->aktid}" value="1" checked="checked" />
      </td>
      <td class="secondrow"> {$move->title} </td>
    </tr>
    {/foreach} {if $rmode == 7}
    <tr>
      <td width="5%" class="firstrow"><input name="news_{$naktid}" type="checkbox" id="news_{$naktid}" value="1" checked="checked" />
      </td>
      <td class="secondrow"> {$ntitle} </td>
    </tr>
    {/if}
    <tr>
      <td width="10%" nowrap="nowrap" class="firstrow"><?=$langadmin['selectarea'];?></td>
      <td class="secondrow">
	  <select name="new_cat" id="new_cat">
          <option value="" select"select">
          -----------------
          </option>
		  {$drd}
        </select>
      </td>
    </tr>
    <tr>
      <td class="firstrow">&nbsp;</td>
      <td class="secondrow"><input name="cat" type="hidden" id="cat" value="{$cat}" />
        <input name="id" type="hidden" id="id" value="{$rid}" />
        <input name="send" type="hidden" id="send" value="1" />
        <input name="area" type="hidden" id="area" value="{$area}" />
        <input name="page" type="hidden" id="page" value="{$rpage}" />
        <input type="submit" class="button" value="{$langadmin.buttonnewsmove}" />
      </td>
    </tr>
  </form>
</table>
<br />
{include file="../foot.tpl"} 