답변 2개 / 댓글 4개
bbs\write_update.php 에서 하단에 아래와 같이 수정해주세요.
if ($file_upload_msg) {
alert($file_upload_msg, G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
} else {
if ($bo_table=='reservation') { //reservation은 온라인 예약 게시판
alert('완료');
goto_url('http://sir.kr');
} else {
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
}
}
답변에 대한 댓글 4개
alert($file_upload_msg, G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
}
else{
if($bo_table=='sub0702'){
alert("예약신청 완료되었습니다. 예약 스케줄 확인 후 연락 드리겠습니다.");
goto_url('http://www.google.com');
}else{
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
}
}
아래와 같이 수정해보세요.
if ($file_upload_msg){
alert($file_upload_msg, G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
}
else{
if ($bo_table=='sub0702') alert('예약신청 완료되었습니다. 예약 스케줄 확인 후 연락 드리겠습니다.', 'http://www.google.com');
else
goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr);
}
답변을 작성하려면 로그인이 필요합니다.