submissionInsert($_POST,$_FILES); } exit; } else if ($menuCode_tmp[1] == "MODIFY") { $include_con_Path = "submission/submission_modify_hi.php"; } else { $subNum = $menuCode_tmp[2]; $include_con_Path = "submission/".$menuCode_tmp[1]."_".$menuCode_tmp[2].".php"; } } else if (strstr($hCode, "REGISTRATION")) { $menuNum = "04"; $subNum = "1"; $mode_tmp = explode("_", $hCode); $directory = strtolower($mode_tmp[0]); if ($mode_tmp[1]=="PROC") { if($hMode == "INSERT" || $hMode == "MODIFY"){ $result = $registrationObj->registrationInsert($_POST); } exit; //$include_con_Path = "registration/registration_proc.php"; } else { if ($mode_tmp[3] != "") { $includeFile = $mode_tmp[1]."_".$mode_tmp[2]."_".$mode_tmp[3]; } else { $includeFile = $mode_tmp[1]."_".$mode_tmp[2]; } $include_con_Path = $directory."/".$includeFile.".php"; } } else if (strstr($hCode, "EBOOTH")) { if ($_SESSION[s_idx] == "") { alert("로그인 후, 전시관 관람이 가능합니다.","index.php?returnCode=".$hCode); } // $deCode_tmp = explode("_",$hCode); // $directory = strtolower($deCode_tmp[0]); // $menuNum = $deCode_tmp[1]; // $subNum = $deCode_tmp[2]; // if ($deCode_tmp[3] != "") { // $includeFile = $deCode_tmp[1]."_".$deCode_tmp[2]."_".$deCode_tmp[3]; // } else { // $includeFile = $deCode_tmp[1]."_".$deCode_tmp[2]; // } // $include_con_Path = $directory."/".$includeFile.".php"; $menuCode_tmp = explode("_",$hCode); if ($menuCode_tmp[1] == "PROC") { $include_con_Path = "ebooth/ebooth_proc.php"; } else { $subNum = $menuCode_tmp[2]; $include_con_Path = "ebooth/".$menuCode_tmp[1]."_".$menuCode_tmp[2].".php"; } } else if (strstr($hCode, "EPOSTER")) { if ($_SESSION[s_idx] == "") { alert("로그인 후, e-Poster 열람이 가능합니다.","index.php?returnCode=".$hCode); } $menuCode_tmp = explode("_",$hCode); if ($menuCode_tmp[1] == "PROC") { $include_con_Path = "eposter/eposter_proc.php"; } else if ($menuCode_tmp[1] == "LIST") { $include_con_Path = "eposter/eposter_list.php"; } else if ($menuCode_tmp[1] == "ENTER") { $include_con_Path = "eposter/eposter_enter.php"; } else { $subNum = $menuCode_tmp[2]; $include_con_Path = "eposter/".$menuCode_tmp[1]."_".$menuCode_tmp[2].".php"; } } else if (strstr($hCode, "ETELLING")) { $menuCode_tmp = explode("_",$hCode); if ($menuCode_tmp[1] == "PROC") { $include_con_Path = "etelling/etelling_proc.php"; } else if ($menuCode_tmp[1] == "LIST") { $include_con_Path = "etelling/etelling_list.php"; } else if ($menuCode_tmp[1] == "ENTER") { $include_con_Path = "etelling/etelling_enter.php"; } else { $subNum = $menuCode_tmp[2]; $include_con_Path = "etelling/".$menuCode_tmp[1]."_".$menuCode_tmp[2].".php"; } } else if ($hCode == "JOIN") { $menuNum = "08"; $subNum = "2"; $include_con_Path = "member_hi/join_hi.php"; } else if ($hCode == "MEMBER_PROC") { //회원가입 처리 페이지 if($hMode == "IDCHK"){ $result = $memberObj->duplicateId_check($userid); } elseif($hMode == "JOIN"){ $result = $memberObj->memberJoin($_POST); } exit; } else if ($hCode == "LOGIN") { //회원 로그인페이지 $menuNum = "08"; $subNum = "1"; $include_con_Path = "member_hi/login_hi.php"; } else if ($hCode == "LOGIN_KEY") { //회원 로그인페이지 $menuNum = "08"; $subNum = "1"; $include_con_Path = "member_hi/login_k_hi.php"; } else if ($hCode == "LOGIN_PROC") { $menuNum = "08"; $subNum = "1"; $include_con_Path = "member_hi/login_proc.php"; } else if ($hCode == "LOGOUT_PROC") { //로그아웃 페이지 $include_con_Path = "member_hi/logout_hi.php"; } else if ($hCode == "LOGOUT2_PROC") { //중복접속 시 로그아웃 페이지 $include_con_Path = "member_hi/logout_hi2.php"; } else if ($hCode == "PWD_FIND" || $hCode == "PWDFIND") { //비밀번호찾기 $menuNum = "08"; $subNum = "4"; $include_con_Path = "member_hi/passwd_find_hi.php"; } else if ($hCode == "PWD_MODIFY") { //비밀번호 찾기 후 변경페이지. $menuNum = "08"; $subNum = "5"; $include_con_Path = "member_hi/passwd_modify.php"; } else if (strstr($hCode,"ONLINE")) { $menuNum = "09"; $subNum = "3"; $include_con_Path = "member_hi/online_time.php"; } else if (strstr($hCode,"MYPAGE")) { // 마이페이지 if ($_SESSION["s_username"] == "") { alert("로그인 후 이용가능합니다.","index.php?hCode=LOGIN"); } $menuNum = "09"; $mode_tmp = explode("_",$hCode); if ($mode_tmp[1] == "PAYMENT") { //결제관리 $subNum = "2"; if ($mode_tmp[2] == "LIST") { $include_con_Path = "member_hi/payment_list.php"; } else if ($mode_tmp[2] == "INSERT") { //연회비결제 $include_con_Path = "member_hi/payment_insert.php"; } else if ($mode_tmp[2] == "PROC") { $include_con_Path = "member_hi/payment_proc.php"; } } else if ($mode_tmp[1] == "REGI") { //사전등록내역 $subNum = "3"; if($member["country"] == "KOR"){ alert("국내이용자분들은 학회홈페이지 ksms.org 에서 내역을 확인해주시기 바랍니다.","index.php?hCode=MYPAGE_INFO_MODIFY"); } if($mode_tmp[2] == "") $mode_tmp[2] = "LIST"; if ($mode_tmp[2] == "LIST") { $include_con_Path = "regi/04_02.php"; } else if ($mode_tmp[2] == "MODIFY") { $include_con_Path = "member_hi/registration_modify.php"; } else if ($mode_tmp[2] == "PROC") { $include_con_Path = "member_hi/conference_proc.php"; } } else if ($mode_tmp[1] == "ABS") { //초록등록내역 $subNum = "2"; if($mode_tmp[2] == "") $mode_tmp[2] = "LIST"; if ($mode_tmp[2] == "LIST") { $include_con_Path = "member_hi/abstract_list_hi.php"; } else if ($mode_tmp[2] == "MODIFY") { $include_con_Path = "member_hi/abstract_modify_hi.php"; } else if ($mode_tmp[2] == "PROC") { $include_con_Path = "member_hi/conference_proc.php"; } } else if ($mode_tmp[1] == "BOOTH") { //스탬프내역 $subNum = "1"; if($mode_tmp[2] == "") $mode_tmp[2] = "LIST"; if ($mode_tmp[2] == "LIST") { $include_con_Path = "member_hi/stamp_list.php"; } } else if ($mode_tmp[1] == "INFO") { //내정보 $subNum = "1"; $positionVal = $member["position"]; $positionChecked[$positionVal] = "checked"; if ($mode_tmp[2] == "MODIFY") { $include_con_Path = "member_hi/mypage_hi.php"; } else if ($mode_tmp[2] == "PROC"){ $result = $memberObj->memberJoin($_POST); } } } else if (strstr($hCode,"SURVEY")) { $menuNum = "09"; $mode_tmp = explode("_",$hCode); if ($mode_tmp[1] == "PROC") { $include_con_Path = "survey/survey_proc.php"; } else if ($mode_tmp[1] == "INSERT") { $include_con_Path = "survey/survey_insert_hi.php"; } else if ($mode_tmp[1] == "INSERT2") { $include_con_Path = "survey/survey_insert2_hi.php"; } else { $subNum = $mode_tmp[2]; $include_con_Path = "survey/".$mode_tmp[1]."_".$mode_tmp[2].".php"; } }else if ($hCode == "EXIM_PAYMENT") { $menuNum = "04"; $subNum = 4; $paymentData = $paymentObj->paymentInfo_get($od_id); $include_con_Path = "payment/eng_confirm_hi.php"; } elseif($hCode == "PAYMENT_RESULT"){ $menuNum = "04"; $subNum = 5; $paymentData = $paymentObj->paymentInfo_get($od_id); $include_con_Path = "payment/payment_result.php"; } else if ($hCode == "EXIM_INSERT") { $menuNum = "13"; $subNum = "02"; $include_con_Path = "payment/payment_insert.php"; } else if ($hCode == "REGI_04_02" || $hCode == "REGI_04_03") { $deCode_tmp = explode("_",$hCode); $menuNum = $deCode_tmp[1]; $subNum = $deCode_tmp[2]; if(TIME_YMD < CLOSE_EARLYREG_DATE){ // 사전등록 기간일때 if($hCode == "REGI_04_03"){ //일반 등록(On-line Registation 을 클릭시) alert("This is the Early registration period.","/index.php?hCode=REGI_04_02"); } } else{ //일반등록 기간일때 if($hCode == "REGI_04_02"){ //사전 등록(Early Registation 을 클릭시) alert("Early registration has ended. This is the on-line registration period.","/index.php?hCode=REGI_04_03"); } } //if(TIME_YMD > CLOSE_REGISTRATION_DATE){ // alert("On-line Registration is closed","/index.php"); //} $include_con_Path = "regi/04_03.php"; } else if ($hCode == "") { $menuNum = ""; $include_con_Path = "index.html"; } else { $deCode_tmp = explode("_",$hCode); $directory = strtolower($deCode_tmp[0]); $menuNum = $deCode_tmp[1]; $subNum = $deCode_tmp[2]; if ($deCode_tmp[3] != "") { $includeFile = $deCode_tmp[1]."_".$deCode_tmp[2]."_".$deCode_tmp[3]; } else { $includeFile = $deCode_tmp[1]."_".$deCode_tmp[2]; } $include_con_Path = $directory."/".$includeFile.".php"; } if (!file_exists($include_con_Path)) { $include_con_Path = "index.html"; } if ($include_con_Path != "index.html") { $include_top_Path = "include_hi/header.php"; } $include_bot_Path = "include_hi/footer.php"; if ($include_con_Path == "") { $include_con_Path = "index.html"; } if ($_SESSION["s_username"] == "") { //$include_con_Path = "member_hi/login_hi.php"; } if ($include_con_Path == "index.html") { $chk_date = date("Y-m-d"); $sql_p = "SELECT idx,topsize,leftsize,widthsize,heightsize,scroll FROM popup WHERE startdate <= '$chk_date' AND enddate >= '$chk_date' ORDER BY idx ASC"; $result_p = mysqli_query($conn, $sql_p); while ($row_p = mysqli_fetch_array($result_p)) { $idx = $row_p[idx]; $topsize = $row_p[topsize]; $leftsize = $row_p[leftsize]; $widthsize = $row_p[widthsize]; $heightsize = $row_p[heightsize]; $heightsize = $heightsize + 24; $scroll = $row_p[scroll]; if ($scroll == "Y") { $scroll = "yes"; $widthsize = $widthsize + 20; } else { $scroll = "no"; } $popup = $popup . "popup('popup_hi/popup.php?idx=".$idx."&popupid=popup".$idx."',".$widthsize.",".$heightsize.",".$topsize.",".$leftsize.",'popup".$idx."','".$scroll."');"; } } if (!strstr($hCode,"PROC") && !strstr($hCode, "COMMENT") && !strstr($hCode, "BARCODE")) { if ($include_con_Path != "index.html") { include $include_top_Path; } } include $include_con_Path; if (!strstr($hCode,"PROC") && !strstr($hCode, "COMMENT") && !strstr($hCode, "BARCODE")) { if ($include_con_Path != "index.html") { include $include_bot_Path; } } ?>