상단 파일 경로
diff --git a/adm/contentformupdate.php b/adm/contentformupdate.php
index a3313bcb1..4f9786ffd 100644
--- a/adm/contentformupdate.php
+++ b/adm/contentformupdate.php
@@ -16,11 +16,12 @@ else
if ($co_himg_del) @unlink(G5_DATA_PATH."/content/{$co_id}_h");
if ($co_timg_del) @unlink(G5_DATA_PATH."/content/{$co_id}_t");
-$sql_common = " co_include_head = '$co_include_head',
- co_include_tail = '$co_include_tail',
- co_html = '$co_html',
- co_subject = '$co_subject',
- co_content = '$co_content' ";
+$sql_common = " co_include_head = '$co_include_head',
+ co_include_tail = '$co_include_tail',
+ co_html = '$co_html',
+ co_tag_filter_use = '$co_tag_filter_use',
+ co_subject = '$co_subject',
+ co_content = '$co_content' ";
if ($w == "")
{
diff --git a/bbs/content.php b/bbs/content.php
index 76082013c..a8ba46f2a 100644
--- a/bbs/content.php
+++ b/bbs/content.php
@@ -6,6 +6,11 @@ if( !isset($g5['content_table']) ){
die(' 관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.');
}
+if (G5_IS_MOBILE) {
+ include_once(G5_MOBILE_PATH.'/content.php');
+ return;
+}
+
// 내용
$sql = " select * from {$g5['content_table']} where co_id = '$co_id' ";
$co = sql_fetch($sql);
@@ -19,7 +24,7 @@ if ($co['co_include_head'])
else
include_once('./_head.php');
-$str = conv_content($co['co_content'], $co['co_html']);
+$str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);
// $src 를 $dst 로 변환
unset($src);
diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql
index bc0f35f17..6df6f7538 100644
--- a/install/gnuboard5.sql
+++ b/install/gnuboard5.sql
@@ -801,6 +801,7 @@ CREATE TABLE IF NOT EXISTS `g5_content` (
`co_html` tinyint(4) NOT NULL DEFAULT '0',
`co_subject` varchar(255) NOT NULL DEFAULT '',
`co_content` longtext NOT NULL,
+ `co_tag_filter_use` tinyint(4) NOT NULL DEFAULT '0',
`co_hit` int(11) NOT NULL DEFAULT '0',
`co_include_head` varchar(255) NOT NULL,
`co_include_tail` varchar(255) NOT NULL,
diff --git a/lib/common.lib.php b/lib/common.lib.php
index e2a52a832..80180937c 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -510,7 +510,7 @@ function conv_subject($subject, $len, $suffix='')
}
// 내용을 변환
-function conv_content($content, $html)
+function conv_content($content, $html, $filter=true)
{
global $config, $board;
@@ -536,7 +536,9 @@ function conv_content($content, $html)
}
$content = preg_replace($source, $target, $content);
- $content = html_purifier($content);
+
+ if($filter)
+ $content = html_purifier($content);
}
else // text 이면
{
diff --git a/mobile/content.php b/mobile/content.php
new file mode 100644
index 000000000..4ca181961
--- /dev/null
+++ b/mobile/content.php
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
From 3383ffbcd03096773391b394d2ccd05e0409d4ab Mon Sep 17 00:00:00 2001
From: chicpro
Date: Mon, 31 Mar 2014 13:02:07 +0900
Subject: [PATCH 19/29] =?UTF-8?q?=EC=83=81=ED=92=88=EB=B0=B0=EC=86=A1?=
=?UTF-8?q?=EB=B9=84=20=EA=B4=80=EB=A0=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95=20-=20TopSchooL=EB=8B=98=20=EC=A0=9C=EB=B3=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
adm/shop_admin/itemdelete.inc.php | 2 +-
adm/shop_admin/orderform.php | 10 ++++++
adm/shop_admin/orderformreceiptupdate.php | 8 +++--
install/gnuboard5shop.sql | 5 +++
lib/shop.lib.php | 41 +++++++++++++----------
shop/cartupdate.php | 4 +--
6 files changed, 47 insertions(+), 23 deletions(-)
diff --git a/adm/shop_admin/itemdelete.inc.php b/adm/shop_admin/itemdelete.inc.php
index c06101225..04072564e 100644
--- a/adm/shop_admin/itemdelete.inc.php
+++ b/adm/shop_admin/itemdelete.inc.php
@@ -41,7 +41,7 @@ if (!function_exists("itemdelete")) {
@unlink(G5_DATA_PATH."/item/$it_id"."_t");
// 장바구니 삭제
- $sql = " delete from {$g5['g5_shop_cart_table']} where it_id = '$it_id' ";
+ $sql = " delete from {$g5['g5_shop_cart_table']} where it_id = '$it_id' and ct_status = '쇼핑' ";
sql_query($sql);
// 이벤트삭제
diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php
index a17b63b2b..57be8d64a 100644
--- a/adm/shop_admin/orderform.php
+++ b/adm/shop_admin/orderform.php
@@ -77,6 +77,16 @@ if(!sql_query(" select ad_addr3 from {$g5['g5_shop_order_address_table']} limit
sql_query(" ALTER TABLE `{$g5['g5_shop_order_address_table']}`
ADD `ad_addr3` varchar(255) NOT NULL DEFAULT '' AFTER `ad_addr2` ", true);
}
+
+// 배송비정보 필드 cart 테이블에 추가
+if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) {
+ sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}`
+ ADD `it_sc_type` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_name`,
+ ADD `it_sc_method` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_sc_type`,
+ ADD `it_sc_price` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_method`,
+ ADD `it_sc_minimum` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_price`,
+ ADD `it_sc_qty` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_minimum` ", true);
+}
?>
diff --git a/adm/shop_admin/orderformreceiptupdate.php b/adm/shop_admin/orderformreceiptupdate.php
index be16ac70d..d7af08281 100644
--- a/adm/shop_admin/orderformreceiptupdate.php
+++ b/adm/shop_admin/orderformreceiptupdate.php
@@ -56,13 +56,17 @@ if($_POST['od_delivery_company'] && $_POST['od_invoice'] && in_array($od['od_sta
$cart_status = true;
}
+// 미수금액
+$od_misu = ( $od['od_cart_price'] - $od['od_cancel_price'] + $od_send_cost + $od_send_cost2 )
+ - ( $od['od_cart_coupon'] + $od['od_coupon'] + $od['od_send_coupon'] )
+ - ( $od['od_receipt_price'] + $od['od_receipt_point'] - $od['od_refund_price'] );
+
// 미수금 정보 등 반영
$sql = " update {$g5['g5_shop_order_table']}
- set od_misu = '{$info['od_misu']}',
+ set od_misu = '$od_misu',
od_tax_mny = '{$info['od_tax_mny']}',
od_vat_mny = '{$info['od_vat_mny']}',
od_free_mny = '{$info['od_free_mny']}',
- od_send_cost = '{$info['od_send_cost']}',
od_status = '$od_status'
where od_id = '$od_id' ";
sql_query($sql);
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index 4b51620ca..aea52a3e7 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -33,6 +33,11 @@ CREATE TABLE IF NOT EXISTS `g5_shop_cart` (
`mb_id` varchar(255) NOT NULL DEFAULT '',
`it_id` varchar(20) NOT NULL DEFAULT '',
`it_name` varchar(255) NOT NULL DEFAULT '',
+ `it_sc_type` tinyint(4) NOT NULL DEFAULT '0',
+ `it_sc_method` tinyint(4) NOT NULL DEFAULT '0',
+ `it_sc_price` int(11) NOT NULL DEFAULT '0',
+ `it_sc_minimum` int(11) NOT NULL DEFAULT '0',
+ `it_sc_qty` int(11) NOT NULL DEFAULT '0',
`ct_status` varchar(255) NOT NULL DEFAULT '',
`ct_history` text NOT NULL,
`ct_price` int(11) NOT NULL DEFAULT '0',
diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index 714e0ca80..dc5c300f7 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -1695,10 +1695,12 @@ function get_sendcost($cart_id, $selected=1)
SUM(ct_qty) as qty
from {$g5['g5_shop_cart_table']}
where it_id = '{$sc['it_id']}'
- and od_id = '$cart_id' ";
+ and od_id = '$cart_id'
+ and ct_status IN ( '쇼핑', '주문', '입금', '준비', '배송', '완료' )
+ and ct_select = '$selected'";
$sum = sql_fetch($sql);
- $send_cost = get_item_sendcost($sc['it_id'], $sum['price'], $sum['qty']);
+ $send_cost = get_item_sendcost($sc['it_id'], $sum['price'], $sum['qty'], $cart_id);
if($send_cost > 0)
$total_send_cost += $send_cost;
@@ -1727,33 +1729,36 @@ function get_sendcost($cart_id, $selected=1)
// 상품별 배송비
-function get_item_sendcost($it_id, $price, $qty)
+function get_item_sendcost($it_id, $price, $qty, $cart_id)
{
global $g5, $default;
$sql = " select it_id, it_sc_type, it_sc_method, it_sc_price, it_sc_minimum, it_sc_qty
- from {$g5['g5_shop_item_table']}
- where it_id = '$it_id' ";
- $it = sql_fetch($sql);
- if(!$it['it_id'])
+ from {$g5['g5_shop_cart_table']}
+ where it_id = '$it_id'
+ and od_id = '$cart_id'
+ order by ct_id
+ limit 1 ";
+ $ct = sql_fetch($sql);
+ if(!$ct['it_id'])
return 0;
- if($it['it_sc_type'] > 1) {
- if($it['it_sc_type'] == 2) { // 조건부무료
- if($price >= $it['it_sc_minimum'])
+ if($ct['it_sc_type'] > 1) {
+ if($ct['it_sc_type'] == 2) { // 조건부무료
+ if($price >= $ct['it_sc_minimum'])
$sendcost = 0;
else
- $sendcost = $it['it_sc_price'];
- } else if($it['it_sc_type'] == 3) { // 유료배송
- $sendcost = $it['it_sc_price'];
+ $sendcost = $ct['it_sc_price'];
+ } else if($ct['it_sc_type'] == 3) { // 유료배송
+ $sendcost = $ct['it_sc_price'];
} else { // 수량별 부과
- if(!$it['it_sc_qty'])
- $it['it_sc_qty'] = 1;
+ if(!$ct['it_sc_qty'])
+ $ct['it_sc_qty'] = 1;
- $q = ceil((int)$qty / (int)$it['it_sc_qty']);
- $sendcost = (int)$it['it_sc_price'] * $q;
+ $q = ceil((int)$qty / (int)$ct['it_sc_qty']);
+ $sendcost = (int)$ct['it_sc_price'] * $q;
}
- } else if($it['it_sc_type'] == 1) { // 무료배송
+ } else if($ct['it_sc_type'] == 1) { // 무료배송
$sendcost = 0;
} else {
$sendcost = -1;
diff --git a/shop/cartupdate.php b/shop/cartupdate.php
index dccf51b8d..a923b0bec 100644
--- a/shop/cartupdate.php
+++ b/shop/cartupdate.php
@@ -191,7 +191,7 @@ else // 장바구니에 담기
// 장바구니에 Insert
$comma = '';
$sql = " INSERT INTO {$g5['g5_shop_cart_table']}
- ( od_id, mb_id, it_id, it_name, ct_status, ct_price, ct_point, ct_point_use, ct_stock_use, ct_option, ct_qty, ct_notax, io_id, io_type, io_price, ct_time, ct_ip, ct_send_cost, ct_direct, ct_select )
+ ( od_id, mb_id, it_id, it_name, it_sc_type, it_sc_method, it_sc_price, it_sc_minimum, it_sc_qty, ct_status, ct_price, ct_point, ct_point_use, ct_stock_use, ct_option, ct_qty, ct_notax, io_id, io_type, io_price, ct_time, ct_ip, ct_send_cost, ct_direct, ct_select )
VALUES ";
for($k=0; $k<$opt_count; $k++) {
@@ -254,7 +254,7 @@ else // 장바구니에 담기
else if($it['it_sc_type'] > 1 && $it['it_sc_method'] == 1)
$ct_send_cost = 1; // 착불
- $sql .= $comma."( '$tmp_cart_id', '{$member['mb_id']}', '{$it['it_id']}', '".addslashes($it['it_name'])."', '쇼핑', '{$it['it_price']}', '$point', '0', '0', '$io_value', '$ct_qty', '{$it['it_notax']}', '$io_id', '$io_type', '$io_price', '".G5_TIME_YMDHIS."', '$REMOTE_ADDR', '$ct_send_cost', '$sw_direct', '$ct_select' )";
+ $sql .= $comma."( '$tmp_cart_id', '{$member['mb_id']}', '{$it['it_id']}', '".addslashes($it['it_name'])."', '{$it['it_sc_type']}', '{$it['it_sc_method']}', '{$it['it_sc_price']}', '{$it['it_sc_minimum']}', '{$it['it_sc_qty']}', '쇼핑', '{$it['it_price']}', '$point', '0', '0', '$io_value', '$ct_qty', '{$it['it_notax']}', '$io_id', '$io_type', '$io_price', '".G5_TIME_YMDHIS."', '$REMOTE_ADDR', '$ct_send_cost', '$sw_direct', '$ct_select' )";
$comma = ' , ';
$ct_count++;
}
From 3889e0235160b190be4f46c5b7e9b0aa0ab6ebb9 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Mon, 31 Mar 2014 13:27:30 +0900
Subject: [PATCH 20/29] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?=
=?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=ED=95=84=EB=93=9C=20=EB=B3=80?=
=?UTF-8?q?=EA=B2=BD=20=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=B6=94?=
=?UTF-8?q?=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
adm/shop_admin/orderform.php | 10 ---------
orderupgrade.php | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 10 deletions(-)
create mode 100644 orderupgrade.php
diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php
index 57be8d64a..a17b63b2b 100644
--- a/adm/shop_admin/orderform.php
+++ b/adm/shop_admin/orderform.php
@@ -77,16 +77,6 @@ if(!sql_query(" select ad_addr3 from {$g5['g5_shop_order_address_table']} limit
sql_query(" ALTER TABLE `{$g5['g5_shop_order_address_table']}`
ADD `ad_addr3` varchar(255) NOT NULL DEFAULT '' AFTER `ad_addr2` ", true);
}
-
-// 배송비정보 필드 cart 테이블에 추가
-if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) {
- sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}`
- ADD `it_sc_type` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_name`,
- ADD `it_sc_method` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_sc_type`,
- ADD `it_sc_price` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_method`,
- ADD `it_sc_minimum` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_price`,
- ADD `it_sc_qty` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_minimum` ", true);
-}
?>
diff --git a/orderupgrade.php b/orderupgrade.php
new file mode 100644
index 000000000..14a84ceca
--- /dev/null
+++ b/orderupgrade.php
@@ -0,0 +1,39 @@
+
\ No newline at end of file
From 4ae1d1a34596782ca21e6188e1c6bcf4945a07f7 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Mon, 31 Mar 2014 13:33:10 +0900
Subject: [PATCH 21/29] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?=
=?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EB=B3=80=EA=B2=BD=20=ED=94=84?=
=?UTF-8?q?=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=99=84=EB=A3=8C=20=EB=AC=B8?=
=?UTF-8?q?=EA=B5=AC=20=EC=B6=94=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
orderupgrade.php | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/orderupgrade.php b/orderupgrade.php
index 14a84ceca..3c5914002 100644
--- a/orderupgrade.php
+++ b/orderupgrade.php
@@ -4,6 +4,9 @@ include_once('./_common.php');
if($is_admin != 'super')
alert('최고관리자로 로그인 후 실행해 주십시오.', G5_URL);
+$g5['title'] = '장바구니 테이블 업그레이드';
+include_once(G5_PATH.'/head.sub.php');
+
// 배송비정보 필드 cart 테이블에 추가
if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}`
@@ -29,11 +32,15 @@ if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", fa
$sql = " update {$g5['g5_shop_cart_table']}
set it_sc_type = '{$it['it_sc_type']}',
it_sc_method = '{$it['it_sc_method']}',
- it_sc_price = '{$it['it_sc_price']},
+ it_sc_price = '{$it['it_sc_price']}',
it_sc_minimum = '{$it['it_sc_minimum']}',
it_sc_qty = '{$it['it_sc_qty']}'
where ct_id = '{$row['ct_id']}' ";
sql_query($sql);
}
+
+ echo '장바구니 테이블 업그레이드 완료!
';
}
+
+include_once(G5_PATH.'/tail.sub.php');
?>
\ No newline at end of file
From afc4e4536f287d48b454fc1e2bbe3eb767d3b991 Mon Sep 17 00:00:00 2001
From: SIR
Date: Mon, 31 Mar 2014 13:47:30 +0900
Subject: [PATCH 22/29] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EC=9E=90?=
=?UTF-8?q?=EB=8F=99=EC=A0=80=EC=9E=A5=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
js/autosave.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/autosave.js b/js/autosave.js
index e1f1815fc..7c867e1a1 100644
--- a/js/autosave.js
+++ b/js/autosave.js
@@ -7,9 +7,9 @@ var save_wr_content = null;
function autosave() {
$("form#fwrite").each(function() {
- if (g5_editor=="ckeditor4" && typeof(CKEDITOR.instances.wr_content)!="undefined") {
+ if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") {
this.wr_content.value = CKEDITOR.instances.wr_content.getData();
- } else if (g5_editor=="cheditor5" && typeof(ed_wr_content)!="undefined") {
+ } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") {
this.wr_content.value = ed_wr_content.outputBodyHTML();
}
// 변수에 저장해 놓은 값과 다를 경우에만 임시 저장함
@@ -75,9 +75,9 @@ $(function(){
var subject = $(data).find("item").find("subject").text();
var content = $(data).find("item").find("content").text();
$("#wr_subject").val(subject);
- if (g5_editor=="ckeditor4" && typeof(CKEDITOR.instances.wr_content)!="undefined") {
+ if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") {
CKEDITOR.instances.wr_content.setData(content);
- } else if (g5_editor=="cheditor5" && typeof(ed_wr_content)!="undefined") {
+ } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") {
ed_wr_content.putContents(content);
} else {
$("#fwrite #wr_content").val(content);
From d0391b5f298453a6517884f3fa8ad1c53e62b499 Mon Sep 17 00:00:00 2001
From: SIR
Date: Mon, 31 Mar 2014 13:47:56 +0900
Subject: [PATCH 23/29] =?UTF-8?q?cheditor=20=EB=B2=84=EC=A0=84=EC=97=90=20?=
=?UTF-8?q?=EA=B4=80=EA=B3=84=EC=97=86=EC=9D=B4=20=ED=8F=AC=ED=95=A8?=
=?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index df481935e..4183301b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,5 +6,5 @@ sirgle/
test.php
*.key
*.sh
-cheditor5/
+cheditor*/
ckeditor43/
From b03949626e036a72e29d69581bc6011e41d3bc86 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Tue, 1 Apr 2014 09:54:08 +0900
Subject: [PATCH 24/29] =?UTF-8?q?1:1=EB=AC=B8=EC=9D=98=20=EB=A9=94?=
=?UTF-8?q?=EC=9D=BC=20=EB=B0=9C=EC=86=A1=20=EC=98=A4=EB=A5=98=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bbs/qawrite_update.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bbs/qawrite_update.php b/bbs/qawrite_update.php
index c7fa45225..d6819dc8c 100644
--- a/bbs/qawrite_update.php
+++ b/bbs/qawrite_update.php
@@ -323,7 +323,7 @@ if($w == 'a' && $write['qa_email_recv'] && trim($write['qa_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 답변 알림 메일';
- $content = conv_content($qa_content, $qa_html);
+ $content = nl2br(conv_unescape_nl($qa_content));
mailer($config['cf_title'], $admin['mb_email'], $write['qa_email'], $subject, $content, 1);
}
@@ -333,9 +333,9 @@ if(($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 질문 알림 메일';
- $content = conv_content($qa_content, $qa_html);
+ $content = nl2br(conv_unescape_nl($qa_content));
- mailer($config['cf_title'], $write['qa_email'], $qaconfig['qa_admin_email'], $subject, $content, 1);
+ mailer($config['cf_title'], $qa_email, $qaconfig['qa_admin_email'], $subject, $content, 1);
}
if($w == 'a')
From 6818e9f66127e994e7ce611c8f2d0b8802d5f0be Mon Sep 17 00:00:00 2001
From: chicpro
Date: Tue, 1 Apr 2014 14:53:07 +0900
Subject: [PATCH 25/29] =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=94=EB=93=9C=20?=
=?UTF-8?q?=EC=9A=94=EA=B8=88=EC=A0=9C=20=ED=91=9C=EC=8B=9C=EB=90=98?=
=?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
adm/sms_admin/config.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/adm/sms_admin/config.php b/adm/sms_admin/config.php
index 0bd8be13d..2c4ddc277 100644
--- a/adm/sms_admin/config.php
+++ b/adm/sms_admin/config.php
@@ -11,7 +11,7 @@ if (!$config['cf_icode_server_port']) $config['cf_icode_server_port'] = '7295';
if ($config['cf_icode_id'] && $config['cf_icode_pw'])
{
- $res = get_sock("http://www.icodekorea.com/res/userinfo.php?userid=".$config['cf_icode_id']."&userpw=".$config['cf_icode_pw']);
+ $res = get_sock('http://www.icodekorea.com/res/userinfo.php?userid='.$config['cf_icode_id'].'&userpw='.$config['cf_icode_pw']);
$res = explode(';', $res);
$userinfo = array(
'code' => $res[0], // 결과코드
From 23fb25fc17fb1866b385faae56e9d800e2b4a443 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Tue, 1 Apr 2014 18:02:44 +0900
Subject: [PATCH 26/29] =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=94=EB=93=9C=20?=
=?UTF-8?q?=EC=9A=94=EA=B8=88=EC=A0=95=EB=B3=B4=20=ED=91=9C=EC=8B=9C=20?=
=?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
adm/sms_admin/config.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/adm/sms_admin/config.php b/adm/sms_admin/config.php
index 0bd8be13d..2c4ddc277 100644
--- a/adm/sms_admin/config.php
+++ b/adm/sms_admin/config.php
@@ -11,7 +11,7 @@ if (!$config['cf_icode_server_port']) $config['cf_icode_server_port'] = '7295';
if ($config['cf_icode_id'] && $config['cf_icode_pw'])
{
- $res = get_sock("http://www.icodekorea.com/res/userinfo.php?userid=".$config['cf_icode_id']."&userpw=".$config['cf_icode_pw']);
+ $res = get_sock('http://www.icodekorea.com/res/userinfo.php?userid='.$config['cf_icode_id'].'&userpw='.$config['cf_icode_pw']);
$res = explode(';', $res);
$userinfo = array(
'code' => $res[0], // 결과코드
From 53636a34538b2147b97c3dbd280a36a918278a8c Mon Sep 17 00:00:00 2001
From: whitedot
Date: Tue, 1 Apr 2014 18:18:04 +0900
Subject: [PATCH 27/29] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20input=20se?=
=?UTF-8?q?lect=20label=20=EC=A4=91=EC=8B=AC=20=EB=A7=88=ED=81=AC=EC=97=85?=
=?UTF-8?q?=20=EC=A0=95=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bbs/move.php | 2 +-
bbs/new.php | 2 +-
install/install_config.php | 18 +++++++++---------
skin/board/basic/list.skin.php | 2 +-
skin/board/basic/view_comment.skin.php | 8 ++++----
skin/board/basic/write.skin.php | 2 +-
skin/board/gallery/view_comment.skin.php | 4 ++--
skin/board/gallery/write.skin.php | 4 ++--
skin/new/basic/new.skin.php | 2 +-
skin/qa/basic/list.skin.php | 2 +-
10 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/bbs/move.php b/bbs/move.php
index 7dcd73164..8756ced7b 100644
--- a/bbs/move.php
+++ b/bbs/move.php
@@ -61,7 +61,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
- 게시판 전체
+ 현재 페이지 게시판 전체
게시판
diff --git a/bbs/new.php b/bbs/new.php
index 66a10188b..5c9919e1e 100644
--- a/bbs/new.php
+++ b/bbs/new.php
@@ -33,7 +33,7 @@ $total_page = ceil($total_count / $rows); // 전체 페이지 계산
if (!$page) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 열을 구함
-$group_select = '전체그룹';
+$group_select = '그룹 전체그룹';
$sql = " select gr_id, gr_subject from {$g5['group_table']} order by gr_id ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
diff --git a/install/install_config.php b/install/install_config.php
index f173379b5..14d37fa5e 100644
--- a/install/install_config.php
+++ b/install/install_config.php
@@ -29,31 +29,31 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
- Host
+ Host
- User
+ User
- Password
+ Password
- DB
+ DB
- TABLE명 접두사
+ TABLE명 접두사
가능한 변경하지 마십시오.
@@ -70,25 +70,25 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
- 회원 ID
+ 회원 ID
- 비밀번호
+ 비밀번호
- 이름
+ 이름
- E-mail
+ E-mail
diff --git a/skin/board/basic/list.skin.php b/skin/board/basic/list.skin.php
index e4f16f056..a8b915359 100644
--- a/skin/board/basic/list.skin.php
+++ b/skin/board/basic/list.skin.php
@@ -181,7 +181,7 @@ add_stylesheet(' ', 0
>글쓴이(코)
검색어 필수
-
+
diff --git a/skin/board/basic/view_comment.skin.php b/skin/board/basic/view_comment.skin.php
index ffe660b87..89991ee1e 100644
--- a/skin/board/basic/view_comment.skin.php
+++ b/skin/board/basic/view_comment.skin.php
@@ -106,12 +106,12 @@ var char_max = parseInt(); // 최대
- 이름필수
- ">
+ 이름 필수
+ " id="wr_name" required class="frm_input required" size="5" maxLength="20">
- 비밀번호필수
-
+ 비밀번호 필수
+
diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php
index 837133208..f0e7e91e8 100644
--- a/skin/board/basic/write.skin.php
+++ b/skin/board/basic/write.skin.php
@@ -149,7 +149,7 @@ add_stylesheet(' ', 0
파일 #
-
+
diff --git a/skin/board/gallery/view_comment.skin.php b/skin/board/gallery/view_comment.skin.php
index ffe660b87..894b74a13 100644
--- a/skin/board/gallery/view_comment.skin.php
+++ b/skin/board/gallery/view_comment.skin.php
@@ -107,11 +107,11 @@ var char_max = parseInt(); // 최대
이름필수
- ">
+ ">
비밀번호필수
-
+
diff --git a/skin/board/gallery/write.skin.php b/skin/board/gallery/write.skin.php
index 837133208..898489957 100644
--- a/skin/board/gallery/write.skin.php
+++ b/skin/board/gallery/write.skin.php
@@ -59,14 +59,14 @@ add_stylesheet(' ', 0
- 이름필수
+ 이름 필수
- 비밀번호필수
+ 비밀번호 필수
class="frm_input " maxlength="20">
diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php
index da1e31a75..ac4dea303 100644
--- a/skin/new/basic/new.skin.php
+++ b/skin/new/basic/new.skin.php
@@ -75,7 +75,7 @@ add_stylesheet(' ', 0);
번
-
+
diff --git a/skin/qa/basic/list.skin.php b/skin/qa/basic/list.skin.php
index cd1a6dbb4..a06532b6b 100644
--- a/skin/qa/basic/list.skin.php
+++ b/skin/qa/basic/list.skin.php
@@ -125,7 +125,7 @@ add_stylesheet(' ', 0);
From b85a7959164ceb20786cf4381712d3261ef91405 Mon Sep 17 00:00:00 2001
From: chicpro
Date: Wed, 2 Apr 2014 09:16:55 +0900
Subject: [PATCH 28/29] =?UTF-8?q?=EC=83=81=ED=92=88=EC=A1=B0=ED=9A=8C?=
=?UTF-8?q?=EC=88=98=20=EA=B4=80=EB=A0=A8=20=EC=BF=A0=ED=82=A4=20=EC=BD=94?=
=?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mobile/shop/item.php | 2 +-
shop/item.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mobile/shop/item.php b/mobile/shop/item.php
index 7ed5b2b78..f905d1d77 100644
--- a/mobile/shop/item.php
+++ b/mobile/shop/item.php
@@ -54,7 +54,7 @@ if (!$saved) {
// 오늘 본 상품 저장 끝
// 조회수 증가
-if ($_COOKIE['ck_it_id'] != $it_id) {
+if (get_cookie('ck_it_id') != $it_id) {
sql_query(" update {$g5['g5_shop_item_table']} set it_hit = it_hit + 1 where it_id = '$it_id' "); // 1증가
set_cookie("ck_it_id", $it_id, time() + 3600); // 1시간동안 저장
}
diff --git a/shop/item.php b/shop/item.php
index 266b66e0f..137b8648f 100644
--- a/shop/item.php
+++ b/shop/item.php
@@ -52,7 +52,7 @@ if (!$saved) {
// 오늘 본 상품 저장 끝
// 조회수 증가
-if ($_COOKIE['ck_it_id'] != $it_id) {
+if (get_cookie('ck_it_id') != $it_id) {
sql_query(" update {$g5['g5_shop_item_table']} set it_hit = it_hit + 1 where it_id = '$it_id' "); // 1증가
set_cookie("ck_it_id", $it_id, time() + 3600); // 1시간동안 저장
}
From 13cdf776f5da0d27d502796b50886d4a5dad4543 Mon Sep 17 00:00:00 2001
From: whitedot
Date: Wed, 2 Apr 2014 10:54:19 +0900
Subject: [PATCH 29/29] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20input=20se?=
=?UTF-8?q?lect=20label=20=EC=A4=91=EC=8B=AC=20=EB=A7=88=ED=81=AC=EC=97=85?=
=?UTF-8?q?=20=EC=A0=95=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
adm/auth_list.php | 6 +++---
adm/board_list.php | 4 ++--
adm/boardgroup_form.php | 4 ++--
adm/boardgroup_list.php | 18 +++++++++---------
adm/boardgroupmember_form.php | 5 ++++-
adm/boardgroupmember_list.php | 16 +++++++---------
adm/config_form.php | 8 ++++----
adm/css/admin.css | 1 +
adm/mail_list.php | 3 ++-
adm/mail_select_form.php | 12 +++++++-----
adm/member_form.php | 25 +++++++++++++++----------
adm/member_list.php | 9 +++++----
adm/menu_form.php | 6 +++---
adm/menu_form_search.php | 4 ++--
adm/menu_list.php | 4 ++--
adm/newwinform.php | 18 +++++++++---------
adm/point_list.php | 5 +++--
adm/poll_list.php | 8 ++++++--
adm/popular_list.php | 8 ++++++--
adm/qa_config.php | 12 ++++++------
adm/sendmail_test.php | 2 +-
adm/sms_admin/ajax.sms_write_person.php | 2 +-
adm/sms_admin/config.php | 6 +++---
adm/sms_admin/form_group.php | 2 +-
adm/sms_admin/form_write.php | 6 +++---
adm/sms_admin/history_view.php | 2 +-
adm/sms_admin/num_book.php | 4 ++--
adm/sms_admin/num_book_file.php | 4 ++--
adm/sms_admin/num_book_write.php | 8 ++++----
adm/sms_admin/num_group.php | 4 ++--
adm/sms_admin/sms_write.php | 3 +--
adm/visit_delete.php | 4 ++--
32 files changed, 121 insertions(+), 102 deletions(-)
diff --git a/adm/auth_list.php b/adm/auth_list.php
index c0b3269ef..0ec71cc8e 100644
--- a/adm/auth_list.php
+++ b/adm/auth_list.php
@@ -81,7 +81,7 @@ $colspan = 5;
- 전체
+ 현재 페이지 회원 전체
회원아이디
@@ -179,13 +179,13 @@ echo $pagelist;
회원아이디필수
-
+
접근가능메뉴필수
-
- 게시판 제목
+ 게시판 제목 필수
diff --git a/adm/boardgroup_form.php b/adm/boardgroup_form.php
index 755c26c3c..c27e27178 100644
--- a/adm/boardgroup_form.php
+++ b/adm/boardgroup_form.php
@@ -59,7 +59,7 @@ include_once('./admin.head.php');
- 그룹 제목필수
+ 그룹 제목 필수
- 그룹 관리자
+ 그룹 관리자
diff --git a/adm/boardgroupmember_form.php b/adm/boardgroupmember_form.php
index 9e63df5d6..01df7dcfa 100644
--- a/adm/boardgroupmember_form.php
+++ b/adm/boardgroupmember_form.php
@@ -79,7 +79,10 @@ $colspan = 4;
$s_del = '삭제 ';
?>
-
+
+ 그룹
+
+
diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php
index 2c2653631..9c3852ccf 100644
--- a/adm/boardgroupmember_list.php
+++ b/adm/boardgroupmember_list.php
@@ -57,15 +57,13 @@ $colspan = 7;
- 회원탈퇴후 삭제일
+ 회원탈퇴후 삭제일
일 후 자동 삭제
회원아이콘 사용
-
+
>미사용
>아이콘만 표시
>아이콘+이름 표시
@@ -1070,7 +1070,7 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) {
아이코드 비밀번호
-
+
diff --git a/adm/css/admin.css b/adm/css/admin.css
index b432a1ac4..2b6ac82de 100644
--- a/adm/css/admin.css
+++ b/adm/css/admin.css
@@ -338,6 +338,7 @@ tfoot td {font-weight:bold;text-align:center}
/* 공통 */
.td_addr {text-align:left !important}
+.td_addr_line {line-height:2em}
.td_amount {width:70px;text-align:center}
.td_auth {width:100px;text-align:center}
.td_auth_mbnick {width:200px}
diff --git a/adm/mail_list.php b/adm/mail_list.php
index 783004d10..727f4cf9c 100644
--- a/adm/mail_list.php
+++ b/adm/mail_list.php
@@ -62,7 +62,8 @@ $colspan = 7;
-
+ 메일
+
diff --git a/adm/mail_select_form.php b/adm/mail_select_form.php
index fa8013ae8..8aebfd80e 100644
--- a/adm/mail_select_form.php
+++ b/adm/mail_select_form.php
@@ -44,7 +44,7 @@ include_once('./admin.head.php');