sit_qna -> sit_qa 로 변경
This commit is contained in:
@ -550,31 +550,31 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
|
||||
#sit_use h2 {margin:0 0 10px}
|
||||
|
||||
/* 상품 상세보기 - 상품문의 */
|
||||
#sit_qna {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_qna h2 {margin:0 0 10px}
|
||||
#sit_qna h3 {margin:0 0 10px}
|
||||
#sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_qa h2 {margin:0 0 10px}
|
||||
#sit_qa h3 {margin:0 0 10px}
|
||||
|
||||
#sit_qna_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_qna_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa}
|
||||
.sit_qna_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
#sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_qa_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa}
|
||||
.sit_qa_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
|
||||
.sit_qna_dl {margin:0;padding:0 10px;zoom:1}
|
||||
.sit_qna_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qna_dl dt {float:left}
|
||||
.sit_qna_dl dd {float:left;margin:0 20px 0 5px}
|
||||
.sit_qa_dl {margin:0;padding:0 10px;zoom:1}
|
||||
.sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qa_dl dt {float:left}
|
||||
.sit_qa_dl dd {float:left;margin:0 20px 0 5px}
|
||||
|
||||
.sit_qna_con {display:none;padding:10px 10px 0}
|
||||
.sit_qna_con p {padding:0}
|
||||
.sit_qna_qaq {margin:0 0 5px}
|
||||
.sit_qna_con textarea {display:none}
|
||||
.sit_qna_cmd {text-align:right}
|
||||
.sit_qa_con {display:none;padding:10px 10px 0}
|
||||
.sit_qa_con p {padding:0}
|
||||
.sit_qa_qaq {margin:0 0 5px}
|
||||
.sit_qa_con textarea {display:none}
|
||||
.sit_qa_cmd {text-align:right}
|
||||
|
||||
.sit_qna_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center}
|
||||
.sit_qna_pw span {display:block;margin:0 0 5px}
|
||||
.sit_qa_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center}
|
||||
.sit_qa_pw span {display:block;margin:0 0 5px}
|
||||
|
||||
#sit_qna_wbtn {margin:0 0 5px;text-align:right}
|
||||
#sit_qa_wbtn {margin:0 0 5px;text-align:right}
|
||||
|
||||
#sit_qna_w {display:none}
|
||||
#sit_qa_w {display:none}
|
||||
|
||||
/* 상품 상세보기 - 배송정보 */
|
||||
#sit_dvr {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
|
||||
@ -222,31 +222,31 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none}
|
||||
#sit_use h2 {margin:0 0 1em}
|
||||
|
||||
/* 상품 상세보기 - 상품문의 */
|
||||
#sit_qna {margin:0 0 1em;padding:1em 1em 2em;border-bottom:1px solid #e9e9e9}
|
||||
#sit_qna h2 {margin:0 0 1em}
|
||||
#sit_qna h3 {margin:0 0 1em}
|
||||
#sit_qa {margin:0 0 1em;padding:1em 1em 2em;border-bottom:1px solid #e9e9e9}
|
||||
#sit_qa h2 {margin:0 0 1em}
|
||||
#sit_qa h3 {margin:0 0 1em}
|
||||
|
||||
#sit_qna_ol {margin:0 0 0.5em;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_qna_li {position:relative;padding:0 0 1em;border-bottom:1px solid #e9e9e9;background:#f5f6fa}
|
||||
.sit_qna_li_title {display:block;margin:0;padding:1em;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
#sit_qa_ol {margin:0 0 0.5em;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_qa_li {position:relative;padding:0 0 1em;border-bottom:1px solid #e9e9e9;background:#f5f6fa}
|
||||
.sit_qa_li_title {display:block;margin:0;padding:1em;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
|
||||
.sit_qna_dl {margin:0;padding:0 1em;zoom:1}
|
||||
.sit_qna_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qna_dl dt {float:left}
|
||||
.sit_qna_dl dd {float:left;margin:0 1.8em 0 0.3em}
|
||||
.sit_qa_dl {margin:0;padding:0 1em;zoom:1}
|
||||
.sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qa_dl dt {float:left}
|
||||
.sit_qa_dl dd {float:left;margin:0 1.8em 0 0.3em}
|
||||
|
||||
.sit_qna_con {display:none;padding:1em 1em 0}
|
||||
.sit_qna_con p {padding:0}
|
||||
.sit_qna_qaq {margin:0 0 0.3em}
|
||||
.sit_qna_con textarea {display:none}
|
||||
.sit_qna_cmd {text-align:right}
|
||||
.sit_qa_con {display:none;padding:1em 1em 0}
|
||||
.sit_qa_con p {padding:0}
|
||||
.sit_qa_qaq {margin:0 0 0.3em}
|
||||
.sit_qa_con textarea {display:none}
|
||||
.sit_qa_cmd {text-align:right}
|
||||
|
||||
.sit_qna_pw {display:none;position:absolute;top:30px;left:175px;padding:1em;width:348px;border:1px solid #000;background:#fff;text-align:center}
|
||||
.sit_qna_pw span {display:block;margin:0 0 0.3em}
|
||||
.sit_qa_pw {display:none;position:absolute;top:30px;left:175px;padding:1em;width:348px;border:1px solid #000;background:#fff;text-align:center}
|
||||
.sit_qa_pw span {display:block;margin:0 0 0.3em}
|
||||
|
||||
#sit_qna_wbtn {margin:0 0 0.3em;text-align:right}
|
||||
#sit_qa_wbtn {margin:0 0 0.3em;text-align:right}
|
||||
|
||||
#sit_qna_w {display:none}
|
||||
#sit_qa_w {display:none}
|
||||
|
||||
/* 상품 상세보기 - 배송정보 */
|
||||
#sit_dvr {margin:0 0 1em;padding:1em 1em 2em;border-bottom:1px solid #e9e9e9}
|
||||
|
||||
@ -146,7 +146,7 @@ function pg_anchor_m($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_qna" <?php if ($anc_id == 'qna') echo 'class="sanchor_on"'; ?>>상품문의 <span class="item_qa_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 } ?>
|
||||
<li><a href="#sit_rel" <?php if ($anc_id == 'rel') echo 'class="sanchor_on"'; ?>>관련상품 <span class="item_relation_count"></span></a></li>
|
||||
@ -564,9 +564,9 @@ else
|
||||
?>
|
||||
</section>
|
||||
|
||||
<section id="sit_qna">
|
||||
<section id="sit_qa">
|
||||
<h2>상품문의</h2>
|
||||
<?php echo pg_anchor_m('qna'); ?>
|
||||
<?php echo pg_anchor_m('qa'); ?>
|
||||
|
||||
<?php
|
||||
$qa_page_rows = 10; // 페이지당 목록수
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="sit_qna_list">
|
||||
<section id="sit_qa_list">
|
||||
<h3>등록된 상품문의</h3>
|
||||
|
||||
<?php
|
||||
@ -51,12 +51,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
$iq_flag = 1;
|
||||
}
|
||||
|
||||
if ($i == 0) echo '<ol id="sit_qna_ol">';
|
||||
if ($i == 0) echo '<ol id="sit_qa_ol">';
|
||||
?>
|
||||
|
||||
<li class="sit_qna_li">
|
||||
<button type="button" class="sit_qna_li_title" onclick="javascript:qa_menu('sit_qna_con_<?php echo $i; ?>')"><b><?php echo $num; ?>.</b> <?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_qna_dl">
|
||||
<li class="sit_qa_li">
|
||||
<button type="button" class="sit_qa_li_title" onclick="javascript:qa_menu('sit_qa_con_<?php echo $i; ?>')"><b><?php echo $num; ?>.</b> <?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_qa_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $iq_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
@ -65,12 +65,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<dd><?php echo $iq_stats; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sit_qna_con_<?php echo $i; ?>" class="sit_qna_con">
|
||||
<p class="sit_qna_qaq">
|
||||
<div id="sit_qa_con_<?php echo $i; ?>" class="sit_qa_con">
|
||||
<p class="sit_qa_qaq">
|
||||
<strong>문의내용</strong><br>
|
||||
<?php echo $iq_question; // 상품 문의 내용 ?>
|
||||
</p>
|
||||
<p class="sit_qna_qaa">
|
||||
<p class="sit_qa_qaa">
|
||||
<strong>답변</strong><br>
|
||||
<?php echo $iq_answer; ?>
|
||||
</p>
|
||||
@ -81,14 +81,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<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_qna_cmd">
|
||||
<div class="sit_qa_cmd">
|
||||
<button type="button" onclick="javascript:itemqa_update(<?php echo $i; ?>);" class="btn01">수정</button>
|
||||
<button type="button" onclick="javascript:itemqa_delete(fitemqa_password<?php echo $i; ?>, <?php echo $i; ?>);" class="btn01">삭제</button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="sit_qna_pw_<?php echo $i; ?>" class="sit_qna_pw">
|
||||
<div id="sit_qa_pw_<?php echo $i; ?>" class="sit_qa_pw">
|
||||
<form name="fitemqa_password<?php echo $i; ?>" method="post" action="./itemqaupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="w" value="">
|
||||
<input type="hidden" name="iq_id" value="">
|
||||
@ -109,11 +109,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</section>
|
||||
|
||||
<div id="sit_qna_wbtn">
|
||||
<div id="sit_qa_wbtn">
|
||||
<button type="button" id="iq_write" class="btn_submit" onclick="javascript:itemqa_insert();">상품문의 쓰기</button>
|
||||
</div>
|
||||
|
||||
<section id="sit_qna_w">
|
||||
<section id="sit_qa_w">
|
||||
<h3>상품문의 작성</h3>
|
||||
|
||||
<form name="fitemqa" method="post" onsubmit="return fitemqa_submit(this);" autocomplete="off">
|
||||
@ -185,7 +185,7 @@ if (!g4_is_member) {
|
||||
*/
|
||||
|
||||
var f = document.fitemqa;
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
@ -204,7 +204,7 @@ f.iq_question.value = '';
|
||||
function itemqa_update(idx)
|
||||
{
|
||||
var f = document.fitemqa;
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
@ -221,7 +221,7 @@ f.iq_question.value = document.getElementById('tmp_iq_question'+idx).value;
|
||||
|
||||
function itemqa_delete(f, idx)
|
||||
{
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
f.w.value = 'd';
|
||||
f.iq_id.value = document.getElementById('tmp_iq_id'+idx).value;
|
||||
|
||||
@ -163,7 +163,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_qna" <?php if ($anc_id == 'qna') echo 'class="sanchor_on"'; ?>>상품문의 <span class="item_qa_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 } ?>
|
||||
<li><a href="#sit_rel" <?php if ($anc_id == 'rel') echo 'class="sanchor_on"'; ?>>관련상품 <span class="item_relation_count"></span></a></li>
|
||||
@ -568,9 +568,9 @@ else
|
||||
?>
|
||||
</section>
|
||||
|
||||
<section id="sit_qna">
|
||||
<section id="sit_qa">
|
||||
<h2>상품문의</h2>
|
||||
<?php echo pg_anchor('qna'); ?>
|
||||
<?php echo pg_anchor('qa'); ?>
|
||||
|
||||
<?php
|
||||
$qa_page_rows = 10; // 페이지당 목록수
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="sit_qna_list">
|
||||
<section id="sit_qa_list">
|
||||
<h3>등록된 상품문의</h3>
|
||||
|
||||
<?php
|
||||
@ -51,12 +51,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
$iq_flag = 1;
|
||||
}
|
||||
|
||||
if ($i == 0) echo '<ol id="sit_qna_ol">';
|
||||
if ($i == 0) echo '<ol id="sit_qa_ol">';
|
||||
?>
|
||||
|
||||
<li class="sit_qna_li">
|
||||
<button type="button" class="sit_qna_li_title" onclick="javascript:qa_menu('sit_qna_con_<?php echo $i; ?>')"><b><?php echo $num; ?>.</b> <?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_qna_dl">
|
||||
<li class="sit_qa_li">
|
||||
<button type="button" class="sit_qa_li_title" onclick="javascript:qa_menu('sit_qa_con_<?php echo $i; ?>')"><b><?php echo $num; ?>.</b> <?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_qa_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $iq_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
@ -65,12 +65,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<dd><?php echo $iq_stats; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sit_qna_con_<?php echo $i; ?>" class="sit_qna_con">
|
||||
<p class="sit_qna_qaq">
|
||||
<div id="sit_qa_con_<?php echo $i; ?>" class="sit_qa_con">
|
||||
<p class="sit_qa_qaq">
|
||||
<strong>문의내용</strong><br>
|
||||
<?php echo $iq_question; // 상품 문의 내용 ?>
|
||||
</p>
|
||||
<p class="sit_qna_qaa">
|
||||
<p class="sit_qa_qaa">
|
||||
<strong>답변</strong><br>
|
||||
<?php echo $iq_answer; ?>
|
||||
</p>
|
||||
@ -81,14 +81,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<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_qna_cmd">
|
||||
<div class="sit_qa_cmd">
|
||||
<button type="button" onclick="javascript:itemqa_update(<?php echo $i; ?>);" class="btn01">수정</button>
|
||||
<button type="button" onclick="javascript:itemqa_delete(fitemqa_password<?php echo $i; ?>, <?php echo $i; ?>);" class="btn01">삭제</button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="sit_qna_pw_<?php echo $i; ?>" class="sit_qna_pw">
|
||||
<div id="sit_qa_pw_<?php echo $i; ?>" class="sit_qa_pw">
|
||||
<form name="fitemqa_password<?php echo $i; ?>" method="post" action="./itemqaupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="w" value="">
|
||||
<input type="hidden" name="iq_id" value="">
|
||||
@ -109,11 +109,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</section>
|
||||
|
||||
<div id="sit_qna_wbtn">
|
||||
<div id="sit_qa_wbtn">
|
||||
<button type="button" id="iq_write" class="btn_submit" onclick="javascript:itemqa_insert();">상품문의 쓰기</button>
|
||||
</div>
|
||||
|
||||
<section id="sit_qna_w">
|
||||
<section id="sit_qa_w">
|
||||
<h3>상품문의 작성</h3>
|
||||
|
||||
<form name="fitemqa" method="post" onsubmit="return fitemqa_submit(this);" autocomplete="off">
|
||||
@ -185,7 +185,7 @@ if (!g4_is_member) {
|
||||
*/
|
||||
|
||||
var f = document.fitemqa;
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
@ -204,7 +204,7 @@ f.iq_question.value = '';
|
||||
function itemqa_update(idx)
|
||||
{
|
||||
var f = document.fitemqa;
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
id.style.display = 'block';
|
||||
|
||||
@ -221,7 +221,7 @@ f.iq_question.value = document.getElementById('tmp_iq_question'+idx).value;
|
||||
|
||||
function itemqa_delete(f, idx)
|
||||
{
|
||||
var id = document.getElementById('sit_qna_w');
|
||||
var id = document.getElementById('sit_qa_w');
|
||||
|
||||
f.w.value = 'd';
|
||||
f.iq_id.value = document.getElementById('tmp_iq_id'+idx).value;
|
||||
|
||||
Reference in New Issue
Block a user