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']=""; }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; ?>
    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; ?> 1){ ?>
  • class="active" >
  • 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; ?>