From bc6ccd647684ae90636fa4157ec8eb1a28a0cf47 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 25 Mar 2013 14:52:12 +0900 Subject: [PATCH] =?UTF-8?q?w=20=EA=B0=92=EC=9D=B4=202=EA=B8=80=EC=9E=90?= =?UTF-8?q?=EB=A1=9C=20=EC=A0=9C=ED=95=9C=EB=90=98=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=EB=A1=9C=20w=EB=A5=BC=20act=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartsub.inc.php | 12 ++++++------ shop/cartupdate.php | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index 74cb6dbff..4bc74fa94 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -123,7 +123,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) echo "" . number_format($point) . " "; if ($s_page == "cart.php") - echo "삭제"; + echo "삭제"; else if ($s_page == "orderinquiryview.php") { switch($row['ct_status']) @@ -182,7 +182,7 @@ if ($i == 0) { } // 이미 주문된 내역을 보여주는것이므로 배송비를 주문서에서 얻는다. - $sql = "select od_send_cost from $g4[yc4_order_table] where od_id = '$od_id' "; + $sql = "select od_send_cost from {$g4['yc4_order_table']} where od_id = '$od_id' "; $row = sql_fetch($sql); if ($row['od_send_cost'] > 0) $send_cost = $row['od_send_cost']; @@ -212,7 +212,7 @@ if ($i == 0) { if ($s_page == "cart.php" || $s_page == "orderinquiryview.php") echo "  "; echo ""; - echo ""; + echo ""; echo ""; } ?> @@ -249,7 +249,7 @@ if ($i == 0) { if (act == "buy") { - f.w.value = act; + f.act.value = act; "; f.submit(); } @@ -296,7 +296,7 @@ if ($i == 0) { return; } } - f.w.value = act; + f.act.value = act; f.action = "./cartupdate.php"; f.submit(); } diff --git a/shop/cartupdate.php b/shop/cartupdate.php index ce9075d53..df67c8124 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -40,20 +40,20 @@ if ($member['mb_level'] < $default['de_level_sell']) } -if ($w == "d") // 삭제이면 +if ($act == "d") // 삭제이면 { $sql = " delete from {$g4['yc4_cart_table']} where ct_id = '$ct_id' and uq_id = '$tmp_uq_id' "; sql_query($sql); } -else if ($w == "alldelete") // 모두 삭제이면 +else if ($act == "alldelete") // 모두 삭제이면 { $sql = " delete from {$g4['yc4_cart_table']} where uq_id = '$tmp_uq_id' "; sql_query($sql); } -else if ($w == "allupdate") // 수량 변경이면 : 모두 수정이면 +else if ($act == "allupdate") // 수량 변경이면 : 모두 수정이면 { $fldcnt = count($_POST['ct_id']); @@ -81,7 +81,7 @@ else if ($w == "allupdate") // 수량 변경이면 : 모두 수정이면 sql_query($sql); } } -else if ($w == "multi") // 온라인견적(등)에서 여러개의 상품이 한꺼번에 들어옴. +else if ($act == "multi") // 온라인견적(등)에서 여러개의 상품이 한꺼번에 들어옴. { // 보관함에서 금액이 제대로 반영되지 않던 오류를 수정 $fldcnt = count($_POST['it_name']);