mb_adult 필드 추가 코드 추가

This commit is contained in:
chicpro
2013-02-27 14:37:14 +09:00
parent eea6881f75
commit ee309944ae
2 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,12 @@ if ($mb['mb_open']) {
$open_no_checked = 'checked="checked"';
}
if(!isset($mb['mb_adult'])) {
sql_query(" ALTER TABLE `{$g4['member_table']}`
ADD `mb_adult` ENUM('Y', 'N') NOT NULL DEFAULT 'N' AFTER `mb_birth`,
ADD `mb_hp_certify` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `mb_lost_certify` ", FALSE);
}
if ($mb['mb_intercept_date']) $g4['title'] = "차단된 ";
else $g4['title'] .= "";
$g4['title'] .= '회원 '.$html_title;