include_once "../../config.php"; $tmp = explode("/",$_SERVER['PHP_SELF']); $topmenu_dir = "/".$tmp[2]; $load_page = $tmp[3]; $out_left_menu = true; /** * @brief 심플모드 시 경로 변경 * @author seeun * @date 2021-06-29 */ //print_r($_SERVER); $Company = load("Company"); $company_id = $_config['company_id']; $sql = "select simple_yn from $Company->table_name where company_id='$company_id'"; $simple_yn = $DB->getOne($sql); 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('테마 파일이 존재하지 않습니다. ')?> 해당 테마파일을 생성해 주세요. =$theme_file_url?>