Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad48b6ba00 | ||
|
|
0898268692 | ||
|
|
7fe8d391d9 | ||
|
|
21f4cf82a7 | ||
|
|
7783027b58 | ||
|
|
6e72dc7af4 | ||
|
|
80a1c9ac48 | ||
|
|
6667adbef9 | ||
|
|
c0b790e7f9 | ||
|
|
f56b577c25 | ||
|
|
69b322144a | ||
|
|
52f7eef288 | ||
|
|
7d22399eac | ||
|
|
9af6991edd | ||
|
|
a73967dd9a | ||
|
|
d941742b67 | ||
|
|
73a0f6ea80 | ||
|
|
66d440f75e | ||
|
|
20c94e5b0a | ||
|
|
f8480a41c8 | ||
|
|
26f6b802b7 | ||
|
|
dfa677aadb | ||
|
|
2e81619ea8 |
No files matched your search
+4
-5
@@ -178,7 +178,7 @@ a.btn_submit{background:#ff4081;color:#fff}
|
|||||||
|
|
||||||
.btn_add01 {text-align:right}
|
.btn_add01 {text-align:right}
|
||||||
.btn_add01 a, .btn_add01 button {padding:10px;border:1px solid #ccc;background:#f0f0f0;text-decoration:none;cursor:pointer}
|
.btn_add01 a, .btn_add01 button {padding:10px;border:1px solid #ccc;background:#f0f0f0;text-decoration:none;cursor:pointer}
|
||||||
.btn_add01 a {display:inline-block;vertical-align:middle}btn_confirm
|
.btn_add01 a {display:inline-block;vertical-align:middle}
|
||||||
.btn_add01 button {margin:0}
|
.btn_add01 button {margin:0}
|
||||||
|
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ a.btn_ov02:hover,a.ov_listall:hover{background:#3f51b5}
|
|||||||
|
|
||||||
/*form*/
|
/*form*/
|
||||||
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;width:1px !important;height:1px !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;width:1px !important;height:1px !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
||||||
.frm_input{height:35px;line-height:32px;border:1px solid #d5d5d5;}
|
.frm_input{padding:0 5px;height:35px;line-height:32px;border:1px solid #d5d5d5;}
|
||||||
.frm_input_full{width:100%}
|
.frm_input_full{width:100%}
|
||||||
.required{background:url('../img/wrest.gif') top right no-repeat #fff !important}
|
.required{background:url('../img/wrest.gif') top right no-repeat #fff !important}
|
||||||
select{height:35px;line-height:32px;border:1px solid #d5d5d5;}
|
select{height:35px;line-height:32px;border:1px solid #d5d5d5;}
|
||||||
@@ -905,10 +905,8 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
|||||||
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1}
|
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1}
|
||||||
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.new_win_ul li {float:left;margin-left:-1px}
|
.new_win_ul li {float:left;margin-left:-1px}
|
||||||
|
|
||||||
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
|
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
|
||||||
|
|
||||||
|
|
||||||
.new_win_desc {margin:0 }
|
.new_win_desc {margin:0 }
|
||||||
.new_win .anchor {margin:0 0 5px}
|
.new_win .anchor {margin:0 0 5px}
|
||||||
|
|
||||||
@@ -918,12 +916,13 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
|||||||
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
|
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
|
||||||
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
|
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
|
||||||
|
|
||||||
|
|
||||||
.new_win .local_sch, .new_win .local_cmd, .new_win .local_desc01, .new_win .local_desc02, .new_win .local_ov {margin:10px}
|
.new_win .local_sch, .new_win .local_cmd, .new_win .local_desc01, .new_win .local_desc02, .new_win .local_ov {margin:10px}
|
||||||
|
|
||||||
.new_win_con{margin: 10px; background:#fff;padding:20px}
|
.new_win_con{margin: 10px; background:#fff;padding:20px}
|
||||||
.new_win_con .table_form table th{width:120px}
|
.new_win_con .table_form table th{width:120px}
|
||||||
|
|
||||||
|
.new_win .btn_confirm {text-align:center;}
|
||||||
|
|
||||||
/* 자바스크립트 alert 대안 */
|
/* 자바스크립트 alert 대안 */
|
||||||
#validation_check {margin:100px auto;width:500px}
|
#validation_check {margin:100px auto;width:500px}
|
||||||
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
|
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
|
||||||
|
|||||||
@@ -61,11 +61,6 @@ for ($i=0; $i<count($f); $i++) {
|
|||||||
echo "<script>document.getElementById('sms5_job_01').innerHTML='전체 테이블 생성 완료';</script>";
|
echo "<script>document.getElementById('sms5_job_01').innerHTML='전체 테이블 생성 완료';</script>";
|
||||||
flush(); usleep(50000);
|
flush(); usleep(50000);
|
||||||
|
|
||||||
$read_point = -1;
|
|
||||||
$write_point = 5;
|
|
||||||
$comment_point = 1;
|
|
||||||
$download_point = -20;
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------------------
|
||||||
// config 테이블 설정
|
// config 테이블 설정
|
||||||
$sql = " insert into {$g5['sms5_book_group_table']} set bg_name='미분류'";
|
$sql = " insert into {$g5['sms5_book_group_table']} set bg_name='미분류'";
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ include_once('./admin.head.php');
|
|||||||
$directory = array();
|
$directory = array();
|
||||||
$dl = array('file', 'editor');
|
$dl = array('file', 'editor');
|
||||||
|
|
||||||
if( defined('G5_YOUNGCART_VER') ){
|
if (defined('G5_USE_SHOP') && G5_USE_SHOP) {
|
||||||
$dl[] = 'item';
|
$dl[] = 'item';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+7
-4
@@ -7,10 +7,13 @@ if (G5_IS_MOBILE) {
|
|||||||
include_once(G5_BBS_PATH.'/_head.php');
|
include_once(G5_BBS_PATH.'/_head.php');
|
||||||
echo html_purifier(stripslashes($board['bo_mobile_content_head']));
|
echo html_purifier(stripslashes($board['bo_mobile_content_head']));
|
||||||
} else {
|
} else {
|
||||||
if($board['bo_include_head'] && is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
// 상단 파일 경로를 입력하지 않았다면 기본 상단 파일도 include 하지 않음
|
||||||
@include ($board['bo_include_head']);
|
if (trim($board['bo_include_head'])) {
|
||||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
if (is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
||||||
include_once(G5_BBS_PATH.'/_head.php');
|
@include ($board['bo_include_head']);
|
||||||
|
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||||
|
include_once(G5_BBS_PATH.'/_head.php');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
echo html_purifier(stripslashes($board['bo_content_head']));
|
echo html_purifier(stripslashes($board['bo_content_head']));
|
||||||
}
|
}
|
||||||
+7
-4
@@ -8,9 +8,12 @@ if (G5_IS_MOBILE) {
|
|||||||
include_once(G5_BBS_PATH.'/_tail.php');
|
include_once(G5_BBS_PATH.'/_tail.php');
|
||||||
} else {
|
} else {
|
||||||
echo html_purifier(stripslashes($board['bo_content_tail']));
|
echo html_purifier(stripslashes($board['bo_content_tail']));
|
||||||
if($board['bo_include_tail'] && is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
// 하단 파일 경로를 입력하지 않았다면 기본 하단 파일도 include 하지 않음
|
||||||
@include ($board['bo_include_tail']);
|
if (trim($board['bo_include_tail'])) {
|
||||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
if (is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
||||||
include_once(G5_BBS_PATH.'/_tail.php');
|
@include ($board['bo_include_tail']);
|
||||||
|
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||||
|
include_once(G5_BBS_PATH.'/_tail.php');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -96,7 +96,7 @@ if (!$is_search_bbs) {
|
|||||||
|
|
||||||
$row = sql_fetch(" select * from {$write_table} where wr_id = '{$arr_notice[$k]}' ");
|
$row = sql_fetch(" select * from {$write_table} where wr_id = '{$arr_notice[$k]}' ");
|
||||||
|
|
||||||
if (!$row['wr_id']) continue;
|
if (!isset($row['wr_id']) || !$row['wr_id']) continue;
|
||||||
|
|
||||||
$notice_array[] = $row['wr_id'];
|
$notice_array[] = $row['wr_id'];
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -15,8 +15,10 @@ if ($kind == 'recv')
|
|||||||
$unkind = 'send';
|
$unkind = 'send';
|
||||||
else if ($kind == 'send')
|
else if ($kind == 'send')
|
||||||
$unkind = 'recv';
|
$unkind = 'recv';
|
||||||
else
|
else {
|
||||||
|
$kind = clean_xss_tags(trim($kind));
|
||||||
alert(''.$kind .'값을 넘겨주세요.');
|
alert(''.$kind .'값을 넘겨주세요.');
|
||||||
|
}
|
||||||
|
|
||||||
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
|
|
||||||
|
|||||||
+18
-1
@@ -247,7 +247,24 @@ if ($sw == 'move')
|
|||||||
sql_query(" delete from {$g5['board_new_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' ");
|
sql_query(" delete from {$g5['board_new_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' ");
|
||||||
sql_query(" delete from {$g5['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' ");
|
sql_query(" delete from {$g5['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' ");
|
||||||
}
|
}
|
||||||
sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write - '$save_count_write', bo_count_comment = bo_count_comment - '$save_count_comment' where bo_table = '$bo_table' ");
|
|
||||||
|
// 공지사항이 이동되는 경우의 처리 begin
|
||||||
|
$arr = array();
|
||||||
|
$sql = " select bo_notice from {$g5['board_table']} where bo_table = '{$bo_table}' ";
|
||||||
|
$row = sql_fetch($sql);
|
||||||
|
$arr_notice = explode(',', $row['bo_notice']);
|
||||||
|
for ($i=0; $i<count($arr_notice); $i++) {
|
||||||
|
$move_id = (int)$arr_notice[$i];
|
||||||
|
// 게시판에 wr_id 가 있다면 이동한게 아니므로 bo_notice 에 다시 넣음
|
||||||
|
$row2 = sql_fetch(" select count(*) as cnt from $write_table where wr_id = '{$move_id}' ");
|
||||||
|
if ($row2['cnt']) {
|
||||||
|
$arr[] = $move_id;
|
||||||
|
}
|
||||||
|
$bo_notice = implode(',', $arr);
|
||||||
|
}
|
||||||
|
// 공지사항이 이동되는 경우의 처리 end
|
||||||
|
|
||||||
|
sql_query(" update {$g5['board_table']} set bo_notice = '{$bo_notice}', bo_count_write = bo_count_write - '$save_count_write', bo_count_comment = bo_count_comment - '$save_count_comment' where bo_table = '$bo_table' ");
|
||||||
}
|
}
|
||||||
|
|
||||||
$msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.';
|
$msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.';
|
||||||
|
|||||||
@@ -346,10 +346,10 @@ $(function (){
|
|||||||
|
|
||||||
<div id="sit_tab">
|
<div id="sit_tab">
|
||||||
<ul class="tab_tit">
|
<ul class="tab_tit">
|
||||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||||
<li><button type="button" rel="#sit_use">사용후기</button></li>
|
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기</button></li>
|
||||||
<li><button type="button" rel="#sit_qa">상품문의</button></li>
|
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의</button></li>
|
||||||
<li><button type="button" rel="#sit_dvex">배송/교환</button></li>
|
<li><button type="button" id="btn_sit_dvex" rel="#sit_dvex">배송/교환</button></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tab_con">
|
<ul class="tab_con">
|
||||||
|
|
||||||
@@ -516,6 +516,11 @@ $(function(){
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (window.location.href.split("#").length > 1) {
|
||||||
|
let id = window.location.href.split("#")[1];
|
||||||
|
$("#btn_" + id).trigger("click");
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
// 상품보관
|
// 상품보관
|
||||||
|
|||||||
@@ -93,19 +93,12 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
|||||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||||
?>
|
?>
|
||||||
<div class="sps_reply">
|
<div class="sps_reply">
|
||||||
<div class="sps_img">
|
|
||||||
<a href="<?php echo $it_href; ?>">
|
|
||||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
|
||||||
<span><?php echo $row2['it_name']; ?></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||||
<div class="sps_dl">
|
<div class="sps_dl">
|
||||||
<?php echo $row['is_reply_name']; ?>
|
<?php echo $row['is_reply_name']; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
<div id="sps_con_<?php echo $i; ?>_reply">
|
||||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -44,12 +44,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<div id="ssch_cate">
|
<div id="ssch_cate">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_count.'</span></a></li>'.PHP_EOL;
|
||||||
$total_cnt = 0;
|
$total_cnt = 0;
|
||||||
foreach( $categorys as $row ){
|
foreach( $categorys as $row ){
|
||||||
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} <span>".$row['cnt']."</span></a></li>\n";
|
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} <span>".$row['cnt']."</span></a></li>\n";
|
||||||
$total_cnt += $row['cnt'];
|
$total_cnt += $row['cnt'];
|
||||||
}
|
}
|
||||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_cnt.'</span></a></li>'.PHP_EOL;
|
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||||||
<?php if ($prev_href || $next_href) { ?>
|
<?php if ($prev_href || $next_href) { ?>
|
||||||
<ul class="bo_v_nb">
|
<ul class="bo_v_nb">
|
||||||
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01 btn"><i class="fa fa-chevron-left" aria-hidden="true"></i> 이전글</a></li><?php } ?>
|
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01 btn"><i class="fa fa-chevron-left" aria-hidden="true"></i> 이전글</a></li><?php } ?>
|
||||||
<?php if ($next_href) { ?><li><a href="<?php echo $next_href ?>" class="btn_b01 btn">다음글 <i class="fa fa-chevron-right" aria-hidden="true"></i></i></a></li><?php } ?>
|
<?php if ($next_href) { ?><li><a href="<?php echo $next_href ?>" class="btn_b01 btn">다음글 <i class="fa fa-chevron-right" aria-hidden="true"></i></a></li><?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|||||||
@@ -28,10 +28,10 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
|||||||
<section id="sit_info">
|
<section id="sit_info">
|
||||||
<div id="sit_tab">
|
<div id="sit_tab">
|
||||||
<ul class="tab_tit">
|
<ul class="tab_tit">
|
||||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||||
<li><button type="button" rel="#sit_use">사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></button></li>
|
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></button></li>
|
||||||
<li><button type="button" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
||||||
<li><button type="button" rel="#sit_dex">배송/교환</button></li>
|
<li><button type="button" id="btn_sit_dvex" rel="#sit_dex">배송/교환</button></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tab_con">
|
<ul class="tab_con">
|
||||||
|
|
||||||
@@ -328,5 +328,10 @@ jQuery(function($){
|
|||||||
$("#sit_ov_btn .sit_btn_buy").trigger("click");
|
$("#sit_ov_btn .sit_btn_buy").trigger("click");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (window.location.href.split("#").length > 1) {
|
||||||
|
let id = window.location.href.split("#")[1];
|
||||||
|
$("#btn_" + id).trigger("click");
|
||||||
|
};
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@@ -102,19 +102,12 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
|||||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||||
?>
|
?>
|
||||||
<div class="sps_reply">
|
<div class="sps_reply">
|
||||||
<div class="sps_img">
|
|
||||||
<a href="<?php echo $it_href; ?>">
|
|
||||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
|
||||||
<span><?php echo $row2['it_name']; ?></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||||
<div class="sps_dl">
|
<div class="sps_dl">
|
||||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
<div id="sps_con_<?php echo $i; ?>_reply">
|
||||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<div id="ssch_cate">
|
<div id="ssch_cate">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_count.')</span></a></li>'.PHP_EOL;
|
||||||
$total_cnt = 0;
|
$total_cnt = 0;
|
||||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_cnt.')</span></a></li>'.PHP_EOL;
|
|
||||||
foreach((array) $categorys as $row){
|
foreach((array) $categorys as $row){
|
||||||
if( empty($row) ) continue;
|
if( empty($row) ) continue;
|
||||||
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} (".$row['cnt'].")</a></li>\n";
|
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} (".$row['cnt'].")</a></li>\n";
|
||||||
|
|||||||
@@ -346,10 +346,10 @@ $(function (){
|
|||||||
|
|
||||||
<div id="sit_tab">
|
<div id="sit_tab">
|
||||||
<ul class="tab_tit">
|
<ul class="tab_tit">
|
||||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||||
<li><button type="button" rel="#sit_use">사용후기</button></li>
|
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기</button></li>
|
||||||
<li><button type="button" rel="#sit_qa">상품문의</button></li>
|
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의</button></li>
|
||||||
<li><button type="button" rel="#sit_dvex">배송/교환</button></li>
|
<li><button type="button" id="btn_sit_dvex" rel="#sit_dvex">배송/교환</button></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tab_con">
|
<ul class="tab_con">
|
||||||
|
|
||||||
@@ -516,6 +516,11 @@ $(function(){
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (window.location.href.split("#").length > 1) {
|
||||||
|
let id = window.location.href.split("#")[1];
|
||||||
|
$("#btn_" + id).trigger("click");
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
// 상품보관
|
// 상품보관
|
||||||
|
|||||||
@@ -93,19 +93,12 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
|||||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||||
?>
|
?>
|
||||||
<div class="sps_reply">
|
<div class="sps_reply">
|
||||||
<div class="sps_img">
|
|
||||||
<a href="<?php echo $it_href; ?>">
|
|
||||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
|
||||||
<span><?php echo $row2['it_name']; ?></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||||
<div class="sps_dl">
|
<div class="sps_dl">
|
||||||
<?php echo $row['is_reply_name']; ?>
|
<?php echo $row['is_reply_name']; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
<div id="sps_con_<?php echo $i; ?>_reply">
|
||||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -44,12 +44,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<div id="ssch_cate">
|
<div id="ssch_cate">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_count.'</span></a></li>'.PHP_EOL;
|
||||||
$total_cnt = 0;
|
$total_cnt = 0;
|
||||||
foreach( $categorys as $row ){
|
foreach( $categorys as $row ){
|
||||||
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} <span>".$row['cnt']."</span></a></li>\n";
|
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} <span>".$row['cnt']."</span></a></li>\n";
|
||||||
$total_cnt += $row['cnt'];
|
$total_cnt += $row['cnt'];
|
||||||
}
|
}
|
||||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_cnt.'</span></a></li>'.PHP_EOL;
|
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||||||
<?php if ($prev_href || $next_href) { ?>
|
<?php if ($prev_href || $next_href) { ?>
|
||||||
<ul class="bo_v_nb">
|
<ul class="bo_v_nb">
|
||||||
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01 btn"><i class="fa fa-chevron-left" aria-hidden="true"></i> 이전글</a></li><?php } ?>
|
<?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01 btn"><i class="fa fa-chevron-left" aria-hidden="true"></i> 이전글</a></li><?php } ?>
|
||||||
<?php if ($next_href) { ?><li><a href="<?php echo $next_href ?>" class="btn_b01 btn">다음글 <i class="fa fa-chevron-right" aria-hidden="true"></i></i></a></li><?php } ?>
|
<?php if ($next_href) { ?><li><a href="<?php echo $next_href ?>" class="btn_b01 btn">다음글 <i class="fa fa-chevron-right" aria-hidden="true"></i></a></li><?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|||||||
@@ -28,10 +28,10 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
|||||||
<section id="sit_info">
|
<section id="sit_info">
|
||||||
<div id="sit_tab">
|
<div id="sit_tab">
|
||||||
<ul class="tab_tit">
|
<ul class="tab_tit">
|
||||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||||
<li><button type="button" rel="#sit_use">사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></button></li>
|
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></button></li>
|
||||||
<li><button type="button" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
||||||
<li><button type="button" rel="#sit_dex">배송/교환</button></li>
|
<li><button type="button" id="btn_sit_dvex" rel="#sit_dex">배송/교환</button></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tab_con">
|
<ul class="tab_con">
|
||||||
|
|
||||||
@@ -328,5 +328,10 @@ jQuery(function($){
|
|||||||
$("#sit_ov_btn .sit_btn_buy").trigger("click");
|
$("#sit_ov_btn .sit_btn_buy").trigger("click");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (window.location.href.split("#").length > 1) {
|
||||||
|
let id = window.location.href.split("#")[1];
|
||||||
|
$("#btn_" + id).trigger("click");
|
||||||
|
};
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@@ -102,19 +102,12 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
|||||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||||
?>
|
?>
|
||||||
<div class="sps_reply">
|
<div class="sps_reply">
|
||||||
<div class="sps_img">
|
|
||||||
<a href="<?php echo $it_href; ?>">
|
|
||||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
|
||||||
<span><?php echo $row2['it_name']; ?></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||||
<div class="sps_dl">
|
<div class="sps_dl">
|
||||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
<div id="sps_con_<?php echo $i; ?>_reply">
|
||||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<div id="ssch_cate">
|
<div id="ssch_cate">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_count.')</span></a></li>'.PHP_EOL;
|
||||||
$total_cnt = 0;
|
$total_cnt = 0;
|
||||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_cnt.')</span></a></li>'.PHP_EOL;
|
|
||||||
foreach((array) $categorys as $row){
|
foreach((array) $categorys as $row){
|
||||||
if( empty($row) ) continue;
|
if( empty($row) ) continue;
|
||||||
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} (".$row['cnt'].")</a></li>\n";
|
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} (".$row['cnt'].")</a></li>\n";
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
define('G5_VERSION', '그누보드5');
|
define('G5_VERSION', '그누보드5');
|
||||||
define('G5_GNUBOARD_VER', '5.4.19');
|
define('G5_GNUBOARD_VER', '5.4.22');
|
||||||
// 그누보드5.4.5.5 버전과 영카트5.4.5.5.1 버전을 합쳐서 그누보드5.4.6 버전에서 시작함 (kagla-210617)
|
// 그누보드5.4.5.5 버전과 영카트5.4.5.5.1 버전을 합쳐서 그누보드5.4.6 버전에서 시작함 (kagla-210617)
|
||||||
// G5_YOUNGCART_VER 이 상수를 사용하는 곳이 있으므로 주석 처리 해제함
|
// G5_YOUNGCART_VER 이 상수를 사용하는 곳이 있으므로 주석 처리 해제함
|
||||||
// 그누보드5.4.6 이상 버전 부터는 영카트를 그누보드에 포함하여 배포하므로 영카트5의 버전은 의미가 없습니다.
|
// 그누보드5.4.6 이상 버전 부터는 영카트를 그누보드에 포함하여 배포하므로 영카트5의 버전은 의미가 없습니다.
|
||||||
|
|||||||
Reference in new issue
Block a user