Merge branch 'master' of github.com:gnuboard/g5

This commit is contained in:
thisgun
2020-03-03 10:44:03 +09:00
17 changed files with 79 additions and 15 deletions

View File

@ -53,6 +53,7 @@ if( ! isset($mb_password) || ! $mb_password ){
}
if ($msg = valid_mb_id($mb_id)) alert($msg, "", true, true);
if ($msg = empty_mb_name($mb_name)) alert($msg, "", true, true);
if ($msg = empty_mb_nick($mb_nick)) alert($msg, "", true, true);
if ($msg = empty_mb_email($mb_email)) alert($msg, "", true, true);
@ -68,6 +69,10 @@ if ($msg = exist_mb_id($mb_id)) alert($msg);
if ($msg = exist_mb_nick($mb_nick, $mb_id)) alert($msg, "", true, true);
if ($msg = exist_mb_email($mb_email, $mb_id)) alert($msg, "", true, true);
if( $mb = get_member($mb_id) ){
alert("이미 등록된 회원이 존재합니다.", G5_URL);
}
$data = array(
'mb_id' => $mb_id,
'mb_password' => get_encrypt_string($mb_password),