动易多列显示子栏目导航自定义函数标签

标签名称:{$MY_栏目左导航}  
1、查询语句:(参数为父ID)
   select  classID,ClassName,RootID,linkurl,Child from PE_Class where ChannelID=1 and ParentID={input(0)}  order by OrderID asc
2、标签内容:
   <table width="277" border=0 align="center" cellPadding=0 cellSpacing=0 class=bian4 style="MARGIN-TOP: 5px">
         <tr>
           <td width=24 height=24 align="center" valign="middle" class=title_td><IMG height=14 src="{$InstallDir}imgs/td_ico.gif" width=14></td>
           <td width=250 align="left" class=title_td style="PADDING-TOP: 2px"><STRONG>子栏目导航</STRONG></td>
         </tr>
         <tr>
           <td vAlign=center colSpan=2 height=50 class="children_table">{Loop}
{Infobegin}
<div class ="children1"><a href="{$InstallDir}{$Field(0,GetClass,1)}" >{$Field(1,Text,0,0,0)}</a></div>  
{Infoend}
{Infobegin}
<div class ="children1"><a href="{$InstallDir}{$Field(0,GetClass,1)}" >{$Field(1,Text,0,0,0)}</a></div>  
{Infoend}
<div  style="clear:both; overflow:hidden"></div>
{/Loop}</td>
         </tr>
</table>
3、前台调用:
{$MY_栏目左导航({$ClassID})}  

4、css 控制 children1类宽度及左对齐即可实现多列