#181 본인확인, 성인인증 설정 및 체크코드 추가

This commit is contained in:
chicpro
2013-05-15 15:05:03 +09:00
parent 5b118b1222
commit d3530db8bc
6 changed files with 108 additions and 10 deletions

View File

@ -14,6 +14,24 @@ $ca = sql_fetch($sql);
if (!$ca['ca_id'])
alert('등록된 분류가 없습니다.');
if(!$is_admin) {
// 본인확인체크
if($ca['ca_hp_cert_use'] && !$member['mb_hp_certify']) {
if($is_member)
alert('회원정보 수정에서 휴대폰 본인확인 후 이용해 주십시오.');
else
alert('휴대폰 본인확인된 로그인 회원만 이용할 수 있습니다.');
}
// 성인인증체크
if($ca['ca_adult_cert_use'] && !$member['mb_adult']) {
if($is_member)
alert('휴대폰 본인확인으로 성인인증된 회원만 이용할 수 있습니다.\\n회원정보 수정에서 휴대폰 본인확인을 해주십시오.');
else
alert('휴대폰 본인확인으로 성인인증된 회원만 이용할 수 있습니다.');
}
}
$g4['title'] = $ca['ca_name'].' 상품리스트';
if ($ca['ca_include_head'])