bwswork [module_srl] => 130 [category_srl] => 132 [parent_srl] => 0 [text] => 웹싸이트, IT & 소프트웨어 [title] => 웹싸이트, IT & 소프트웨어 [description] => [expand] => [color] => #0000ff [document_count] => 0 [depth] => 0 [child_count] => 6 [childs] => Array ( [0] => 145 [1] => 147 [2] => 149 [3] => 151 [4] => 153 [5] => 155 ) [grant] => 1 [selected] => [first] => 1 ) // stdClass Object ( [mid] => bwswork [module_srl] => 130 [category_srl] => 145 [parent_srl] => 132 [text] => 디자인/시안/배너/상세 [title] => 디자인/시안/배너/상세 [description] => [expand] => [color] => #0000ff [document_count] => 0 [depth] => 1 [child_count] => 0 [childs] => Array ( ) [grant] => 1 [selected] => [first] => 1 ) // stdClass Object ( [mid] => bwswork [module_srl] => 130 [category_srl] => 155 [parent_srl] => 132 [text] => 스킨(그누보드,XE,WP...) [title] => 스킨(그누보드,XE,WP...) [description] => [expand] => [color] => #0000ff [document_count] => 0 [depth] => 1 [child_count] => 0 [childs] => Array ( ) [grant] => 1 [selected] => [last] => 1 ) // ?>
{@$span_cnt=0;$su_parent_cnt=0;} {@$su_parent_cnt++; $su_child_count = count($val->childs); $child_cnt=0;}
    {@$child_cnt++;}
  • {str_repeat("   ",$val->depth)}{$val->title} ({$val->document_count})
{@$span_cnt++;}