Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73967dd9a | ||
|
|
d941742b67 | ||
|
|
73a0f6ea80 | ||
|
|
66d440f75e | ||
|
|
20c94e5b0a | ||
|
|
f8480a41c8 | ||
|
|
26f6b802b7 | ||
|
|
dfa677aadb | ||
|
|
2e81619ea8 | ||
|
|
796b6d9ab1 | ||
|
|
d28c165fdf | ||
|
|
80a71fef56 | ||
|
|
2144538f7e | ||
|
|
d87802eb94 | ||
|
|
8c8bb94d68 | ||
|
|
7a054e1dbb | ||
|
|
edb0b849d9 | ||
|
|
6ee9b1fbf2 | ||
|
|
413044ab06 | ||
|
|
6148da1add | ||
|
|
9020d246b7 | ||
|
|
de73f54959 |
No files matched your search
@@ -17,3 +17,4 @@ naver*.html
|
|||||||
initests01/
|
initests01/
|
||||||
SIRsoft000/
|
SIRsoft000/
|
||||||
config.php
|
config.php
|
||||||
|
pma/
|
||||||
@@ -919,6 +919,7 @@ if(!$default['de_kakaopay_cancelpwd']){
|
|||||||
<input type="text" name="de_kakaopay_hashkey" value="<?php echo get_sanitize_input($default['de_kakaopay_hashkey']); ?>" id="de_kakaopay_hashkey" class="frm_input" size="20">
|
<input type="text" name="de_kakaopay_hashkey" value="<?php echo get_sanitize_input($default['de_kakaopay_hashkey']); ?>" id="de_kakaopay_hashkey" class="frm_input" size="20">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php if (defined('G5_SHOP_DIRECT_NAVERPAY') && G5_SHOP_DIRECT_NAVERPAY) { ?>
|
||||||
<tr class="naver_info_fld">
|
<tr class="naver_info_fld">
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<label for="de_naverpay_mid">네이버페이 가맹점 아이디</label>
|
<label for="de_naverpay_mid">네이버페이 가맹점 아이디</label>
|
||||||
@@ -982,6 +983,7 @@ if(!$default['de_kakaopay_cancelpwd']){
|
|||||||
<input type="text" name="de_naverpay_sendcost" value="<?php echo get_sanitize_input($default['de_naverpay_sendcost']); ?>" id="de_naverpay_sendcost" class="frm_input" size="70">
|
<input type="text" name="de_naverpay_sendcost" value="<?php echo get_sanitize_input($default['de_naverpay_sendcost']); ?>" id="de_naverpay_sendcost" class="frm_input" size="70">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php } // defined('G5_SHOP_DIRECT_NAVERPAY') ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">에스크로 사용</th>
|
<th scope="row">에스크로 사용</th>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -427,17 +427,19 @@ $sql = " update {$g5['g5_shop_default_table']}
|
|||||||
de_kakaopay_enckey = '{$de_kakaopay_enckey}',
|
de_kakaopay_enckey = '{$de_kakaopay_enckey}',
|
||||||
de_kakaopay_hashkey = '{$de_kakaopay_hashkey}',
|
de_kakaopay_hashkey = '{$de_kakaopay_hashkey}',
|
||||||
de_kakaopay_cancelpwd = '{$de_kakaopay_cancelpwd}',
|
de_kakaopay_cancelpwd = '{$de_kakaopay_cancelpwd}',
|
||||||
de_naverpay_mid = '{$de_naverpay_mid}',
|
|
||||||
de_naverpay_cert_key = '{$de_naverpay_cert_key}',
|
|
||||||
de_naverpay_button_key = '{$de_naverpay_button_key}',
|
|
||||||
de_naverpay_test = '{$de_naverpay_test}',
|
|
||||||
de_naverpay_mb_id = '{$de_naverpay_mb_id}',
|
|
||||||
de_naverpay_sendcost = '{$de_naverpay_sendcost}',
|
|
||||||
de_member_reg_coupon_use = '{$de_member_reg_coupon_use}',
|
de_member_reg_coupon_use = '{$de_member_reg_coupon_use}',
|
||||||
de_member_reg_coupon_term = '{$de_member_reg_coupon_term}',
|
de_member_reg_coupon_term = '{$de_member_reg_coupon_term}',
|
||||||
de_member_reg_coupon_price = '{$de_member_reg_coupon_price}',
|
de_member_reg_coupon_price = '{$de_member_reg_coupon_price}',
|
||||||
de_member_reg_coupon_minimum = '{$de_member_reg_coupon_minimum}'
|
de_member_reg_coupon_minimum = '{$de_member_reg_coupon_minimum}'
|
||||||
";
|
";
|
||||||
|
if (defined('G5_SHOP_DIRECT_NAVERPAY') && G5_SHOP_DIRECT_NAVERPAY) {
|
||||||
|
$sql .= " ,de_naverpay_mid = '{$de_naverpay_mid}',
|
||||||
|
de_naverpay_cert_key = '{$de_naverpay_cert_key}',
|
||||||
|
de_naverpay_button_key = '{$de_naverpay_button_key}',
|
||||||
|
de_naverpay_test = '{$de_naverpay_test}',
|
||||||
|
de_naverpay_mb_id = '{$de_naverpay_mb_id}',
|
||||||
|
de_naverpay_sendcost = '{$de_naverpay_sendcost}' ";
|
||||||
|
}
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
|
|
||||||
// 환경설정 > 포인트 사용
|
// 환경설정 > 포인트 사용
|
||||||
|
|||||||
@@ -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='미분류'";
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ $row = sql_fetch($sql);
|
|||||||
|
|
||||||
$min_year = (int)substr($row['min_date'], 0, 4);
|
$min_year = (int)substr($row['min_date'], 0, 4);
|
||||||
$now_year = (int)substr(G5_TIME_YMD, 0, 4);
|
$now_year = (int)substr(G5_TIME_YMD, 0, 4);
|
||||||
|
if (!$min_year) {
|
||||||
|
$min_year = $now_year;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="local_ov01 local_ov">
|
<div class="local_ov01 local_ov">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ 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(is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
if($board['bo_include_head'] && is_include_path_check($board['bo_include_head'])) { //파일경로 체크
|
||||||
@include ($board['bo_include_head']);
|
@include ($board['bo_include_head']);
|
||||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||||
include_once(G5_BBS_PATH.'/_head.php');
|
include_once(G5_BBS_PATH.'/_head.php');
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ 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(is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
if($board['bo_include_tail'] && is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
||||||
@include ($board['bo_include_tail']);
|
@include ($board['bo_include_tail']);
|
||||||
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
} else { //파일경로가 올바르지 않으면 기본파일을 가져옴
|
||||||
include_once(G5_BBS_PATH.'/_tail.php');
|
include_once(G5_BBS_PATH.'/_tail.php');
|
||||||
|
|||||||
+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 페이지)
|
||||||
|
|
||||||
|
|||||||
@@ -324,9 +324,7 @@ else if ($w == 'cu') // 댓글 수정
|
|||||||
if (!$is_admin)
|
if (!$is_admin)
|
||||||
$sql_ip = " , wr_ip = '{$_SERVER['REMOTE_ADDR']}' ";
|
$sql_ip = " , wr_ip = '{$_SERVER['REMOTE_ADDR']}' ";
|
||||||
|
|
||||||
$sql_secret = "";
|
$sql_secret = " , wr_option = '$wr_secret' ";
|
||||||
if ($wr_secret)
|
|
||||||
$sql_secret = " , wr_option = '$wr_secret' ";
|
|
||||||
|
|
||||||
$sql = " update $write_table
|
$sql = " update $write_table
|
||||||
set wr_subject = '$wr_subject',
|
set wr_subject = '$wr_subject',
|
||||||
|
|||||||
@@ -529,6 +529,13 @@ for ($i=0; $i<count($dir_arr); $i++) {
|
|||||||
@chmod($dir_arr[$i], G5_DIR_PERMISSION);
|
@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) {
|
if($g5_shop_install) {
|
||||||
$dir_arr = array (
|
$dir_arr = array (
|
||||||
$data_path.'/banner',
|
$data_path.'/banner',
|
||||||
|
|||||||
+2
-1
@@ -3299,7 +3299,8 @@ function check_url_host($url, $msg='', $return_url=G5_URL, $is_redirect=false)
|
|||||||
if(!$msg)
|
if(!$msg)
|
||||||
$msg = 'url에 타 도메인을 지정할 수 없습니다.';
|
$msg = 'url에 타 도메인을 지정할 수 없습니다.';
|
||||||
|
|
||||||
$p = @parse_url($url);
|
$url = urldecode($url);
|
||||||
|
$p = @parse_url(trim($url));
|
||||||
$host = preg_replace('/:[0-9]+$/', '', $_SERVER['HTTP_HOST']);
|
$host = preg_replace('/:[0-9]+$/', '', $_SERVER['HTTP_HOST']);
|
||||||
$is_host_check = false;
|
$is_host_check = false;
|
||||||
|
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ $BANK_CODE = array(
|
|||||||
'88' => '신한은행',
|
'88' => '신한은행',
|
||||||
'89' => '케이뱅크',
|
'89' => '케이뱅크',
|
||||||
'90' => '카카오뱅크',
|
'90' => '카카오뱅크',
|
||||||
|
'92' => '토스뱅크',
|
||||||
'D1' => '동양종합금융증권',
|
'D1' => '동양종합금융증권',
|
||||||
'D2' => '현대증권',
|
'D2' => '현대증권',
|
||||||
'D3' => '미래에셋증권',
|
'D3' => '미래에셋증권',
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -94,6 +94,10 @@ if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
|
|||||||
define('SHOP_TOSSPAYMENTS_CASHRECEIPT_TEST_JS', 'http://pgweb.tosspayments.com:7085/WEB_SERVER/js/receipt_link.js');
|
define('SHOP_TOSSPAYMENTS_CASHRECEIPT_TEST_JS', 'http://pgweb.tosspayments.com:7085/WEB_SERVER/js/receipt_link.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 네이버페이를 신용카드 결제창에서 지원하고 있으므로 네이버에 직접신청하는 결제 기능을 미사용(false:기본설정) 합니다. (kagla,211019)
|
||||||
|
// 네이버에서 직접신청 결제를 사용(true)하시는 경우 모든 문제를 직접 해결해 주셔야 합니다.
|
||||||
|
define('G5_SHOP_DIRECT_NAVERPAY', false); // false 미사용(기본설정), true 사용
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// 주문상태 상수
|
// 주문상태 상수
|
||||||
define('G5_OD_STATUS_ORDER' , '입금확인중');
|
define('G5_OD_STATUS_ORDER' , '입금확인중');
|
||||||
|
|||||||
@@ -73,7 +73,9 @@ if (!class_exists('nanoSha2'))
|
|||||||
var $platform;
|
var $platform;
|
||||||
|
|
||||||
// Php 4 - 6 compatable constructor
|
// Php 4 - 6 compatable constructor
|
||||||
function nanoSha2($toUpper = false) {
|
// PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
|
||||||
|
// function nanoSha2($toUpper = false) {
|
||||||
|
function __construct($toUpper = false) {
|
||||||
// Determine if the caller wants upper case or not.
|
// Determine if the caller wants upper case or not.
|
||||||
$this->toUpper = is_bool($toUpper)
|
$this->toUpper = is_bool($toUpper)
|
||||||
? $toUpper
|
? $toUpper
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ $BANK_CODE = array(
|
|||||||
'88' => '신한은행',
|
'88' => '신한은행',
|
||||||
'89' => '케이뱅크',
|
'89' => '케이뱅크',
|
||||||
'90' => '카카오뱅크',
|
'90' => '카카오뱅크',
|
||||||
|
'92' => '토스뱅크',
|
||||||
'D1' => '동양종합금융증권',
|
'D1' => '동양종합금융증권',
|
||||||
'D2' => '현대증권',
|
'D2' => '현대증권',
|
||||||
'D3' => '미래에셋증권',
|
'D3' => '미래에셋증권',
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
if (!defined('G5_SHOP_DIRECT_NAVERPAY') || !G5_SHOP_DIRECT_NAVERPAY) return;
|
||||||
|
|
||||||
if(!$is_admin && !$default['de_card_test'] && $default['de_naverpay_test']) {
|
if(!$is_admin && !$default['de_card_test'] && $default['de_naverpay_test']) {
|
||||||
if($default['de_naverpay_mb_id'] && ($is_guest || $member['mb_id'] != $default['de_naverpay_mb_id']))
|
if($default['de_naverpay_mb_id'] && ($is_guest || $member['mb_id'] != $default['de_naverpay_mb_id']))
|
||||||
|
|||||||
@@ -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 } ?>
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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 } ?>
|
||||||
|
|
||||||
|
|||||||
@@ -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.17');
|
define('G5_GNUBOARD_VER', '5.4.20');
|
||||||
// 그누보드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