사용후기를 게시판스킨으로 적용중이나 일단 보류

This commit is contained in:
gnuboard
2013-06-14 09:37:20 +09:00
parent a455e4881c
commit 8e05a87f05
4 changed files with 24 additions and 62 deletions

View File

@ -37,7 +37,7 @@ $sql = " select COUNT(*) as cnt " . $sql_common;
$row = sql_fetch($sql);
$total_count = $row['cnt'];
$rows = 2;
$rows = 5;
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
if ($page == "") $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 레코드 구함
@ -127,13 +127,17 @@ echo itemuse_page(10, $page, $total_page, "./itemuse.php?it_id=$it_id&page="
<div class="sit_use_btn">
<!-- <a href="javascript:itemusewin('it_id=<?php echo $it_id; ?>');">사용후기 쓰기<span class="sound_only"> 새 창</span></a> -->
<a href="<?php echo $itemuse_write; ?>" id="itemuse_write" onclick="return false;" class="btn02">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
<a href="<?php echo $itemuse_board; ?>" target="_blank" class="btn01">더보기</a>
<a href="<?php echo $itemuse_board; ?>" id="itemuse_board" target="_blank" class="btn01">더보기</a>
</div>
<script>
$(function(){
$("#itemuse_write").click(function(){
window.open(this.href, "itemuse", "width=800,height=700");
window.open(this.href, "itemuse_write", "width=800,height=550");
});
$("#itemuse_board").click(function(){
window.open(this.href, "itemuse_board", "width=800,height=550");
});
$(".use_href").click(function(){