The following method can be implemented. The three classification names represent
Level 1 category name: {$ M [catname]}
Level 2 category name: {$ C [catname]}
Level 3 category name: {$ B [catname]}
{Loop $ maincat $ I $ m}
{PHP $ child = get_maincat ($ maincat, $ category, 1 );}
<Div class = "hq01">
<Div class = "HQ-TT">
<P> <H4 >{$ M [catname]} </H4>
{PHP $ A = get_maincat ($ M [catid], $ category, 1 );}
{Loop $ A $ g}
{PHP $ F = get_maincat ($ G [catid], $ category, 1 );}
{Loop $ F $ I $ B}
<Span> <a href = "{$ mod [linkurl]} {$ C [linkurl]}" >{$ B [catname]} </a> </span>
{/Loop}
{/Loop}
<SPAN class = "hqmore"> <a href = "{$ mod [linkurl] }{$ M [linkurl]}"> [more] </a> </span> </P> </div>
<Div class = "clear">
</Div>
{PHP $ Childs = get_maincat ($ M [catid], $ category, 1 );}
{Loop $ Childs $ I $ c}
<Div class = "HQ-cc">
<! -- {PHP $ tags = tag ("moduleid = $ moduleid & condition = status = 3 & areaid = $ cityid & length = 40 & catid = ". $ C [catid]. "& Order = ". $ mod [order]. "& pagesize = 5 & datetype = 2 & target = _ blank & template = NULL")} -->
<Ul>
<Li class = "Li-T"> <span> <a href = "{$ mod [linkurl]} {$ C [linkurl]}"> --- more </ ></SPAN >{$ C [catname]} </LI>
{Loop $ tags $ t}
<Li> <! -- <SPAN class = "f_r"> {date ('Y-m-d', $ t [addtime])} </span> -->
<A href = "{$ t [linkurl]}" {if $ target} target = "{$ target}" {/If }>{$ T [title]} </ a>
</LI>
{/Loop}
</Ul>
</Div>
{/Loop}
<Div class = "clear"> </div> <Div class = "clear"> </div> {/loop}
Destoon calls its classification and sub-classification and third-level classification name methods