diff --git a/adm/mail_select_form.php b/adm/mail_select_form.php index 466e9cc62..a7e437adc 100644 --- a/adm/mail_select_form.php +++ b/adm/mail_select_form.php @@ -85,7 +85,7 @@ include_once('./admin.head.php'); 에서 까지 @@ -98,8 +98,7 @@ include_once('./admin.head.php'); '.$row['gr_subject'].''; } ?> diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index 186e46ead..c00b074eb 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -74,7 +74,6 @@ include_once('./admin.head.php');
- @@ -93,8 +92,7 @@ include_once('./admin.head.php'); $i=0; $ma_list = ""; $cr = ""; - while ($row=sql_fetch_array($result)) - { + while ($row=sql_fetch_array($result)) { $i++; $ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime']; $cr = "\n"; @@ -110,6 +108,7 @@ include_once('./admin.head.php');
+
diff --git a/adm/member_list.php b/adm/member_list.php index 94a389c2f..e866a0dec 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -151,13 +151,10 @@ $colspan = 15; if ($row2['cnt']) $group = ''.$row2['cnt'].''; - if ($is_admin == 'group') - { + if ($is_admin == 'group') { $s_mod = ''; $s_del = ''; - } - else - { + } else { $s_mod = '수정'; //$s_del = '삭제'; } @@ -197,10 +194,8 @@ $colspan = 15; - - - - + + diff --git a/bbs/board.php b/bbs/board.php index bad53d552..61034e624 100644 --- a/bbs/board.php +++ b/bbs/board.php @@ -64,7 +64,7 @@ if (isset($wr_id) && $wr_id) { } if ($board['bo_use_cert'] == 'adult' && !$member['mb_adult']) { - alert('이 게시판은 휴대폰 본인확인으로 성인인증 된 회원님만 글읽기가 가능합니다.\\n\\n성인인데 글읽기가 안된다면 회원정보 수정에서 휴대폰 본인확인을\\n다시 해주시기 바랍니다.', G4_URL); + alert('이 게시판은 휴대폰 본인확인으로 성인인증 된 회원님만 글읽기가 가능합니다.\\n\\n현재 성인인데 글읽기가 안된다면 회원정보 수정에서 휴대폰 본인확인을 다시 해주시기 바랍니다.', G4_URL); } } diff --git a/bbs/email_stop.php b/bbs/email_stop.php index d94b7a7e9..6a1634ba8 100644 --- a/bbs/email_stop.php +++ b/bbs/email_stop.php @@ -6,16 +6,14 @@ $row = sql_fetch($sql); if (!$row[mb_id]) alert('존재하는 회원이 아닙니다.', G4_PATH); -if ($mb_md5) -{ +if ($mb_md5) { $tmp_md5 = md5($row[mb_id].$row[mb_email].$row[mb_datetime]); - if ($mb_md5 == $tmp_md5) - { + if ($mb_md5 == $tmp_md5) { sql_query(" update {$g4[member_table]} set mb_mailling = 0 where mb_id = '{$mb_id}' "); - alert('정보메일을 보내지 않도록 수신거부 하였습니다.', G4_PATH); + alert('정보메일을 보내지 않도록 수신거부 하였습니다.', G4_URL); } } -alert('제대로 된 값이 넘어오지 않았습니다.', G4_PATH); +alert('제대로 된 값이 넘어오지 않았습니다.', G4_URL); ?> \ No newline at end of file diff --git a/bbs/register_form.php b/bbs/register_form.php index 2764b026e..160cdfdaf 100644 --- a/bbs/register_form.php +++ b/bbs/register_form.php @@ -86,7 +86,7 @@ if ($w == "") { $member['mb_password_a'] = get_text($member['mb_password_a']); $member['mb_birth'] = get_text($member['mb_birth']); $member['mb_tel'] = get_text($member['mb_tel']); - $member['mb_hp'] = hyphen_hp_number($member['mb_hp']); + $member['mb_hp'] = get_text($member['mb_hp']); $member['mb_addr1'] = get_text($member['mb_addr1']); $member['mb_addr2'] = get_text($member['mb_addr2']); $member['mb_signature'] = get_text($member['mb_signature']); diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index ad48fb7ff..278fc7264 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -269,9 +269,8 @@ if ($w == '') { ///////////////////////////////////////////////////////////////// $sql_hp_certify = ""; $md5_cert_no = get_session("ss_kcpcert_no"); - $hidden_hp = preg_replace("/[^0-9]/", "", $mb_hp); if ($config['cf_kcpcert_use'] && $md5_cert_no) { - $hash_data = md5($hidden_hp.$mb_name.$md5_cert_no); + $hash_data = md5($mb_hp.$mb_name.$md5_cert_no); // 해시값이 틀린 경우에는 휴대폰 인증 값을 무효화 한다. if (get_session("ss_kcpcert_hash") != $hash_data) { $sql_hp_certify .= " , mb_hp = '' "; @@ -280,7 +279,7 @@ if ($w == '') { } } else { if (get_session("ss_reg_mb_name") != $mb_name || - get_session("ss_reg_mb_hp") != $hidden_hp) { + get_session("ss_reg_mb_hp") != $mb_hp) { $sql_hp_certify .= " , mb_hp = '{$mb_hp}' "; $sql_hp_certify .= " , mb_hp_certify = 0 "; $sql_hp_certify .= " , mb_adult = 0 "; diff --git a/config.php b/config.php index cda58baf6..f006b663f 100644 --- a/config.php +++ b/config.php @@ -24,7 +24,7 @@ if (PHP_VERSION >= '5.3.0') { 보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 는 붙이지 않습니다. 입력예) https://www.domain.com:443/gnuboard4s */ -define('G4_DOMAIN', ''); +define('G4_DOMAIN', ''); // 사용하지 않습니다. define('G4_HTTPS_DOMAIN', ''); /* @@ -62,6 +62,12 @@ if (G4_DOMAIN) { define('G4_URL', ''); } +if (G4_HTTPS_DOMAIN) { + define('G4_URL', G4_HTTPS_DOMAIN); +} else { + define('G4_URL', G4_DOMAIN); +} + if (isset($g4_path['path'])) { define('G4_PATH', $g4_path['path']); } else { diff --git a/extend/shop.extend.php b/extend/shop.extend.php index 844b21a52..8f04f41fb 100644 --- a/extend/shop.extend.php +++ b/extend/shop.extend.php @@ -19,8 +19,10 @@ define('G4_MSHOP_URL', G4_MOBILE_URL.'/'.G4_SHOP_DIR); // 보안서버주소 설정 if (G4_HTTPS_DOMAIN) { define('G4_HTTPS_SHOP_URL', G4_HTTPS_DOMAIN.'/'.G4_SHOP_DIR); + define('G4_HTTPS_MSHOP_URL', G4_HTTPS_DOMAIN.'/'.G4_MOBILE_DIR.'/'.G4_SHOP_DIR); } else { define('G4_HTTPS_SHOP_URL', G4_SHOP_URL); + define('G4_HTTPS_MSHOP_URL', G4_MSHOP_URL); } // 미수금에 대한 QUERY 문 diff --git a/mobile/shop/kcp/_common.php b/mobile/shop/kcp/_common.php new file mode 100644 index 000000000..4c3769a19 --- /dev/null +++ b/mobile/shop/kcp/_common.php @@ -0,0 +1,7 @@ +쇼핑몰 설치 후 이용해 주십시오.

'); +define('_SHOP_', true); +?> \ No newline at end of file diff --git a/mobile/shop/kcp/cancel.php b/mobile/shop/kcp/cancel.php deleted file mode 100644 index 8427346aa..000000000 --- a/mobile/shop/kcp/cancel.php +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - *** KCP [AX-HUB Version] *** - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - -
- [취소요청] 이 페이지는 결제건에 대해 취소를 요청하는 샘플(예시) 페이지입니다. -
-

소스 수정시 소스 안에 ※ 주의 ※표시가 포함된 문장은 - 가맹점의 상황에 맞게 적절히 수정 적용하시기 바랍니다.

-

이 페이지는 결제된 건에 대한 취소를 요청하는 페이지 입니다.

-

- 결제가 승인되면 결과값으로 KCP 거래번호(tno)값을 받으실 수 있습니다..
- 가맹점에서는 이 KCP 거래번호(tno)값으로 취소요청을 하실 수 있습니다.

-
- - - - - - - - - - - - - - - - - - - - -
취소 요청 정보
요청 구분취소 요청
KCP 거래번호
변경 사유
- - - - - - - - -
- - 처음으로 이동합니다 -
- -
Copyright(c) KCP Inc. All rights reserved.
- - - - - - -
- - diff --git a/mobile/shop/kcp/order_approval.php b/mobile/shop/kcp/order_approval.php index 7a70fa156..98ddded54 100644 --- a/mobile/shop/kcp/order_approval.php +++ b/mobile/shop/kcp/order_approval.php @@ -1,37 +1,35 @@ - + - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - +?> \ No newline at end of file diff --git a/mobile/shop/kcp/pp_ax_hub_cancel.php b/mobile/shop/kcp/pp_ax_hub_cancel.php new file mode 100644 index 000000000..6f66a5f30 --- /dev/null +++ b/mobile/shop/kcp/pp_ax_hub_cancel.php @@ -0,0 +1,59 @@ +mf_clear(); + + $tran_cd = "00200000"; + + $c_PayPlus->mf_set_modx_data( "tno", $tno ); // KCP 원거래 거래번호 + $c_PayPlus->mf_set_modx_data( "mod_type", "STSC" ); // 원거래 변경 요청 종류 + $c_PayPlus->mf_set_modx_data( "mod_ip", $cust_ip ); // 변경 요청자 IP + $c_PayPlus->mf_set_modx_data( "mod_desc", $cancel_msg ); // 변경 사유 + + $c_PayPlus->mf_do_tx( "", $g_conf_home_dir, $g_conf_site_cd, + $g_conf_site_key, $tran_cd, "", + $g_conf_gw_url, $g_conf_gw_port, "payplus_cli_slib", + $ordr_idxx, $cust_ip, $g_conf_log_level, + 0, 0 ); + + $res_cd = $c_PayPlus->m_res_cd; + $res_msg = $c_PayPlus->m_res_msg; + } + } +} // End of [res_cd = "0000"] +/* ============================================================================== */ + +if($locale_change) + setlocale(LC_CTYPE, $def_locale); +?> \ No newline at end of file diff --git a/mobile/shop/kcp/pp_ax_hub_result.php b/mobile/shop/kcp/pp_ax_hub_result.php new file mode 100644 index 000000000..8b0e60bc2 --- /dev/null +++ b/mobile/shop/kcp/pp_ax_hub_result.php @@ -0,0 +1,117 @@ + \ No newline at end of file diff --git a/mobile/shop/kcp/result.php b/mobile/shop/kcp/result.php deleted file mode 100644 index 8e03f4cb8..000000000 --- a/mobile/shop/kcp/result.php +++ /dev/null @@ -1,433 +0,0 @@ - - 업체로 문의하여 확인하시기 바랍니다."; - } - else - { - $res_msg_bsucc = "결제는 정상적으로 이루어졌지만 업체에서 결제 결과를 처리하는 중 오류가 발생하여 시스템에서 자동으로 취소 요청을 하였으나,
취소가 실패 되었습니다.
업체로 문의하여 확인하시기 바랍니다."; - } - } - } - - /* = -------------------------------------------------------------------------- = */ - /* = 가맹점 측 DB 처리 실패시 상세 결과 메시지 설정 끝 = */ - /* ============================================================================== */ -?> - - - - - - - 스마트폰 웹 결제창 - - - - - - - - -
- - - - - - -
- - - - - - - - -
- [결과출력] 이 페이지는 결제 결과를 출력하는 샘플(예시) 페이지입니다. -
- 결제 결과를 출력하는 페이지 입니다.
- 요청이 정상적으로 처리된 경우 결과코드(res_cd)값이 0000으로 표시됩니다. -
- - - - - - - - - - - - -
처리 결과()
결과코드
결과 메세지
결과 상세 메세지
- - - - - - - - - - - - - - - - - - - - -
주 문 정 보
주문번호
KCP 거래번호
결제금액
상품명
주문자명
주문자 전화번호
주문자 휴대폰번호
주문자 E-mail
- - - - - - - - - - - - - - - - - - - - - - - -
신용카드 정보
결제수단신용카드
결제카드 /
승인시간
승인번호
할부개월
무이자여부
영수증 확인영수증을 확인합니다. -
※ 영수증 확인은 실제결제의 경우에만 가능합니다.
- - - - - - - - - - - - -
계좌이체 정보
결제수단계좌이체
이체 은행
이체 은행코드
승인 시간
- - - - - - - - - - - - -
가상계좌 정보
결제수단가상계좌
입금할 은행
입금할 계좌 예금주
입금할 계좌 번호
- - - - - - - - - - - - - - - - - - - - - - -
포인트 정보
결제수단포인트
포인트사
결제 및 인증 아이디
포인트 승인시간
포인트 승인번호
적립금액 or 사용금액
발생 포인트
사용가능 포인트
총 누적 포인트
- - - - - - - - - - - -
휴대폰 정보
결제수단휴대폰
승인시간
통신사코드
휴대폰번호
- - - - - - - - - - - -
상품권 정보
결제수단상품권
발급사코드
승인시간
승인번호
- - - - - - - - - - - - - -
현금영수증 정보
현금영수증 등록여부
현금영수증 승인번호
영수증 확인현금영수증을  확인합니다. -
※ 영수증 확인은 실제결제의 경우에만 가능합니다.
- - - -
처음으로 이동합니다
-
Copyright(c) KCP Inc. All rights reserved.
-
- - diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index b41ea42ca..e6775c593 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -23,6 +23,10 @@ include_once(G4_MSHOP_PATH.'/_head.php'); // 새로운 주문번호 생성 $od_id = get_uniqid(); set_session('ss_order_uniqid', $od_id); + +// 결제등록 요청시 사용할 입금마감일 +$ipgm_date = date("Ymd", (G4_SERVER_TIME + 86400 * 5)); +$tablet_size = "1.0"; // 화면 사이즈 조정 - 기기화면에 맞게 수정(갤럭시탭,아이패드 - 1.85, 스마트폰 - 1.0) ?>
@@ -40,17 +44,120 @@ set_session('ss_order_uniqid', $od_id); $good_mny = (int)$tot_sell_amount + (int)$send_cost; - $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php'; + $order_action_url = G4_HTTPS_MSHOP_URL.'/orderformupdate.php'; ?> + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- -

주문하시는 분

@@ -205,28 +312,28 @@ set_session('ss_order_uniqid', $od_id); // 가상계좌 사용 if ($default['de_vbank_use']) { $multi_settle++; - echo ' '.PHP_EOL; + echo ' '.PHP_EOL; $checked = ''; } // 계좌이체 사용 if ($default['de_iche_use']) { $multi_settle++; - echo ' '.PHP_EOL; + echo ' '.PHP_EOL; $checked = ''; } // 휴대폰 사용 if ($default['de_hp_use']) { $multi_settle++; - echo ' '.PHP_EOL; + echo ' '.PHP_EOL; $checked = ''; } // 신용카드 사용 if ($default['de_card_use']) { $multi_settle++; - echo ' '.PHP_EOL; + echo ' '.PHP_EOL; $checked = ''; } @@ -292,15 +399,35 @@ set_session('ss_order_uniqid', $od_id); ?>
- - + + + + + + + + + + + + + + + + + + + + + + + -