TABLE=$sound_only?>
-
+ =$readonly?> class="frm_input =$reaonly?> =$required?> =$required_valid?>" maxlength="20">
if ($w == '') { ?>
영문자, 숫자, _ 만 가능 (공백없이 20자 이내)
} else { ?>
@@ -549,7 +566,7 @@ $pg_anchor = "
파일 업로드 용량필수
- =help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,024,768 bytes')?>
+ =help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,048,576 bytes')?>
업로드 파일 한개당 bytes 이하
@@ -752,6 +769,30 @@ $pg_anchor = "
+ 모바일 상단 내용
+
+ =editor_html("bo_mobile_content_head", $board['bo_mobile_content_head']);?>
+
+
+
+ 그룹적용
+
+ 전체적용
+
+
+
+ 모바일 하단 내용
+
+ =editor_html("bo_mobile_content_tail", $board['bo_mobile_content_tail']);?>
+
+
+
+ 그룹적용
+
+ 전체적용
+
+
+
글쓰기 기본 내용
@@ -776,7 +817,20 @@ $pg_anchor = "
-
+
+ 모바일 제목 길이필수
+
+ =help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
+
+
+
+
+ 그룹적용
+
+ 전체적용
+
+
+
페이지당 목록 수필수
@@ -788,6 +842,18 @@ $pg_anchor = "
+
+ 모바일 페이지당 목록 수필수
+
+
+
+
+
+ 그룹적용
+
+ 전체적용
+
+
갤러리 이미지 수필수
@@ -1079,6 +1145,10 @@ $pg_anchor = "
+
+ 작성하신 내용을 제출하시려면 확인 버튼을, 작성을 취소하고 목록으로 돌아가시려면 목록 링크를 누르세요.
+ if ($w == 'u') { ?> 게시판을 복사하시려면 게시판복사 링크를 누르세요. } ?>
+
목록
if ($w == 'u') { ?>
게시판복사 }?>
@@ -1116,6 +1186,8 @@ function fboardform_submit(f)
{
=get_editor_js("bo_content_head");?>
=get_editor_js("bo_content_tail");?>
+ =get_editor_js("bo_mobile_content_head");?>
+ =get_editor_js("bo_mobile_content_tail");?>
if (parseInt(f.bo_count_modify.value) < 1) {
alert("원글 수정 불가 댓글수는 1 이상 입력하셔야 합니다.");
diff --git a/adm/board_form_update.php b/adm/board_form_update.php
index 4f8e67210..9fdfd4518 100644
--- a/adm/board_form_update.php
+++ b/adm/board_form_update.php
@@ -87,7 +87,9 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
bo_use_email = '{$_POST['bo_use_email']}',
bo_table_width = '{$_POST['bo_table_width']}',
bo_subject_len = '{$_POST['bo_subject_len']}',
+ bo_mobile_subject_len = '{$_POST['bo_mobile_subject_len']}',
bo_page_rows = '{$_POST['bo_page_rows']}',
+ bo_mobile_page_rows = '{$_POST['bo_mobile_page_rows']}',
bo_new = '{$_POST['bo_new']}',
bo_hot = '{$_POST['bo_hot']}',
bo_image_width = '{$_POST['bo_image_width']}',
@@ -97,6 +99,8 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
bo_include_tail = '{$_POST['bo_include_tail']}',
bo_content_head = '{$_POST['bo_content_head']}',
bo_content_tail = '{$_POST['bo_content_tail']}',
+ bo_mobile_content_head = '{$_POST['bo_mobile_content_head']}',
+ bo_mobile_content_tail = '{$_POST['bo_mobile_content_tail']}',
bo_insert_content = '{$_POST['bo_insert_content']}',
bo_gallery_cols = '{$_POST['bo_gallery_cols']}',
bo_gallery_width = '{$_POST['bo_gallery_width']}',
@@ -267,7 +271,9 @@ if (is_checked('chk_grp_mobile_gallery_width')) $grp_fields .= " , bo_mobile_gal
if (is_checked('chk_grp_mobile_gallery_height'))$grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_grp_table_width')) $grp_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_grp_page_rows')) $grp_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
+if (is_checked('chk_grp_mobile_page_rows')) $grp_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_grp_subject_len')) $grp_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
+if (is_checked('chk_grp_mobile_subject_len')) $grp_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_grp_new')) $grp_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_grp_hot')) $grp_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_grp_image_width')) $grp_fields .= " , bo_image_width = '{$bo_image_width}' ";
@@ -283,6 +289,8 @@ if (is_checked('chk_grp_include_head')) $grp_fields .= " , bo_include_he
if (is_checked('chk_grp_include_tail')) $grp_fields .= " , bo_include_tail = '{$bo_include_tail}' ";
if (is_checked('chk_grp_content_head')) $grp_fields .= " , bo_content_head = '{$bo_content_head}' ";
if (is_checked('chk_grp_content_tail')) $grp_fields .= " , bo_content_tail = '{$bo_content_tail}' ";
+if (is_checked('chk_grp_mobile_content_head')) $grp_fields .= " , bo_mobile_content_head = '{$bo_mobile_content_head}' ";
+if (is_checked('chk_grp_mobile_content_tail')) $grp_fields .= " , bo_mobile_content_tail = '{$bo_mobile_content_tail}' ";
if (is_checked('chk_grp_insert_content')) $grp_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
if (is_checked('chk_grp_use_search')) $grp_fields .= " , bo_use_search = '{$bo_use_search}' ";
if (is_checked('chk_grp_order')) $grp_fields .= " , bo_order = '{$bo_order}' ";
@@ -345,7 +353,9 @@ if (is_checked('chk_all_mobile_gallery_width')) $all_fields .= " , bo_mobile_gal
if (is_checked('chk_all_mobile_gallery_height'))$all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_all_table_width')) $all_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_all_page_rows')) $all_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
+if (is_checked('chk_all_mobile_page_rows')) $all_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_all_subject_len')) $all_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
+if (is_checked('chk_all_mobile_subject_len')) $all_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_all_new')) $all_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_all_hot')) $all_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_all_image_width')) $all_fields .= " , bo_image_width = '{$bo_image_width}' ";
@@ -361,6 +371,8 @@ if (is_checked('chk_all_include_head')) $all_fields .= " , bo_include_he
if (is_checked('chk_all_include_tail')) $all_fields .= " , bo_include_tail = '{$bo_include_tail}' ";
if (is_checked('chk_all_content_head')) $all_fields .= " , bo_content_head = '{$bo_content_head}' ";
if (is_checked('chk_all_content_tail')) $all_fields .= " , bo_content_tail = '{$bo_content_tail}' ";
+if (is_checked('chk_all_mobile_content_head')) $all_fields .= " , bo_mobile_content_head = '{$bo_mobile_content_head}' ";
+if (is_checked('chk_all_mobile_content_tail')) $all_fields .= " , bo_mobile_content_tail = '{$bo_mobile_content_tail}' ";
if (is_checked('chk_all_insert_content')) $all_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
if (is_checked('chk_all_use_search')) $all_fields .= " , bo_use_search = '{$bo_use_search}' ";
if (is_checked('chk_all_order')) $all_fields .= " , bo_order = '{$bo_order}' ";
diff --git a/adm/board_list.php b/adm/board_list.php
index 77a5e4c2a..9abe90d01 100644
--- a/adm/board_list.php
+++ b/adm/board_list.php
@@ -61,7 +61,7 @@ $colspan = 15;
게시판 검색
=$listall?>
- 생성된 게시판 수 =number_format($total_count)?>개
+ 생성된 게시판수 =number_format($total_count)?>개
>TABLE
diff --git a/adm/boardgroup_form.php b/adm/boardgroup_form.php
index 5103767ea..cece586c4 100644
--- a/adm/boardgroup_form.php
+++ b/adm/boardgroup_form.php
@@ -136,6 +136,9 @@ include_once('./admin.head.php');
diff --git a/adm/cache_file_delete.php b/adm/cache_file_delete.php
index 854923d4c..fd8738a76 100644
--- a/adm/cache_file_delete.php
+++ b/adm/cache_file_delete.php
@@ -1,52 +1,47 @@
-
-$sub_menu = "100900";
-include_once("./_common.php");
+
완료 메세지가 나오기 전에 프로그램의 실행을 중지하지 마십시오.
-
+ 최신글 캐시디렉토리를 열지못했습니다.";
+ echo '
캐시디렉토리를 열지못했습니다.
';
}
$cnt=0;
- echo "
'.PHP_EOL;
+ echo '
최신글 캐시파일 '.$cnt.'건 삭제가 완료됐습니다. 프로그램의 실행을 끝마치셔도 좋습니다.
'.PHP_EOL;
?>
\ No newline at end of file
diff --git a/adm/config_form.php b/adm/config_form.php
index 65effaf80..06b58c975 100644
--- a/adm/config_form.php
+++ b/adm/config_form.php
@@ -41,6 +41,14 @@ if(!isset($config['cf_mobile_pages'])) {
sql_query(" UPDATE `{$g4['config_table']}` SET cf_mobile_pages = '5' ", TRUE);
}
+// uniqid 테이블이 없을 경우 생성
+if(!sql_query(" select uq_id from {$g4['uniqid_table']} limit 1 ", false)) {
+ sql_query(" CREATE TABLE IF NOT EXISTS `{$g4['uniqid_table']}` (
+ `uq_id` bigint(20) unsigned NOT NULL,
+ PRIMARY KEY (`uq_id`)
+ ) ", false);
+}
+
$g4['title'] = '환경설정';
include_once ('./admin.head.php');
@@ -490,7 +498,7 @@ $pg_anchor = "
입력 금지 메일
- =help('hotmail.com과 같은 메일 주소는 사용하지 못하도록 못합니다. 엔터로 구분')?>
+ =help('입력 받지 않을 도메인을 지정합니다. 엔터로 구분 ex) hotmail.com')?>
@@ -673,6 +681,9 @@ $pg_anchor = "
diff --git a/adm/gcaptcha_file_delete.php b/adm/gcaptcha_file_delete.php
new file mode 100644
index 000000000..3a9930550
--- /dev/null
+++ b/adm/gcaptcha_file_delete.php
@@ -0,0 +1,52 @@
+
+
+
+
+ 완료 메세지가 나오기 전에 프로그램의 실행을 중지하지 마십시오.
+
+ 캐시디렉토리를 열지못했습니다.';
+ }
+
+ $cnt=0;
+ echo '
'.PHP_EOL;
+
+ $files = glob(G4_DATA_PATH.'/cache/gcaptcha-*');
+ if (is_array($files)) {
+ $before_time = G4_SERVER_TIME - 3600; // 한시간전
+ foreach ($files as $gcaptcha_file) {
+ $modification_time = filemtime($gcaptcha_file); // 파일접근시간
+
+ if ($modification_time > $before_time) continue;
+
+ $cnt++;
+ unlink($gcaptcha_file);
+ echo ''.$gcaptcha_file.' '.PHP_EOL;
+
+ flush();
+
+ if ($cnt%10==0)
+ echo PHP_EOL;
+ }
+ }
+
+ echo '완료됨 '.PHP_EOL;
+ echo '
캡챠파일 '.$cnt.'건의 삭제가 완료됐습니다. 프로그램의 실행을 끝마치셔도 좋습니다.
'.PHP_EOL;
+ ?>
+
+
+
\ No newline at end of file
diff --git a/adm/mail_form.php b/adm/mail_form.php
index 8d8ca80d4..d6b003e9b 100644
--- a/adm/mail_form.php
+++ b/adm/mail_form.php
@@ -50,6 +50,9 @@ include_once('./admin.head.php');
diff --git a/adm/mail_list.php b/adm/mail_list.php
index f748818a3..2cc4eeb92 100644
--- a/adm/mail_list.php
+++ b/adm/mail_list.php
@@ -76,7 +76,7 @@ $colspan = 6;
- 선택삭제
+ 선택삭제
diff --git a/adm/mail_select_form.php b/adm/mail_select_form.php
index a750129af..836da76e1 100644
--- a/adm/mail_select_form.php
+++ b/adm/mail_select_form.php
@@ -110,6 +110,9 @@ include_once('./admin.head.php');
diff --git a/adm/member_form.php b/adm/member_form.php
index 5c38d498f..201409545 100644
--- a/adm/member_form.php
+++ b/adm/member_form.php
@@ -147,11 +147,17 @@ include_once('./admin.head.php');
주소
- -
-
- 우편번호 검색
-
+ -
+
+
+
상세주소 입력
+
@@ -276,6 +282,9 @@ include_once('./admin.head.php');
diff --git a/adm/member_form_update.php b/adm/member_form_update.php
index 9b3d5c9b4..b0a23581e 100644
--- a/adm/member_form_update.php
+++ b/adm/member_form_update.php
@@ -94,6 +94,12 @@ else if ($w == 'u')
if ($_POST['mb_id'] == $member['mb_id'] && $_POST['mb_level'] != $mb['mb_level'])
alert($mb['mb_id'].' : 로그인 중인 관리자 레벨은 수정 할 수 없습니다.');
+ // 이메일중복체크
+ $sql = " select count(*) as cnt from {$g4['member_table']} where mb_email = '{$_POST['mb_email']}' and mb_id <> '$mb_id' ";
+ $row = sql_fetch($sql);
+ if($row['cnt'])
+ alert('다른 회원이 사용 중인 이메일입니다.');
+
$mb_dir = substr($mb_id,0,2);
// 회원 아이콘 삭제
diff --git a/adm/poll_form.php b/adm/poll_form.php
index 0642bf178..935b3bdb7 100644
--- a/adm/poll_form.php
+++ b/adm/poll_form.php
@@ -99,6 +99,9 @@ include_once('./admin.head.php');
diff --git a/adm/poll_list.php b/adm/poll_list.php
index b828c347a..f74f69985 100644
--- a/adm/poll_list.php
+++ b/adm/poll_list.php
@@ -128,7 +128,7 @@ $colspan = 6;
- 선택삭제
+ 선택삭제
diff --git a/adm/popular_list.php b/adm/popular_list.php
index 1ff5ebac1..6eb27eecd 100644
--- a/adm/popular_list.php
+++ b/adm/popular_list.php
@@ -134,7 +134,7 @@ var list_delete_php = 'popular_list.php';
- 선택삭제
+ 선택삭제
}?>
diff --git a/adm/shop_admin/itemtypelist.php b/adm/shop_admin/itemtypelist.php
index 3c6c7e791..d83375e81 100644
--- a/adm/shop_admin/itemtypelist.php
+++ b/adm/shop_admin/itemtypelist.php
@@ -74,7 +74,9 @@ $result = sql_query($sql);
//$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
$qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
?>
-
+
-