include_once "../../config.php"; $tmp = explode("/",$_SERVER['PHP_SELF']); $topmenu_dir = "/".$tmp[2]; $load_page = $tmp[3]; // 강사그룹 $AuthorGroup = load("AuthorGroup"); $Author = load("Author"); $Lecture = load("Lecture"); $sql = " select * from $Author->table_name where author_seq='$seq' "; $row = $DB->getOneRow($sql); // 해당강사의 다른강좌들 가져오기 - 강사명 $sql = " select * from $Lecture->table_name where author='$row[author_name]' limit 4 "; $rlt = $DB->query($sql); $drows = $DB->fetchAll($rlt); if(is_array($drows )) { foreach($drows as $k=>$v ) { $v[lecture_info] = strip_tags($v[lecture_info]); $v[lecture_info] = $String->cut_utf8($v[lecture_info], 60,'..'); $drows[$k][lecture_info_s] = $v[lecture_info]; } } $out_left_menu = true; ?> if($company_id == "edu"){ include_once ROOT_PATH_BY_FILE.$_config[theme_dir]."/include/edu_top.html"; }else{ include_once ROOT_PATH_BY_FILE.$_config[theme_dir]."/include/top.html"; } ?> $theme_file = ROOT_PATH_BY_FILE.$_config[theme_dir].$topmenu_dir."/".$load_page; $skin_file = ROOT_PATH_BY_FILE.$_config[skin_dir].$topmenu_dir."/".$load_page; // 스킨 파일 먼저 적용 후 테마 파일 적용 if(is_file($skin_file)) { require_once "$skin_file"; } else if(is_file($theme_file)) { require_once "$theme_file"; // 테마 파일이 존재하지 않을 경우 } else { $theme_file_url = str_replace(ROOT_PATH_BY_FILE,"",$theme_file); ?>
=trans('테마 파일이 존재하지 않습니다.')?> =trans('해당 테마파일을 생성해 주세요.')?> =$theme_file_url?>