#209 아이디 직접 입력시 체크 코드 위치 변경

This commit is contained in:
chicpro
2013-06-04 15:28:37 +09:00
parent 9aa5b7450e
commit d1b94bb26b

View File

@ -65,6 +65,11 @@ if($w == '') {
if($_POST['mb_id'] == $config['cf_admin'])
alert('관리자를 제외한 회원의 아이디를 입력해 주십시오.');
$sql2 = " select mb_id from {$g4['member_table']} where mb_id = '{$_POST['mb_id']}' and mb_leave_date = '' and mb_intercept_date = '' ";
$row2 = sql_fetch($sql2);
if(!$row2['mb_id'])
alert('입력하신 회원아이디는 존재하지 않거나 탈퇴 또는 차단된 회원아이디입니다.');
$arr_mb_id[] = $_POST['mb_id'];
}
@ -73,13 +78,6 @@ if($w == '') {
for($i=0; $i<$mb_id_count; $i++) {
$mb_id = $arr_mb_id[$i];
if(!$_POST['chk_all_mb']) {
$sql2 = " select mb_id from {$g4['member_table']} where mb_id = '$mb_id' and mb_leave_date = '' and mb_intercept_date = '' ";
$row2 = sql_fetch($sql2);
if(!$row2['mb_id'])
alert('입력하신 회원아이디는 존재하지 않거나 탈퇴 또는 차단된 회원아이디입니다.');
}
$j = 0;
do {
$cp_id = get_coupon_id();