간편인증 : sa -> simple로 변경
This commit is contained in:
@ -283,11 +283,19 @@ if(!isset($config['cf_cert_find']) ){
|
||||
ADD COLUMN `cf_cert_find` TINYINT(4) NOT NULL DEFAULT '0' AFTER `cf_cert_use`; ";
|
||||
sql_query($sql, false);
|
||||
}
|
||||
// 통합인증 필드 추가
|
||||
if(!isset($config['cf_cert_sa']) ){
|
||||
// 간편인증 필드 추가
|
||||
if(!isset($config['cf_cert_simple']) ){
|
||||
$sql = "ALTER TABLE `{$g5['config_table']}`
|
||||
ADD COLUMN `cf_cert_sa` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_hp`,
|
||||
ADD COLUMN `cf_cert_kg_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_sa`,
|
||||
ADD COLUMN `cf_cert_simple` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_hp`; ";
|
||||
sql_query($sql, false);
|
||||
}
|
||||
if(!isset($config['cf_cert_kg_cd']) ){
|
||||
$sql = "ALTER TABLE `{$g5['config_table']}`
|
||||
ADD COLUMN `cf_cert_kg_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_simple`; ";
|
||||
sql_query($sql, false);
|
||||
}
|
||||
if(!isset($config['cf_cert_kg_mid']) ){
|
||||
$sql = "ALTER TABLE `{$g5['config_table']}`
|
||||
ADD COLUMN `cf_cert_kg_mid` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_kg_cd`; ";
|
||||
sql_query($sql, false);
|
||||
}
|
||||
@ -859,11 +867,11 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="cf_cert_service"><label for="cf_cert_sa">간편인증</label></th>
|
||||
<th scope="row" class="cf_cert_service"><label for="cf_cert_simple">간편인증</label></th>
|
||||
<td class="cf_cert_service">
|
||||
<select name="cf_cert_sa" id="cf_cert_sa">
|
||||
<?php echo option_selected("", $config['cf_cert_sa'], "사용안함"); ?>
|
||||
<?php echo option_selected("sa", $config['cf_cert_sa'], "KG이니시스 간편인증"); ?>
|
||||
<select name="cf_cert_simple" id="cf_cert_simple">
|
||||
<?php echo option_selected("", $config['cf_cert_simple'], "사용안함"); ?>
|
||||
<?php echo option_selected("inicis", $config['cf_cert_simple'], "KG이니시스 간편인증"); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -892,11 +900,11 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
|
||||
<td class="cf_cert_service">
|
||||
<span class="sitecode">SRA</span>
|
||||
<input type="text" name="cf_cert_kg_mid" value="<?php echo get_sanitize_input($config['cf_cert_kg_mid']); ?>" id="cf_cert_kg_mid" class="frm_input" size="10" minlength="7" maxlength="7">
|
||||
<a href="http://sir.kr/main/service/inicis_cert_form.php" target="_blank" class="btn_frmline">KG이니시스 통합인증 신청페이지</a>
|
||||
<a href="http://sir.kr/main/service/inicis_cert_form.php" target="_blank" class="btn_frmline">KG이니시스 간편인증 신청페이지</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="cf_cert_service"><label for="cf_cert_kg_cd">KG이니시스 통합인증 API KEY</label></th>
|
||||
<th scope="row" class="cf_cert_service"><label for="cf_cert_kg_cd">KG이니시스 간편인증 API KEY</label></th>
|
||||
<td class="cf_cert_service">
|
||||
<input type="text" name="cf_cert_kg_cd" value="<?php echo get_sanitize_input($config['cf_cert_kg_cd']); ?>" id="cf_cert_kg_cd" class="frm_input" size="40" minlength="32" maxlength="32">
|
||||
</td>
|
||||
|
||||
@ -102,7 +102,7 @@ $check_keys = array(
|
||||
'cf_cert_find' => 'int',
|
||||
'cf_cert_ipin' => 'char',
|
||||
'cf_cert_hp' => 'char',
|
||||
'cf_cert_sa' => 'char',
|
||||
'cf_cert_simple' => 'char',
|
||||
'cf_admin_email' => 'char',
|
||||
'cf_admin_email_name' => 'char',
|
||||
'cf_add_script' => 'text',
|
||||
@ -173,13 +173,13 @@ foreach( $check_keys as $k => $v ){
|
||||
}
|
||||
|
||||
// 본인확인을 사용할 경우 아이핀, 휴대폰인증 중 하나는 선택되어야 함
|
||||
if($_POST['cf_cert_use'] && !$_POST['cf_cert_ipin'] && !$_POST['cf_cert_hp'] && !$_POST['cf_cert_sa'])
|
||||
if($_POST['cf_cert_use'] && !$_POST['cf_cert_ipin'] && !$_POST['cf_cert_hp'] && !$_POST['cf_cert_simple'])
|
||||
alert('본인확인을 위해 아이핀, 휴대폰 본인확인, KG이니시스 간편인증 서비스 중 하나 이상 선택해 주십시오.');
|
||||
|
||||
if(!$_POST['cf_cert_use']) {
|
||||
$posts[$key] = $_POST['cf_cert_ipin'] = '';
|
||||
$posts[$key] = $_POST['cf_cert_hp'] = '';
|
||||
$posts[$key] = $_POST['cf_cert_sa'] = '';
|
||||
$posts[$key] = $_POST['cf_cert_simple'] = '';
|
||||
}
|
||||
|
||||
$sql = " update {$g5['config_table']}
|
||||
@ -280,7 +280,7 @@ $sql = " update {$g5['config_table']}
|
||||
cf_cert_find = '{$_POST['cf_cert_find']}',
|
||||
cf_cert_ipin = '{$_POST['cf_cert_ipin']}',
|
||||
cf_cert_hp = '{$_POST['cf_cert_hp']}',
|
||||
cf_cert_sa = '{$_POST['cf_cert_sa']}',
|
||||
cf_cert_simple = '{$_POST['cf_cert_simple']}',
|
||||
cf_cert_kg_cd = '{$_POST['cf_cert_kg_cd']}',
|
||||
cf_cert_kg_mid = '".trim($_POST['cf_cert_kg_mid'])."',
|
||||
cf_cert_kcb_cd = '{$_POST['cf_cert_kcb_cd']}',
|
||||
|
||||
@ -96,9 +96,9 @@ else
|
||||
|
||||
// 본인확인방법
|
||||
switch($mb['mb_certify']) {
|
||||
case 'sa':
|
||||
case 'simple':
|
||||
$mb_certify_case = '간편인증';
|
||||
$mb_certify_val = 'sa';
|
||||
$mb_certify_val = 'simple';
|
||||
break;
|
||||
case 'hp':
|
||||
$mb_certify_case = '휴대폰';
|
||||
@ -259,7 +259,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
|
||||
<tr>
|
||||
<th scope="row">본인확인방법</th>
|
||||
<td colspan="3">
|
||||
<input type="radio" name="mb_certify_case" value="sa" id="mb_certify_sa" <?php if($mb['mb_certify'] == 'sa') echo 'checked="checked"'; ?>>
|
||||
<input type="radio" name="mb_certify_case" value="simple" id="mb_certify_sa" <?php if($mb['mb_certify'] == 'simple') echo 'checked="checked"'; ?>>
|
||||
<label for="mb_certify_sa">간편인증</label>
|
||||
<input type="radio" name="mb_certify_case" value="hp" id="mb_certify_hp" <?php if($mb['mb_certify'] == 'hp') echo 'checked="checked"'; ?>>
|
||||
<label for="mb_certify_hp">휴대폰</label>
|
||||
@ -376,7 +376,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
|
||||
while ($row = sql_fetch_array($mb_cert_history)) {
|
||||
$cnt++;
|
||||
switch($row['ch_type']){
|
||||
case 'sa':
|
||||
case 'simple':
|
||||
$cert_type = '간편인증';
|
||||
break;
|
||||
case 'hp':
|
||||
|
||||
@ -194,7 +194,7 @@ $colspan = 16;
|
||||
$mb_certify_case = '아이핀';
|
||||
$mb_certify_val = '';
|
||||
break;
|
||||
case 'sa':
|
||||
case 'simple':
|
||||
$mb_certify_case = '간편인증';
|
||||
$mb_certify_val = '';
|
||||
break;
|
||||
@ -240,7 +240,7 @@ $colspan = 16;
|
||||
?>
|
||||
</td>
|
||||
<td headers="mb_list_cert" rowspan="2" class="td_mbcert">
|
||||
<input type="radio" name="mb_certify[<?php echo $i; ?>]" value="sa" id="mb_certify_sa_<?php echo $i; ?>" <?php echo $row['mb_certify']=='sa'?'checked':''; ?>>
|
||||
<input type="radio" name="mb_certify[<?php echo $i; ?>]" value="simple" id="mb_certify_sa_<?php echo $i; ?>" <?php echo $row['mb_certify']=='simple'?'checked':''; ?>>
|
||||
<label for="mb_certify_sa_<?php echo $i; ?>">간편인증</label><br>
|
||||
<input type="radio" name="mb_certify[<?php echo $i; ?>]" value="hp" id="mb_certify_hp_<?php echo $i; ?>" <?php echo $row['mb_certify']=='hp'?'checked':''; ?>>
|
||||
<label for="mb_certify_hp_<?php echo $i; ?>">휴대폰</label><br>
|
||||
|
||||
@ -72,7 +72,7 @@ $result = sql_query($sql, false);
|
||||
if($result){
|
||||
if($cert_type == 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$md5_cert_no)) { // 아이핀일때 hash 값 체크 hp미포함)
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 통합인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 간편인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}
|
||||
}
|
||||
|
||||
@ -144,8 +144,8 @@ $req_nick = !isset($member['mb_nick_date']) || (isset($member['mb_nick_date']) &
|
||||
$required = ($w=='') ? 'required' : '';
|
||||
$readonly = ($w=='u') ? 'readonly' : '';
|
||||
$name_readonly = ($w=='u' || ($config['cf_cert_use'] && $config['cf_cert_req']))? 'readonly' : '';
|
||||
$hp_required = ($config['cf_req_hp'] || (($config['cf_cert_use'] && $config['cf_cert_req']) && ($config['cf_cert_hp'] || $config['cf_cert_sa']) && $member['mb_certify'] != "ipin")) ? 'required':'';
|
||||
$hp_readonly = (($config['cf_cert_use'] && $config['cf_cert_req']) && ($config['cf_cert_hp'] || $config['cf_cert_sa']) && $member['mb_certify'] != "ipin") ? 'readonly':'';
|
||||
$hp_required = ($config['cf_req_hp'] || (($config['cf_cert_use'] && $config['cf_cert_req']) && ($config['cf_cert_hp'] || $config['cf_cert_simple']) && $member['mb_certify'] != "ipin")) ? 'required':'';
|
||||
$hp_readonly = (($config['cf_cert_use'] && $config['cf_cert_req']) && ($config['cf_cert_hp'] || $config['cf_cert_simple']) && $member['mb_certify'] != "ipin") ? 'readonly':'';
|
||||
|
||||
$agree = isset($_REQUEST['agree']) ? preg_replace('#[^0-9]#', '', $_REQUEST['agree']) : '';
|
||||
$agree2 = isset($_REQUEST['agree2']) ? preg_replace('#[^0-9]#', '', $_REQUEST['agree2']) : '';
|
||||
|
||||
@ -110,7 +110,7 @@ if ($w == '' || $w == 'u') {
|
||||
if ($msg = prohibit_mb_email($mb_email))alert($msg, "", true, true);
|
||||
|
||||
// 휴대폰 필수입력일 경우 휴대폰번호 유효성 체크
|
||||
if ($config['cf_use_hp'] || ($config['cf_cert_hp'] || $config['cf_cert_sa']) && $config['cf_req_hp']) {
|
||||
if ($config['cf_use_hp'] || ($config['cf_cert_hp'] || $config['cf_cert_simple']) && $config['cf_req_hp']) {
|
||||
if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true);
|
||||
}
|
||||
|
||||
@ -310,7 +310,7 @@ if ($w == '') {
|
||||
|
||||
if($cert_type == 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$md5_cert_no)) { // 아이핀일때 hash 값 체크 hp미포함)
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 통합인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 간편인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}
|
||||
|
||||
@ -374,7 +374,7 @@ if ($w == '') {
|
||||
|
||||
if($cert_type == 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$md5_cert_no)) { // 아이핀일때 hash 값 체크 hp미포함)
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 통합인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 간편인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}
|
||||
}
|
||||
|
||||
@ -299,8 +299,8 @@ if( !function_exists('shop_check_is_pay_page') ){
|
||||
$mobile_dir.'/'.$shop_dir.'/lg/xpay_approval.php',
|
||||
$mobile_dir.'/'.$shop_dir.'/kcp/order_approval_form.php',
|
||||
$shop_dir.'/kakaopay/inicis_kk_return.php', // 이니시스 카카오페이 (SIRK 로 시작하는 아이디 전용)
|
||||
$plugin_dir."/inicert/ini_result.php", // 이니시스 통합인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
$plugin_dir."/inicert/ini_find_result.php", // 이니시스 통합인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
$plugin_dir."/inicert/ini_result.php", // 이니시스 간편인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
$plugin_dir."/inicert/ini_find_result.php", // 이니시스 간편인증 모듈 2021-09-10 http <-> https 간 세션 공유 문제로 인해 추가
|
||||
);
|
||||
|
||||
$server_script_name = str_replace('\\', '/', $_SERVER['SCRIPT_NAME']);
|
||||
|
||||
@ -288,7 +288,7 @@ CREATE TABLE IF NOT EXISTS `g5_config` (
|
||||
`cf_cert_find` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`cf_cert_ipin` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_hp` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_sa` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_simple` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_kg_cd` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_kg_mid` varchar(255) NOT NULL DEFAULT '',
|
||||
`cf_cert_kcb_cd` varchar(255) NOT NULL DEFAULT '',
|
||||
|
||||
@ -98,7 +98,7 @@ function cert_confirm() {
|
||||
var val = document.fregisterform.cert_type.value;
|
||||
|
||||
switch(val) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
type = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
|
||||
@ -2823,7 +2823,7 @@ function certify_count_check($mb_id, $type)
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
switch($type) {
|
||||
case 'sa' :
|
||||
case 'simple' :
|
||||
$cert = '간편인증';
|
||||
break;
|
||||
case 'hp':
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
<!-- 기존 회원 본인인증 시작 { -->
|
||||
@ -57,7 +57,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
echo '<div class="cert_btn">';
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>' . PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -77,7 +77,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var pageTypeParam = "pageType=register";
|
||||
var f = document.fcertrefreshform;
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
@ -32,7 +32,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] |
|
||||
<div class="new_win_con find_btn">
|
||||
<h3>본인인증으로 찾기</h3>
|
||||
<div class="cert_btn">
|
||||
<?php if(!empty($config['cf_cert_sa'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_simple'])) { ?>
|
||||
<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>
|
||||
<?php } if(!empty($config['cf_cert_hp']) || !empty($config['cf_cert_ipin'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_hp'])) { ?>
|
||||
@ -50,8 +50,8 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=find";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
// TOSS 통합인증
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// TOSS 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
|
||||
@ -51,11 +51,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$desc_name = ' - 본인확인 시 자동입력';
|
||||
$desc_phone = ' - 본인확인 시 자동입력';
|
||||
|
||||
if (!$config['cf_cert_sa'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
if (!$config['cf_cert_simple'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
$desc_phone = '';
|
||||
}
|
||||
|
||||
if($config['cf_cert_sa']) {
|
||||
if($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline btn win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if($config['cf_cert_hp'])
|
||||
@ -70,7 +70,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use'] && $member['mb_certify']) {
|
||||
switch ($member['mb_certify']) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
$mb_cert = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
@ -127,16 +127,16 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php if ($config['cf_use_tel']) { ?>
|
||||
<li>
|
||||
<label for="reg_mb_tel" class="sound_only">전화번호<?php if ($config['cf_req_tel']) { ?> (필수)<?php } ?></label>
|
||||
<input type="text" name="mb_tel" value="<?php echo get_text($member['mb_tel']) ?>" id="reg_mb_tel" class="frm_input full_input <?php echo $config['cf_req_tel']?"required":""; ?>" <?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa']) && $member['mb_certify']) { echo "readonly"; } ?> maxlength="20" <?php echo $config['cf_req_tel']?"required":""; ?> placeholder="전화번호<?php if ($config['cf_req_tel']) { ?> (필수)<?php } ?>">
|
||||
<input type="text" name="mb_tel" value="<?php echo get_text($member['mb_tel']) ?>" id="reg_mb_tel" class="frm_input full_input <?php echo $config['cf_req_tel']?"required":""; ?>" <?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple']) && $member['mb_certify']) { echo "readonly"; } ?> maxlength="20" <?php echo $config['cf_req_tel']?"required":""; ?> placeholder="전화번호<?php if ($config['cf_req_tel']) { ?> (필수)<?php } ?>">
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<li>
|
||||
<label for="reg_mb_hp" class="sound_only">휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?></label>
|
||||
|
||||
<input type="text" name="mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" id="reg_mb_hp" <?php echo $hp_required; ?> <?php echo $hp_readonly; ?> class="frm_input full_input <?php echo $hp_required; ?> <?php echo $hp_readonly; ?>" maxlength="20" placeholder="휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?>">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>">
|
||||
<?php } ?>
|
||||
|
||||
@ -293,7 +293,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
@ -359,7 +359,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var type;
|
||||
|
||||
switch(val) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
type = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
|
||||
@ -11,7 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_JS_URL.'/remodal/remodal-defau
|
||||
add_stylesheet('<link rel="stylesheet" href="'.get_social_skin_url().'/style.css?ver='.G5_CSS_VER.'">', 13);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/remodal/remodal.js"></script>', 10);
|
||||
add_javascript('<script src="<?php echo G5_JS_URL ?>/jquery.register_form.js"></script>', 14);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 15);
|
||||
|
||||
$email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.다른 이메일을 입력해 주세요.' : '';
|
||||
@ -91,9 +91,9 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
<?php if ($config["cf_cert_use"]) { ?>
|
||||
<input type="hidden" id="reg_mb_name" name="mb_name" value="<?php echo $user_name ? $user_name : $user_nick ?>">
|
||||
<?php } ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<input type="hidden" name="mb_hp" value="<?php echo get_text($user_phone); ?>" id="reg_mb_hp">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($user_phone); ?>">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
@ -104,7 +104,7 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
<li>
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline btn win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -210,7 +210,7 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -29,7 +29,7 @@ if ($_POST["resultCode"] === "0000") {
|
||||
|
||||
if($res_data['resultCode'] === "0000") {
|
||||
|
||||
$cert_type = 'sa'; // 인증타입
|
||||
$cert_type = 'simple'; // 인증타입
|
||||
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
|
||||
$phone_no = $res_data['userPhone']; // 전화번호
|
||||
$user_name = $res_data['userName']; // 이름
|
||||
|
||||
@ -10,7 +10,7 @@ if($config['cf_cert_use'] == 2) { // 실서비스 일때
|
||||
$mid = 'SRA'.$config['cf_cert_kg_mid']; // 부여받은 MID(상점ID) 입력(영업담당자 문의)
|
||||
$apiKey = $config['cf_cert_kg_cd']; // 부여받은 MID 에 대한 apiKey
|
||||
$mTxId ='SIR_'.$max_cr_id;
|
||||
certify_count_check($member['mb_id'], 'sa'); // 금일 인증시도 횟수 체크
|
||||
certify_count_check($member['mb_id'], 'simple'); // 금일 인증시도 횟수 체크
|
||||
} else { // 테스트 일때
|
||||
$mid = "INIiasTest";
|
||||
$apiKey = "TGdxb2l3enJDWFRTbTgvREU3MGYwUT09";
|
||||
|
||||
@ -31,7 +31,7 @@ if ($_POST["resultCode"] === "0000") {
|
||||
// echo $response;
|
||||
|
||||
if($res_data['resultCode'] === "0000") {
|
||||
$cert_type = 'sa'; // 인증타입
|
||||
$cert_type = 'simple'; // 인증타입
|
||||
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
|
||||
$phone_no = $res_data['userPhone']; // 전화번호
|
||||
$user_name = $res_data['userName']; // 이름
|
||||
|
||||
@ -174,7 +174,7 @@ if($result) {
|
||||
|
||||
if($cert_type == 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$md5_cert_no)) { // 아이핀일때 hash 값 체크 hp미포함)
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 통합인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
}else if($cert_type != 'ipin' && get_session('ss_cert_hash') == md5($mb_name.$cert_type.get_session('ss_cert_birth').$mb_hp.$md5_cert_no)) { // 간편인증, 휴대폰일때 hash 값 체크 hp포함
|
||||
insert_member_cert_history($mb_id, $mb_name, $mb_hp, get_session('ss_cert_birth'), get_session('ss_cert_type') ); // 본인인증 후 정보 수정 시 내역 기록
|
||||
}
|
||||
// 회원가입 포인트 부여
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
<!-- 기존 회원 본인인증 시작 { -->
|
||||
@ -53,7 +53,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
echo '<div class="cert_btn">';
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>' . PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -73,7 +73,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var pageTypeParam = "pageType=register";
|
||||
var f = document.fcertrefreshform;
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
@ -32,7 +32,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] |
|
||||
<div class="new_win_con find_btn">
|
||||
<h3>본인인증으로 찾기</h3>
|
||||
<div class="cert_btn">
|
||||
<?php if(!empty($config['cf_cert_sa'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_simple'])) { ?>
|
||||
<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>
|
||||
<?php } if(!empty($config['cf_cert_hp']) || !empty($config['cf_cert_ipin'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_hp'])) { ?>
|
||||
@ -50,8 +50,8 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=find";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
// TOSS 통합인증
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// TOSS 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
|
||||
@ -57,11 +57,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
|
||||
if (!$config['cf_cert_sa'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
if (!$config['cf_cert_simple'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
$desc_phone = '';
|
||||
}
|
||||
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if($config['cf_cert_hp'])
|
||||
@ -76,7 +76,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use'] && $member['mb_certify']) {
|
||||
switch ($member['mb_certify']) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
$mb_cert = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
@ -141,11 +141,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<label for="reg_mb_hp">휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?></label>
|
||||
|
||||
<input type="text" name="mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" id="reg_mb_hp" <?php echo $hp_required; ?> <?php echo $hp_readonly; ?> class="frm_input full_input <?php echo $hp_required; ?> <?php echo $hp_readonly; ?>" maxlength="20" placeholder="휴대폰번호">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
@ -305,7 +305,7 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -11,7 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_JS_URL.'/remodal/remodal-defau
|
||||
add_stylesheet('<link rel="stylesheet" href="'.get_social_skin_url().'/style.css?ver='.G5_CSS_VER.'">', 13);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/remodal/remodal.js"></script>', 10);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 14);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 15);
|
||||
|
||||
$email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.다른 이메일을 입력해 주세요.' : '';
|
||||
@ -83,9 +83,9 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
<?php if ($config["cf_cert_use"]) { ?>
|
||||
<input type="hidden" id="reg_mb_name" name="mb_name" value="<?php echo $user_name ? $user_name : $user_nick ?>">
|
||||
<?php } ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<input type="hidden" name="mb_hp" value="<?php echo get_text($user_phone); ?>" id="reg_mb_hp">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($user_phone); ?>">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
@ -97,7 +97,7 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
<li>
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -211,7 +211,7 @@ $email_msg = $is_exists_email ? '등록할 이메일이 중복되었습니다.
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
<!-- 기존 회원 본인인증 시작 { -->
|
||||
@ -57,7 +57,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
echo '<div class="cert_btn">';
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>' . PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -77,7 +77,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var pageTypeParam = "pageType=register";
|
||||
var f = document.fcertrefreshform;
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
@ -32,7 +32,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] |
|
||||
<div class="new_win_con find_btn">
|
||||
<h3>본인인증으로 찾기</h3>
|
||||
<div class="cert_btn">
|
||||
<?php if(!empty($config['cf_cert_sa'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_simple'])) { ?>
|
||||
<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>
|
||||
<?php } if(!empty($config['cf_cert_hp']) || !empty($config['cf_cert_ipin'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_hp'])) { ?>
|
||||
@ -50,8 +50,8 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=find";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
// TOSS 통합인증
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// TOSS 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
|
||||
@ -51,11 +51,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$desc_name = ' - 본인확인 시 자동입력';
|
||||
$desc_phone = ' - 본인확인 시 자동입력';
|
||||
|
||||
if (!$config['cf_cert_sa'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
if (!$config['cf_cert_simple'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
$desc_phone = '';
|
||||
}
|
||||
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline btn win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -70,7 +70,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use'] && $member['mb_certify']) {
|
||||
switch ($member['mb_certify']) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
$mb_cert = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
@ -130,12 +130,12 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<li>
|
||||
<label for="reg_mb_hp" class="sound_only">휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?></label>
|
||||
|
||||
<input type="text" name="mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" id="reg_mb_hp" <?php echo $hp_required; ?> <?php echo $hp_readonly; ?> class="frm_input full_input <?php echo $hp_required; ?> <?php echo $hp_readonly; ?>" maxlength="20" placeholder="휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?>">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>">
|
||||
<?php } ?>
|
||||
|
||||
@ -292,7 +292,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
@ -358,7 +358,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var type;
|
||||
|
||||
switch(val) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
type = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
<!-- 기존 회원 본인인증 시작 { -->
|
||||
@ -53,7 +53,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
echo '<div class="cert_btn">';
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>' . PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -73,7 +73,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
var pageTypeParam = "pageType=register";
|
||||
var f = document.fcertrefreshform;
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
@ -32,7 +32,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] |
|
||||
<div class="new_win_con find_btn">
|
||||
<h3>본인인증으로 찾기</h3>
|
||||
<div class="cert_btn">
|
||||
<?php if(!empty($config['cf_cert_sa'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_simple'])) { ?>
|
||||
<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>
|
||||
<?php } if(!empty($config['cf_cert_hp']) || !empty($config['cf_cert_ipin'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_hp'])) { ?>
|
||||
@ -50,8 +50,8 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=find";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
// TOSS 통합인증
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// TOSS 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
|
||||
@ -57,11 +57,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
|
||||
if (!$config['cf_cert_sa'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
if (!$config['cf_cert_simple'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
$desc_phone = '';
|
||||
}
|
||||
|
||||
if ($config['cf_cert_sa']) {
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
@ -76,7 +76,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php
|
||||
if ($config['cf_cert_use'] && $member['mb_certify']) {
|
||||
switch ($member['mb_certify']) {
|
||||
case "sa":
|
||||
case "simple":
|
||||
$mb_cert = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
@ -141,11 +141,11 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_sa']))) { ?>
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<label for="reg_mb_hp">휴대폰번호<?php if (!empty($hp_required)) { ?> (필수)<?php } ?><?php echo $desc_phone ?></label>
|
||||
|
||||
<input type="text" name="mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" id="reg_mb_hp" <?php echo $hp_required; ?> <?php echo $hp_readonly; ?> class="frm_input full_input <?php echo $hp_required; ?> <?php echo $hp_readonly; ?>" maxlength="20" placeholder="휴대폰번호">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_sa'])) { ?>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
@ -305,7 +305,7 @@ $(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_sa']) { ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
|
||||
Reference in New Issue
Block a user