diff --git a/adm/board_list.php b/adm/board_list.php
index 1ab007b9e..a0c4fcd12 100644
--- a/adm/board_list.php
+++ b/adm/board_list.php
@@ -167,7 +167,6 @@ $colspan = 15;
- 게시판추가
diff --git a/adm/member_list.php b/adm/member_list.php
index e866a0dec..12b8b2a3e 100644
--- a/adm/member_list.php
+++ b/adm/member_list.php
@@ -131,9 +131,9 @@ $colspan = 15;
별명 |
상태/권한 |
전화번호 |
+ 메일 인증 |
메일 수신 |
정보 공개 |
- 메일 인증 |
본인 확인 |
성인 인증 |
접근 차단 |
@@ -211,14 +211,14 @@ $colspan = 15;
|
- Yes':'No'; ?> |
- Yes':'No'; ?> |
Yes':'No'; ?> |
- Yes':'No'; ?> |
- Yes':'No'; ?> |
+ value="1"> |
+ value="1"> |
+ value="1"> |
+ value="1"> |
- value="" id="mb_intercept_date_" title="">
+ value="" id="mb_intercept_date_" title="">
|
|
@@ -235,7 +235,6 @@ $colspan = 15;
diff --git a/adm/member_list_update.php b/adm/member_list_update.php
index a64979f4c..23aea4b1f 100644
--- a/adm/member_list_update.php
+++ b/adm/member_list_update.php
@@ -28,7 +28,11 @@ if ($_POST['act_button'] == "선택수정") {
} else {
$sql = " update {$g4['member_table']}
set mb_level = '{$_POST['mb_level'][$k]}',
- mb_intercept_date = '{$_POST['mb_intercept_date'][$k]}'
+ mb_intercept_date = '{$_POST['mb_intercept_date'][$k]}',
+ mb_mailling = '{$_POST['mb_mailling'][$k]}',
+ mb_open = '{$_POST['mb_open'][$k]}',
+ mb_hp_certify = '{$_POST['mb_hp_certify'][$k]}',
+ mb_adult = '{$_POST['mb_adult'][$k]}'
where mb_id = '{$_POST['mb_id'][$k]}' ";
sql_query($sql);
}
diff --git a/adm/shop_admin/item_copy.php b/adm/shop_admin/item_copy.php
index 072dcc7bf..d47bd2628 100644
--- a/adm/shop_admin/item_copy.php
+++ b/adm/shop_admin/item_copy.php
@@ -34,9 +34,9 @@ include_once(G4_PATH.'/head.sub.php');
function _copy(link)
{
var new_it_id = document.getElementById('new_it_id').value;
- var t_it_id = new_it_id.replace(/[A-Za-z0-9\-]/g, "");
+ var t_it_id = new_it_id.replace(/[A-Za-z0-9\-_]/g, "");
if(t_it_id.length > 0) {
- alert("상품코드는 영문자, 숫자, - 만 사용할 수 있습니다.");
+ alert("상품코드는 영문자, 숫자, -, _ 만 사용할 수 있습니다.");
return false;
}
opener.parent.location.href = encodeURI(link+'&new_it_id='+new_it_id);
diff --git a/adm/shop_admin/item_copy_update.php b/adm/shop_admin/item_copy_update.php
index d6abf7a49..152677014 100644
--- a/adm/shop_admin/item_copy_update.php
+++ b/adm/shop_admin/item_copy_update.php
@@ -10,9 +10,9 @@ if ($is_admin != "super")
if (!trim($it_id))
alert("복사할 상품코드가 없습니다.");
-$t_it_id = preg_replace("/[A-Za-z0-9\-]/", "", $new_it_id);
+$t_it_id = preg_replace("/[A-Za-z0-9\-_]/", "", $new_it_id);
if($t_it_id)
- alert("상품코드는 영문자, 숫자, - 만 사용할 수 있습니다.");
+ alert("상품코드는 영문자, 숫자, -, _ 만 사용할 수 있습니다.");
$row = sql_fetch(" select count(*) as cnt from {$g4['shop_item_table']} where it_id = '$new_it_id' ");
if ($row['cnt'])
diff --git a/adm/shop_admin/itemform.php b/adm/shop_admin/itemform.php
index 74985ed52..c530390c9 100644
--- a/adm/shop_admin/itemform.php
+++ b/adm/shop_admin/itemform.php
@@ -986,9 +986,9 @@ function codedupcheck(id)
return;
}
- var it_id = id.replace(/[A-Za-z0-9\-]/g, "");
+ var it_id = id.replace(/[A-Za-z0-9\-_]/g, "");
if(it_id.length > 0) {
- alert("상품코드는 영문자, 숫자, - 만 사용할 수 있습니다.");
+ alert("상품코드는 영문자, 숫자, -, _ 만 사용할 수 있습니다.");
return false;
}
diff --git a/adm/shop_admin/itemformupdate.php b/adm/shop_admin/itemformupdate.php
index 9d5843267..559342386 100644
--- a/adm/shop_admin/itemformupdate.php
+++ b/adm/shop_admin/itemformupdate.php
@@ -289,9 +289,9 @@ if ($w == "")
alert('상품 코드가 없으므로 상품을 추가하실 수 없습니다.');
}
- $t_it_id = preg_replace("/[A-Za-z0-9\-]/", "", $it_id);
+ $t_it_id = preg_replace("/[A-Za-z0-9\-_]/", "", $it_id);
if($t_it_id)
- alert('상품 코드는 영문자, 숫자, - 만 사용할 수 있습니다.');
+ alert('상품 코드는 영문자, 숫자, -, _ 만 사용할 수 있습니다.');
$sql = " insert {$g4['shop_item_table']}
set it_id = '$it_id',
diff --git a/bbs/board.php b/bbs/board.php
index ff0bc72b2..3e7f32f6d 100644
--- a/bbs/board.php
+++ b/bbs/board.php
@@ -134,7 +134,7 @@ if (isset($wr_id) && $wr_id) {
if ($member['mb_id'])
alert('목록을 볼 권한이 없습니다.', G4_URL);
else
- alert('목록을 볼 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?'.$qstr.'&url='.urlencode(G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&'.$qstr));
+ alert('목록을 볼 권한이 없습니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?'.$qstr.'&url='.urlencode(G4_BBS_URL.'/board.php?bo_table='.$bo_table.($qstr?'&':'')));
}
if (!isset($page) || (isset($page) && $page == 0)) $page = 1;
diff --git a/common.php b/common.php
index e2559c44e..b4cf0bac6 100644
--- a/common.php
+++ b/common.php
@@ -173,14 +173,16 @@ define('G4_HTTPS_BBS_URL', https_url(G4_BBS_DIR, true));
// G4_MOBILE_AGENT : config.php 에서 선언
//------------------------------------------------------------------------------
$is_mobile = false;
-if ($_REQUEST['device']=='pc')
- $is_mobile = false;
-else if ($_REQUEST['device']=='mobile')
- $is_mobile = true;
-else if (isset($_SESSION['ss_is_mobile']))
- $is_mobile = $_SESSION['ss_is_mobile'];
-else if (is_mobile())
- $is_mobile = true;
+if (G4_USE_MOBILE) {
+ if ($_REQUEST['device']=='pc')
+ $is_mobile = false;
+ else if ($_REQUEST['device']=='mobile')
+ $is_mobile = true;
+ else if (isset($_SESSION['ss_is_mobile']))
+ $is_mobile = $_SESSION['ss_is_mobile'];
+ else if (is_mobile())
+ $is_mobile = true;
+}
$_SESSION['ss_is_mobile'] = $is_mobile;
define('G4_IS_MOBILE', $is_mobile);
@@ -288,7 +290,11 @@ if (isset($_REQUEST['url'])) {
$urlencode = urlencode($url);
} else {
$url = '';
- $urlencode = urlencode(escape_trim($_SERVER['REQUEST_URI']));
+ $urlencode = urlencode($_SERVER['REQUEST_URI']);
+ if (G4_DOMAIN) {
+ $p = parse_url(G4_DOMAIN);
+ $urlencode = G4_DOMAIN.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", $urlencode));
+ }
}
if (isset($_REQUEST['gr_id'])) {
diff --git a/extend/.htaccess b/extend/.htaccess
deleted file mode 100644
index e69de29bb..000000000
diff --git a/plugin/gcaptcha/fonts/.htaccess b/plugin/gcaptcha/fonts/.htaccess
deleted file mode 100644
index 55fa648e1..000000000
--- a/plugin/gcaptcha/fonts/.htaccess
+++ /dev/null
@@ -1,4 +0,0 @@
-
- Order allow,deny
- Deny from all
-
\ No newline at end of file
diff --git a/plugin/kcp/kcpcert_result.php b/plugin/kcp/kcpcert_result.php
index 8e112bf2f..e6306d68c 100644
--- a/plugin/kcp/kcpcert_result.php
+++ b/plugin/kcp/kcpcert_result.php
@@ -150,7 +150,7 @@ if( $cert_enc_use == "Y" )
$adult_day = date("Ymd", strtotime("-19 years", G4_SERVER_TIME));
$adult = ((int)$birth_day <= (int)$adult_day) ? 1 : 0;
- $sql = " update {$g4['member_table']} set mb_name = '$user_name', mb_hp = '$phone_no', mb_hp_certify = 1, mb_adult = $adult where mb_id = '{$member['mb_id']}' ";
+ $sql = " update {$g4['member_table']} set mb_name = '$user_name', mb_hp = '$phone_no', mb_hp_certify = 1, mb_adult = $adult, mb_birth = '$birth_day', mb_sex = '$sex_code' where mb_id = '{$member['mb_id']}' ";
sql_query($sql);
}
else if( $res_cd != "0000" )