From b111507268ff4c60aef66973afd2566be59eefc0 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 2 May 2013 19:03:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#118=20=EC=83=81?= =?UTF-8?q?=ED=92=88=20=EB=AA=A9=EB=A1=9D=20=ED=98=84=EC=9E=AC=20=EC=9C=84?= =?UTF-8?q?=EC=B9=98=20=ED=91=9C=EC=A4=80=ED=99=94=20=EB=B0=8F=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=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 | 6 ++++-- img/shop/sct_bg_toright.gif | Bin 0 -> 53 bytes shop/navigation1.inc.php | 16 ++++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 img/shop/sct_bg_toright.gif diff --git a/css/default_shop.css b/css/default_shop.css index d20213d95..3026e5335 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -311,8 +311,10 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important .sct_admin {margin:0 0 10px;text-align:right} /* 상품 목록 현재 위치 */ -#sct_location {border:1px solid #e9e9e9;background:#f7f7f7} -#sct_location a {display:inline-block;padding:10px 10px 8px} +#sct_location {margin:0 0 10px;border:1px solid #e9e9e9;background:#f7f7f7;letter-spacing:-4px} +#sct_location a {display:inline-block;padding:10px 10px 8px;text-decoration:none;letter-spacing:0 !important} +.sct_here {font-weight:bold} +.sct_bg {padding-right:15px !important;background:url('../img/shop/sct_bg_toright.gif') right 11px no-repeat} /* 상품 정렬 */ #sct_sort {margin:0 0 10px;zoom:1} diff --git a/img/shop/sct_bg_toright.gif b/img/shop/sct_bg_toright.gif new file mode 100644 index 0000000000000000000000000000000000000000..0d180544ff81db118ec9e39cc707aaede9ab2253 GIT binary patch literal 53 zcmZ?wbhEHbWM$xFXkcX6edzT6|Nj+#vM@3*Ff!;c00Bsbfr-aOE@AoYZ%IKpsv=wr F)&PfD4ZQ#W literal 0 HcmV?d00001 diff --git a/shop/navigation1.inc.php b/shop/navigation1.inc.php index 0f86aa8c2..ceddaee44 100644 --- a/shop/navigation1.inc.php +++ b/shop/navigation1.inc.php @@ -12,12 +12,15 @@ if ($ca_id) $sql = " select ca_name from {$g4['shop_category_table']} where ca_id = '$code' "; $row = sql_fetch($sql); - $style = ''; - if ($ca_id == $code) - $style = 'style="font-weight:bold;"'; + $sct_here = ''; + if ($ca_id == $code) // 현재 분류와 일치하면 + $sct_here = 'sct_here'; - $str .= $bar.''.$row['ca_name'].''; - $bar = ' > '; + if ($i != $len) // 현재 위치의 마지막 단계가 아니라면 + $sct_bg = 'sct_bg'; + else $sct_bg = ''; + + $str .= $bar.''.$row['ca_name'].''; } } else @@ -27,5 +30,6 @@ else ?>
- Home > + Home +