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/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/lib/common.lib.php b/lib/common.lib.php
index 00ae54b39..9a8989202 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1987,8 +1987,16 @@ function hyphen_hp_number($hp)
function login_url($url='')
{
if (!$url) $url = G4_URL;
+<<<<<<< HEAD
//$p = parse_url($url);
//return $url.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", urlencode($_SERVER['REQUEST_URI'])));
+=======
+ /*
+ $p = parse_url($url);
+ echo urlencode($_SERVER['REQUEST_URI']);
+ return $url.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", urlencode($_SERVER['REQUEST_URI'])));
+ */
+>>>>>>> g4s
return $url;
}
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" )