改为:
<a {if !$get.kemu}class="curr"{/if} href="{dr_search_url($params, 'kemu', NULL)}">不限</a>
{php $field = dr_field_options_id(
字段的id
);}
{loop $field $i $t}
<a {if $i==$get.kemu}class="curr"{/if} href="{dr_search_url($params, 'kemu', $i)}">{$t}</a>
{/loop}
函数参考:
http://help.
文档最后更新时间:2015-10-27 07:19:17