摘要: 1.控制首页哪些分类不显示 {loop subcat(0,0,0,$siteid) $r} {php if($r['catid']==17)break;} {php $num++} <div class="box cat-area" {if $num%2!=0}style=" margin-right:10px"{/if}>2.避免首页分类显示重复<div class="content"> {php $pic_id=0} <!-- 图片文章id --> {pc:content act 阅读全文
posted @ 2013-05-14 10:32 11ge 阅读(344) 评论(0) 推荐(0) 编辑