2 个回复
 
				
				CMSYOU - CMS企业网站定制专家
赞同来自:
if($r['siteid']!=$this->siteid || ($r['type']==2 && $r['child']==0)) continue;
if($r['siteid']!=$this->siteid) continue;
 
				
				CMSYOU - CMS企业网站定制专家
赞同来自:
public static function get_category($siteid) {
                $category = getcache('category_content_'.$siteid, 'commons');
                foreach ($category as $k=>$v) {
                        if (!in_array($v['type'], array(0,1))) unset($category[$k]); 
                }
                return $category;
        }
public static function get_category($siteid) {
                $category = getcache('category_content_'.$siteid, 'commons');
                foreach ($category as $k=>$v) {
                        if (!in_array($v['type'], array(0,1,2))) unset($category[$k]); 
                }
                return $category;
        }
最新活动:2015-01-07 17:17
浏览:4992 次
关注:1 人
Copyright © 2008-2025  CMSYOU - 互助问答社区 - 粤ICP备10060801号-3    RSS Feed
 RSS Feed 
欢迎加入QQ群(346494585) 
  “让我们一起来学习CMS建站吧!”
“让我们一起来学习CMS建站吧!”
要评论问题请先登录或注册