//左侧联系我们图片 //$lpic = M('infobox')->where('box_class=265')->find(); $db = M('adv'); $banner = $db->where('kind=22')->select(); //内页分类�? if(isset($_GET['cid'])){ $cid = intval($_GET['cid']); }else{ $cid = $info['kind']; } $where['cid'] = $cid; $ca = M('linkcate')->where($where)->find(); $painfo = get_top_cid($linkcate,$cid); //获得顶级分类信息 unset($painfo[0]); $location = $painfo; $painfo = $painfo[1]; //插入该分类的链接对应的路�? foreach($topinfo as $k=>$v){ //dump($v); if($v['cid'] == $painfo['cid']){ //添加属性 $painfo['kind'] = $v['kind']; $painfo['luyou'] = $v['luyou']; $painfo['cname'] = $v['cname']; $painfo['default'] = $v['default']; $painfo['enname'] = $v['enname']; } if($k >= $navNum) unset($topinfo[$k]); //过虑 // dump($topinfo); } <notempty name='info[new_tit]'>{$info[new_tit]}_</notempty><notempty name='cate[cname]'>{$cate[cname]}_</notempty><notempty name='pcate[cname]'>{$pcate[cname]}_</notempty>{$conf[webtitle]}

{$pcate.cname}

{$pcate.ename}

{$cate['cname']} / {$cate['ename']}

{$info['new_tit']}
{$info.new_con}