var exam_url = "/Study?jobGubun=ExamStart"; var target ="exam_win"; //------------------------------------------------------------------------------ // ¿À´ÃÀÇ ÇнÀÆò°¡, ¹Ð¸°Æò°¡ // // kind : Æò°¡À¯Çü (ÇÙ½É:1, ±Çº°:2, ±â¸»:3) // pcode : ½Ã¸®ÁîÄÚµå(PCode) // p_code : ÆäÀÌÆÛÄÚµå(P_Code) // studyname : ½ºÅ͵ðÀ̸§(±³Àç¸í) // kwon : ±Ç // studyunit : °ú(Å×ÀÙ¹øÈ£) // curriculum : ÇÐÁ¦ // ecode : ¼ºÀûÇ¥ ÄÚµå (Æò°¡Áß´Ü¿©ºÎ - óÀ½½ÃÀÛ:0, Áß´ÜÈÄ ´Ù½Ã½ÃÀÛ:¼ºÀûÇ¥ÄÚµå) // istoday : ¿À´ÃÀÇÆò°¡ À¯¹« (¿À´ÃÀÇÆò°¡:1, ¹Ð¸°Æò°¡:0) // restudycnt : Æò°¡¼ø¼­ (ÀçÆò°¡ ±¸ºÐ) // prefix : Å׸¶±¸ºÐ (96:9/6ÇÐÁ¦, 510:5/10ÇÐÁ¦) // themenum : Å׸¶¹øÈ£ // themetype : Å׸¶Å¸ÀÔ (b-±âº», s-°íÁ¤, pr-ÇÁ·Î¸ð¼Ç) //------------------------------------------------------------------------------ /* function openExam(kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) { document.Form.Eval_Kind.value = kind; document.Form.iPCode.value = pcode; document.Form.iP_Code.value = p_code; document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; document.Form.StudyUnit.value = studyunit; document.Form.Curriculum.value = curriculum; document.Form.iECode.value = ecode; document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.Prefix.value = prefix; document.Form.Template.value = themenum; document.Form.TemplateType.value= themetype; window.open("",target,"fullscreen=yes,toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = target; document.Form.action = exam_url; document.Form.method = "post"; document.Form.submit(); } */ //------------------------------------------------------------------------------ // ¿À´ÃÀÇ ÇнÀÆò°¡, ¹Ð¸°Æò°¡ // // kind : Æò°¡À¯Çü (ÇÙ½É:1, ±Çº°:2, ±â¸»:3) // pcode : ½Ã¸®ÁîÄÚµå(PCode) // p_code : ÆäÀÌÆÛÄÚµå(P_Code) // studyname : ½ºÅ͵ðÀ̸§(±³Àç¸í) // kwon : ±Ç // studyunit : °ú(Å×ÀÙ¹øÈ£) // curriculum : ÇÐÁ¦ // ecode : ¼ºÀûÇ¥ ÄÚµå (Æò°¡Áß´Ü¿©ºÎ - óÀ½½ÃÀÛ:0, Áß´ÜÈÄ ´Ù½Ã½ÃÀÛ:¼ºÀûÇ¥ÄÚµå) // istoday : ¿À´ÃÀÇÆò°¡ À¯¹« (¿À´ÃÀÇÆò°¡:1, ¹Ð¸°Æò°¡:0) // restudycnt : Æò°¡¼ø¼­ (ÀçÆò°¡ ±¸ºÐ) // prefix : Å׸¶±¸ºÐ (96:9/6ÇÐÁ¦, 510:5/10ÇÐÁ¦) // themenum : Å׸¶¹øÈ£ // themetype : Å׸¶Å¸ÀÔ (b-±âº», s-°íÁ¤, pr-ÇÁ·Î¸ð¼Ç) //------------------------------------------------------------------------------ function openExam(oc4jHost,kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) { themetype = themetype.toLowerCase(); //alert( oc4jHost +'-'+kind + '-' + pcode + '-' + p_code + '-' + studyname + '-' + kwon + '-' + studyunit + '-' + curriculum + '-' + ecode + '-' + istoday + '-' + restudycnt + '-' + prefix + '-' + themenum + '-' + themetype ); document.Form.Eval_Kind.value = kind; document.Form.iPCode.value = pcode; document.Form.iP_Code.value = p_code; document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; document.Form.StudyUnit.value = studyunit; document.Form.Curriculum.value = curriculum; document.Form.iECode.value = ecode; document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.Prefix.value = prefix; document.Form.Template.value = themenum; document.Form.TemplateType.value= themetype; window.open("",target,"fullscreen=yes,toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = target; document.Form.action = oc4jHost+exam_url; document.Form.method = "post"; document.Form.submit(); } var examrecord_url = "/record2/recordStart.jsp"; var targetrecord ="exam_win"; //o12nolja function openExamRecord(oc4jHost,kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype, IsRevaluation) { document.Form.Eval_Kind.value = kind; //Æò°¡Á¾À¯ 7 ³ìÀ½ÇнÀ document.Form.iPCode.value = pcode; document.Form.iP_Code.value = p_code; //iRecordContentCode document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; //±Ç¹øÈ£ document.Form.StudyUnit.value = studyunit; //Å×ÀÔ¹øÈ£ document.Form.Curriculum.value = curriculum; document.Form.iECode.value = ecode; //iRecordCode document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.Prefix.value = prefix; document.Form.Template.value = themenum; document.Form.TemplateType.value= themetype; document.Form.IsRevaluation.value= IsRevaluation; //o12nolja-20070316 window.open("",targetrecord,"fullscreen=yes,toolbar=no,scrollbars=no,location=no,status=no,menubar=no,titlebar=no,resizable=yes"); //window.open("",targetrecord,"fullscreen=yes,toolbar=no,scrollbars=no,location=no,status=no,menubar=no,titlebar=yes"); //window.open("",targetrecord,"width=1024, height=768, toolbar=no,scrollbars=no,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = targetrecord; document.Form.action = oc4jHost+examrecord_url; document.Form.method = "post"; document.Form.submit(); } //------------------------------------------------------------------------------ // ¿À´äüũ (CS¿¡¼­ ±¸ºÐÇϱâ À§ÇÏ¿© ½ºÅ©¸³Æ® À̸§À» ±¸ºÐÇÔ.) //------------------------------------------------------------------------------ function openWrong(kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) { openExam(kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) } function openExamTest(idx,oc4jHost) { window.open( oc4jHost + "/study/ExamTest_Pop.jsp?Index="+idx,'examtest',"fullscreen=1,toolbar=0,scrollbars=0,location=0,status=0,menubar=0,titlebar=0"); } //2008-07-31 ÃÖ±ÔÀÏ // Today's º£Çø® Æ˾÷ ¶ç¿ì±â var tf_exam_url = "/Study?jobGubun=TodaysBefly"; var tf_target ="exam_win"; //------------------------------------------------------------------------------ // ¿À´ÃÀÇ ÇнÀÆò°¡, ¹Ð¸°Æò°¡ // // kind : Æò°¡À¯Çü (ÇÙ½É:1, ±Çº°:2, ±â¸»:3) // pcode : ½Ã¸®ÁîÄÚµå(PCode) // p_code : ÆäÀÌÆÛÄÚµå(P_Code) : study_code // studyname : ½ºÅ͵ðÀ̸§(±³Àç¸í) // kwon : ±Ç // studyunit : °ú(Å×ÀÙ¹øÈ£) // curriculum : ÇÐÁ¦ // ecode : ¼ºÀûÇ¥ ÄÚµå (Æò°¡Áß´Ü¿©ºÎ - óÀ½½ÃÀÛ:0, Áß´ÜÈÄ ´Ù½Ã½ÃÀÛ:¼ºÀûÇ¥ÄÚµå) // istoday : ¿À´ÃÀÇÆò°¡ À¯¹« (¿À´ÃÀÇÆò°¡:1, ¹Ð¸°Æò°¡:0) // restudycnt : Æò°¡¼ø¼­ (ÀçÆò°¡ ±¸ºÐ) // prefix : Å׸¶±¸ºÐ (96:9/6ÇÐÁ¦, 510:5/10ÇÐÁ¦) // themenum : Å׸¶¹øÈ£ // themetype : Å׸¶Å¸ÀÔ (b-±âº», s-°íÁ¤, pr-ÇÁ·Î¸ð¼Ç) //------------------------------------------------------------------------------ function openTodaysBefly(oc4jHost, pcode, studyname, kwon, studyunit, curriculum, istoday, restudycnt, StudyPlanYMD, ItemCode, StudyUnitCode,Progress_Name) { document.Form.iPCode.value = pcode; //Study_LiST document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; document.Form.StudyUnit.value = studyunit; document.Form.Curriculum.value = curriculum; document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.StudyPlanYMD.value = StudyPlanYMD; document.Form.ItemCode.value = ItemCode; if(StudyUnitCode == undefined || StudyUnitCode == '' || StudyUnitCode.length == 0) { var studyunitTmp = parseInt(studyunit.substring(0,studyunit.length-1)); var studyunitTmpStr = ""; if(studyunitTmp < 10) studyunitTmpStr = "0" + studyunitTmp; else studyunitTmpStr = studyunitTmp; StudyUnitCode = studyunitTmpStr + studyunit.substring(studyunit.length-1,studyunit.length); } document.Form.StudyUnitCode.value = StudyUnitCode; document.Form.Progress_Name.value = Progress_Name; window.open("",tf_target,"fullscreen=yes,toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = tf_target; document.Form.action = oc4jHost+tf_exam_url; document.Form.method = "post"; document.Form.submit(); } var step_exam_url = "/Study?jobGubun=StepExamStart"; var step_target ="exam_win"; //------------------------------------------------------------------------------ // ¿À´ÃÀÇ ÇнÀÆò°¡, ¹Ð¸°Æò°¡ // // oc4jHost : // kind : Æò°¡À¯Çü (ÇÙ½É:1, ±Çº°:2, ±â¸»:3) // pcode : ½Ã¸®ÁîÄÚµå(PCode) // p_code : ÆäÀÌÆÛÄÚµå(P_Code) // studyname : ½ºÅ͵ðÀ̸§(±³Àç¸í) // kwon : ±Ç // studyunit : °ú(Å×ÀÙ¹øÈ£) // curriculum : ÇÐÁ¦ // ecode : ¼ºÀûÇ¥ ÄÚµå (Æò°¡Áß´Ü¿©ºÎ - óÀ½½ÃÀÛ:0, Áß´ÜÈÄ ´Ù½Ã½ÃÀÛ:¼ºÀûÇ¥ÄÚµå) // istoday : ¿À´ÃÀÇÆò°¡ À¯¹« (¿À´ÃÀÇÆò°¡:1, ¹Ð¸°Æò°¡:0) // restudycnt : Æò°¡¼ø¼­ (ÀçÆò°¡ ±¸ºÐ) // prefix : Å׸¶±¸ºÐ (96:9/6ÇÐÁ¦, 510:5/10ÇÐÁ¦) // themenum : Å׸¶¹øÈ£ // themetype : Å׸¶Å¸ÀÔ (b-±âº», s-°íÁ¤, pr-ÇÁ·Î¸ð¼Ç) //------------------------------------------------------------------------------ function openStepExam(oc4jHost, kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) { //alert( kind + '-' + pcode + '-' + p_code + '-' + studyname + '-' + kwon + '-' + studyunit + '-' + curriculum + '-' + ecode + '-' + istoday + '-' + restudycnt + '-' + prefix + '-' + themenum + '-' + themetype ); document.Form.Eval_Kind.value = kind; document.Form.iPCode.value = pcode; document.Form.iP_Code.value = p_code; document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; document.Form.StudyUnit.value = studyunit; document.Form.Curriculum.value = curriculum; document.Form.iECode.value = ecode; document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.Prefix.value = prefix; document.Form.Template.value = themenum; document.Form.TemplateType.value= themetype; window.open("",step_target,"fullscreen=yes,toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = step_target; document.Form.action = oc4jHost+step_exam_url; document.Form.method = "post"; document.Form.submit(); } var seme_exam_url = "/Semester?jobGubun=SemeExamStart"; var seme_target ="exam_win"; //------------------------------------------------------------------------------ // ¿À´ÃÀÇ ÇнÀÆò°¡, ¹Ð¸°Æò°¡ // // oc4jHost : // kind : Æò°¡À¯Çü (ÇÙ½É:1, ±Çº°:2, ±â¸»:3) // pcode : ½Ã¸®ÁîÄÚµå(PCode) // p_code : ÆäÀÌÆÛÄÚµå(P_Code) // studyname : ½ºÅ͵ðÀ̸§(±³Àç¸í) // kwon : ±Ç // studyunit : °ú(Å×ÀÙ¹øÈ£) // curriculum : ÇÐÁ¦ // ecode : ¼ºÀûÇ¥ ÄÚµå (Æò°¡Áß´Ü¿©ºÎ - óÀ½½ÃÀÛ:0, Áß´ÜÈÄ ´Ù½Ã½ÃÀÛ:¼ºÀûÇ¥ÄÚµå) // istoday : ¿À´ÃÀÇÆò°¡ À¯¹« (¿À´ÃÀÇÆò°¡:1, ¹Ð¸°Æò°¡:0) // restudycnt : Æò°¡¼ø¼­ (ÀçÆò°¡ ±¸ºÐ) // prefix : Å׸¶±¸ºÐ (96:9/6ÇÐÁ¦, 510:5/10ÇÐÁ¦) // themenum : Å׸¶¹øÈ£ // themetype : Å׸¶Å¸ÀÔ (b-±âº», s-°íÁ¤, pr-ÇÁ·Î¸ð¼Ç) //------------------------------------------------------------------------------ function openSemeExam(oc4jHost, kind, pcode, p_code, studyname, kwon, studyunit, curriculum, ecode, istoday, restudycnt, prefix, themenum, themetype) { //alert( 'openSemeExam :: '+ kind + '-' + pcode + '-' + p_code + '-' + studyname + '-' + kwon + '-' + studyunit + '-' + curriculum + '-' + ecode + '-' + istoday + '-' + restudycnt + '-' + prefix + '-' + themenum + '-' + themetype ); document.Form.Eval_Kind.value = kind; document.Form.iPCode.value = pcode; document.Form.iP_Code.value = p_code; document.Form.StudyName.value = studyname; document.Form.Kwon.value = kwon; document.Form.StudyUnit.value = studyunit; document.Form.Curriculum.value = curriculum; document.Form.iECode.value = ecode; document.Form.IsToday.value = istoday; document.Form.RestudyCnt.value = restudycnt; document.Form.Prefix.value = prefix; document.Form.Template.value = themenum; document.Form.TemplateType.value= themetype; document.Form.Mode.value= 'exam'; window.open("",seme_target,"fullscreen=yes,toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,titlebar=no"); document.Form.target = seme_target; document.Form.action = oc4jHost+seme_exam_url; document.Form.method = "post"; document.Form.submit(); }