标签:oop -- asc logs color cms action 显示 white
{pc:content action="category" catid="0" num="100" siteid="$siteid" order="listorder ASC"} {loop $data $k $r} {if $catid==$r[catid] || $top_parentid==$r[catid]} <!--<li><a href="{$r[url]}" style="color:white">{$r[catname]} </a>--> <li class="cur"> <a href="{$r[url]}"style="color:#FC6">{$r[catname]}</a> <dl> {pc:content action="category" catid="$k" num="10" siteid="$siteid" order="listorder ASC"} {loop $data $v} <dd><a href="$v[url]">{$v[catname]}</a></dd> {/loop} {/pc} </dl></li> {else} <li class="cur"><a href="{$r[url]}" style="color:#333">{$r[catname]}</a> <dl> {pc:content action="category" catid="$k" num="10" siteid="$siteid" order="listorder ASC"} {loop $data $v} <dd><a href="$v[url]">{$v[catname]}</a></dd> {/loop} {/pc} </dl></li> </li> <!--如果显示的不是,内容正常显示--> {/if} {/loop} </ul> {/pc}
标签:oop -- asc logs color cms action 显示 white
原文地址:http://www.cnblogs.com/liuran123/p/6539645.html