标签:io ar sp on 代码 bs ad ef php
{if $CATEGORYS[$catid][‘child‘]==1}
{php $firstarr = explode(‘,‘,$CATEGORYS[$catid][‘arrchildid‘]);}
<script>location.href="{$CATEGORYS[$firstarr[1]][url]}"</script>
{/if}
在{template "content","header"}上面添加上方代码即可
标签:io ar sp on 代码 bs ad ef php
原文地址:http://www.cnblogs.com/sakura-panda/p/4064675.html