diff --git a/css/default_shop.css b/css/default_shop.css index 780a64eed..4006ebb4b 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -512,7 +512,7 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col #sit_btn_rec {background:#888;color:#fff} /* 상품 상세보기 - 다른 상품 보기 */ -#sit_siblings {} +#sit_siblings {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9;text-align:center} #sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""} /* 상품 상세보기 - 상품정보 */ diff --git a/shop/item.php b/shop/item.php index 5b2f8c4e5..c7727ac8a 100644 --- a/shop/item.php +++ b/shop/item.php @@ -102,9 +102,9 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { - $prev_title = '이전상품보기 '.$row['it_name']; - $prev_href = ''; - $prev_href = ''; + $prev_title = '이전상품 '.$row['it_name'].''; + $prev_href = ''; + $prev_href2 = ''.PHP_EOL; } else { $prev_title = ''; $prev_href = ''; @@ -120,9 +120,9 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { - $next_title = '다음 상품 '.$row['it_name']; - $next_href = ''; - $next_href2 = ''; + $next_title = '다음 상품 '.$row['it_name'].''; + $next_href = ''; + $next_href2 = ''.PHP_EOL; } else { $next_title = ''; $next_href = '';