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

This commit is contained in:
whitedot
2013-01-17 14:36:49 +09:00

View File

@ -22,6 +22,7 @@ if (!chk_captcha()) {
$mb_id = escape_trim($_POST['mb_id']); $mb_id = escape_trim($_POST['mb_id']);
$mb_password = escape_trim($_POST['mb_password']); $mb_password = escape_trim($_POST['mb_password']);
$mb_password_re = escape_trim($_POST['mb_password_re']);
$mb_name = escape_trim($_POST['mb_name']); $mb_name = escape_trim($_POST['mb_name']);
$mb_nick = escape_trim($_POST['mb_nick']); $mb_nick = escape_trim($_POST['mb_nick']);
$mb_email = escape_trim($_POST['mb_email']); $mb_email = escape_trim($_POST['mb_email']);
@ -56,6 +57,8 @@ if ($w == '' || $w == 'u') {
if ($w == '' && !$mb_password) if ($w == '' && !$mb_password)
alert('패스워드가 넘어오지 않았습니다.'); alert('패스워드가 넘어오지 않았습니다.');
if($w == '' && $mb_password != $mb_password_re)
alert('패스워드가 일치하지 않습니다.');
if ($msg = empty_mb_name($mb_id)) alert($msg); if ($msg = empty_mb_name($mb_id)) alert($msg);
if ($msg = empty_mb_nick($mb_nick)) alert($msg); if ($msg = empty_mb_nick($mb_nick)) alert($msg);