| 관련상품출력 |
diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php
index c0cc2ef09..e91235647 100644
--- a/adm/shop_admin/configformupdate.php
+++ b/adm/shop_admin/configformupdate.php
@@ -34,6 +34,7 @@ $sql = " update {$g5['g5_shop_default_table']}
de_admin_info_name = '$de_admin_info_name',
de_admin_info_email = '$de_admin_info_email',
de_root_index_use = '$de_root_index_use',
+ de_shop_layout_use = '$de_shop_layout_use',
de_shop_skin = '$de_shop_skin',
de_shop_mobile_skin = '$de_shop_mobile_skin',
de_type1_list_use = '$de_type1_list_use',
@@ -109,6 +110,7 @@ $sql = " update {$g5['g5_shop_default_table']}
de_bank_account = '$de_bank_account',
de_card_test = '$de_card_test',
de_card_use = '$de_card_use',
+ de_card_noint_use = '$de_card_noint_use',
de_card_point = '$de_card_point',
de_settle_min_point = '$de_settle_min_point',
de_settle_max_point = '$de_settle_max_point',
diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php
index a2edc1b7a..9878a9ec0 100644
--- a/adm/shop_admin/orderlist.php
+++ b/adm/shop_admin/orderlist.php
@@ -384,9 +384,14 @@ if(!sql_query(" select mb_id from {$g5['g5_shop_order_delete_table']} limit 1 ",
|
-
+
+ ]" value="" class="frm_input" size="10"> */
+ ?>
-
+
-
diff --git a/adm/shop_admin/ordermail.inc.php b/adm/shop_admin/ordermail.inc.php
index e631fd865..2dad63e5c 100644
--- a/adm/shop_admin/ordermail.inc.php
+++ b/adm/shop_admin/ordermail.inc.php
@@ -22,10 +22,10 @@ if ($od_send_mail)
where od_id = '{$od['od_id']}'
order by ct_id ";
$result = sql_query($sql);
- for ($i=0; $ct=mysql_fetch_array($result); $i++) {
- $cart_list[$i]['it_id'] = $ct['it_id'];
- $cart_list[$i]['it_name'] = $ct['it_name'];
- $cart_list[$i]['it_opt'] = $ct['ct_option'];
+ for ($j=0; $ct=mysql_fetch_array($result); $j++) {
+ $cart_list[$j]['it_id'] = $ct['it_id'];
+ $cart_list[$j]['it_name'] = $ct['it_name'];
+ $cart_list[$j]['it_opt'] = $ct['ct_option'];
$ct_status = $ct['ct_status'];
if ($ct_status == "준비") {
@@ -34,8 +34,8 @@ if ($od_send_mail)
$ct_status = "배송중";
}
- $cart_list[$i]['ct_status'] = $ct_status;
- $cart_list[$i]['ct_qty'] = $ct['ct_qty'];
+ $cart_list[$j]['ct_status'] = $ct_status;
+ $cart_list[$j]['ct_qty'] = $ct['ct_qty'];
}
diff --git a/bbs/_common.php b/bbs/_common.php
index b556cc9d3..c53246a99 100644
--- a/bbs/_common.php
+++ b/bbs/_common.php
@@ -1,3 +1,10 @@
쇼핑몰 설치 후 이용해 주십시오.');
+
+ define('_SHOP_', true);
+}
?>
\ No newline at end of file
diff --git a/bbs/qawrite_update.php b/bbs/qawrite_update.php
index 396080891..c6fde25d5 100644
--- a/bbs/qawrite_update.php
+++ b/bbs/qawrite_update.php
@@ -33,6 +33,9 @@ if (!empty($msg)) {
alert($msg);
}
+if($qa_hp)
+ $qa_hp = preg_replace('/[^0-9\-]/', '', strip_tags($qa_hp));
+
// 090710
if (substr_count($qa_content, '') > 50) {
alert('내용에 올바르지 않은 코드가 다수 포함되어 있습니다.');
diff --git a/extend/shop.extend.php b/extend/shop.extend.php
index 53f8a69d7..9a0759018 100644
--- a/extend/shop.extend.php
+++ b/extend/shop.extend.php
@@ -41,10 +41,6 @@ define('G5_DELIVERY_COMPANY',
.'(KG옐로우캡택배^http://www.yellowcap.co.kr/custom/inquiry_result.asp?invoice_no=^1588-0123)'
.'(KGB택배^http://www.kgbls.co.kr/sub5/trace.asp?f_slipno=^1577-4577)'
);
-
-define('G5_SHOP_SEARCH_SKIN', 'list.10.skin.php'); // 상품검색스킨
-define('G5_SHOP_SEARCH_MOD', 4); // 상품검색 1라인에 몇개
-define('G5_SHOP_SEARCH_ROW', 5); // 상품검색 라인수
//------------------------------------------------------------------------------
// 쇼핑몰 상수 모음 끝
//------------------------------------------------------------------------------
@@ -82,7 +78,7 @@ define('G5_OD_STATUS_FINISH' , '배송완료');
'배송완료' : 배송이 완료된 상태에서만 포인트적립이 가능합니다.
'취소' : 입금확인중이나 결제완료후 취소가 가능합니다.
'반품' : 배송완료 후에만 반품처리가 가능합니다.
-'품절' :
+'품절' :
# 13.10.04
diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql
index dbfcb56a5..5b1177987 100644
--- a/install/gnuboard5.sql
+++ b/install/gnuboard5.sql
@@ -507,7 +507,8 @@ CREATE TABLE IF NOT EXISTS `g5_memo` (
`me_send_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`me_read_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
`me_memo` text NOT NULL,
- PRIMARY KEY (`me_id`)
+ PRIMARY KEY (`me_id`),
+ KEY `me_recv_mb_id` (`me_recv_mb_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index 8e136507a..eb2ca00ea 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -194,6 +194,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_admin_info_name` varchar(255) NOT NULL DEFAULT '',
`de_admin_info_email` varchar(255) NOT NULL DEFAULT '',
`de_root_index_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_shop_layout_use` tinyint(4) NOT NULL DEFAULT '0',
`de_shop_skin` varchar(255) NOT NULL DEFAULT '',
`de_shop_mobile_skin` varchar(255) NOT NULL DEFAULT '',
`de_type1_list_use` tinyint(4) NOT NULL DEFAULT '0',
@@ -269,6 +270,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_bank_account` text NOT NULL,
`de_card_test` int(11) NOT NULL DEFAULT '0',
`de_card_use` int(11) NOT NULL DEFAULT '0',
+ `de_card_noint_use` tinyint(4) NOT NULL DEFAULT '0',
`de_card_point` int(11) NOT NULL DEFAULT '0',
`de_settle_min_point` int(11) NOT NULL DEFAULT '0',
`de_settle_max_point` int(11) NOT NULL DEFAULT '0',
diff --git a/lib/common.lib.php b/lib/common.lib.php
index 5505fedc9..6e4360f02 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1531,7 +1531,7 @@ function get_table_define($table, $crlf="\n")
$schema_create .= implode($columns, ', ') . ')';
} // end while
- $schema_create .= $crlf . ') DEFAULT CHARSET=utf8';
+ $schema_create .= $crlf . ') ENGINE=MyISAM DEFAULT CHARSET=utf8';
return $schema_create;
} // end of the 'PMA_getTableDef()' function
diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index c090de176..187f743f9 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -1092,7 +1092,10 @@ function print_item_options($it_id, $cart_id)
for($i=0; $row=sql_fetch_array($result); $i++) {
if($i == 0)
$str .= ''.PHP_EOL;
- $str .= '- '.$row['ct_option'].' '.$row['ct_qty'].'개 (+'.display_price($row['io_price']).')
'.PHP_EOL;
+ $price_plus = '';
+ if($row['io_price'] >= 0)
+ $price_plus = '+';
+ $str .= '- '.$row['ct_option'].' '.$row['ct_qty'].'개 ('.$price_plus.display_price($row['io_price']).')
'.PHP_EOL;
}
if($i > 0)
@@ -2065,6 +2068,22 @@ function save_order_point($ct_status="완료")
}
+// 배송업체 리스트 얻기
+function get_delivery_company($company)
+{
+ $option = ''.PHP_EOL;
+ $option .= ''.PHP_EOL;
+
+ $dlcomp = explode(")", str_replace("(", "", G5_DELIVERY_COMPANY));
+ for ($i=0; $i'.$value.''.PHP_EOL;
+ }
+
+ return $option;
+}
+
//==============================================================================
// 쇼핑몰 라이브러리 모음 끝
//==============================================================================
diff --git a/mobile/_head.php b/mobile/_head.php
index 6f97d69de..f85e42763 100644
--- a/mobile/_head.php
+++ b/mobile/_head.php
@@ -1,5 +1,8 @@
\ No newline at end of file
diff --git a/mobile/_tail.php b/mobile/_tail.php
index c9cb4b7c7..7cca285ef 100644
--- a/mobile/_tail.php
+++ b/mobile/_tail.php
@@ -1,5 +1,8 @@
\ No newline at end of file
diff --git a/mobile/shop/index.php b/mobile/shop/index.php
index 0186a4c9b..81620c124 100644
--- a/mobile/shop/index.php
+++ b/mobile/shop/index.php
@@ -1,9 +1,9 @@
@@ -158,5 +158,5 @@ $(function() {
\ No newline at end of file
diff --git a/mobile/shop/kcp/order_approval_form.php b/mobile/shop/kcp/order_approval_form.php
index 3d1ddfb54..54a637e7d 100644
--- a/mobile/shop/kcp/order_approval_form.php
+++ b/mobile/shop/kcp/order_approval_form.php
@@ -297,6 +297,7 @@
BC 2,3,6개월, 국민 3,6개월, 삼성 6,9개월 무이자 : CCBC-02:03:06,CCKM-03:06,CCSS-03:06:04
*/
-->
+
*/
-->
+
diff --git a/mobile/skin/qa/basic/write.skin.php b/mobile/skin/qa/basic/write.skin.php
index c7fa1e568..afd1a6ef4 100644
--- a/mobile/skin/qa/basic/write.skin.php
+++ b/mobile/skin/qa/basic/write.skin.php
@@ -63,7 +63,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
- class="frm_input" size="30">
+ class="frm_input" size="30">
> 답변등록 SMS알림 수신
@@ -166,6 +166,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
return false;
}
+
+ var hp = f.qa_hp.value.replace(/[0-9\-]/g, "");
+ if(hp.length > 0) {
+ alert("휴대폰번호는 숫자, - 으로만 입력해 주십시오.");
+ return false;
+ }
+
+
document.getElementById("btn_submit").disabled = "disabled";
return true;
diff --git a/shop/_head.php b/shop/_head.php
index dfcef8a8d..96f125286 100644
--- a/shop/_head.php
+++ b/shop/_head.php
@@ -1,4 +1,8 @@
\ No newline at end of file
diff --git a/shop/_tail.php b/shop/_tail.php
index cf2d7a276..d2327ec8a 100644
--- a/shop/_tail.php
+++ b/shop/_tail.php
@@ -1,4 +1,8 @@
\ No newline at end of file
diff --git a/shop/index.php b/shop/index.php
index 13acc7970..8dfad6637 100644
--- a/shop/index.php
+++ b/shop/index.php
@@ -8,9 +8,6 @@ if (G5_IS_MOBILE) {
define("_INDEX_", TRUE);
-include_once(G5_LIB_PATH.'/latest.lib.php');
-include_once(G5_LIB_PATH.'/poll.lib.php');
-
include_once(G5_SHOP_PATH.'/shop.head.php');
?>
diff --git a/shop/mail/ordermail.mail.php b/shop/mail/ordermail.mail.php
index 142cd0e46..4781e9306 100644
--- a/shop/mail/ordermail.mail.php
+++ b/shop/mail/ordermail.mail.php
@@ -37,11 +37,11 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
|
-
+
- |
- |
- |
+ |
+ |
+ |
diff --git a/shop/mail/orderupdate1.mail.php b/shop/mail/orderupdate1.mail.php
index d5a2f3c09..2d38c1fca 100644
--- a/shop/mail/orderupdate1.mail.php
+++ b/shop/mail/orderupdate1.mail.php
@@ -40,14 +40,14 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
상품명 |
|
|
-