<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form_work" method="post" action="index.php?lfj=$lfj&action=$job&id=$id">
    <tr class="head"> 
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="23%" height="102">首頁顯示欄目排序:<br>
        (<font color="#FF0000">序號小的排在前面</font>) </td>
      <td width="77%" height="102">
<!--
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 bgcolor="#FFFFFF"> 
      <td width="23%" height="50">每個欄目顯示多少行:</td>
      <td width="77%" height="50"> 
        <input type="text" name="atc_rows" size="6" value="$rows">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="23%" height="25">每行顯示幾個字符:<br>
        (一個中文相當于兩個字符)</td>
      <td width="77%" height="25"> 
        <input type="text" name="atc_leng" size="6" value="$leng">
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="23%" height="25">排序方式:</td>
      <td width="77%" height="25"> 
        <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 bgcolor="#FFFFFF"> 
      <td width="23%">&nbsp;</td>
      <td width="77%"> 
        <input type="submit" name="Submit" value="提交">
        <input type="hidden" name="id" value="$id">
      </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->