From 30b0a01ac60be032250e958db23effb01c046904 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 2 May 2013 14:32:37 +0900 Subject: [PATCH 1/4] =?UTF-8?q?php=20strict=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/kcp/_common.php | 4 +- shop/kcp/pp_ax_hub.php | 4 +- shop/kcp/pp_ax_hub_cancel.php | 2 +- shop/kcp/pp_ax_hub_lib.php | 2 +- shop/kcp/pp_ax_hub_result.php | 2 +- shop/kcp/pp_cli_hub.php | 74 +++++++++++++++++------------------ shop/kcp/pp_cli_result.php | 64 +++++++++++++++--------------- 7 files changed, 76 insertions(+), 76 deletions(-) diff --git a/shop/kcp/_common.php b/shop/kcp/_common.php index e27b34a91..bad54a5d7 100644 --- a/shop/kcp/_common.php +++ b/shop/kcp/_common.php @@ -1,3 +1,3 @@ - \ No newline at end of file diff --git a/shop/kcp/pp_ax_hub.php b/shop/kcp/pp_ax_hub.php index 70e9fe580..381403b46 100644 --- a/shop/kcp/pp_ax_hub.php +++ b/shop/kcp/pp_ax_hub.php @@ -1,4 +1,4 @@ - - -
- - + + - - "> - - - - - - + + "> + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - - - - + + + + + - - - - - "> + + + + + ">
diff --git a/shop/kcp/pp_cli_result.php b/shop/kcp/pp_cli_result.php index 3f622846b..496215a33 100644 --- a/shop/kcp/pp_cli_result.php +++ b/shop/kcp/pp_cli_result.php @@ -1,4 +1,4 @@ - - - 결과 페이지(현금영수증 ) + 결과 페이지(현금영수증 ) - 결과코드 - + 결과 메세지 - + 현금영수증 거래번호 - + 현금영수증 승인번호 - + 등록 상태 코드 - + 등록 상태 설명 - + 승인시간 - + 현금영수증 URL - + ※ 영수증 확인은 실 등록의 경우에만 가능합니다. - 결과코드 - + 결과 메세지 - + - 취소 결과코드 - + 취소 결과 메세지 - + 상세메세지 - 쇼핑몰로 전화하여 확인하시기 바랍니다."; @@ -228,7 +228,7 @@ include './_common.php'; - 결과코드 - + 결과 메세지 - + 현금영수증 거래번호 - + 현금영수증 승인번호 - + 등록 상태 코드 - + 등록 상태 설명 - + 승인시간 - + 현금영수증 URL - + ※ 영수증 확인은 실 등록의 경우에만 가능합니다. - 결과코드 - + 결과 메세지 - + - From 5057dc37f8761c8a7d0c6baf81fd5cc703afc54f Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 14:40:57 +0900 Subject: [PATCH 2/4] =?UTF-8?q?cf=5Fkcpcert=5Fuse=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/config_form.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/adm/config_form.php b/adm/config_form.php index 96e64cbb2..6756b5d0b 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -27,23 +27,25 @@ if (!isset($config['cf_mobile_new_skin'])) { if(!isset($config['cf_gcaptcha_mp3'])) { sql_query(" ALTER TABLE `{$g4['config_table']}` - ADD `cf_gcaptcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", TRUE); + ADD `cf_gcaptcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", true); } if(!isset($config['cf_kcpcert_site_cd'])) { sql_query(" ALTER TABLE `{$g4['config_table']}` - ADD `cf_kcpcert_site_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_memo_send_point` ", TRUE); + ADD `cf_kcpcert_site_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_memo_send_point` ", true); } if(!isset($config['cf_kcpcert_use'])) { sql_query(" ALTER TABLE `{$g4['config_table']}` - ADD `cf_kcpcert_use` ENUM('','test','service') NOT NULL DEFAULT '' AFTER `cf_memo_send_point` ", TRUE); + ADD `cf_kcpcert_use` ENUM('','test','service') NOT NULL DEFAULT '' AFTER `cf_memo_send_point` ", true); } +sql_query(" ALTER TABLE `{$g4['config_table']}` CHANGE `cf_kcpcert_use` `cf_kcpcert_use` ENUM('','test','service') NOT NULL DEFAULT '' ", false); + if(!isset($config['cf_mobile_pages'])) { sql_query(" ALTER TABLE `{$g4['config_table']}` - ADD `cf_mobile_pages` INT(11) NOT NULL DEFAULT '0' AFTER `cf_write_pages` ", TRUE); - sql_query(" UPDATE `{$g4['config_table']}` SET cf_mobile_pages = '5' ", TRUE); + ADD `cf_mobile_pages` INT(11) NOT NULL DEFAULT '0' AFTER `cf_write_pages` ", true); + sql_query(" UPDATE `{$g4['config_table']}` SET cf_mobile_pages = '5' ", true); } // uniqid 테이블이 없을 경우 생성 From b5cca60663e4d77afaa129be5e96a43a3bb6f041 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 14:41:25 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=EC=B6=94=EC=B2=9C=EC=9D=B8=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=EC=8B=9C=20=EC=B6=94=EC=B2=9C=EC=9D=B8=20=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=20=EC=97=86=EC=96=B4=EB=8F=84=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=B2=B4=ED=81=AC=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/register_form_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 55fc56700..0187e8358 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -75,7 +75,7 @@ if ($w == '' || $w == 'u') { if ($w=='') { if ($msg = exist_mb_id($mb_id)) alert($msg); - if ($config['cf_use_recommend']) { + if ($config['cf_use_recommend'] && $mb_recommend) { if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다."); } From 60b7649f6ff62cf32a8a3fa02386c59e4e65593f Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 2 May 2013 14:41:50 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EC=B6=94=EC=B2=9C=EC=9D=B8=20=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=EC=9D=B4=20=EC=9E=88=EB=8A=94=20=EA=B2=BD=EC=9A=B0?= =?UTF-8?q?=EC=97=90=EB=A7=8C=20=EA=B2=80=EC=82=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/member/basic/register_form.skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php index d38367053..613d353b5 100644 --- a/skin/member/basic/register_form.skin.php +++ b/skin/member/basic/register_form.skin.php @@ -214,7 +214,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + @@ -337,7 +337,7 @@ function fregisterform_submit(f) } } - if (typeof(f.mb_recommend) != 'undefined') { + if (typeof(f.mb_recommend) != 'undefined' && f.mb_recommend.value) { if (f.mb_id.value == f.mb_recommend.value) { alert('본인을 추천할 수 없습니다.'); f.mb_recommend.focus();