".$TYPE[$guzic_jobtype1] . ""; } if ($guzic_jobtype2) { $add_location2 = " > ". $TYPE_SUB[$guzic_jobtype2] . ""; } //상단 카테고리명 출력 $카테고리명 = Array(); // $카테고리명['1차'] = ( $_GET['guzic_jobtype1'] != "" ) ? $TYPE[$_GET['guzic_jobtype1']] : "전체"; $카테고리명['1차'] = ( $_GET['guzic_jobtype1'] != "" ) ? $TYPE[$_GET['guzic_jobtype1']] : "All"; $카테고리명['2차'] = ( $_GET['guzic_jobtype2'] != "" ) ? $TYPE_SUB[$_GET['guzic_jobtype2']] : ""; #금지단어 체크 if ( DenyWordCheck($_GET['guzic_keyword'],$TDenyWordList) ) { error(" Contains prohibited words that cannot be searched."); exit; } #금지단어 체크 /*원래 있던 코드*/ $_GET["file"] = str_replace(".html","",$_GET["file"]); $file = ( $_GET["file"] == "" )?"guzic_list":$_GET["file"]; $skin_folder_now = ( $file == "guzic_list" )?$skin_folder:$skin_folder_file; switch ( $file ) { case "member_guin_scrap": $nowNevi = "스크랩한 이력서";break; case "member_guin_chong": $nowNevi = "모든 지원 이력서";$chk="1";break; case "member_guin_noview": $nowNevi = "미열람 지원 이력서";$chk="1";break; case "member_guin_ok": $nowNevi = "예비합격자";$chk="1";break; default : $nowNevi = "인재정보";break; } if ( $_GET["my"] == "1" ) { $nowNevi = "맞춤인재정보보기"; } $nowNevi = "$nowNevi $add_location1 $add_location2 "; if ( !eregi("guzic_",$file) || $_GET["my"] == "1" ) { if ( $_GET['number'] != '' ) { $nowNevi = "마이페이지 > 채용정보 > $nowNevi "; } else { $nowNevi = "마이페이지 > $nowNevi "; } } if ( $chk == "1" ) { $Sql = "SELECT * ,(TO_DAYS(curdate())-TO_DAYS('2005-10-21')) AS gap FROM $guin_tb WHERE number='$_GET[number]'"; $GUIN_INFO = happy_mysql_fetch_array(query($Sql)); $GUIN_INFO["interview"] = str_replace("\r","",$GUIN_INFO["guin_interview"]); $interview = explode("\n",$GUIN_INFO["interview"]); $GUIN_INFO["interview"] = ""; for ( $i=1,$max=sizeof($interview) ; $i<=$max ; $i++ ) { if ( $interview[$i-1] != "" ) { $GUIN_INFO["interview"] .= "Question $i : ".$interview[$i-1]."
"; } } } //업.직종 추가함 $GUIN_INFO["guin_job"] = ""; if ($GUIN_INFO["type1"] != "0") { $GUIN_INFO["guin_job"] .= "1st Job : ".$TYPE[$GUIN_INFO["type1"]]; if ($GUIN_INFO["type_sub1"] != "0") { $GUIN_INFO["guin_job"] .= " / ".$TYPE_SUB[$GUIN_INFO["type_sub1"]]; } } if ($GUIN_INFO["type2"] != "0") { $GUIN_INFO["guin_job"] .= "
2nd Job : ".$TYPE[$GUIN_INFO["type2"]]; if ($GUIN_INFO["type_sub2"] != "0") { $GUIN_INFO["guin_job"] .= " / ".$TYPE_SUB[$GUIN_INFO["type_sub2"]]; } } if ($GUIN_INFO["type3"] != "0") { $GUIN_INFO["guin_job"] .= "
3rd Job : ".$TYPE[$GUIN_INFO["type3"]]; if ($GUIN_INFO["type_sub3"] != "0") { $GUIN_INFO["guin_job"] .= " / ".$TYPE_SUB[$GUIN_INFO["type_sub3"]]; } } //업.직종 추가함 //진행or마감여부 if ( $GUIN_INFO['guin_choongwon'] || $GUIN_INFO['guin_end_date'] > date("Y-m-d") ) { $GUIN_INFO['guin_end_text'] = "Processing"; } else { $GUIN_INFO['guin_end_text'] = "Last Date"; } if ( $GUIN_INFO[guin_choongwon] ) { $GUIN_INFO[guin_end_date] = "~ No End Date"; } else { $dday_interval = date("Y-m-d",strtotime($GUIN_INFO["guin_end_date"]."-{$HAPPY_CONFIG[guin_end_date_dday]} day")); if(date("Y-m-d") == $GUIN_INFO["guin_end_date"]) { $GUIN_INFO['guin_end_date'] = "D-day"; } else if(date("Y-m-d") >= $dday_interval) { $GUIN_INFO['guin_end_date'] = "D-".happy_date_diff(date("Y-m-d"),$GUIN_INFO['guin_end_date']); } } if ( $GUIN_INFO["guin_pay"] == preg_replace("/\D/","",$GUIN_INFO["guin_pay"]) ) { $GUIN_INFO["guin_pay"] = number_format($GUIN_INFO["guin_pay"])."INR"; } $GUIN_INFO["guin_pay_icon"] = $want_money_img_arr[$GUIN_INFO['guin_pay_type']]; $GUIN_INFO["guin_pay_icon2"] = $want_money_img_arr2[$GUIN_INFO['guin_pay_type']]; $guzic_money = addslashes($_GET["guzic_money"]); $guzic_school = addslashes($_GET["guzic_school"]); $guzic_level = addslashes($_GET["guzic_level"]); $guzic_keyword = addslashes($_GET["guzic_keyword"]); $guzic_si = addslashes($_GET["guzic_si"]); $guzic_gu = addslashes($_GET["guzic_gu"]); $guzic_type = addslashes($_GET["guzic_jobtype1"]); $guzic_type_sub = addslashes($_GET["guzic_jobtype2"]); $guzic_prefix = addslashes($_GET["guzic_prefix"]); #$guzic_prefix = ( $_GET["career_read"] != "" )?addslashes($_GET["career_read"]):$guzic_prefix; $career_read = addslashes($_GET["career_read"]); $job_type_read = addslashes($_GET["job_type_read"]); $guzic_keyword = addslashes($_GET["guzic_keyword"]); $guzic_prefix = ( $guzic_prefix == "man" )?"남자":$guzic_prefix; $guzic_prefix = ( $guzic_prefix == "girl" )?"여자":$guzic_prefix; $검색어 = ""; $검색어 .= ( $guzic_si != "" )?$siSelect[$guzic_si]." ":""; $검색어 .= ( $guzic_gu != "" )?$guSelect[$guzic_gu]." 지역내 ":""; $검색어 .= ( $guzic_type != "" )?$TYPE[$guzic_type]." ":""; $검색어 .= ( $guzic_type_sub != "" )?$TYPE[$guzic_type_sub]." ":""; $검색어 .= ( $guzic_school != "" )?$guzic_school."학력 ":""; $검색어 .= ( $career_read != "" )?"경력(".$career_read.") ":""; $검색어 .= ( $guzic_prefix != "" )?"성별(".$guzic_prefix.") ":""; $검색어 .= ( $guzic_money != "" )?"연봉(".$guzic_money.") ":""; $검색어 .= ( $job_type_read != "" )?$job_type_read." ":""; $검색어 .= ( $검색어 != "" )?"으로 검색한 결과":""; $현재위치 = " $prev_stand > $nowNevi"; $인재정보정렬 = sort_how_return('guzic'); if ( !is_file("$skin_folder_now/${file}.html") ) { echo "$skin_folder_now/${file}.html file does not exist."; exit; } #echo $file."
"; #echo "$skin_folder_now/${file}.html"; $TPL->define("상세", "$skin_folder_now/${file}.html"); $TPL->assign("상세"); $내용 = &$TPL->fetch(); $Template_Default = "default_guzic.html"; if ( $_GET['file'] == 'member_guin_scrap' || $_GET['file'] == 'member_guin_ok' || $_GET['file'] == 'member_guin_chong' ) //마이페이지 { $happy_member_login_id = happy_member_login_check(); $Member = happy_member_information($happy_member_login_id); $member_group = $Member['group']; $Sql = "SELECT * FROM $happy_member_group WHERE number='$member_group'"; $Group = happy_mysql_fetch_array(query($Sql)); $Template_Default = ( $Group['mypage_default'] == '' )? $happy_member_mypage_default_file : $Group['mypage_default']; $Template_Default = $Template_Default == '' ? $happy_member_mypage_default_file : $Template_Default; } //$TPL->define("껍데기", "$skin_folder/$Template_Default"); //$TPL->define("껍데기", "$skin_folder/default_guzic.html"); //echo "$skin_folder/$Template_Default"; $TPL->define("껍데기", "$skin_folder/$Template_Default"); $TPL->assign("껍데기"); echo $TPL->fetch(); ?>