{foreach $forum as $key => $v} {if $v['fid']== -1} <!--[diy=diy1]--><div id="diy1" ></div><!--[/diy]--><div > <h3 ><i ></i> {$v.name}</h3> <div > 子分类 <!-- {if isset($forum[METHOD_NAME]['z'])} {foreach $forum[METHOD_NAME] as $key => $v} {if is_int($key)} <div > <div > <a href="<?php echo WWW.URL('forum','',EXP.$v['id']); ?>"><img src="{#WWW}upload/forum{$key}.png" align="left" alt="" /></a></div> <div > <h2><a href="">{$v.name}</a></h2> <p></p> <p>今日:<font >0</font><span >|</span>主题: 28</p> </div> </div> {/if} {/foreach} {/if} --> 子分类 </div> </div> {/if} {/foreach}