Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0645b8b2f4 | ||
|
|
3197f43be6 | ||
|
|
4bbaef4162 | ||
|
|
d08fc856df | ||
|
|
41e3c23f9e | ||
|
|
fdd2d30f4e | ||
|
|
13bc72def7 | ||
|
|
2457055514 | ||
|
|
258f94e597 | ||
|
|
6660a4adc1 | ||
|
|
eef8f32efe | ||
|
|
fd7121a215 | ||
|
|
3999b86f9f | ||
|
|
7ab46223b5 | ||
|
|
b4891ab773 | ||
|
|
480fb98b32 |
No files matched your search
@@ -9,4 +9,6 @@ if (!defined('G5_USE_SHOP') || !G5_USE_SHOP)
|
|||||||
include_once(G5_ADMIN_PATH.'/admin.lib.php');
|
include_once(G5_ADMIN_PATH.'/admin.lib.php');
|
||||||
include_once('./admin.shop.lib.php');
|
include_once('./admin.shop.lib.php');
|
||||||
|
|
||||||
|
run_event('admin_common');
|
||||||
|
|
||||||
check_order_inicis_tmps();
|
check_order_inicis_tmps();
|
||||||
@@ -4,15 +4,14 @@ include_once('./_common.php');
|
|||||||
if ($is_guest)
|
if ($is_guest)
|
||||||
alert('로그인 한 회원만 접근하실 수 있습니다.', G5_BBS_URL.'/login.php');
|
alert('로그인 한 회원만 접근하실 수 있습니다.', G5_BBS_URL.'/login.php');
|
||||||
|
|
||||||
/*
|
|
||||||
if ($url)
|
|
||||||
$urlencode = urlencode($url);
|
|
||||||
else
|
|
||||||
$urlencode = urlencode($_SERVER[REQUEST_URI]);
|
|
||||||
*/
|
|
||||||
|
|
||||||
$url = isset($_GET['url']) ? clean_xss_tags($_GET['url']) : '';
|
$url = isset($_GET['url']) ? clean_xss_tags($_GET['url']) : '';
|
||||||
|
|
||||||
|
while (1) {
|
||||||
|
$tmp = preg_replace('/&#[^;]+;/', '', $url);
|
||||||
|
if ($tmp == $url) break;
|
||||||
|
$url = $tmp;
|
||||||
|
}
|
||||||
|
|
||||||
//소셜 로그인 한 경우
|
//소셜 로그인 한 경우
|
||||||
if( function_exists('social_member_comfirm_redirect') && (! $url || $url === 'register_form.php' || (function_exists('social_is_edit_page') && social_is_edit_page($url) ) ) ){
|
if( function_exists('social_member_comfirm_redirect') && (! $url || $url === 'register_form.php' || (function_exists('social_is_edit_page') && social_is_edit_page($url) ) ) ){
|
||||||
social_member_comfirm_redirect();
|
social_member_comfirm_redirect();
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ for ($i=1; $i<=$upload_count; $i++) {
|
|||||||
$shuffle = implode('', $chars_array);
|
$shuffle = implode('', $chars_array);
|
||||||
|
|
||||||
// 첨부파일 첨부시 첨부파일명에 공백이 포함되어 있으면 일부 PC에서 보이지 않거나 다운로드 되지 않는 현상이 있습니다. (길상여의 님 090925)
|
// 첨부파일 첨부시 첨부파일명에 공백이 포함되어 있으면 일부 PC에서 보이지 않거나 다운로드 되지 않는 현상이 있습니다. (길상여의 님 090925)
|
||||||
$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.replace_filename($filename);
|
$upload[$i]['file'] = md5(sha1($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.replace_filename($filename);
|
||||||
|
|
||||||
$dest_file = G5_DATA_PATH.'/qa/'.$upload[$i]['file'];
|
$dest_file = G5_DATA_PATH.'/qa/'.$upload[$i]['file'];
|
||||||
|
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ if(isset($_FILES['bf_file']['name']) && is_array($_FILES['bf_file']['name'])) {
|
|||||||
$shuffle = implode('', $chars_array);
|
$shuffle = implode('', $chars_array);
|
||||||
|
|
||||||
// 첨부파일 첨부시 첨부파일명에 공백이 포함되어 있으면 일부 PC에서 보이지 않거나 다운로드 되지 않는 현상이 있습니다. (길상여의 님 090925)
|
// 첨부파일 첨부시 첨부파일명에 공백이 포함되어 있으면 일부 PC에서 보이지 않거나 다운로드 되지 않는 현상이 있습니다. (길상여의 님 090925)
|
||||||
$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.replace_filename($filename);
|
$upload[$i]['file'] = md5(sha1($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.replace_filename($filename);
|
||||||
|
|
||||||
$dest_file = G5_DATA_PATH.'/file/'.$bo_table.'/'.$upload[$i]['file'];
|
$dest_file = G5_DATA_PATH.'/file/'.$bo_table.'/'.$upload[$i]['file'];
|
||||||
|
|
||||||
|
|||||||
@@ -752,7 +752,7 @@ box-shadow: 1px 2px 2px #eee;}
|
|||||||
#sod_frm_taker .tbl_frm01 .choice_place input[type="radio"] + label span {top:7px}
|
#sod_frm_taker .tbl_frm01 .choice_place input[type="radio"] + label span {top:7px}
|
||||||
#sod_frm_taker .tbl_frm01 .choice_place input,
|
#sod_frm_taker .tbl_frm01 .choice_place input,
|
||||||
#sod_frm_taker .tbl_frm01 .choice_place label {margin-left:10px}
|
#sod_frm_taker .tbl_frm01 .choice_place label {margin-left:10px}
|
||||||
#sod_frm_taker .tbl_frm01 .btn_frmline {width:80px;height:30px;line-height:28px;background:#fff;border:1px solid #d4d6db;color:#606060;text-align:center;float:right}
|
#sod_frm_taker .tbl_frm01 .btn_frmline {padding:0;width:80px;height:30px;line-height:28px;background:#fff;border:1px solid #d4d6db;color:#606060;text-align:center;float:right}
|
||||||
|
|
||||||
#sod_frm_taker .tbl_frm01 td input {width:100%}
|
#sod_frm_taker .tbl_frm01 td input {width:100%}
|
||||||
#sod_frm_taker .tbl_frm01 td .addr input {width:20%}
|
#sod_frm_taker .tbl_frm01 td .addr input {width:20%}
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ header("Pragma: no-cache"); // HTTP/1.0
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<?php
|
<?php
|
||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
echo '<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10">'.PHP_EOL;
|
echo '<meta name="viewport" id="meta_viewport" content="width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10">'.PHP_EOL;
|
||||||
echo '<meta name="HandheldFriendly" content="true">'.PHP_EOL;
|
echo '<meta name="HandheldFriendly" content="true">'.PHP_EOL;
|
||||||
echo '<meta name="format-detection" content="telephone=no">'.PHP_EOL;
|
echo '<meta name="format-detection" content="telephone=no">'.PHP_EOL;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -373,6 +373,10 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 핀치 줌 현상 제거
|
||||||
|
var vContent = "width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10";
|
||||||
|
$("#meta_viewport").attr("content", vContent + ",user-scalable=no");
|
||||||
|
|
||||||
var zip_case = 1; //0이면 레이어, 1이면 페이지에 끼워 넣기, 2이면 새창
|
var zip_case = 1; //0이면 레이어, 1이면 페이지에 끼워 넣기, 2이면 새창
|
||||||
|
|
||||||
var complete_fn = function(data){
|
var complete_fn = function(data){
|
||||||
@@ -418,6 +422,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
|
|||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
$("#meta_viewport").attr("content", vContent);
|
||||||
of[frm_addr2].focus();
|
of[frm_addr2].focus();
|
||||||
} , 100);
|
} , 100);
|
||||||
};
|
};
|
||||||
@@ -435,6 +440,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
|
|||||||
jQuery('form[name="'+frm_name+'"]').find('input[name="'+frm_addr1+'"]').before(element_wrap);
|
jQuery('form[name="'+frm_name+'"]').find('input[name="'+frm_addr1+'"]').before(element_wrap);
|
||||||
jQuery("#"+daum_pape_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){
|
jQuery("#"+daum_pape_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
$("#meta_viewport").attr("content", vContent);
|
||||||
jQuery(this).parent().hide();
|
jQuery(this).parent().hide();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -478,6 +484,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j
|
|||||||
document.body.appendChild(element_layer);
|
document.body.appendChild(element_layer);
|
||||||
jQuery("#"+rayer_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){
|
jQuery("#"+rayer_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
$("#meta_viewport").attr("content", vContent);
|
||||||
jQuery(this).parent().hide();
|
jQuery(this).parent().hide();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -159,7 +159,7 @@ jQuery(function($){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#sit_tot_price").empty().html("<span>총 금액 </span><strong>"+number_format(String(total))+"</strong> 원");
|
$("#sit_tot_price").empty().html("<span>총 금액 :</span><strong>"+number_format(String(total))+"</strong> 원");
|
||||||
|
|
||||||
$("#sit_tot_price").trigger("price_calculate", [total]);
|
$("#sit_tot_price").trigger("price_calculate", [total]);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -3076,6 +3076,9 @@ function get_search_string($stx)
|
|||||||
// XSS 관련 태그 제거
|
// XSS 관련 태그 제거
|
||||||
function clean_xss_tags($str, $check_entities=0, $is_remove_tags=0, $cur_str_len=0)
|
function clean_xss_tags($str, $check_entities=0, $is_remove_tags=0, $cur_str_len=0)
|
||||||
{
|
{
|
||||||
|
// space, tab('\t'), formfeed('\f'), vertical tab('\v'), newline('\n'), carriage return('\r') 를 제거한다.
|
||||||
|
$str = preg_replace('#[[:space:]]#', '', $str);
|
||||||
|
|
||||||
if( $is_remove_tags ){
|
if( $is_remove_tags ){
|
||||||
$str = strip_tags($str);
|
$str = strip_tags($str);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipi
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
|
$desc_name = '';
|
||||||
|
$desc_phone = '';
|
||||||
if ($config['cf_cert_use']) {
|
if ($config['cf_cert_use']) {
|
||||||
$desc_name = ' - 본인확인 시 자동입력';
|
$desc_name = ' - 본인확인 시 자동입력';
|
||||||
$desc_phone = ' - 본인확인 시 자동입력';
|
$desc_phone = ' - 본인확인 시 자동입력';
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function make_mp3()
|
|||||||
$mp3s[] = $file;
|
$mp3s[] = $file;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ip = sprintf("%u", ip2long($_SERVER['REMOTE_ADDR']));
|
$ip = md5(sha1($_SERVER['REMOTE_ADDR']));
|
||||||
$mp3_file = 'cache/kcaptcha-'.$ip.'_'.G5_SERVER_TIME.'.mp3';
|
$mp3_file = 'cache/kcaptcha-'.$ip.'_'.G5_SERVER_TIME.'.mp3';
|
||||||
|
|
||||||
$contents = '';
|
$contents = '';
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipi
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
|
$desc_name = '';
|
||||||
|
$desc_phone = '';
|
||||||
if ($config['cf_cert_use']) {
|
if ($config['cf_cert_use']) {
|
||||||
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||||
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ foreach((array) $list as $row){
|
|||||||
|
|
||||||
if ($i >= 1) echo "</ul>\n";
|
if ($i >= 1) echo "</ul>\n";
|
||||||
|
|
||||||
if($i === 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
if ($i === 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||||
?>
|
?>
|
||||||
<!-- } 상품진열 10 끝 -->
|
<!-- } 상품진열 10 끝 -->
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ $(function (){
|
|||||||
$(this).parent("div").children(".sct_sns_wrap").show();
|
$(this).parent("div").children(".sct_sns_wrap").show();
|
||||||
});
|
});
|
||||||
$('.sct_sns_bg, .sct_sns_cls').click(function(){
|
$('.sct_sns_bg, .sct_sns_cls').click(function(){
|
||||||
$('.sct_sns_wrap').hide();
|
$('.sct_sns_wrap').hide();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@@ -36,9 +36,9 @@ foreach((array) $list as $row){
|
|||||||
$list_right_pad = 10;
|
$list_right_pad = 10;
|
||||||
$list_bottom_pad = 20;
|
$list_bottom_pad = 20;
|
||||||
$list_left_pad = $this->img_width + 10;
|
$list_left_pad = $this->img_width + 10;
|
||||||
$list_real_width = 360;
|
$list_real_width = 389;
|
||||||
$list_width = $list_real_width - $list_right_pad - $list_left_pad;
|
$list_width = $list_real_width;
|
||||||
$list_height = $this->img_height - $list_top_pad - $list_bottom_pad;
|
$list_height = $this->img_height;
|
||||||
|
|
||||||
echo "<li class=\"sct_li{$sct_last}\" data-css=\"nocss\" style=\"padding:{$list_top_pad}px {$list_right_pad}px {$list_bottom_pad}px {$list_left_pad}px;width:{$list_width}px;height:{$list_height}px\">\n";
|
echo "<li class=\"sct_li{$sct_last}\" data-css=\"nocss\" style=\"padding:{$list_top_pad}px {$list_right_pad}px {$list_bottom_pad}px {$list_left_pad}px;width:{$list_width}px;height:{$list_height}px\">\n";
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ foreach((array) $list as $row){
|
|||||||
echo "<div class=\"sct_cost\">\n";
|
echo "<div class=\"sct_cost\">\n";
|
||||||
|
|
||||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||||
echo "<span class=\"sct_dict\">".display_price($row['it_cust_price'])."</span>\n";
|
echo "<span class=\"sct_dict\">".display_price($row['it_cust_price'])."</span>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_price) {
|
if ($this->view_it_price) {
|
||||||
@@ -114,4 +114,16 @@ if ($i >= 1) echo "</ul>\n";
|
|||||||
|
|
||||||
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||||
?>
|
?>
|
||||||
<!-- } 상품진열 12 끝 -->
|
<!-- } 상품진열 30 끝 -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
//SNS 공유
|
||||||
|
$(function (){
|
||||||
|
$(".btn_share").on("click", function() {
|
||||||
|
$(this).parent("div").children(".sct_sns_wrap").show();
|
||||||
|
});
|
||||||
|
$('.sct_sns_bg, .sct_sns_cls').click(function(){
|
||||||
|
$('.sct_sns_wrap').hide();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
@@ -9,43 +9,41 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
|||||||
|
|
||||||
<!-- 상품진열 40 시작 { -->
|
<!-- 상품진열 40 시작 { -->
|
||||||
<?php
|
<?php
|
||||||
$i=0;
|
$i = 0;
|
||||||
|
|
||||||
|
$this->view_star = (method_exists($this, 'view_star')) ? $this->view_star : true;
|
||||||
|
|
||||||
foreach((array) $list as $row){
|
foreach((array) $list as $row){
|
||||||
|
|
||||||
if( empty($row) ) continue;
|
if( empty($row) ) continue;
|
||||||
$i++;
|
|
||||||
|
|
||||||
$item_link_href = shop_item_url($row['it_id']);
|
$item_link_href = shop_item_url($row['it_id']); // 상품링크
|
||||||
$star_score = $row['it_use_avg'] ? (int) get_star($row['it_use_avg']) : '';
|
$star_score = $row['it_use_avg'] ? (int) get_star($row['it_use_avg']) : ''; //사용자후기 평균별점
|
||||||
|
$list_mod = $this->list_mod; // 분류관리에서 1줄당 이미지 수 값 또는 파일에서 지정한 가로 수
|
||||||
|
$is_soldout = is_soldout($row['it_id'], true); // 품절인지 체크
|
||||||
|
|
||||||
if ($list_mod >= 2) { // 1줄 이미지 : 2개 이상
|
$classes = array();
|
||||||
if ($i%$list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막
|
|
||||||
else if ($i%$list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
|
$classes[] = 'col-row-'.$list_mod;
|
||||||
else $sct_last = '';
|
|
||||||
} else { // 1줄 이미지 : 1개
|
if( $i && ($i % $list_mod == 0) ){
|
||||||
$sct_last = ' sct_clear';
|
$classes[] = 'row-clear';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$i++; // 변수 i 를 증가
|
||||||
|
|
||||||
if ($i == 1) {
|
if ($i == 1) {
|
||||||
if ($this->css) {
|
if ($this->css) {
|
||||||
echo "<ul class=\"{$this->css}\">\n";
|
echo "<ul class=\"{$this->css}\">\n";
|
||||||
} else {
|
} else {
|
||||||
echo "<ul class=\"sct sct_40\">\n";
|
echo "<ul class=\"sct sct_40\">\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//$list_top_pad = 20;
|
echo "<li class=\"sct_li ".implode(' ', $classes)."\" data-css=\"nocss\" style=\"height:auto\">\n";
|
||||||
//$list_right_pad = 10;
|
echo "<div class=\"sct_img\">\n";
|
||||||
//$list_bottom_pad = 20;
|
|
||||||
//$list_left_pad = $this->img_width + 10;
|
|
||||||
//$list_real_width = 740;
|
|
||||||
//$list_width = $list_real_width - $list_right_pad - $list_left_pad;
|
|
||||||
//$list_height = $this->img_height - $list_top_pad - $list_bottom_pad;
|
|
||||||
|
|
||||||
echo "<li class=\"sct_li{$sct_last}\" data-css=\"nocss\">\n";
|
|
||||||
|
|
||||||
if ($this->href) {
|
if ($this->href) {
|
||||||
echo "<div class=\"sct_img\"><a href=\"{$item_link_href}\" class=\"sct_a\">\n";
|
echo "<a href=\"{$item_link_href}\">\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_img) {
|
if ($this->view_it_img) {
|
||||||
@@ -53,11 +51,30 @@ foreach((array) $list as $row){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->href) {
|
if ($this->href) {
|
||||||
echo "</a></div>\n";
|
echo "</a>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_icon) {
|
if ( !$is_soldout ){ // 품절 상태가 아니면 출력합니다.
|
||||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
echo "<div class=\"sct_btn list-10-btn\">
|
||||||
|
<button type=\"button\" class=\"btn_cart sct_cart\" data-it_id=\"{$row['it_id']}\"><i class=\"fa fa-shopping-cart\" aria-hidden=\"true\"></i> 장바구니</button>\n";
|
||||||
|
echo "</div>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "<div class=\"cart-layer\"></div>\n";
|
||||||
|
|
||||||
|
if ($this->view_it_icon) {
|
||||||
|
// 품절
|
||||||
|
if ($is_soldout) {
|
||||||
|
echo '<span class="shop_icon_soldout"><span class="soldout_txt">SOLD OUT</span></span>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo "</div>\n";
|
||||||
|
|
||||||
|
echo "<div class=\"sct_ct_wrap\">\n";
|
||||||
|
|
||||||
|
// 사용후기 평점표시
|
||||||
|
if ($this->view_star && $star_score) {
|
||||||
|
echo "<div class=\"sct_star\"><span class=\"sound_only\">고객평점</span><img src=\"".G5_SHOP_URL."/img/s_star".$star_score.".png\" alt=\"별점 ".$star_score."점\" class=\"sit_star\"></div>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_id) {
|
if ($this->view_it_id) {
|
||||||
@@ -65,7 +82,7 @@ foreach((array) $list as $row){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->href) {
|
if ($this->href) {
|
||||||
echo "<div class=\"sct_txt\"><a href=\"{$item_link_href}\" class=\"sct_a\">\n";
|
echo "<div class=\"sct_txt\"><a href=\"{$item_link_href}\">\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_name) {
|
if ($this->view_it_name) {
|
||||||
@@ -76,62 +93,73 @@ foreach((array) $list as $row){
|
|||||||
echo "</a></div>\n";
|
echo "</a></div>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_basic && $row['it_basic']) {
|
if ($this->view_it_basic && $row['it_basic']) {
|
||||||
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
|
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_cust_price || $this->view_it_price) {
|
echo "<div class=\"sct_bottom\">\n";
|
||||||
|
|
||||||
echo "<div class=\"sct_cost\">\n";
|
if ($this->view_it_cust_price || $this->view_it_price) {
|
||||||
|
|
||||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
echo "<div class=\"sct_cost\">\n";
|
||||||
echo "<span class=\"sct_dict\">".display_price($row['it_cust_price'])."</span>\n";
|
if ($this->view_it_price) {
|
||||||
|
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
|
||||||
|
}
|
||||||
|
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||||
|
echo "<span class=\"sct_dict\">".display_price($row['it_cust_price'])."</span>\n";
|
||||||
|
}
|
||||||
|
echo "</div>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->view_it_price) {
|
// 위시리스트 + 공유 버튼 시작
|
||||||
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
|
echo "<div class=\"sct_op_btn\">\n";
|
||||||
|
echo "<button type=\"button\" class=\"btn_wish\" data-it_id=\"{$row['it_id']}\"><span class=\"sound_only\">위시리스트</span><i class=\"fa fa-heart-o\" aria-hidden=\"true\"></i></button>\n";
|
||||||
|
if ($this->view_sns) {
|
||||||
|
echo "<button type=\"button\" class=\"btn_share\"><span class=\"sound_only\">공유하기</span><i class=\"fa fa-share-alt\" aria-hidden=\"true\"></i></button>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</div>\n";
|
echo "<div class=\"sct_sns_wrap\">";
|
||||||
|
if ($this->view_sns) {
|
||||||
|
$sns_top = $this->img_height + 10;
|
||||||
|
$sns_url = $item_link_href;
|
||||||
|
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||||
|
echo "<div class=\"sct_sns\">";
|
||||||
|
echo "<h3>SNS 공유</h3>";
|
||||||
|
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/facebook.png');
|
||||||
|
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/twitter.png');
|
||||||
|
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/gplus.png');
|
||||||
|
echo "<button type=\"button\" class=\"sct_sns_cls\"><span class=\"sound_only\">닫기</span><i class=\"fa fa-times\" aria-hidden=\"true\"></i></button>";
|
||||||
|
echo "</div>\n";
|
||||||
|
}
|
||||||
|
echo "<div class=\"sct_sns_bg\"></div>";
|
||||||
|
echo "</div></div>\n";
|
||||||
|
// 위시리스트 + 공유 버튼 끝
|
||||||
|
|
||||||
}
|
echo "</div>";
|
||||||
|
|
||||||
|
if ($this->view_it_icon) {
|
||||||
|
echo "<div class=\"sit_icon_li\">".item_icon($row)."</div>\n";
|
||||||
|
}
|
||||||
|
|
||||||
echo "<div class=\"\">
|
|
||||||
<button type=\"button\" class=\"\" data-it_id=\"{$row['it_id']}\"><i class=\"fa fa-shopping-cart\" aria-hidden=\"true\"></i> 장바구니</button>\n";
|
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
||||||
// 위시리스트 + 공유 버튼 시작
|
|
||||||
echo "<div class=\"sct_op_btn\">\n";
|
|
||||||
echo "<button type=\"button\" class=\"btn_wish\" data-it_id=\"{$row['it_id']}\"><span class=\"sound_only\">위시리스트</span><i class=\"fa fa-heart-o\" aria-hidden=\"true\"></i></button>\n";
|
|
||||||
if ($this->view_sns) {
|
|
||||||
echo "<button type=\"button\" class=\"btn_share\"><span class=\"sound_only\">공유하기</span><i class=\"fa fa-share-alt\" aria-hidden=\"true\"></i></button>\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "<div class=\"sct_sns_wrap\">";
|
|
||||||
if ($this->view_sns) {
|
|
||||||
$sns_top = $this->img_height + 10;
|
|
||||||
$sns_url = $item_link_href;
|
|
||||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
|
||||||
echo "<div class=\"sct_sns\">";
|
|
||||||
echo "<h3>SNS 공유</h3>";
|
|
||||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/facebook.png');
|
|
||||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/twitter.png');
|
|
||||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/gplus.png');
|
|
||||||
echo "<button type=\"button\" class=\"sct_sns_cls\"><span class=\"sound_only\">닫기</span><i class=\"fa fa-times\" aria-hidden=\"true\"></i></button>";
|
|
||||||
echo "</div>\n";
|
|
||||||
}
|
|
||||||
echo "<div class=\"sct_sns_bg\"></div>";
|
|
||||||
echo "</div></div>\n";
|
|
||||||
// 위시리스트 + 공유 버튼 끝
|
|
||||||
|
|
||||||
// 관련상품
|
|
||||||
echo "<div class=\"sct_rel\">".relation_item($row['it_id'], 70, 0, 5)."</div>\n";
|
|
||||||
|
|
||||||
echo "</li>\n";
|
echo "</li>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($i >= 1) echo "</ul>\n";
|
if ($i >= 1) echo "</ul>\n";
|
||||||
|
|
||||||
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
if ($i === 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||||
?>
|
?>
|
||||||
<!-- } 상품진열13 끝 -->
|
<!-- } 상품진열 40 끝 -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
//SNS 공유
|
||||||
|
$(function (){
|
||||||
|
$(".btn_share").on("click", function() {
|
||||||
|
$(this).parent("div").children(".sct_sns_wrap").show();
|
||||||
|
});
|
||||||
|
$('.sct_sns_bg, .sct_sns_cls').click(function(){
|
||||||
|
$('.sct_sns_wrap').hide();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
@@ -265,7 +265,7 @@
|
|||||||
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
|
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
|
||||||
|
|
||||||
.sct_40 .sct_img {text-align:center;float:left;margin-right:20px}
|
.sct_40 .sct_img {text-align:center;float:left;margin-right:20px}
|
||||||
.sct_40 .sct_img a {display:block}
|
.sct_40 .sct_img a {display:block;position:relative;z-index: 9999;}
|
||||||
.sct_40 .sct_cart {position:absolute;right:0;bottom:0;border:0;width:150px;padding:15px 0;background:#000;background:rgba(0,0,0,0.5);color:#fff;font-size:1em;font-weight:bold;z-index:99999}
|
.sct_40 .sct_cart {position:absolute;right:0;bottom:0;border:0;width:150px;padding:15px 0;background:#000;background:rgba(0,0,0,0.5);color:#fff;font-size:1em;font-weight:bold;z-index:99999}
|
||||||
.sct_40 .list-10-btn .sct_cart{z-index:1;top:40px;right:10px;bottom:initial;padding:8px 0;width:140px;border:1px solid #1c70e9;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
|
.sct_40 .list-10-btn .sct_cart{z-index:1;top:40px;right:10px;bottom:initial;padding:8px 0;width:140px;border:1px solid #1c70e9;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
|
||||||
.sct_40 .list-10-btn .sct_cart:hover {background:#2375eb}
|
.sct_40 .list-10-btn .sct_cart:hover {background:#2375eb}
|
||||||
|
|||||||
@@ -743,7 +743,7 @@ box-shadow: 1px 2px 2px #eee;}
|
|||||||
#sod_frm_taker .tbl_frm01 .choice_place input[type="radio"] + label span {top:7px}
|
#sod_frm_taker .tbl_frm01 .choice_place input[type="radio"] + label span {top:7px}
|
||||||
#sod_frm_taker .tbl_frm01 .choice_place input,
|
#sod_frm_taker .tbl_frm01 .choice_place input,
|
||||||
#sod_frm_taker .tbl_frm01 .choice_place label {margin-left:10px}
|
#sod_frm_taker .tbl_frm01 .choice_place label {margin-left:10px}
|
||||||
#sod_frm_taker .tbl_frm01 .btn_frmline {width:80px;height:30px;line-height:28px;background:#fff;border:1px solid #d4d6db;color:#606060;text-align:center;float:right}
|
#sod_frm_taker .tbl_frm01 .btn_frmline {padding:0;width:80px;height:30px;line-height:28px;background:#fff;border:1px solid #d4d6db;color:#606060;text-align:center;float:right}
|
||||||
|
|
||||||
#sod_frm_taker .tbl_frm01 td input {width:100%}
|
#sod_frm_taker .tbl_frm01 td input {width:100%}
|
||||||
#sod_frm_taker .tbl_frm01 td .addr input {width:20%}
|
#sod_frm_taker .tbl_frm01 td .addr input {width:20%}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ header("Pragma: no-cache"); // HTTP/1.0
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<?php
|
<?php
|
||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
echo '<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10,user-scalable=yes">'.PHP_EOL;
|
echo '<meta name="viewport" id="meta_viewport" content="width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10">'.PHP_EOL;
|
||||||
echo '<meta name="HandheldFriendly" content="true">'.PHP_EOL;
|
echo '<meta name="HandheldFriendly" content="true">'.PHP_EOL;
|
||||||
echo '<meta name="format-detection" content="telephone=no">'.PHP_EOL;
|
echo '<meta name="format-detection" content="telephone=no">'.PHP_EOL;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipi
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
|
$desc_name = '';
|
||||||
|
$desc_phone = '';
|
||||||
if ($config['cf_cert_use']) {
|
if ($config['cf_cert_use']) {
|
||||||
$desc_name = ' - 본인확인 시 자동입력';
|
$desc_name = ' - 본인확인 시 자동입력';
|
||||||
$desc_phone = ' - 본인확인 시 자동입력';
|
$desc_phone = ' - 본인확인 시 자동입력';
|
||||||
|
|||||||
@@ -53,7 +53,9 @@ if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipi
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<?php
|
<?php
|
||||||
if ($config['cf_cert_use']) {
|
$desc_name = '';
|
||||||
|
$desc_phone = '';
|
||||||
|
if ($config['cf_cert_use']) {
|
||||||
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||||
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||||
|
|
||||||
|
|||||||
@@ -266,7 +266,7 @@
|
|||||||
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
|
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
|
||||||
|
|
||||||
.sct_40 .sct_img {text-align:center;float:left;margin-right:20px}
|
.sct_40 .sct_img {text-align:center;float:left;margin-right:20px}
|
||||||
.sct_40 .sct_img a {display:block}
|
.sct_40 .sct_img a {display:block;position:relative;z-index: 9999;}
|
||||||
.sct_40 .sct_cart {position:absolute;right:0;bottom:0;border:0;width:150px;padding:15px 0;background:#000;background:rgba(0,0,0,0.5);color:#fff;font-size:1em;font-weight:bold;z-index:99999}
|
.sct_40 .sct_cart {position:absolute;right:0;bottom:0;border:0;width:150px;padding:15px 0;background:#000;background:rgba(0,0,0,0.5);color:#fff;font-size:1em;font-weight:bold;z-index:99999}
|
||||||
.sct_40 .list-10-btn .sct_cart{z-index:1;top:40px;right:10px;bottom:initial;padding:8px 0;width:140px;border:1px solid #1c70e9;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
|
.sct_40 .list-10-btn .sct_cart{z-index:1;top:40px;right:10px;bottom:initial;padding:8px 0;width:140px;border:1px solid #1c70e9;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
|
||||||
.sct_40 .list-10-btn .sct_cart:hover {background:#2375eb}
|
.sct_40 .list-10-btn .sct_cart:hover {background:#2375eb}
|
||||||
|
|||||||
+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.5.6');
|
define('G5_GNUBOARD_VER', '5.5.7');
|
||||||
// 그누보드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