Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="scomm">
|
||||
<aside id="scomm">
|
||||
<h2>쇼핑몰 커뮤니티</h2>
|
||||
|
||||
<ul>
|
||||
@ -20,4 +20,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
</aside>
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="sev">
|
||||
<aside id="sev">
|
||||
<h2>쇼핑몰 이벤트</h2>
|
||||
|
||||
<ul>
|
||||
@ -35,4 +35,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
</aside>
|
||||
@ -84,14 +84,11 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<aside id="stv_nb">
|
||||
<h3>빠른 연결</h3>
|
||||
<ul>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/cart.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_cart.gif" alt="장바구니"></a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/wishlist.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_wish.gif" alt="위시리스트"></a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/orderinquiry.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_deli.gif" alt="주문/배송조회"></a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<ul id="stv_nb">
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/cart.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_cart.gif" alt="장바구니"></a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/wishlist.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_wish.gif" alt="위시리스트"></a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/orderinquiry.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_deli.gif" alt="주문/배송조회"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
@ -52,7 +52,10 @@ include_once('./_head.php');
|
||||
<th scope="col">판매가</th>
|
||||
<th scope="col">소계</th>
|
||||
<th scope="col">포인트</th>
|
||||
<th scope="col"><input type="checkbox" name="ct_all" value="1" checked="checked"></th>
|
||||
<th scope="col">
|
||||
<label for="ct_all" class="sound_only">상품 전체</label>
|
||||
<input type="checkbox" name="ct_all" value="1" id="ct_all" checked="checked">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -128,7 +131,10 @@ include_once('./_head.php');
|
||||
<td class="td_bignum"><?php echo number_format($row['ct_price']); ?></td>
|
||||
<td class="td_bignum"><span id="sell_amount_<?php echo $i; ?>"><?php echo number_format($sell_amount); ?></span></td>
|
||||
<td class="td_bignum"><?php echo number_format($point); ?></td>
|
||||
<td class="td_smallmng"><input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" checked="checked"></td>
|
||||
<td class="td_chk">
|
||||
<label for="ct_chk_<?php echo $i; ?>" class="sound_only">상품</label>
|
||||
<input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" id="ct_chk_<?php echo $i; ?>" checked="checked">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@ -222,8 +228,6 @@ $(function() {
|
||||
var $this = $(this);
|
||||
close_btn_idx = $(".mod_options").index($(this));
|
||||
|
||||
winMask(); // 모달 윈도우 배경 출력
|
||||
|
||||
$.post(
|
||||
"./cartoption.php",
|
||||
{ it_id: it_id },
|
||||
|
||||
@ -31,7 +31,7 @@ else
|
||||
<th scope="col">포인트</th>
|
||||
<?php
|
||||
if ($s_page == 'cart.php')
|
||||
echo '<th scope="col"><input type="checkbox" name="ct_all" value="1"></th>';
|
||||
echo '<th scope="col"><label for="ct_all" class="sound_only">상품 전체</label><input type="checkbox" name="ct_all" value="1" id="ct_all"></th>';
|
||||
else if ($s_page == 'orderinquiryview.php')
|
||||
echo '<th scope="col">상태</th>';
|
||||
?>
|
||||
@ -167,7 +167,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
<?php
|
||||
if ($s_page == 'cart.php')
|
||||
echo '<td class="td_smallmng"><input type="checkbox" name="ct_chk['.$i.']" value="1"></td>';
|
||||
echo '<td class="td_chk"><label for="ct_chk_'.$i.'" class="sound_only">상품</label><input type="checkbox" name="ct_chk['.$i.']" value="1" id="ct_chk_'.$i.'"></td>';
|
||||
else if ($s_page == 'orderinquiryview.php')
|
||||
echo '<td class="td_smallmng">'.$row['ct_status'].'</td>';
|
||||
?>
|
||||
|
||||
86
shop/faq.php
86
shop/faq.php
@ -27,56 +27,50 @@ if (file_exists($himg))
|
||||
echo '<div id="sfaq_hhtml">'.stripslashes($fm['fm_head_html']).'</div>';
|
||||
?>
|
||||
|
||||
<article id="sfaq" class="sfaq_<?=$fm_id?>">
|
||||
<header>
|
||||
<h1><?php echo $g4['title']; ?></h1>
|
||||
</header>
|
||||
|
||||
<div id="sfaq_wrap">
|
||||
<?php // FAQ 목차
|
||||
$sql = " select * from {$g4['shop_faq_table']}
|
||||
where fm_id = '$fm_id'
|
||||
order by fa_order , fa_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++)
|
||||
<div id="sfaq_wrap" class="sfaq_<?php echo $fm_id; ?>">
|
||||
<?php // FAQ 목차
|
||||
$sql = " select * from {$g4['shop_faq_table']}
|
||||
where fm_id = '$fm_id'
|
||||
order by fa_order , fa_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
if ($i == 1)
|
||||
{
|
||||
if ($i == 1)
|
||||
{
|
||||
?>
|
||||
<section id="sfaq_list">
|
||||
<h2>FAQ 목차</h2>
|
||||
<ol>
|
||||
<?php } ?>
|
||||
<li><a href="#sfaq_<?php echo $fm_id.'_'.$i; ?>"><?php echo stripslashes($row['fa_subject']); ?></a></li>
|
||||
<?php }
|
||||
if ($i > 1) echo '</ol></section>';
|
||||
?>
|
||||
?>
|
||||
<section id="sfaq_list">
|
||||
<h2><?php echo $g4['title']; ?> 목차</h2>
|
||||
<ol>
|
||||
<?php } ?>
|
||||
<li><a href="#sfaq_<?php echo $fm_id.'_'.$i; ?>"><?php echo stripslashes($row['fa_subject']); ?></a></li>
|
||||
<?php }
|
||||
if ($i > 1) echo '</ol></section>';
|
||||
?>
|
||||
|
||||
<?php // FAQ 내용
|
||||
$resultb = sql_query($sql);
|
||||
for ($i=1; $row=sql_fetch_array($resultb); $i++)
|
||||
<?php // FAQ 내용
|
||||
$resultb = sql_query($sql);
|
||||
for ($i=1; $row=sql_fetch_array($resultb); $i++)
|
||||
{
|
||||
if ($i == 1)
|
||||
{
|
||||
if ($i == 1)
|
||||
{
|
||||
?>
|
||||
<section id="sfaq_con">
|
||||
<h2>FAQ 내용</h2>
|
||||
<ol>
|
||||
<?php } ?>
|
||||
<li id="sfaq_<?php echo $fm_id.'_'.$i; ?>">
|
||||
<h3><?php echo stripslashes($row['fa_subject']); ?></h3>
|
||||
<p>
|
||||
<?php echo stripslashes($row['fa_content']); ?>
|
||||
</p>
|
||||
<div class="sfaq_tolist"><a href="#sfaq_list" class="btn01">FAQ 목차</a></div>
|
||||
</li>
|
||||
<?php }
|
||||
if ($i > 1) echo '</ol></section>';
|
||||
?>
|
||||
<section id="sfaq_con">
|
||||
<h2><?php echo $g4['title']; ?> 내용</h2>
|
||||
<ol>
|
||||
<?php } ?>
|
||||
<li id="sfaq_<?php echo $fm_id.'_'.$i; ?>">
|
||||
<h3><?php echo stripslashes($row['fa_subject']); ?></h3>
|
||||
<p>
|
||||
<?php echo stripslashes($row['fa_content']); ?>
|
||||
</p>
|
||||
<div class="sfaq_tolist"><a href="#sfaq_list" class="btn01">FAQ 목차</a></div>
|
||||
</li>
|
||||
<?php }
|
||||
if ($i > 1) echo '</ol></section>';
|
||||
|
||||
if ($i == 1) echo '<p>등록된 FAQ가 없습니다.<br><a href="'.G4_ADMIN_URL.'/shop_admin/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.</p>';
|
||||
?>
|
||||
</div>
|
||||
</article>
|
||||
if ($i == 1) echo '<p>등록된 FAQ가 없습니다.<br><a href="'.G4_ADMIN_URL.'/shop_admin/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.</p>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
|
||||
@ -162,7 +162,7 @@ function pg_anchor($anc_id) {
|
||||
?>
|
||||
<ul class="sanchor">
|
||||
<li><a href="#sit_inf" <?php if ($anc_id == 'inf') echo 'class="sanchor_on"'; ?>>상품정보</a></li>
|
||||
<li><a href="#sit_use" <?php if ($anc_id == 'use') echo 'class="sanchor_on"'; ?>>이용후기 <span class="item_use_count"></span></a></li>
|
||||
<li><a href="#sit_use" <?php if ($anc_id == 'use') echo 'class="sanchor_on"'; ?>>사용후기 <span class="item_use_count"></span></a></li>
|
||||
<li><a href="#sit_qa" <?php if ($anc_id == 'qa') echo 'class="sanchor_on"'; ?>>상품문의 <span class="item_qa_count"></span></a></li>
|
||||
<?php if ($default['de_baesong_content']) { ?><li><a href="#sit_dvr" <?php if ($anc_id == 'dvr') echo 'class="sanchor_on"'; ?>>배송정보</a></li><?php } ?>
|
||||
<?php if ($default['de_change_content']) { ?><li><a href="#sit_ex" <?php if ($anc_id == 'ex') echo 'class="sanchor_on"'; ?>>교환정보</a></li><?php } ?>
|
||||
@ -579,13 +579,57 @@ else
|
||||
<!-- 상품설명 end -->
|
||||
|
||||
<section id="sit_use">
|
||||
<h2>이용후기</h2>
|
||||
<h2>사용후기</h2>
|
||||
<?php echo pg_anchor('use'); ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
<script>
|
||||
function autoResize(id){
|
||||
var newheight;
|
||||
var newwidth;
|
||||
|
||||
if(document.getElementById){
|
||||
newheight=document.getElementById(id).contentWindow.document .body.scrollHeight;
|
||||
newwidth=document.getElementById(id).contentWindow.document .body.scrollWidth;
|
||||
}
|
||||
|
||||
document.getElementById(id).height= (newheight) + "px";
|
||||
document.getElementById(id).width= (newwidth) + "px";
|
||||
}
|
||||
</script>
|
||||
|
||||
<iframe src="./itemuse.php?it_id=<?php echo $it_id; ?>" id="iframe1" frameborder="0" scrolling="no" onLoad="autoResize('iframe1');">
|
||||
</iframe>
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
$use_page_rows = 10; // 페이지당 목록수
|
||||
include_once('./itemuse.inc.php');
|
||||
*/
|
||||
?>
|
||||
<div id="itemuse"></div>
|
||||
<script>
|
||||
$(function(){
|
||||
/*
|
||||
$.get("./itemuse.php", {it_id:<?php echo $it_id; ?>}, function(data){
|
||||
$("#itemuse").html(data);
|
||||
});
|
||||
$('#itemuse').live('click', function(e) {
|
||||
//alert((this).attr('href'));
|
||||
//e.preventDefault();
|
||||
$.get((this).attr('href'), {it_id:<?php echo $it_id; ?>}, function(data) {
|
||||
//alert(data);
|
||||
$('#container').html(data);
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
$("#itemuse").load("./itemuse.php", {it_id:<?php echo $it_id; ?>});
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
|
||||
<section id="sit_qa">
|
||||
|
||||
@ -1,8 +1,14 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$itemuse_write = G4_BBS_URL.'/write.php?bo_table=itemuse&wr_1='.$it_id;
|
||||
$itemuse_board = G4_BBS_URL.'/board.php?bo_table=itemuse&wr_1='.$it_id;
|
||||
|
||||
include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
?>
|
||||
|
||||
<a href="<?php echo $itemuse_board; ?>">더보기</a>
|
||||
|
||||
<table id="sit_ps_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -14,7 +20,15 @@ include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
$sql_common = " from {$g4['shop_item_ps_table']} where it_id = '{$it['it_id']}' and is_confirm = '1' ";
|
||||
/*
|
||||
여분필드 용도
|
||||
wr_1 : 상품코드
|
||||
wr_2 : 상품명
|
||||
wr_3 : 평점 1~5
|
||||
wr_4 : 관리자확인
|
||||
*/
|
||||
//$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' and wr_4 = '1' ";
|
||||
$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
$sql = " select COUNT(*) as cnt " . $sql_common;
|
||||
@ -25,104 +39,39 @@ $use_total_page = ceil($use_total_count / $use_page_rows); // 전체 페이지
|
||||
if ($use_page == "") $use_page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
$use_from_record = ($use_page - 1) * $use_page_rows; // 시작 레코드 구함
|
||||
|
||||
$sql = "select * $sql_common order by is_id desc limit $use_from_record, $use_page_rows ";
|
||||
$sql = "select * $sql_common order by wr_num limit $use_from_record, $use_page_rows ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$num = $use_total_count - ($use_page - 1) * $use_page_rows - $i;
|
||||
$use_num = $use_total_count - ($use_page - 1) * $use_page_rows - $i;
|
||||
$use_star = get_star($row['wr_3']);
|
||||
$use_name = get_text($row['wr_name']);
|
||||
$use_subject = conv_subject($row['wr_subject'],50,"…");
|
||||
$use_content = $row['wr_content'];
|
||||
$use_time = substr($row['wr_datetime'], 2, 8);
|
||||
$use_href = G4_BBS_URL.'/board.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_name = get_text($row['is_name']);
|
||||
$is_subject = conv_subject($row['is_subject'],50,"…");
|
||||
//$is_content = conv_content($row[is_content],0);
|
||||
$is_content = $row['is_content'];
|
||||
//$is_content = preg_replace_callback("#<img[^>]+>#iS", "g4_thumb", $is_content);
|
||||
|
||||
$thumb = new g4_thumb(G4_DATA_PATH.'/itemuse', 500);
|
||||
$is_content = $thumb->run($is_content);
|
||||
|
||||
$is_time = substr($row['is_time'], 2, 14);
|
||||
// http://stackoverflow.com/questions/6967081/show-hide-multiple-divs-with-jquery?answertab=votes#tab-top
|
||||
?>
|
||||
|
||||
<li class="sit_ps_li">
|
||||
<button type="button" class="sit_ps_li_title" onclick="javascript:qa_menu('sit_ps_con_<?php echo $i; ?>')"><?php echo $num; ?>. <?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_ps_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $iq_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><?php echo $iq_time; ?></dd>
|
||||
<dt>상태</dt>
|
||||
<dd><?php echo $iq_stats; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sit_ps_con_<?php echo $i; ?>" class="sit_ps_con">
|
||||
<p class="sit_ps_qaq">
|
||||
<strong>문의내용</strong><br>
|
||||
<?php echo $iq_question; // 상품 문의 내용 ?>
|
||||
</p>
|
||||
<p class="sit_ps_qaa">
|
||||
<strong>답변</strong><br>
|
||||
<?php echo $iq_answer; ?>
|
||||
</p>
|
||||
|
||||
<textarea id="tmp_iq_id<?php echo $i; ?>"><?php echo $row['iq_id']; ?></textarea>
|
||||
<textarea id="tmp_iq_name<?php echo $i; ?>"><?php echo $row['iq_name']; ?></textarea>
|
||||
<textarea id="tmp_iq_subject<?php echo $i; ?>"><?php echo $row['iq_subject']; ?></textarea>
|
||||
<textarea id="tmp_iq_question<?php echo $i; ?>"><?php echo $row['iq_question']; ?></textarea>
|
||||
|
||||
<?php if ($row['mb_id'] == $member['mb_id'] && $iq_answer == 0) { ?>
|
||||
<div class="sit_ps_cmd">
|
||||
<button onclick="javascript:itemqa_update(<?php echo $i; ?>);" class="btn01">수정</button>
|
||||
<button onclick="javascript:itemqa_delete(fitemqa_password<?php echo $i; ?>, <?php echo $i; ?>);" class="btn01">삭제</button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td><?php echo $num; ?><span class="sound_only">번</span></td>
|
||||
<td><?php echo $use_num; ?><span class="sound_only">번</span></td>
|
||||
<td>
|
||||
<a href="javascript:;" onclick="use_menu('is<?php echo $i; ?>')"><?php echo $is_subject; ?></a>
|
||||
<div>
|
||||
<div>
|
||||
<?php echo $is_content; ?>
|
||||
</div>
|
||||
<textarea id="tmp_is_id<?php echo $i; ?>"><?php echo $row['is_id']; ?></textarea>
|
||||
<textarea id="tmp_is_name<?php echo $i; ?>"><?php echo $row['is_name']; ?></textarea>
|
||||
<textarea id="tmp_is_subject<?php echo $i; ?>"><?php echo $row['is_subject']; ?></textarea>
|
||||
<textarea id="tmp_is_content<?php echo $i; ?>"><?php echo $row['is_content']; ?></textarea>
|
||||
|
||||
<?php if ($row[mb_id] == $member[mb_id]) { ?>
|
||||
<a href="javascript:itemusewin('is_id=<?php echo $row['is_id']; ?>&w=u');">수정</a>
|
||||
<a href="javascript:itemuse_delete(fitemuse_password<?php echo $i; ?>, <?php echo $i; ?>);">삭제</a>
|
||||
<?php } ?>
|
||||
<div id="is<?php echo $i; ?>">
|
||||
<!-- 사용후기 삭제 패스워드 입력 폼 -->
|
||||
<form name="fitemuse_password<?php echo $i; ?>" method="post" action="./itemuseupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="w" value="">
|
||||
<input type="hidden" name="is_id" value="">
|
||||
<input type="hidden" name="it_id" value="<?php echo $it['it_id']; ?>">
|
||||
<label for="is_password_<?php echo $i; ?>">패스워드</label>
|
||||
<input type="password" name="is_password" id="is_password_<?php echo $i; ?>" required>
|
||||
<input type="submit" value="확인">
|
||||
</form>
|
||||
</div>
|
||||
<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;">
|
||||
<?php echo $use_content; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td><?php echo $is_name; ?></td>
|
||||
<td><?php echo $is_time; ?></td>
|
||||
<td><img src="<?php echo G4_URL; ?>/img/shop/s_star<?php echo $star; ?>.png" alt="별<?php echo $star; ?>개"></td>
|
||||
<td><?php echo $use_name; ?></td>
|
||||
<td><?php echo $use_time; ?></td>
|
||||
<td><img src="<?php echo G4_URL; ?>/img/shop/s_star<?php echo $use_star; ?>.png" alt="별<?php echo $use_star; ?>개"></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if (!$i)
|
||||
{
|
||||
if (!$i) {
|
||||
echo '<tr><td class="empty_class">등록된 사용후기가 없습니다.</td></tr>';
|
||||
}
|
||||
?>
|
||||
@ -134,84 +83,14 @@ if ($use_pages) {
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="javascript:itemusewin('it_id=<?php echo $it_id; ?>');">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<!-- <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>
|
||||
|
||||
<script>
|
||||
function itemusewin(query_string)
|
||||
{
|
||||
window.open("./itemusewin.php?"+query_string, "itemusewin", "width=800,height=700");
|
||||
}
|
||||
|
||||
function fitemuse_submit(f)
|
||||
{
|
||||
if (!check_kcaptcha(f.is_key)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "itemuseupdate.php"
|
||||
return true;
|
||||
}
|
||||
|
||||
function itemuse_insert()
|
||||
{
|
||||
/*
|
||||
if (!g4_is_member) {
|
||||
alert("로그인 하시기 바랍니다.");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
var f = document.fitemuse;
|
||||
var id = document.getElementById('itemuse');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
f.w.value = '';
|
||||
f.is_id.value = '';
|
||||
if (!g4_is_member)
|
||||
{
|
||||
f.is_name.value = '';
|
||||
f.is_name.readOnly = false;
|
||||
f.is_password.value = '';
|
||||
}
|
||||
f.is_subject.value = '';
|
||||
f.is_content.value = '';
|
||||
}
|
||||
|
||||
function itemuse_update(idx)
|
||||
{
|
||||
var f = document.fitemuse;
|
||||
var id = document.getElementById('itemuse');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
f.w.value = 'u';
|
||||
f.is_id.value = document.getElementById('tmp_is_id'+idx).value;
|
||||
if (!g4_is_member)
|
||||
{
|
||||
f.is_name.value = document.getElementById('tmp_is_name'+idx).value;
|
||||
f.is_name.readOnly = true;
|
||||
}
|
||||
f.is_subject.value = document.getElementById('tmp_is_subject'+idx).value;
|
||||
f.is_content.value = document.getElementById('tmp_is_content'+idx).value;
|
||||
}
|
||||
|
||||
function itemuse_delete(f, idx)
|
||||
{
|
||||
var id = document.getElementById('itemuse');
|
||||
|
||||
f.w.value = 'd';
|
||||
f.is_id.value = document.getElementById('tmp_is_id'+idx).value;
|
||||
|
||||
if (g4_is_member)
|
||||
{
|
||||
if (confirm("삭제하시겠습니까?"))
|
||||
f.submit();
|
||||
}
|
||||
else
|
||||
{
|
||||
id.style.display = 'none';
|
||||
document.getElementById('itemuse_password'+idx).style.display = 'block';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
$(function(){
|
||||
$(".use_href").click(function(){
|
||||
$(".use_div").hide();
|
||||
$("#use_div"+$(this).attr("target")).show();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
145
shop/itemuse.php
Normal file
145
shop/itemuse.php
Normal file
@ -0,0 +1,145 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
|
||||
$it_id = $_REQUEST['it_id'];
|
||||
|
||||
$itemuse_write = G4_BBS_URL.'/write.php?bo_table=itemuse&wr_1='.$it_id;
|
||||
$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">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>제목</th>
|
||||
<th>작성자</th>
|
||||
<th>작성일</th>
|
||||
<th>평점</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
/*
|
||||
여분필드 용도
|
||||
wr_1 : 상품코드
|
||||
wr_2 : 상품명
|
||||
wr_3 : 평점 1~5
|
||||
wr_4 : 관리자확인
|
||||
*/
|
||||
//$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' and wr_4 = '1' ";
|
||||
$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it_id}' ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
$sql = " select COUNT(*) as cnt " . $sql_common;
|
||||
$row = sql_fetch($sql);
|
||||
$total_count = $row['cnt'];
|
||||
|
||||
$rows = 2;
|
||||
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
|
||||
if ($page == "") $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
$from_record = ($page - 1) * $rows; // 시작 레코드 구함
|
||||
|
||||
$sql = "select * $sql_common order by wr_num limit $from_record, $rows ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$use_num = $total_count - ($page - 1) * $rows - $i;
|
||||
$use_star = get_star($row['wr_3']);
|
||||
$use_name = get_text($row['wr_name']);
|
||||
$use_subject = conv_subject($row['wr_subject'],50,"…");
|
||||
$use_content = $row['wr_content'];
|
||||
$use_time = substr($row['wr_datetime'], 2, 8);
|
||||
$use_href = G4_BBS_URL.'/board.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
// http://stackoverflow.com/questions/6967081/show-hide-multiple-divs-with-jquery?answertab=votes#tab-top
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?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;">
|
||||
<?php echo $use_content; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td><?php echo $use_name; ?></td>
|
||||
<td><?php echo $use_time; ?></td>
|
||||
<td><img src="<?php echo G4_URL; ?>/img/shop/s_star<?php echo $use_star; ?>.png" alt="별<?php echo $use_star; ?>개"></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
if (!$i) {
|
||||
echo '<tr><td class="empty_class">등록된 사용후기가 없습니다.</td></tr>';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
// 현재페이지, 총페이지수, 한페이지에 보여줄 행, URL
|
||||
function itemuse_page($write_pages, $cur_page, $total_page, $url, $add="")
|
||||
{
|
||||
$url = preg_replace('#&page=[0-9]*(&page=)$#', '$1', $url);
|
||||
|
||||
$str = '';
|
||||
if ($cur_page > 1) {
|
||||
$str .= '<a href="'.$url.'1'.$add.'" class="pg_page pg_start" onclick="return false;">처음</a>'.PHP_EOL;
|
||||
}
|
||||
|
||||
$start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1;
|
||||
$end_page = $start_page + $write_pages - 1;
|
||||
|
||||
if ($end_page >= $total_page) $end_page = $total_page;
|
||||
|
||||
if ($start_page > 1) $str .= '<a href="'.$url.($start_page-1).$add.'" class="pg_page pg_prev" onclick="return false;">이전</a>'.PHP_EOL;
|
||||
|
||||
if ($total_page > 1) {
|
||||
for ($k=$start_page;$k<=$end_page;$k++) {
|
||||
if ($cur_page != $k)
|
||||
$str .= '<a href="'.$url.$k.$add.'" class="pg_page" onclick="return false;">'.$k.'</a><span class="sound_only">페이지</span>'.PHP_EOL;
|
||||
else
|
||||
$str .= '<span class="sound_only">열린</span><strong class="pg_current">'.$k.'</strong><span class="sound_only">페이지</span>'.PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
if ($total_page > $end_page) $str .= '<a href="'.$url.($end_page+1).$add.'" class="pg_page pg_next">다음</a>'.PHP_EOL;
|
||||
|
||||
if ($cur_page < $total_page) {
|
||||
$str .= '<a href="'.$url.$total_page.$add.'" class="pg_page pg_end" onclick="return false;">맨끝</a>'.PHP_EOL;
|
||||
}
|
||||
|
||||
if ($str)
|
||||
return "<nav class=\"pg_wrap\"><span class=\"pg\">{$str}</span></nav>";
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
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>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$(".use_href").click(function(){
|
||||
$(".use_div").hide();
|
||||
$("#use_div"+$(this).attr("target")).show();
|
||||
});
|
||||
|
||||
$(".pg_page").click(function(){
|
||||
//alert($(this).attr("href"));
|
||||
$(top.document).find('#itemuse').load($(this).attr("href"));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -25,7 +25,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<div id="sit_pvi_nw">
|
||||
<h1>상품 이미지 새 창 보기</h1>
|
||||
<h1>상품 이미지 새창 보기</h1>
|
||||
|
||||
<div id="sit_pvi_nwbig">
|
||||
<?php
|
||||
|
||||
@ -21,45 +21,52 @@ $count = mysql_num_rows($result);
|
||||
|
||||
<div id="od_coupon_frm">
|
||||
<?php if($count > 0) { ?>
|
||||
<ul>
|
||||
<li>
|
||||
<span>쿠폰명</span>
|
||||
<span>할인금액</span>
|
||||
<span>적용</span>
|
||||
</li>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($amount * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
<table class="basic_tbl">
|
||||
<caption>쿠폰 선택</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">쿠폰명</th>
|
||||
<th scope="col">할인금액</th>
|
||||
<th scope="col">적용</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($amount * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
?>
|
||||
<li>
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="o_cp_id[]" value="<?php echo $row['cp_id']; ?>">
|
||||
<input type="hidden" name="o_cp_amt[]" value="<?php echo $dc; ?>">
|
||||
<input type="hidden" name="o_cp_subj[]" value="<?php echo $row['cp_subject']; ?>">
|
||||
<span><?php echo get_text($row['cp_subject']); ?></span>
|
||||
<span><?php echo number_format($dc); ?></span>
|
||||
<span><button type="button" class="od_cp_apply">적용</button></span>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php echo get_text($row['cp_subject']); ?>
|
||||
</td>
|
||||
<td><?php echo number_format($dc); ?></td>
|
||||
<td><button type="button" class="od_cp_apply" class="btn_frmline">적용</button></td>
|
||||
</tr>
|
||||
<?php
|
||||
} else {
|
||||
echo '사용할 수 있는 쿠폰이 없습니다.';
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<button type="button" id="od_coupon_close">닫기</button>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<p>사용할 수 있는 쿠폰이 없습니다.</p>';
|
||||
}
|
||||
?>
|
||||
<div class="btn_confirm">
|
||||
<button type="button" id="od_coupon_close" class="btn_submit">닫기</button>
|
||||
<?php if($count > 0) { ?>
|
||||
<button type="button" id="od_coupon_cancel">쿠폰적용취소</button>
|
||||
<button type="button" id="od_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -112,7 +112,7 @@ setTimeout("init_pay_button();",300);
|
||||
<form name="forderform" method="post" action="<?php echo $order_action_url; ?>" onsubmit="return forderform_check(this);" autocomplete="off">
|
||||
<div id="sod_frm">
|
||||
<p>주문하실 상품을 확인하세요.</p>
|
||||
<table class="basic_tbl">
|
||||
<table id="sod_list" class="basic_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">상품이미지</th>
|
||||
@ -217,7 +217,7 @@ setTimeout("init_pay_button();",300);
|
||||
$cp = sql_fetch($sql);
|
||||
|
||||
if($cp['cnt'])
|
||||
$cp_button = '<button type="button" class="it_coupon_btn">적용</button>';
|
||||
$cp_button = '<button type="button" class="it_coupon_btn btn_frmline">적용</button>';
|
||||
}
|
||||
?>
|
||||
|
||||
@ -233,7 +233,7 @@ setTimeout("init_pay_button();",300);
|
||||
</td>
|
||||
<td class="td_num"><?php echo number_format($sum['qty']); ?></td>
|
||||
<td class="td_bignum"><?php echo number_format($row['ct_price']); ?></td>
|
||||
<td><?php echo $cp_button; ?></td>
|
||||
<td class="td_smallmng"><?php echo $cp_button; ?></td>
|
||||
<td class="td_bignum"><span class="ct_sell_amount"><?php echo number_format($sell_amount); ?></span></td>
|
||||
<td class="td_bignum"><?php echo number_format($point); ?></td>
|
||||
</tr>
|
||||
@ -923,7 +923,7 @@ $(function() {
|
||||
});
|
||||
|
||||
$(".cp_apply").live("click", function() {
|
||||
var $el = $(this).closest("li");
|
||||
var $el = $(this).closest("tr");
|
||||
var cp_id = $el.find("input[name='f_cp_id[]']").val();
|
||||
var amount = $el.find("input[name='f_cp_amt[]']").val();
|
||||
var subj = $el.find("input[name='f_cp_subj[]']").val();
|
||||
|
||||
@ -50,7 +50,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="6" class="empty_table">주문 내역이 없습니다.</td></tr>';
|
||||
echo '<tr><td colspan="7" class="empty_table">주문 내역이 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -42,45 +42,52 @@ $count = mysql_num_rows($result);
|
||||
|
||||
<div id="it_coupon_frm">
|
||||
<?php if($count > 0) { ?>
|
||||
<ul>
|
||||
<li>
|
||||
<span>쿠폰명</span>
|
||||
<span>할인금액</span>
|
||||
<span>적용</span>
|
||||
</li>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($item_price * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
<table class="basic_tbl">
|
||||
<caption>쿠폰 선택</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">쿠폰명</th>
|
||||
<th scope="col">할인금액</th>
|
||||
<th scope="col">적용</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($item_price * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
?>
|
||||
<li>
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="f_cp_id[]" value="<?php echo $row['cp_id']; ?>">
|
||||
<input type="hidden" name="f_cp_amt[]" value="<?php echo $dc; ?>">
|
||||
<input type="hidden" name="f_cp_subj[]" value="<?php echo $row['cp_subject']; ?>">
|
||||
<span><?php echo get_text($row['cp_subject']); ?></span>
|
||||
<span><?php echo number_format($dc); ?></span>
|
||||
<span><button type="button" class="cp_apply">적용</button></span>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php echo get_text($row['cp_subject']); ?>
|
||||
</td>
|
||||
<td class="td_bignum"><?php echo number_format($dc); ?></td>
|
||||
<td class="td_smallmng"><button type="button" class="cp_apply btn_frmline">적용</button></td>
|
||||
</tr>
|
||||
<?php
|
||||
} else {
|
||||
echo '사용할 수 있는 쿠폰이 없습니다.';
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<button type="button" id="it_coupon_close">닫기</button>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<p>사용할 수 있는 쿠폰이 없습니다.</p>';
|
||||
}
|
||||
?>
|
||||
<div class="btn_confirm">
|
||||
<button type="button" id="it_coupon_close" class="btn_submit">닫기</button>
|
||||
<?php if($count > 0) { ?>
|
||||
<button type="button" id="it_coupon_cancel">쿠폰적용취소</button>
|
||||
<button type="button" id="it_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -22,48 +22,55 @@ $count = mysql_num_rows($result);
|
||||
|
||||
<div id="sc_coupon_frm">
|
||||
<?php if($count > 0) { ?>
|
||||
<ul>
|
||||
<li>
|
||||
<span>쿠폰명</span>
|
||||
<span>할인금액</span>
|
||||
<span>적용</span>
|
||||
</li>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($send_cost * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
<table class="basic_tbl">
|
||||
<caption>쿠폰 선택</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">쿠폰명</th>
|
||||
<th>할인금액</th>
|
||||
<th>적용</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$dc = 0;
|
||||
if($row['cp_type']) {
|
||||
$dc = floor(($send_cost * ($row['cp_amount'] / 100)) / $row['cp_trunc']) * $row['cp_trunc'];
|
||||
} else {
|
||||
$dc = $row['cp_amount'];
|
||||
}
|
||||
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
if($row['cp_maximum'] && $dc > $row['cp_maximum'])
|
||||
$dc = $row['cp_maximum'];
|
||||
|
||||
if($dc > $send_cost)
|
||||
$dc = $send_cost;
|
||||
?>
|
||||
<li>
|
||||
if($dc > $send_cost)
|
||||
$dc = $send_cost;
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="s_cp_id[]" value="<?php echo $row['cp_id']; ?>">
|
||||
<input type="hidden" name="s_cp_amt[]" value="<?php echo $dc; ?>">
|
||||
<input type="hidden" name="s_cp_subj[]" value="<?php echo $row['cp_subject']; ?>">
|
||||
<span><?php echo get_text($row['cp_subject']); ?></span>
|
||||
<span><?php echo number_format($dc); ?></span>
|
||||
<span><button type="button" class="sc_cp_apply">적용</button></span>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php echo get_text($row['cp_subject']); ?>
|
||||
</td>
|
||||
<td><?php echo number_format($dc); ?></td>
|
||||
<td><button type="button" class="sc_cp_apply">적용</button></td>
|
||||
</tr>
|
||||
<?php
|
||||
} else {
|
||||
echo '사용할 수 있는 쿠폰이 없습니다.';
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<button type="button" id="sc_coupon_close">닫기</button>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<p>사용할 수 있는 쿠폰이 없습니다.</p>';
|
||||
}
|
||||
?>
|
||||
<div class="btn_confirm">
|
||||
<button type="button" id="sc_coupon_close" class="btn_submit">닫기</button>
|
||||
<?php if($count > 0) { ?>
|
||||
<button type="button" id="sc_coupon_cancel">쿠폰적용취소</button>
|
||||
<button type="button" id="sc_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -112,10 +112,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<?php // include_once(G4_SHOP_PATH.'/boxwish.inc.php'); ?>
|
||||
|
||||
<!-- 왼쪽 배너 -->
|
||||
<section id="sbn_aside">
|
||||
<aside id="sbn_aside">
|
||||
<h2>쇼핑몰 배너</h2>
|
||||
<?php echo display_banner('왼쪽'); ?>
|
||||
</section>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<div id="container">
|
||||
|
||||
Reference in New Issue
Block a user