59anquan 发表于 2010-9-24 21:53:04

分享调用新闻3级分类的例子

{if $DT}
{php $AC = cache_read('category-21.php');}


   {php $aid = 155;}
   更多..{$AC[$aid]}
      



   {php $aid = 160;}
   更多..{$AC[$aid]}
   



{/if}



这个只是个例子,也可以可以直接使用的
{php $aid = 155;}这里的155是分类的ID,修改成自己的就可以了

fzs888 发表于 2010-9-28 14:37:33


学习了。顶
http://bbs.destoon.com/static/image/smiley/default/victory.gif

http://bbs.destoon.com/static/image/smiley/default/victory.gif

http://bbs.destoon.com/static/image/smiley/default/victory.gif

http://bbs.destoon.com/static/image/smiley/default/victory.gif

http://bbs.destoon.com/static/image/smiley/default/victory.gif
页: [1]
查看完整版本: 分享调用新闻3级分类的例子