From e40bf2577918c1fa1d813cdf1423eefb106db030 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 12 Jun 2013 16:58:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#220=20=EC=A3=BC?= =?UTF-8?q?=EB=AC=B8=20=EC=BF=A0=ED=8F=B0=20=EA=B8=B0=EB=8A=A5=20=EB=A7=88?= =?UTF-8?q?=ED=81=AC=EC=97=85=201=EC=B0=A8=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 2 + shop/ordercoupon.php | 69 +++++++++++++++++++--------------- shop/orderitemcoupon.php | 6 +-- shop/ordersendcostcoupon.php | 73 ++++++++++++++++++++---------------- 4 files changed, 82 insertions(+), 68 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 6b83210f9..389f2f860 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -196,6 +196,8 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} .btn01:focus, .btn01:hover {text-decoration:none !important} .btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333 !important;background:#333 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle} .btn02:focus, .btn02:hover {text-decoration:none !important} +button.btn01 {cursor:pointer} +button.btn02 {cursor:pointer} .btn_confirm {text-align:center} /* 서식단계 진행 */ .btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer} button.btn_submit {height:22px !important;font-size:1em} diff --git a/shop/ordercoupon.php b/shop/ordercoupon.php index 0af7f7087..8102afbb8 100644 --- a/shop/ordercoupon.php +++ b/shop/ordercoupon.php @@ -21,45 +21,52 @@ $count = mysql_num_rows($result);
0) { ?> - + + + + + -
- + + + 사용할 수 있는 쿠폰이 없습니다.

'; + } + ?> +
+ 0) { ?> - +
\ No newline at end of file diff --git a/shop/orderitemcoupon.php b/shop/orderitemcoupon.php index f34f0894b..73d0eed46 100644 --- a/shop/orderitemcoupon.php +++ b/shop/orderitemcoupon.php @@ -44,8 +44,6 @@ $count = mysql_num_rows($result); 0) { ?> - - @@ -71,7 +69,7 @@ $count = mysql_num_rows($result); - + @@ -83,7 +81,7 @@ $count = mysql_num_rows($result);
쿠폰 선택
쿠폰명
사용할 수 있는 쿠폰이 없습니다.

'; } ?>
diff --git a/shop/ordersendcostcoupon.php b/shop/ordersendcostcoupon.php index 9e83ac44d..0e61a62be 100644 --- a/shop/ordersendcostcoupon.php +++ b/shop/ordersendcostcoupon.php @@ -22,48 +22,55 @@ $count = mysql_num_rows($result);
0) { ?> -
    -
  • - 쿠폰명 - 할인금액 - 적용 -
  • - + 쿠폰 선택 + + + 쿠폰명 + 할인금액 + 적용 + + + + $row['cp_maximum']) - $dc = $row['cp_maximum']; + if($row['cp_maximum'] && $dc > $row['cp_maximum']) + $dc = $row['cp_maximum']; - if($dc > $send_cost) - $dc = $send_cost; - ?> -
  • + if($dc > $send_cost) + $dc = $send_cost; + ?> + + - - - -
  • - -
+ + + + + -
- + + + 사용할 수 있는 쿠폰이 없습니다.

'; + } + ?> +
+ 0) { ?> - +
\ No newline at end of file