From eccdd7d473f4f2357ef61e79a9c62bd2ec308810 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 8 Oct 2018 11:29:17 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EC=9D=B8?= =?UTF-8?q?=EC=A6=9D=EC=8B=9C=20=ED=83=88=ED=87=B4=EB=90=9C=20=ED=9A=8C?= =?UTF-8?q?=EC=9B=90=EC=9D=B4=EB=82=98=20=EC=B0=A8=EB=8B=A8=EB=90=9C=20?= =?UTF-8?q?=ED=9A=8C=EC=9B=90=EC=9D=80=20=EC=9D=B8=EC=A6=9D=EC=95=88?= =?UTF-8?q?=EB=90=98=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/email_certify.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bbs/email_certify.php b/bbs/email_certify.php index 80b4bf0b8..2fc735b32 100644 --- a/bbs/email_certify.php +++ b/bbs/email_certify.php @@ -4,11 +4,15 @@ include_once('./_common.php'); $mb_id = trim($_GET['mb_id']); $mb_md5 = trim($_GET['mb_md5']); -$sql = " select mb_id, mb_email_certify2 from {$g5['member_table']} where mb_id = '{$mb_id}' "; +$sql = " select mb_id, mb_email_certify2, mb_leave_date, mb_intercept_date from {$g5['member_table']} where mb_id = '{$mb_id}' "; $row = sql_fetch($sql); if (!$row['mb_id']) alert('존재하는 회원이 아닙니다.', G5_URL); +if ( $row['mb_leave_date'] || $row['mb_intercept_date'] ){ + alert('탈퇴 또는 차단된 회원입니다.', G5_URL); +} + // 인증 링크는 한번만 처리가 되게 한다. sql_query(" update {$g5['member_table']} set mb_email_certify2 = '' where mb_id = '$mb_id' ");