From 83d13c546e899653929eef018c4a524b31ea4f5e Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 31 Jan 2017 11:45:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EB=B6=84=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EA=B4=80=EB=A0=A8=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile_shop.css | 2 +- shop/itemoption.php | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index f71869af7..f47ae8477 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -352,7 +352,7 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f #sod_frm_paysel ul {margin:0;padding:0;} #sod_frm_paysel ul:after {display:block;visibility:hidden;clear:both;content:""} #sod_frm_paysel li {float:left;padding:5px 2%;width:46%;height:21px} -x#sod_frm_paysel .KPAY{background:url('../img/kpay_logo.png') no-repeat;width:37px;height:15px;overflow:hidden;text-indent:-999px;display:inline-block;} +#sod_frm_paysel .KPAY{background:url('../img/kpay_logo.png') no-repeat;width:37px;height:15px;overflow:hidden;text-indent:-999px;display:inline-block;} #sod_frm_paysel .PAYNOW{background:url('../img/paynow_logo.png') no-repeat;width:46px;height:15px;overflow:hidden;text-indent:-999px;display:inline-block;} #sod_frm_paysel .PAYCO{background:url('../img/payco_logo.png') no-repeat 1px;width:46px;height:15px;overflow:hidden;text-indent:-999px;display:inline-block;} .kakaopay_icon{background:url('../img/kakao.png') no-repeat ;height:21px;width:74px;display:inline-block;overflow:hidden;text-indent:-999px} diff --git a/shop/itemoption.php b/shop/itemoption.php index 369864e2a..928ccac77 100644 --- a/shop/itemoption.php +++ b/shop/itemoption.php @@ -8,11 +8,16 @@ $opt_id = preg_replace($pattern, '', $_POST['opt_id']); $idx = preg_replace('#[^0-9]#', '', $_POST['idx']); $sel_count = preg_replace('#[^0-9]#', '', $_POST['sel_count']); +/* +옵션명 비슷한 부분 오류 수정 +수정자 : IT FOR ONE +수정 내용 : and io_id like '$opt_id%' => and io_id like '$opt_id".chr(30)."' +*/ $sql = " select * from {$g5['g5_shop_item_option_table']} where io_type = '0' and it_id = '$it_id' and io_use = '1' - and io_id like '$opt_id%' + and io_id like '$opt_id".chr(30)."%' order by io_no asc "; $result = sql_query($sql);