비회원 비밀댓글 내용확인 기능 추가

This commit is contained in:
chicpro
2014-07-11 13:57:54 +09:00
parent 251a01d7ac
commit 0c79231eb9
7 changed files with 35 additions and 0 deletions

View File

@ -26,6 +26,15 @@ switch ($w) {
$return_url = './board.php?bo_table='.$bo_table;
}
break;
case 'sc' :
// 비밀번호 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
if ($is_admin || ($member['mb_id'] == $write['mb_id'] && $write['mb_id']))
goto_url('./board.php?bo_table='.$bo_table.'&wr_id='.$wr_id);
else {
$action = './password_check.php';
$return_url = './board.php?bo_table='.$bo_table.'&wr_id='.$wr_id;
}
break;
default :
alert('w 값이 제대로 넘어오지 않았습니다.');
}