$my['level'] || strpos('_'.$d['bbs']['perm_g_write'],'['.$my['mygroup'].']')) { $check_permWrite = false; } } $TMPL['show_bbs_category'] = $B['category']?'':'d-none'; $TMPL['show_bbs_search'] = $d['theme']['search']==1?'':'d-none'; $TMPL['show_bbs_write'] = $check_permWrite?'':'d-none'; $TMPL['bbs_name'] = $B['name']; $TMPL['bbs_id'] = $bid; $TMPL['bbs_write'] = '/b/'.$bid.'/write'; $skin=new skin('bar-tab'); //게시판 테마폴더 > _html > bar-tab.html $result['bar_tab']=$skin->make(); $result['theme'] = $theme; $result['sort'] = 'gid'; $result['orderby'] = 'asc'; $result['recnum'] = $recnum; $result['NUM'] = $NUM; $result['TPG'] = $TPG; echo json_encode($result); exit; ?>