diff --git a/adm/shop_admin/itemform.php b/adm/shop_admin/itemform.php
index f76bbc76f..a9ac190ed 100644
--- a/adm/shop_admin/itemform.php
+++ b/adm/shop_admin/itemform.php
@@ -582,7 +582,7 @@ $(function(){
상품선택옵션 |
-
+ 옵션명과 옵션항목에 따옴표(\', ")는 입력할 수 없습니다.'); ?>
상품선택옵션 입력
@@ -740,7 +740,7 @@ $(function(){
| 상품추가옵션 |
-
+ 옵션명과 옵션항목에 따옴표(\', ")는 입력할 수 없습니다.'); ?>
상품추가옵션 입력
@@ -1013,6 +1013,13 @@ $(function(){
$(function() {
@@ -1047,6 +1054,13 @@ $(function(){
var type = $(this).val();
switch(type) {
+ case "1":
+ $("#sc_con_method").hide();
+ $("#sc_con_basic").hide();
+ $("#sc_con_minimum").hide();
+ $("#sc_con_qty").hide();
+ $("#sc_grp").attr("rowspan","1");
+ break;
case "2":
$("#sc_con_method").show();
$("#sc_con_basic").show();
@@ -1069,11 +1083,11 @@ $(function(){
$("#sc_grp").attr("rowspan","4");
break;
default:
- $("#sc_con_method").hide();
+ $("#sc_con_method").show();
$("#sc_con_basic").hide();
$("#sc_con_minimum").hide();
$("#sc_con_qty").hide();
- $("#sc_grp").attr("rowspan","1");
+ $("#sc_grp").attr("rowspan","2");
break;
}
});
diff --git a/adm/shop_admin/itemoption.php b/adm/shop_admin/itemoption.php
index 98cef6300..a078a46c4 100644
--- a/adm/shop_admin/itemoption.php
+++ b/adm/shop_admin/itemoption.php
@@ -14,13 +14,13 @@ if($it['it_id']) {
if(mysql_num_rows($result))
$po_run = true;
} else if(!empty($_POST)) {
- $opt1_subject = trim($_POST['opt1_subject']);
- $opt2_subject = trim($_POST['opt2_subject']);
- $opt3_subject = trim($_POST['opt3_subject']);
+ $opt1_subject = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt1_subject'])));
+ $opt2_subject = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt2_subject'])));
+ $opt3_subject = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt3_subject'])));
- $opt1_val = trim($_POST['opt1']);
- $opt2_val = trim($_POST['opt2']);
- $opt3_val = trim($_POST['opt3']);
+ $opt1_val = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt1'])));
+ $opt2_val = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt2'])));
+ $opt3_val = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['opt3'])));
if(!$opt1_subject || !$opt1_val) {
echo '옵션1과 옵션1 항목을 입력해 주십시오.';
diff --git a/adm/shop_admin/itemsupply.php b/adm/shop_admin/itemsupply.php
index 41b8e32bc..4b018e980 100644
--- a/adm/shop_admin/itemsupply.php
+++ b/adm/shop_admin/itemsupply.php
@@ -84,12 +84,12 @@ if($ps_run) {
} // for
} else {
for($i=0; $i<$subject_count; $i++) {
- $spl_subject = trim($_POST['subject'][$i]);
- $spl_val = explode(',', trim($_POST['supply'][$i]));
+ $spl_subject = preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['subject'][$i])));
+ $spl_val = explode(',', preg_replace('/[\'\"]/', '', trim(stripslashes($_POST['supply'][$i]))));
$spl_count = count($spl_val);
for($j=0; $j<$spl_count; $j++) {
- $spl = trim($spl_val[$j]);
+ $spl = strip_tags(trim($spl_val[$j]));
if($spl_subject && $spl) {
$spl_id = $spl_subject.chr(30).$spl;
$spl_price = 0;
diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php
index dddbff657..78b49cdb0 100644
--- a/bbs/write_comment_update.php
+++ b/bbs/write_comment_update.php
@@ -218,20 +218,17 @@ if ($w == 'c') // 댓글 입력
// 최고관리자에게 보내는 메일
if ($config['cf_email_wr_super_admin']) $array_email[] = $super_admin['mb_email'];
- // 옵션에 메일받기가 체크되어 있고, 게시자의 메일이 있다면
- if (strstr($wr['wr_option'], 'mail') && $wr['wr_email']) {
- // 원글 메일발송에 체크가 되어 있다면
- if ($config['cf_email_wr_write']) $array_email[] = $wr['wr_email'];
+ // 원글게시자에게 보내는 메일
+ if ($config['cf_email_wr_write']) $array_email[] = $wr['wr_email'];
- // 댓글 쓴 모든이에게 메일 발송이 되어 있다면 (자신에게는 발송하지 않는다)
- if ($config['cf_email_wr_comment_all']) {
- $sql = " select distinct wr_email from {$write_table}
- where wr_email not in ( '{$wr['wr_email']}', '{$member['mb_email']}', '' )
- and wr_parent = '$wr_id' ";
- $result = sql_query($sql);
- while ($row=sql_fetch_array($result))
- $array_email[] = $row['wr_email'];
- }
+ // 댓글 쓴 모든이에게 메일 발송이 되어 있다면 (자신에게는 발송하지 않는다)
+ if ($config['cf_email_wr_comment_all']) {
+ $sql = " select distinct wr_email from {$write_table}
+ where wr_email not in ( '{$wr['wr_email']}', '{$member['mb_email']}', '' )
+ and wr_parent = '$wr_id' ";
+ $result = sql_query($sql);
+ while ($row=sql_fetch_array($result))
+ $array_email[] = $row['wr_email'];
}
// 중복된 메일 주소는 제거
diff --git a/bbs/write_update.php b/bbs/write_update.php
index 9ac58e347..0b71d3306 100644
--- a/bbs/write_update.php
+++ b/bbs/write_update.php
@@ -604,22 +604,18 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
// 최고관리자에게 보내는 메일
if ($config['cf_email_wr_super_admin']) $array_email[] = $super_admin['mb_email'];
- // 옵션에 메일받기가 체크되어 있고, 게시자의 메일이 있다면
- if (strstr($wr['wr_option'], 'mail') && $wr['wr_email']) {
- // 원글 메일발송에 체크가 되어 있다면
- if ($config['cf_email_wr_write']) $array_email[] = $wr['wr_email'];
+ // 원글게시자에게 보내는 메일
+ if ($config['cf_email_wr_write']) {
+ if($w == '')
+ $wr['wr_email'] = $wr_email;
- // 코멘트 쓴 모든이에게 메일 발송이 되어 있다면 (자신에게는 발송하지 않는다)
- if ($config['cf_email_wr_comment_all']) {
- $sql = " select distinct wr_email from {$write_table}
- where wr_email not in ( '{$wr['wr_email']}', '{$member['mb_email']}', '' )
- and wr_parent = '{$wr_id}' ";
- $result = sql_query($sql);
- while ($row=sql_fetch_array($result))
- $array_email[] = $row['wr_email'];
- }
+ $array_email[] = $wr['wr_email'];
}
+ // 옵션에 메일받기가 체크되어 있고, 게시자의 메일이 있다면
+ if (strstr($wr['wr_option'], 'mail') && $wr['wr_email'])
+ $array_email[] = $wr['wr_email'];
+
// 중복된 메일 주소는 제거
$unique_email = array_unique($array_email);
$unique_email = array_values($unique_email);
diff --git a/css/default.css b/css/default.css
index e82bcebe1..9a9b550ca 100644
--- a/css/default.css
+++ b/css/default.css
@@ -25,29 +25,31 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
/* 상단 레이아웃 */
#hd {z-index:10;position:relative;min-width:970px;background:#fff}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
-#hd_wrapper {position:relative;margin:0 auto;width:970px}
+#hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:970px;zoom:1}
+#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}
-#logo {padding:26px 0}
+#logo {float:left;padding:5px 0 0}
/* 전체 검색 */
-#hd_sch {position:absolute;top:22px;left:170px;margin:0;padding:0;border:1px solid #c3c6ca}
+#hd_sch {float:left;margin:0 0 0 20px;padding:0;border:1px solid #c3c6ca}
#hd_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#hd_sch #sch_stx {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
#hd_sch #sch_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer}
-#tnb {position:absolute;top:18px;right:0;margin:0;padding:0;list-style:none;zoom:1}
-#tnb:after {display:block;visibility:hidden;clear:both;content:""}
-#tnb li {float:left;margin:0 0 0 10px}
-#tnb a {display:inline-block;padding:5px 10px;color:#333;letter-spacing:-0.1em;line-height:2em}
-#tnb a:focus, #tnb a:hover, #tnb a:active {text-decoration:none}
-#tnb img {margin-right:3px}
-
/* 텍스트 크기 조절 */
-#text_size {position:absolute;top:21px;left:340px;margin:0 0 10px;letter-spacing:-3px}
-#text_size button {margin:0;padding:2px 2px 1px;border:1px solid #c3c6ca;background:transparent;vertical-align:middle;cursor:pointer}
+#text_size {float:left;margin:0 0 0 10px;letter-spacing:-3px}
+#text_size button {margin:0;padding:1px 2px;border:1px solid #c3c6ca;background:transparent;vertical-align:middle;cursor:pointer}
.ts_up {font-size:1.167em !important}
.ts_up2 {font-size:1.3em !important}
+/* 상단 회원가입 등 링크 */
+#tnb {float:right;margin:0;padding:0;list-style:none;zoom:1}
+#tnb:after {display:block;visibility:hidden;clear:both;content:""}
+#tnb li {float:left;margin:0 0 0 10px}
+#tnb a {display:inline-block;padding:0 10px;height:28px;color:#333;letter-spacing:-0.1em;line-height:2.4em}
+#tnb a:focus, #tnb a:hover, #tnb a:active {text-decoration:none}
+#tnb img {margin-right:3px}
+
/* gnb js off */
#gnb {position:relative;margin:-1px 0 0;border-top:1px dotted #dde4e9;border-bottom:1px solid #dde4e9;background:#ecf0f7}
#gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
diff --git a/head.php b/head.php
index 5a18ce906..1bb7a7cc2 100644
--- a/head.php
+++ b/head.php
@@ -74,6 +74,13 @@ if (G5_IS_MOBILE) {
+
+
@@ -93,13 +100,6 @@ if (G5_IS_MOBILE) {
- 쇼핑몰
-
-
diff --git a/mobile/shop/event.php b/mobile/shop/event.php
index b8cc1f51e..bd4920c06 100644
--- a/mobile/shop/event.php
+++ b/mobile/shop/event.php
@@ -26,8 +26,6 @@ if ($sort != "")
else
$order_by = 'b.it_order, b.it_id desc';
-$error = " ";
-
if ($skin)
$ev['ev_skin'] = $skin;
@@ -66,14 +64,7 @@ if (file_exists($list_file))
}
else
{
- $i = 0;
- $error = "{$ev['ev_mobile_skin']} 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다.";
-}
-
-if ($i==0)
-{
- echo " ";
- echo " $error ";
+ echo ''.$ev['ev_mobile_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/mobile/shop/list.php b/mobile/shop/list.php
index 5f91336b9..cd30fc749 100644
--- a/mobile/shop/list.php
+++ b/mobile/shop/list.php
@@ -77,13 +77,7 @@ include_once(G5_MSHOP_PATH.'/_head.php');
}
else
{
- $i = 0;
- $error = ''.$ca['ca_mobile_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
- }
-
- if ($i==0)
- {
- echo ''.$error.' ';
+ echo ''.$ca['ca_mobile_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/mobile/shop/listtype.php b/mobile/shop/listtype.php
index 286ea0aa0..c0a9c28ff 100644
--- a/mobile/shop/listtype.php
+++ b/mobile/shop/listtype.php
@@ -28,8 +28,6 @@ if ($sort != '')
else
$order_by = 'it_order, it_id desc';
-$error = ' ';
-
if (!$skin)
$skin = 'list.10.skin.php';
@@ -62,14 +60,7 @@ if (file_exists($list_file)) {
}
else
{
- $i = 0;
- $error = "$skin 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다.";
-}
-
-if ($i==0)
-{
- echo " ";
- echo " $error ";
+ echo ''.$skin.' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/mobile/skin/member/basic/style.css b/mobile/skin/member/basic/style.css
index e23da9c93..bac7dcbd4 100644
--- a/mobile/skin/member/basic/style.css
+++ b/mobile/skin/member/basic/style.css
@@ -103,7 +103,7 @@
/* 아이디/비밀번호 찾기 */
#find_info #info_fs {margin:0 20px 10px}
-#find_info #info_fs p {padding:0 0 10px}
+#find_info #info_fs p {margin:0 0 10px;line-height:1.8em}
#find_info #info_fs #mb_email {width:100%}
#find_info #captcha {margin:0 20px;padding:0 0 10px}
#find_info #captcha input {margin-left:5px}
diff --git a/mobile/skin/shop/basic/item.form.skin.php b/mobile/skin/shop/basic/item.form.skin.php
index 6765cc929..8ef470703 100644
--- a/mobile/skin/shop/basic/item.form.skin.php
+++ b/mobile/skin/shop/basic/item.form.skin.php
@@ -145,14 +145,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
1) {
+ else {
if($it['it_sc_method'] == 1)
$sc_method = '수령후 지불';
else if($it['it_sc_method'] == 2) {
diff --git a/shop/event.php b/shop/event.php
index 65ac095d3..13964d702 100644
--- a/shop/event.php
+++ b/shop/event.php
@@ -40,8 +40,6 @@ if ($sort != "")
else
$order_by = 'b.it_order, b.it_id desc';
-$error = " ";
-
if ($skin)
$ev['ev_skin'] = $skin;
@@ -82,14 +80,7 @@ if (file_exists($list_file))
}
else
{
- $i = 0;
- $error = "{$ev['ev_skin']} 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다.";
-}
-
-if ($i==0)
-{
- echo " ";
- echo " $error ";
+ echo ''.$ev['ev_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/shop/list.php b/shop/list.php
index c5a9ab3e0..a083d0adb 100644
--- a/shop/list.php
+++ b/shop/list.php
@@ -99,13 +99,7 @@ var itemlist_ca_id = "";
}
else
{
- $i = 0;
- $error = ''.$ca['ca_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
- }
-
- if ($i==0)
- {
- echo ''.$error.' ';
+ echo ''.$ca['ca_skin'].' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/shop/listtype.php b/shop/listtype.php
index 3f422c53b..5cfdb2a89 100644
--- a/shop/listtype.php
+++ b/shop/listtype.php
@@ -33,8 +33,6 @@ if ($sort != '')
else
$order_by = 'it_order, it_id desc';
-$error = ' ';
-
if (!$skin)
$skin = 'list.10.skin.php';
@@ -73,14 +71,7 @@ if (file_exists($list_file)) {
}
else
{
- $i = 0;
- $error = "$skin 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다.";
-}
-
-if ($i==0)
-{
- echo " ";
- echo " $error ";
+ echo ''.$skin.' 파일을 찾을 수 없습니다. 관리자에게 알려주시면 감사하겠습니다. ';
}
?>
diff --git a/skin/member/basic/style.css b/skin/member/basic/style.css
index ba15d7c44..6d8ca2cb6 100644
--- a/skin/member/basic/style.css
+++ b/skin/member/basic/style.css
@@ -111,6 +111,8 @@
/* 아이디/비밀번호 찾기 */
#find_info #mb_hp_label {display:inline-block;margin-left:10px}
#find_info #info_fs {margin:0 20px 20px;padding:0;background:#fff}
+#find_info #info_fs .frm_input {width:70%}
+#find_info p {margin:0 0 10px;line-height:1.8em}
#find_info #captcha {margin:0 20px}
/* 로그인 */
diff --git a/skin/shop/basic/item.form.skin.php b/skin/shop/basic/item.form.skin.php
index f978dd22d..62e57282c 100644
--- a/skin/shop/basic/item.form.skin.php
+++ b/skin/shop/basic/item.form.skin.php
@@ -158,14 +158,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
1) {
+ else {
if($it['it_sc_method'] == 1)
$sc_method = '수령후 지불';
else if($it['it_sc_method'] == 2) {
| |