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 | ||
|
|
796b6d9ab1 | ||
|
|
d28c165fdf | ||
|
|
80a71fef56 | ||
|
|
2144538f7e | ||
|
|
d87802eb94 | ||
|
|
8c8bb94d68 | ||
|
|
7a054e1dbb |
@@ -17,3 +17,4 @@ naver*.html
|
||||
initests01/
|
||||
SIRsoft000/
|
||||
config.php
|
||||
pma/
|
||||
|
||||
+16
-17
@@ -144,7 +144,7 @@ box-shadow: 2px 0 2px rgba(150,150,150,0.1);}
|
||||
.btn_submit{background:#ff4081;color:#fff}
|
||||
a.btn_submit{background:#ff4081;color:#fff}
|
||||
|
||||
|
||||
|
||||
.btn_confirm .btn_submit {padding:0 15px;border:0;height:30px;color:#fff}
|
||||
.btn_frmline {display:inline-block;padding:0 7px;height:24px;border:0;background:#444;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:middle;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
.btn_frmline:focus, .btn_frmline:hover, .btn_frmline:active {text-decoration:none}
|
||||
@@ -178,14 +178,14 @@ a.btn_submit{background:#ff4081;color:#fff}
|
||||
|
||||
.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 {display:inline-block;vertical-align:middle}btn_confirm
|
||||
.btn_add01 a {display:inline-block;vertical-align:middle}
|
||||
.btn_add01 button {margin:0}
|
||||
|
||||
|
||||
|
||||
|
||||
.td_mng a.btn,.td_mng a{display:inline-block;height:26px;line-height:26px;border:0;border-radius:3px;padding:0 8px;margin:1px;font-weight:normal}
|
||||
.td_mng button,.td_mng button.btn{height:26px;border:0;border-radius:3px;padding:0 8px;margin:1px;font-weight:normal}
|
||||
|
||||
|
||||
.btn{height:30px;border:0;border-radius:5px;padding:0 10px;font-weight:bold;font-size:1.09em;vertical-align:middle}
|
||||
a.btn{display:inline-block;height:30px;line-height:30px;border:0;border-radius:5px;padding:0 10px;font-weight:bold;font-size:1.09em;vertical-align:middle}
|
||||
.btn_submit{background:#ff4081;color:#fff}
|
||||
@@ -208,7 +208,7 @@ a.btn_ov02:hover,a.ov_listall:hover{background:#3f51b5}
|
||||
|
||||
/*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}
|
||||
.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%}
|
||||
.required{background:url('../img/wrest.gif') top right no-repeat #fff !important}
|
||||
select{height:35px;line-height:32px;border:1px solid #d5d5d5;}
|
||||
@@ -249,7 +249,7 @@ legend {position:absolute;width:0;height:0;font-size:0;line-height:0;text-indent
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#sort_mb {width:800px}
|
||||
|
||||
#sort_sodr {width:600px}
|
||||
@@ -310,7 +310,7 @@ border-bottom: 5px solid black;}
|
||||
.local_ov01 .ov_a{display:inline-block;line-height:30px;height:30px;font-size:0.92em;background:#ff4081;color:#fff;vertical-align:top;border-radius:5px;padding:0 7px}
|
||||
.local_ov01 .ov_a:hover{background:#ff1464}
|
||||
|
||||
|
||||
|
||||
/* 테이블 */
|
||||
table {clear:both;width:100%;border-collapse:collapse;border-spacing:0;}
|
||||
table caption {height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
@@ -750,7 +750,7 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
||||
/* 분류관리 목록 */
|
||||
#sct .sct_name {width:130px}
|
||||
#sct th{padding:5px}
|
||||
|
||||
|
||||
#sct .sct_name div {position:relative}
|
||||
#sct .sct_name1 {padding-left:25px}
|
||||
#sct .sct_name2 {padding-left:50px}
|
||||
@@ -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:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.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_desc {margin:0 }
|
||||
.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: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_con{margin: 10px; background:#fff;padding:20px}
|
||||
.new_win_con .table_form table th{width:120px}
|
||||
|
||||
.new_win .btn_confirm {text-align:center;}
|
||||
|
||||
/* 자바스크립트 alert 대안 */
|
||||
#validation_check {margin:100px auto;width:500px}
|
||||
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
|
||||
@@ -1053,7 +1052,7 @@ box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);}
|
||||
#theme_list{padding:0;margin:0;list-style:none; width: 1000px;position:relative}
|
||||
#theme_list:after{display:block;visibility:hidden;clear:both;content:""}
|
||||
#theme_list li{margin:10px 10px 10px 0;float:left}
|
||||
|
||||
|
||||
#theme_list li:after{display:block;visibility:hidden;clear:both;content:""}
|
||||
#theme_list li .tmli_if{border: 1px solid #d1dee2;width:302px;}
|
||||
#theme_list li .tmli_if>img{width:300px;height:225px;}
|
||||
@@ -1111,9 +1110,9 @@ box-shadow: 1px 2px 5px rgba(150,150,150,0.5);z-index:1000}
|
||||
#processing{margin: 0 auto;padding: 70px 0;border: 1px solid #eee;background: #f9f9f9;text-align:center;}
|
||||
#processing p{font-size:1.2em}
|
||||
.check_processing {width:300px;height:300px;margin:0 auto;background:url(../img/check.png) no-repeat 50% 50% }
|
||||
|
||||
|
||||
#processing button{background:#ff3061;border:none;color:#fff;padding: 15px;width:200px;margin-top:15px;border-radius:5px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
|
||||
#processing button{background:#ff3061;border:none;color:#fff;padding: 15px;width:200px;margin-top:15px;border-radius:5px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
|
||||
/*미완료 주문*/
|
||||
@@ -1134,7 +1133,7 @@ box-shadow: 1px 2px 5px rgba(150,150,150,0.5);z-index:1000}
|
||||
#itemuselist .use_href{font-weight:bold;text-decoration:none;display:block;}
|
||||
#itemuselist .use_href .tit_op{background:url(./../img/op_btn1.gif) no-repeat 50% 50%;display:inline-block;text-indent:-999px;overflow:hidden;width:7px;height:4px;margin-left:5px}
|
||||
#itemuselist .use_div{background:#d8dfe9;padding:10px;margin:5px 0 0;display:none;}
|
||||
#itemuselist .td_select{width:100px}
|
||||
#itemuselist .td_select{width:100px}
|
||||
|
||||
|
||||
@media only screen and (max-device-width : 768px) and (orientation : landscape){
|
||||
@@ -1145,4 +1144,4 @@ input[type="text"]{max-width:200px}
|
||||
@media only screen and (max-device-width : 480px) and (orientation : portrait){
|
||||
/* Styles */
|
||||
input[type="text"]{max-width:200px}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,11 +61,6 @@ for ($i=0; $i<count($f); $i++) {
|
||||
echo "<script>document.getElementById('sms5_job_01').innerHTML='전체 테이블 생성 완료';</script>";
|
||||
flush(); usleep(50000);
|
||||
|
||||
$read_point = -1;
|
||||
$write_point = 5;
|
||||
$comment_point = 1;
|
||||
$download_point = -20;
|
||||
|
||||
//-------------------------------------------------------------------------------------------------
|
||||
// config 테이블 설정
|
||||
$sql = " insert into {$g5['sms5_book_group_table']} set bg_name='미분류'";
|
||||
|
||||
@@ -19,7 +19,7 @@ include_once('./admin.head.php');
|
||||
$directory = array();
|
||||
$dl = array('file', 'editor');
|
||||
|
||||
if( defined('G5_YOUNGCART_VER') ){
|
||||
if (defined('G5_USE_SHOP') && G5_USE_SHOP) {
|
||||
$dl[] = 'item';
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,9 @@ $row = sql_fetch($sql);
|
||||
|
||||
$min_year = (int)substr($row['min_date'], 0, 4);
|
||||
$now_year = (int)substr(G5_TIME_YMD, 0, 4);
|
||||
if (!$min_year) {
|
||||
$min_year = $now_year;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="local_ov01 local_ov">
|
||||
|
||||
+7
-4
@@ -7,10 +7,13 @@ if (G5_IS_MOBILE) {
|
||||
include_once(G5_BBS_PATH.'/_head.php');
|
||||
echo html_purifier(stripslashes($board['bo_mobile_content_head']));
|
||||
} else {
|
||||
if($board['bo_include_head'] && is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
||||
@include ($board['bo_include_head']);
|
||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||
include_once(G5_BBS_PATH.'/_head.php');
|
||||
// 상단 파일 경로를 입력하지 않았다면 기본 상단 파일도 include 하지 않음
|
||||
if (trim($board['bo_include_head'])) {
|
||||
if (is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
||||
@include ($board['bo_include_head']);
|
||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||
include_once(G5_BBS_PATH.'/_head.php');
|
||||
}
|
||||
}
|
||||
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');
|
||||
} else {
|
||||
echo html_purifier(stripslashes($board['bo_content_tail']));
|
||||
if($board['bo_include_tail'] && is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
||||
@include ($board['bo_include_tail']);
|
||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||
include_once(G5_BBS_PATH.'/_tail.php');
|
||||
// 하단 파일 경로를 입력하지 않았다면 기본 하단 파일도 include 하지 않음
|
||||
if (trim($board['bo_include_tail'])) {
|
||||
if (is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
||||
@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]}' ");
|
||||
|
||||
if (!$row['wr_id']) continue;
|
||||
if (!isset($row['wr_id']) || !$row['wr_id']) continue;
|
||||
|
||||
$notice_array[] = $row['wr_id'];
|
||||
|
||||
|
||||
+3
-1
@@ -15,8 +15,10 @@ if ($kind == 'recv')
|
||||
$unkind = 'send';
|
||||
else if ($kind == 'send')
|
||||
$unkind = 'recv';
|
||||
else
|
||||
else {
|
||||
$kind = clean_xss_tags(trim($kind));
|
||||
alert(''.$kind .'값을 넘겨주세요.');
|
||||
}
|
||||
|
||||
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_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.' 하였습니다.';
|
||||
|
||||
@@ -529,6 +529,13 @@ for ($i=0; $i<count($dir_arr); $i++) {
|
||||
@chmod($dir_arr[$i], G5_DIR_PERMISSION);
|
||||
}
|
||||
|
||||
// 게시판 디렉토리 생성 (작은별님,211206)
|
||||
for ($i=0; $i<count($tmp_bo_table); $i++) {
|
||||
$board_dir = $data_path.'/file/'.$tmp_bo_table[$i];
|
||||
@mkdir($board_dir, G5_DIR_PERMISSION);
|
||||
@chmod($board_dir, G5_DIR_PERMISSION);
|
||||
}
|
||||
|
||||
if($g5_shop_install) {
|
||||
$dir_arr = array (
|
||||
$data_path.'/banner',
|
||||
|
||||
+2
-1
@@ -3299,7 +3299,8 @@ function check_url_host($url, $msg='', $return_url=G5_URL, $is_redirect=false)
|
||||
if(!$msg)
|
||||
$msg = 'url에 타 도메인을 지정할 수 없습니다.';
|
||||
|
||||
$p = @parse_url($url);
|
||||
$url = urldecode($url);
|
||||
$p = @parse_url(trim($url));
|
||||
$host = preg_replace('/:[0-9]+$/', '', $_SERVER['HTTP_HOST']);
|
||||
$is_host_check = false;
|
||||
|
||||
|
||||
@@ -346,10 +346,10 @@ $(function (){
|
||||
|
||||
<div id="sit_tab">
|
||||
<ul class="tab_tit">
|
||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||
<li><button type="button" rel="#sit_use">사용후기</button></li>
|
||||
<li><button type="button" rel="#sit_qa">상품문의</button></li>
|
||||
<li><button type="button" rel="#sit_dvex">배송/교환</button></li>
|
||||
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기</button></li>
|
||||
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의</button></li>
|
||||
<li><button type="button" id="btn_sit_dvex" rel="#sit_dvex">배송/교환</button></li>
|
||||
</ul>
|
||||
<ul class="tab_con">
|
||||
|
||||
@@ -516,6 +516,11 @@ $(function(){
|
||||
|
||||
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);
|
||||
?>
|
||||
<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>
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
<div class="sps_dl">
|
||||
<?php echo $row['is_reply_name']; ?>
|
||||
</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; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -44,12 +44,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="ssch_cate">
|
||||
<ul>
|
||||
<?php
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_count.'</span></a></li>'.PHP_EOL;
|
||||
$total_cnt = 0;
|
||||
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";
|
||||
$total_cnt += $row['cnt'];
|
||||
}
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_cnt.'</span></a></li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -123,7 +123,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
<?php if ($prev_href || $next_href) { ?>
|
||||
<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 ($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>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@@ -28,10 +28,10 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
<section id="sit_info">
|
||||
<div id="sit_tab">
|
||||
<ul class="tab_tit">
|
||||
<li><button type="button" 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" 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_inf" rel="#sit_inf" class="selected">상품정보</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" id="btn_sit_qa" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
||||
<li><button type="button" id="btn_sit_dvex" rel="#sit_dex">배송/교환</button></li>
|
||||
</ul>
|
||||
<ul class="tab_con">
|
||||
|
||||
@@ -328,5 +328,10 @@ jQuery(function($){
|
||||
$("#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>
|
||||
@@ -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);
|
||||
?>
|
||||
<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>
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
<div class="sps_dl">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
||||
</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; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -42,8 +42,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="ssch_cate">
|
||||
<ul>
|
||||
<?php
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_count.')</span></a></li>'.PHP_EOL;
|
||||
$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){
|
||||
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";
|
||||
|
||||
@@ -346,10 +346,10 @@ $(function (){
|
||||
|
||||
<div id="sit_tab">
|
||||
<ul class="tab_tit">
|
||||
<li><button type="button" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||
<li><button type="button" rel="#sit_use">사용후기</button></li>
|
||||
<li><button type="button" rel="#sit_qa">상품문의</button></li>
|
||||
<li><button type="button" rel="#sit_dvex">배송/교환</button></li>
|
||||
<li><button type="button" id="btn_sit_inf" rel="#sit_inf" class="selected">상품정보</button></li>
|
||||
<li><button type="button" id="btn_sit_use" rel="#sit_use">사용후기</button></li>
|
||||
<li><button type="button" id="btn_sit_qa" rel="#sit_qa">상품문의</button></li>
|
||||
<li><button type="button" id="btn_sit_dvex" rel="#sit_dvex">배송/교환</button></li>
|
||||
</ul>
|
||||
<ul class="tab_con">
|
||||
|
||||
@@ -516,6 +516,11 @@ $(function(){
|
||||
|
||||
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);
|
||||
?>
|
||||
<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>
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
<div class="sps_dl">
|
||||
<?php echo $row['is_reply_name']; ?>
|
||||
</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; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -44,12 +44,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="ssch_cate">
|
||||
<ul>
|
||||
<?php
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_count.'</span></a></li>'.PHP_EOL;
|
||||
$total_cnt = 0;
|
||||
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";
|
||||
$total_cnt += $row['cnt'];
|
||||
}
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>'.$total_cnt.'</span></a></li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -123,7 +123,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
<?php if ($prev_href || $next_href) { ?>
|
||||
<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 ($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>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@@ -28,10 +28,10 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
<section id="sit_info">
|
||||
<div id="sit_tab">
|
||||
<ul class="tab_tit">
|
||||
<li><button type="button" 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" 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_inf" rel="#sit_inf" class="selected">상품정보</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" id="btn_sit_qa" rel="#sit_qa">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></button></li>
|
||||
<li><button type="button" id="btn_sit_dvex" rel="#sit_dex">배송/교환</button></li>
|
||||
</ul>
|
||||
<ul class="tab_con">
|
||||
|
||||
@@ -328,5 +328,10 @@ jQuery(function($){
|
||||
$("#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>
|
||||
@@ -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);
|
||||
?>
|
||||
<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>
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
<div class="sps_dl">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
||||
</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; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -42,8 +42,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="ssch_cate">
|
||||
<ul>
|
||||
<?php
|
||||
echo '<li><a href="#" onclick="set_ca_id(\'\'); return false;">전체분류 <span>('.$total_count.')</span></a></li>'.PHP_EOL;
|
||||
$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){
|
||||
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";
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
define('G5_VERSION', '그누보드5');
|
||||
define('G5_GNUBOARD_VER', '5.4.18');
|
||||
define('G5_GNUBOARD_VER', '5.4.22');
|
||||
// 그누보드5.4.5.5 버전과 영카트5.4.5.5.1 버전을 합쳐서 그누보드5.4.6 버전에서 시작함 (kagla-210617)
|
||||
// G5_YOUNGCART_VER 이 상수를 사용하는 곳이 있으므로 주석 처리 해제함
|
||||
// 그누보드5.4.6 이상 버전 부터는 영카트를 그누보드에 포함하여 배포하므로 영카트5의 버전은 의미가 없습니다.
|
||||
|
||||
Reference in New Issue
Block a user