Merge branch 'g5'
This commit is contained in:
@ -122,6 +122,11 @@ if(!isset($mb['mb_addr3'])) {
|
||||
sql_query(" ALTER TABLE {$g5['member_table']} ADD `mb_addr3` varchar(255) NOT NULL DEFAULT '' AFTER `mb_addr2` ", false);
|
||||
}
|
||||
|
||||
// 중복가입 확인필드 추가
|
||||
if(!isset($mb['mb_dupinfo'])) {
|
||||
sql_query(" ALTER TABLE {$g5['member_table']} ADD `mb_dupinfo` varchar(255) NOT NULL DEFAULT '' AFTER `mb_adult` ", false);
|
||||
}
|
||||
|
||||
if ($mb['mb_intercept_date']) $g5['title'] = "차단된 ";
|
||||
else $g5['title'] .= "";
|
||||
$g5['title'] .= '회원 '.$html_title;
|
||||
|
||||
@ -148,12 +148,12 @@ if (isset($_FILES['mb_icon']) && is_uploaded_file($_FILES['mb_icon']['tmp_name']
|
||||
// 본인확인
|
||||
//---------------------------------------------------------------
|
||||
$mb_hp = hyphen_hp_number($mb_hp);
|
||||
if($_SESSION['ss_cert_type'] != 'hp' && $mb_hp) {
|
||||
// 휴대폰번호 중복체크
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_hp = '{$mb_hp}' ";
|
||||
if($config['cf_cert_use'] && $_SESSION['ss_cert_type'] && $_SESSION['ss_cert_dupinfo']) {
|
||||
// 중복체크
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$_SESSION['ss_cert_dupinfo']}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
alert("이미 가입되어 있는 휴대폰번호 입니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
alert("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
}
|
||||
}
|
||||
|
||||
@ -168,6 +168,7 @@ if ($config['cf_cert_use'] && $cert_type && $md5_cert_no) {
|
||||
$sql_certify .= " , mb_adult = '{$_SESSION['ss_cert_adult']}' ";
|
||||
$sql_certify .= " , mb_birth = '{$_SESSION['ss_cert_birth']}' ";
|
||||
$sql_certify .= " , mb_sex = '{$_SESSION['ss_cert_sex']}' ";
|
||||
$sql_certify .= " , mb_dupinfo = '{$_SESSION['ss_cert_dupinfo']}' ";
|
||||
} else {
|
||||
$sql_certify .= " , mb_hp = '{$mb_hp}' ";
|
||||
$sql_certify .= " , mb_certify = '' ";
|
||||
|
||||
@ -31,7 +31,8 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
|
||||
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {z-index:10;position:relative;min-width:970px;background:#fff}
|
||||
#hd {z-index:4;position:relative;min-width:970px;background:#fff}
|
||||
.hd_zindex {z-index:10 !important}
|
||||
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:970px;zoom:1}
|
||||
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -204,7 +205,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
|
||||
/* 폼 테이블 */
|
||||
.tbl_frm01 {margin:0 0 20px}
|
||||
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.tbl_frm01 th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
|
||||
.tbl_frm01 th {width:70px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
|
||||
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
|
||||
.tbl_frm01 textarea, .frm_input {border:1px solid #e4eaec;background:#f7f7f7;color:#000;vertical-align:middle;line-height:2em}
|
||||
.tbl_frm01 textarea {padding:2px 2px 3px}
|
||||
|
||||
@ -452,6 +452,7 @@ CREATE TABLE IF NOT EXISTS `g5_member` (
|
||||
`mb_hp` varchar(255) NOT NULL default '',
|
||||
`mb_certify` varchar(20) NOT NULL default '',
|
||||
`mb_adult` tinyint(4) NOT NULL default '0',
|
||||
`mb_dupinfo` varchar(255) NOT NULL default '',
|
||||
`mb_zip1` char(3) NOT NULL default '',
|
||||
`mb_zip2` char(3) NOT NULL default '',
|
||||
`mb_addr1` varchar(255) NOT NULL default '',
|
||||
|
||||
@ -18,6 +18,7 @@ $(function(){
|
||||
var $gnb = $(".gnb_1dli > a");
|
||||
$gnb.mouseover(function() {
|
||||
if(mouse_event) {
|
||||
$("#hd").addClass("hd_zindex");
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
$(this).parent().addClass("gnb_1dli_over gnb_1dli_on");
|
||||
menu_rearrange($(this).parent());
|
||||
@ -38,6 +39,7 @@ $(function(){
|
||||
});
|
||||
|
||||
$gnb.focusin(function() {
|
||||
$("#hd").addClass("hd_zindex");
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
$(this).parent().addClass("gnb_1dli_over gnb_1dli_on");
|
||||
menu_rearrange($(this).parent());
|
||||
@ -71,6 +73,7 @@ $(function(){
|
||||
});
|
||||
|
||||
function submenu_hide() {
|
||||
$("#hd").removeClass("hd_zindex");
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
}
|
||||
|
||||
|
||||
@ -134,11 +134,12 @@ if( $cert_enc_use == "Y" )
|
||||
alert_close("정상적인 인증이 아닙니다. 올바른 방법으로 이용해 주세요.");
|
||||
|
||||
$phone_no = hyphen_hp_number($phone_no);
|
||||
$mb_dupinfo = $di;
|
||||
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_hp = '{$phone_no}' ";
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
alert_close("이미 가입되어 있는 휴대폰번호 입니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
alert_close("입력하신 본인학인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
}
|
||||
|
||||
// hash 데이터
|
||||
@ -156,6 +157,7 @@ if( $cert_enc_use == "Y" )
|
||||
set_session("ss_cert_adult", $adult);
|
||||
set_session("ss_cert_birth", $birth_day);
|
||||
set_session("ss_cert_sex", ($sex_code=="01"?"M":"F"));
|
||||
set_session('ss_cert_dupinfo', $mb_dupinfo);
|
||||
}
|
||||
else if( $res_cd != "0000" )
|
||||
{
|
||||
|
||||
@ -95,13 +95,14 @@ echo "리턴메시지 :$field[16] <br/>";
|
||||
$mb_name = $field[7];
|
||||
$req_num = $field[12];
|
||||
$mb_birth = $field[8];
|
||||
|
||||
// 휴대폰번호 중복체크
|
||||
$mb_dupinfo = $field[4];
|
||||
$phone_no = hyphen_hp_number($req_num);
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_hp = '{$phone_no}' ";
|
||||
|
||||
// 중복정보 체크
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
alert_close("이미 가입되어 있는 휴대폰번호 입니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
alert_close("입력하신 본인학인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
}
|
||||
|
||||
// hash 데이터
|
||||
@ -119,6 +120,7 @@ set_session('ss_cert_hash', $hash_data);
|
||||
set_session('ss_cert_adult', $adult);
|
||||
set_session('ss_cert_birth', $mb_birth);
|
||||
set_session('ss_cert_sex', ($field[9] == 1 ? 'M' : 'F'));
|
||||
set_session('ss_cert_dupinfo', $mb_dupinfo);
|
||||
|
||||
$g5['title'] = 'KCB 휴대폰 본인확인';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
@ -67,6 +67,14 @@ $field_name_IPIN_DEC = array(
|
||||
$mb_name = $field[6];
|
||||
$req_num = $field[7];
|
||||
$mb_birth = $field[11];
|
||||
$mb_dupinfo = $field[0];
|
||||
|
||||
// 중복정보 체크
|
||||
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['mb_id']) {
|
||||
alert_close("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
|
||||
}
|
||||
|
||||
// hash 데이터
|
||||
$cert_type = 'ipin';
|
||||
@ -82,6 +90,7 @@ set_session('ss_cert_hash', $hash_data);
|
||||
set_session('ss_cert_adult', $adult);
|
||||
set_session('ss_cert_birth', $mb_birth);
|
||||
set_session('ss_cert_sex', ($field[9] == 1 ? 'M' : 'F'));
|
||||
set_session('ss_cert_dupinfo', $mb_dupinfo);
|
||||
|
||||
$g5['title'] = 'KCB 아이핀 본인확인';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
Reference in New Issue
Block a user