Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
chicpro
2013-07-02 11:16:47 +09:00
4 changed files with 18 additions and 17 deletions

View File

@ -517,7 +517,7 @@ td.empty_table {padding:85px 0;text-align:center}
#sit_btn_rec {background:#888;color:#fff} #sit_btn_rec {background:#888;color:#fff}
/* 상품 상세보기 - 다른 상품 보기 */ /* 상품 상세보기 - 다른 상품 보기 */
#sit_siblings {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9;text-align:center} #sit_siblings {clear:both;margin:0 0 10px;padding:30px 10px 10px;text-align:center}
#sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""} #sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""}
/* 상품 상세보기 - 상품정보 */ /* 상품 상세보기 - 상품정보 */

View File

@ -480,24 +480,23 @@ else
</script> </script>
</section> </section>
<!-- } 상품 요약정보 및 구매 끝 --> <!-- } 상품 요약정보 및 구매 끝 -->
<!-- 다른 상품 보기 시작 { -->
<div id="sit_siblings">
<?php
if ($prev_href || $next_href) {
echo $prev_href.$prev_title.$prev_href2;
echo $next_href.$next_title.$next_href2;
} else {
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
}
?>
</div>
<!-- } 다른 상품 보기 끝 -->
</div> </div>
</form> </form>
<!-- 다른 상품 보기 시작 { -->
<aside id="sit_siblings">
<h2>다른 상품 보기</h2>
<?php
if ($prev_href || $next_href) {
echo $prev_href.$prev_title.$prev_href2;
echo $next_href.$next_title.$next_href2;
} else {
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
}
?>
</aside>
<!-- } 다른 상품 보기 끝 -->
<script> <script>
function click_item(id) function click_item(id)
{ {

View File

@ -9,6 +9,7 @@ $itemuse_form = "./itemuseform.php?it_id=".$it_id;
$itemuse_formupdate = "./itemuseformupdate.php?it_id=".$it_id; $itemuse_formupdate = "./itemuseformupdate.php?it_id=".$it_id;
?> ?>
<!-- 상품 사용후기 시작 { -->
<section id="sit_use_list"> <section id="sit_use_list">
<h3>등록된 사용후기</h3> <h3>등록된 사용후기</h3>
@ -166,3 +167,4 @@ $(function(){
}); });
}); });
</script> </script>
<!-- } 상품 사용후기 끝 -->

View File

@ -58,7 +58,7 @@ if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페
$from_record = ($page - 1) * $rows; // 시작 열을 구함 $from_record = ($page - 1) * $rows; // 시작 열을 구함
?> ?>
<!-- 사용후기 목록 시작 { --> <!-- 전체 상품 사용후기 목록 시작 { -->
<a href="<?php echo $_SERVER['PHP_SELF']; ?>">전체보기</a> <a href="<?php echo $_SERVER['PHP_SELF']; ?>">전체보기</a>
<form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
@ -152,7 +152,7 @@ $(function(){
}); });
}); });
</script> </script>
<!-- } 사용후기 목록 끝 --> <!-- } 전체 상품 사용후기 목록 끝 -->
<?php <?php
include_once('./_tail.php'); include_once('./_tail.php');