<!--
<?php
print <<<EOT
-->
<form name="form_work" method="post" action="index.php?lfj=$lfj&action=$job&id=$id">
<div class="MainCont">
	<div class="head"><div class="tag">&nbsp;</div></div>
	<table width='100%' cellspacing='0' cellpadding='0' class="FormTable">
    <tr> 
      <td class="tdL">首页显示栏目排序:<br>
        (<font color="#FF0000">序号小的排在前面</font>) </td>
      <td>
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
	  
	   序号:
        <input type="text" name="fiddb[{$rs[fid]}]" size="6" value="$key">
        栏目名称: 【{$rs[name]}】<br>
<!--
EOT;
}print <<<EOT
-->	
		</td>
    </tr>
    <tr> 
      <td class="tdL">每个栏目显示多少行:</td>
      <td> 
        <input type="text" name="atc_rows" size="6" value="$rows">
      </td>
    </tr>
    <tr> 
      <td class="tdL">每行显示几个字符:<br>
        (一个中文相当于两个字符)</td>
      <td> 
        <input type="text" name="atc_leng" size="6" value="$leng">
      </td>
    </tr>
    <tr> 
      <td class="tdL">排序方式:</td>
      <td> 
        <select name="atc_order">
          <option value="list" {$orderdb["list"]}>发表时间</option>
           
          <option value="hits" {$orderdb["hits"]}>浏览量</option>
          <option value="rand()" {$orderdb["rand()"]}>随机(数据多时,很影响速度)</option>
        </select>
      </td>
    </tr>
    <tr> 
      <td class="tdL">&nbsp;</td>
      <td> 
        <input type="submit" name="Submit" value="提交">
        <input type="hidden" name="id" value="$id">
      </td>
    </tr>
  </table>
</div>
</form>
<!--
EOT;
?>
-->