실 적용 시 주석 해제 // if(!_IS_QA) { // header("Location: /camp/teacher"); // exit(); // } ?> getFetchQueryAll($sql); $row = $tlist = array(); foreach($rowlist as $k=>$v){ if($v['wm_id'] == $idx){ $row = $v; } else{ $v['cate_1st'] = explode(',', $v['wm_category'])[0]; array_push($tlist, $v); } } $fpath = IMG_S3."intra/teacher/"; // 이미지 기본 경로 // 대표 과정 $cates = explode(',', $row['wm_category']); $cate_1st = $cates[0]; $cnt_else = 0; foreach($cates as $k=>$v){ if($v == 6){ $cnt_else++; } } // 정렬 - 같은 과정 강사를 앞으로 foreach($tlist as $k=>$v){ $order_cate = 2; if($cate_1st == $v['cate_1st']){ $order_cate = 1; } $tlist[$k]['order_cate'] = $order_cate; } foreach ((array) $tlist as $key => $value) { $sort[$key] = $value['order_cate']; $sort2[$key] = $value['wm_sort']; } array_multisort($sort, SORT_ASC, $sort2, SORT_ASC, $tlist); //=== 리뷰 if($row['wm_id']){ $sql = "SELECT wm_id, wm_name, wm_content FROM sp_wm_bt_review WHERE wm_1 = ".$row['wm_id']." AND is_del = 'N' "; $rdata = $db->getFetchQueryAll($sql); } ?>

0){ $url_curri = '/doc/University_process'; } ?> 커리큘럼 자세히 보기
'학력', 'wm_history2'=>'자격 및 수료', 'wm_history3'=>'수상', 'wm_history4'=>'이력 및 활동'); $h_cnt = strlen(trim($row['wm_history1'])) + strlen(trim($row['wm_history2'])) + strlen(trim($row['wm_history3'])) + strlen(trim($row['wm_history4'])); if($h_cnt>0){ ?>

이력

    $v){ if($row[$k]){ ?>
ARTIST INTERVIEW
메가스터디뷰티아카데미 아티스트 강사님들의 다양한 소식과 이야기를 소개합니다.
실제 수업 후기와 강사님이 들려주는 이야기를 확인해 보세요!

ARTIST

    $v){?>

$v){?>