include_once "../../config.php"; $tmp = explode("/",$_SERVER['PHP_SELF']); $topmenu_dir = "/".$tmp[2]; $load_page = $tmp[3]; $out_left_menu = true; // 강좌정보 가져오기 if($class_seq=="") $Move->goBack(trans("정상적인 접근이 아닙니다.")); $TClass = load("TClass"); $sql = " select * from $TClass->table_name where class_seq='$class_seq' "; $row = $DB->getOneRow($sql); $Category = load("Category"); // 대분류명 가져오기 $row[bcategory_title] = $Category->getTitle($Category->getParentCode($row[category_code])); // 소분류명 가져오기 $row[scategory_title] = $Category->getTitle($row[category_code]); // 교재정보 가져오기 $Book = load("Book"); $sql = " select * from $Book->table_name where book_code ='$row[book_code]' "; $brow = $DB->getOneRow($sql); $buy_url = "lecture_request.html"; ?> 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?>