쇼핑몰: 사용후기 마크업 및 스타일 1차 완료
This commit is contained in:
@ -532,9 +532,12 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
|
||||
#sit_inf_open th {padding:7px 10px;border:1px solid #fff;background:#f5f6fa;vertical-align:top;text-align:left}
|
||||
#sit_inf_open td {padding:7px 10px;border:1px solid #fff;background:#f5f6fa;vertical-align:top}
|
||||
|
||||
/* 상품 상세보기 - 이용후기 */
|
||||
/* 상품 상세보기 - 사용후기 */
|
||||
#sit_use {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_use h2 {margin:0 0 10px}
|
||||
.sit_use_btn {text-align:right}
|
||||
|
||||
#sit_use_tbl .td_star {width:100px !important;text-align:center !important}
|
||||
|
||||
/* 상품 상세보기 - 상품문의 */
|
||||
#sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
|
||||
@ -10,18 +10,17 @@ $itemuse_board = G4_BBS_URL.'/board.php?bo_table=itemuse&wr_1='.$it_id;
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<a href="<?php echo $itemuse_board; ?>" target="_blank">더보기</a>
|
||||
|
||||
<table id="sit_ps_tbl">
|
||||
<table id="sit_use_tbl" class="basic_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>제목</th>
|
||||
<th>작성자</th>
|
||||
<th>작성일</th>
|
||||
<th>평점</th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성자</th>
|
||||
<th scope="col">작성일</th>
|
||||
<th scope="col">평점</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
/*
|
||||
여분필드 용도
|
||||
@ -60,7 +59,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?php echo $use_num; ?><span class="sound_only">번</span></td>
|
||||
<td class="td_num"><?php echo $use_num; ?><span class="sound_only">번</span></td>
|
||||
<td>
|
||||
<a href="<?php echo $use_href; ?>" class="use_href" onclick="return false;" target="<?php echo $i; ?>"><?php echo $use_subject; ?></a>
|
||||
<div id="use_div<?php echo $i; ?>" class="use_div" style="display:none;">
|
||||
@ -76,9 +75,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
}
|
||||
|
||||
if (!$i) {
|
||||
echo '<tr><td class="empty_class">등록된 사용후기가 없습니다.</td></tr>';
|
||||
echo '<tr><td colspan="5" class="empty_table">등록된 사용후기가 없습니다.</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
@ -123,8 +123,11 @@ function itemuse_page($write_pages, $cur_page, $total_page, $url, $add="")
|
||||
echo itemuse_page(10, $page, $total_page, "./itemuse.php?it_id=$it_id&page=", "");
|
||||
?>
|
||||
|
||||
<!-- <a href="javascript:itemusewin('it_id=<?php echo $it_id; ?>');">사용후기 쓰기<span class="sound_only"> 새 창</span></a> -->
|
||||
<a href="<?php echo $itemuse_write; ?>" onclick="window.open(this.href); return false;">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<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; ?>" onclick="window.open(this.href); return false;" class="btn02">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<a href="<?php echo $itemuse_board; ?>" target="_blank" class="btn01">더보기</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
Reference in New Issue
Block a user