<!--
<?php
print<<<EOT
--> 
<form name="formlist" method="post" action="index.php?lfj=$lfj&action=editlist">
<div class="MainCont">
	<div class="head"><div class="tag">更新标签</div></div>
	<div class="NoteList">
<!--
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
-->
	</div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class='ListTable'>
      <tr> 
        <th width="6%">FID</th>
        <th width="32%">栏目名称</th>
        <th width="13%">类型</th>
<!--
EOT;
if($onlyshow=='style'||!$onlyshow){
print <<<EOT
-->
        <th width="17%">风格模板设置</th>
<!--
EOT;
}if($onlyshow=='label'||!$onlyshow){
print <<<EOT
-->
        <th width="16%">列表页标签</th>
        <th width="16%">内容页标签</th>
<!--
EOT;
}print <<<EOT
-->
      </tr>
<!--
EOT;
foreach($sortdb AS $key=>$rs){
if($only&&$rs[fmid]!=$mid){continue;}
print <<<EOT
-->
          <tr> 
            <td class="B red">$rs[fid]</td>
            <td class="txL">$rs[icon]【<a href='$webdb[www_url]$webdb[path]/list.php?fid=$rs[fid]' target="_blank">{$rs[name]}</a>】</td>
            <td>
              <!--
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><a href="index.php?lfj=sort&job=editsort&fid=$rs[fid]&only=1&mid=$rs[fmid]&showtype=2" title="更改风格模板"><img src="images/icon_editstyle.gif"/></a></td>
            <!--
EOT;
}if($onlyshow=='label'||!$onlyshow){
print <<<EOT
-->
            <td><a href="index.php?lfj=$lfj&action=updatelabel&label_type=list&fid=$rs[fid]" title="更新列表页标签内容"><img src="images/icon_updatalabel.gif"/></a></td>
            <td>&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"/></a> 
              <!--
EOT;
}print <<<EOT
-->
            </td>
            <!--
EOT;
}print <<<EOT
-->
          </tr>
<!--
EOT;
}
$showpage=$showpage?"<div class='ShowPage'>$showpage</div>":"";
print <<<EOT
-->
	</table>
	$showpage
	<div class="ListBut">
          <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>
</div>
</form>
<div class="MainCont">
	<div class="head"><div class="tag">帮助说明</div></div>
    <ul class="NoteList">
    	<li>要想不同的栏目具有不同的标签参数,请更换新风格,并且复制list.htm模板到新风格里,更换里边的标签变量</li>
        <li>要想不同的文章具有不同的标签参数,请更换文章新风格,并且复制bencandy.htm模板到新风格里更换里边的标签变量</li>
        <li>不同的风格,但是模板一样的话.标签参数也是一样的,主要是方便定期更换栏目风格而不需再重新设置参数</li>
    </ul>
</div>
<!--
EOT;
?>
-->
