hp if($data['classnow']==$m['id']){ ?> class="active" > get('column'); unset($result); switch ($type) { case 'son': $result = $column->get_column_son($cid); break; case 'current': $result[0] = $column->get_column_id($cid); break; case 'head': $result = $column->get_column_head(); break; case 'foot': $result = $column->get_column_foot(); break; default: $result[0] = $column->get_column_id($cid); break; } $sub = count($result); foreach($result as $index=>$m): $hides = 1; $hide = explode("|",$hides); $m['_index']= $index; if($data['classnow']==$m['id'] || $data['class1']==$m['id'] || $data['class2']==$m['id']){ $m['class']="active"; }else{ $m['class'] = ''; } if(in_array($m['name'],$hide)){ unset($m['id']); unset($m['class']); $m['hide'] = $hide; $m['sub'] = 0; } if(substr(trim($m['icon']),0,1) == 'm' || substr(trim($m['icon']),0,1) == ''){ $m['icon'] = 'icon fa-pencil-square-o '.$m['icon']; } $m['urlnew'] = $m['new_windows'] ? "target='_blank'" :"target='_self'"; $m['_first']=$index==0 ? true:false; $m['_last']=$index==(count($result)-1)?true:false; $$m = $m; ?>
  • '>
  • <?php echo $data['page_title'];?>htepl.com
    get('banner')->get_column_banner($data['classnow']); $sub = count($banner['img']); foreach($banner['img'] as $index=>$v): $v['_index'] = $index; $v['_first'] = $index == 0 ? true:false; $v['_last'] = $index == (count($result)-1) ? true : false; $v['type'] = $banner['config']['type']; $v['y'] = $banner['config']['y']; $v['sub'] = $sub; ?> 10001){ ?> get('column'); unset($result); switch ($type) { case 'son': $result = $column->get_column_son($cid); break; case 'current': $result[0] = $column->get_column_id($cid);