<!--
<?php
print<<<EOT
--> 
<table width=100% cellspacing=1 cellpadding=3  class="tablewidth">
  <form name="formlist" method="post" action="index.php?lfj=$lfj&action=editlist">
    <tr> 
      <td class="head" bgcolor="#EAEAEA"><font color="#FFFFFF">更新標簽</font></td>
    </tr>
    <tr> 
      <td bgcolor=#FFFFFF align="left"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
              <td style="padding:5px;">
<!--
EOT;
if($show_guide){print<<<EOT
-->
$show_guide
<!--
EOT;
}else{print<<<EOT
-->
			你可以設置只顯示以下部分欄目 [<a href="?lfj=$lfj&job=showsort&step=1&only=$only&mid=$mid" style="color:$article_show_step[1]">1級</a>] 
              [<a href="?lfj=$lfj&job=showsort&step=2&only=$only&mid=$mid" style="color:$article_show_step[2]">2級以內</a>] 
              [<a href="?lfj=$lfj&job=showsort&step=3&only=$only&mid=$mid" style="color:$article_show_step[3]">3級以內</a>] 
              [<a href="?lfj=$lfj&job=showsort&step=4&only=$only&mid=$mid" style="color:$article_show_step[4]">4級以內</a>] 
              [<a href="?lfj=$lfj&job=showsort&step=5&only=$only&mid=$mid"  style="color:$article_show_step[5]">5級以內</a>] 
              [<a href="?lfj=$lfj&job=showsort&step=0&only=$only&mid=$mid"  style="color:$article_show_step[0]">全部</a>] 
<!--
EOT;
}print<<<EOT
-->


            </td>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id='list_sort'>
          <tr align="center" class="head"> 
            <td width="6%" style="border-right:1px solid #fff;">FID</td>
            <td  style="border-right:1px solid #fff;" width="32%">欄目名稱</td>
            <td  style="border-right:1px solid #fff;" width="13%">類型</td>
            <!--
EOT;
if($onlyshow=='style'||!$onlyshow){
print <<<EOT
-->
            <td style="border-right:1px solid #fff;" width="17%">風格模板設置</td>
            <!--
EOT;
}if($onlyshow=='label'||!$onlyshow){
print <<<EOT
-->
            <td style="border-right:1px solid #fff;" width="16%">列表頁標簽</td>
            <td height="21" style="border-right:1px solid #fff;" width="16%">內容頁標簽</td>
            <!--
EOT;
}print <<<EOT
-->
          </tr>
          <!--
EOT;
foreach($sortdb AS $key=>$rs){
if($only&&$rs[fmid]!=$mid){continue;}
print <<<EOT
-->
          <tr class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
            <td bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #eee;" width="6%"><b><font color="#FF0000">$rs[fid]</font></b></td>
            <td bgcolor="#FFFFFF" style="border-bottom:1px dotted #eee;" width="32%"> 
              $rs[icon]【<a href='$webdb[www_url]/list.php?fid=$rs[fid]' target="_blank">{$rs[name]}</a>】<span class='sort_span'></span></td>
            <td bgcolor="#FFFFFF" style="border-bottom:1px dotted #eee;" width="13%" align="center" class="big_sort">
              <!--
EOT;
if($rs[type]==2){print <<<EOT
-->
              <font color="#0000FF">文章</font> 
              <!--
EOT;
}elseif($rs[type]==1){print <<<EOT
-->
              <a href="index.php?lfj=$lfj&job=$job&only=$only&mid=$mid&fid=$rs[fid]">大分類</a> 
              <!--
EOT;
}else{print <<<EOT
-->
              子欄目 
              <!--
EOT;
}print <<<EOT
-->
            </td>
            <!--
EOT;
if($onlyshow=='style'||!$onlyshow){
print <<<EOT
-->
            <td bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #eee;" width="17%"><a href="index.php?lfj=sort&job=editsort&fid=2&only=1&mid=$rs[fmid]&showtype=2" title="更改風格模板"><img src="images/icon_editstyle.gif" border="0"></a></td>
            <!--
EOT;
}if($onlyshow=='label'||!$onlyshow){
print <<<EOT
-->
            <td bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #eee;" width="16%"><a href="index.php?lfj=$lfj&action=updatelabel&label_type=list&fid=$rs[fid]" title="更新列表頁標簽內容"><img src="images/icon_updatalabel.gif" border="0"></a></td>
            <td height="21" bgcolor="#FFFFFF" align="center" width="16%" style="border-bottom:1px dotted #eee;">&nbsp; 
              <!--
EOT;
if(!$rs[type]){
print <<<EOT
-->
              <a href="index.php?lfj=$lfj&action=updatelabel&label_type=bencandy&fid=$rs[fid]" title="更新內容頁標簽內容"><img src="images/icon_updatalabel.gif" border="0"></a> 
              <!--
EOT;
}print <<<EOT
-->
            </td>
            <!--
EOT;
}print <<<EOT
-->
          </tr>
          <!--
EOT;
}print <<<EOT
-->
        </table>
        <div align="center" style="margin:10px;">$showpage</div>
        <div align="center"><br>

          <script language="JavaScript" src="images/sort.js"></script>
          <script language="JavaScript">
<!--
load_sort_td($webdb[labelsort_show_step]);
//-->
</script>
          <input type="hidden" name="only" value="$only">
          <input type="hidden" name="mid" value="$mid">
        </div>
      </td>
    </tr>
  </form>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&action=$job">
    <tr class="head"> 
      <td>幫助說明</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td>要想不同的欄目具有不同的標簽參數,請更換新風格,並且復制list.htm模板到新風格里,更換里邊的標簽變量<br>
        要想不同的文章具有不同的標簽參數,請更換文章新風格,並且復制bencandy.htm模板到新風格里更換里邊的標簽變量<br>
        不同的風格,但是模板一樣的話.標簽參數也是一樣的,主要是方便定期更換欄目風格而不需再重新設置參數</td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->
