diff --git a/adm/cache_file_delete.php b/adm/cache_file_delete.php
index 2faa22546..86d65f5a2 100644
--- a/adm/cache_file_delete.php
+++ b/adm/cache_file_delete.php
@@ -3,7 +3,7 @@ $sub_menu = "100900";
include_once("./_common.php");
if ($is_admin != "super")
- alert("최고관리자만 접근 가능합니다.", $g4[path]);
+ alert("최고관리자만 접근 가능합니다.", G4_URL);
$g4['title'] = "캐시파일 일괄삭제";
include_once("./admin.head.php");
@@ -21,27 +21,27 @@ include_once("./admin.head.php");
include_once("./admin.tail.php");
flush();
-if (!$dir=@opendir($g4['cache_latest_path'])) {
- echo "최신글 캐시디렉토리를 열지못했습니다.";
-}
+if (!$dir=@opendir(G4_DATA_PATH.'/cache')) {
+ echo "최신글 캐시디렉토리를 열지못했습니다.";
+}
$cnt=0;
-while($file=readdir($dir)) {
+while($file=readdir($dir)) {
if ($file=='.' || $file=='..') continue;
- $cache_file = $g4['cache_latest_path'].'/'.$file;
+ $cache_file = G4_DATA_PATH.'/cache/'.$file;
- if (!$atime=@fileatime($cache_file))
- continue;
+ if (!$atime=@fileatime($cache_file))
+ continue;
$cnt++;
- $return = unlink($cache_file);
+ $return = unlink($cache_file);
echo "\n";
flush();
- if ($cnt%10==0)
+ if ($cnt%10==0)
echo "\n";
-}
+}
echo "\n";
?>
diff --git a/adm/config_form.php b/adm/config_form.php
index ddefdaeb0..619067161 100644
--- a/adm/config_form.php
+++ b/adm/config_form.php
@@ -38,10 +38,16 @@ $pg_anchor = "
=$pg_anchor?>
+
+
+
+
+
+
|
- |
+ |
|
=get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required')?> |
@@ -180,6 +186,12 @@ $pg_anchor = "
각 게시판 관리에서 개별적으로 설정 가능합니다.
+
+
+
+
+
+
|
@@ -251,6 +263,12 @@ $pg_anchor = "
회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.
+
+
+
+
+
+
|
@@ -373,6 +391,10 @@ $pg_anchor = "
=$pg_anchor?>
+
+
+
+
|
@@ -410,6 +432,10 @@ $pg_anchor = "
=$pg_anchor?>
+
+
+
+
|
@@ -455,6 +481,10 @@ $pg_anchor = "
=$pg_anchor?>
+
+
+
+
|
@@ -480,6 +510,10 @@ $pg_anchor = "
=$pg_anchor?>
+
+
+
+
|
@@ -498,6 +532,10 @@ $pg_anchor = "
각 게시판 관리에서 개별적으로 설정 가능합니다.
+
+
+
+
for ($i=1; $i<=10; $i++) { ?>
diff --git a/adm/mail_form.php b/adm/mail_form.php
index 6badcb79f..439e80f02 100644
--- a/adm/mail_form.php
+++ b/adm/mail_form.php
@@ -1,7 +1,7 @@
$sub_menu = "200300";
-define('G4_EDITOR', 1);
include_once('./_common.php');
+include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
auth_check($auth[$sub_menu], 'r');
@@ -40,7 +40,7 @@ include_once('./admin.head.php');
|
=help('{이름} , {별명} , {회원아이디} , {이메일} 처럼 내용에 삽입하면 해당 내용에 맞게 변환하여 메일 발송합니다.')?>
- =editor_html("ma_content", $ma['ma_content'], '400');?>
+ =editor_html("ma_content", $ma['ma_content']);?>
|
diff --git a/adm/session_file_delete.php b/adm/session_file_delete.php
index badf8c4fb..1dd3f5166 100644
--- a/adm/session_file_delete.php
+++ b/adm/session_file_delete.php
@@ -3,7 +3,7 @@ $sub_menu = "100800";
include_once("./_common.php");
if ($is_admin != "super")
- alert("최고관리자만 접근 가능합니다.", $g4[path]);
+ alert("최고관리자만 접근 가능합니다.", G4_URL);
$g4['title'] = "세션파일 일괄삭제";
include_once("./admin.head.php");
@@ -21,31 +21,31 @@ include_once("./admin.head.php");
include_once("./admin.tail.php");
flush();
-if (!$dir=@opendir($g4['session_path'])) {
- echo "세션 디렉토리를 열지못했습니다.";
-}
+if (!$dir=@opendir(G4_DATA_PATH.'/session')) {
+ echo "세션 디렉토리를 열지못했습니다.";
+}
$cnt=0;
-while($file=readdir($dir)) {
+while($file=readdir($dir)) {
- if (!strstr($file,'sess_')) continue;
- if (strpos($file,'sess_')!=0) continue;
+ if (!strstr($file,'sess_')) continue;
+ if (strpos($file,'sess_')!=0) continue;
- $session_file = $g4['session_path'].'/'.$file;
+ $session_file = G4_DATA_PATH.'/session/'.$file;
- if (!$atime=@fileatime($session_file)) {
- continue;
- }
+ if (!$atime=@fileatime($session_file)) {
+ continue;
+ }
if (time() > $atime + (3600 * 6)) { // 지난시간을 초로 계산해서 적어주시면 됩니다. default : 6시간전
$cnt++;
- $return = unlink($session_file);
+ $return = unlink($session_file);
echo "\n";
flush();
if ($cnt%10==0)
echo "\n";
- }
-}
+ }
+}
echo "\n";
?>
diff --git a/css/adm.css b/css/adm.css
index 6ea07472d..a2b53e1b3 100644
--- a/css/adm.css
+++ b/css/adm.css
@@ -42,7 +42,6 @@ h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spa
#snb a {display:inline-block;padding:5px 0;color:#e0e0e0;text-decoration:none}
/* gnb js off */
-
#gnb {}
#gnb ul {z-index:10}
.gnb_1depth {position:relative;margin-left:-1px;background:#383a3f;zoom:1}
@@ -103,6 +102,17 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.bo_sideview td {padding:6px 4px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
/* 내용 없는 테이블 */
.empty_table {padding:200px 0;text-align:center}
+/* 테이블 그리드 */
+table .grid_1 {width:80px}
+table .grid_2 {width:170px}
+table .grid_3 {width:260px}
+table .grid_4 {width:350px}
+table .grid_5 {width:440px}
+table .grid_6 {width:530px}
+table .grid_7 {width:620px}
+table .grid_8 {width:710px}
+table .grid_9 {width:800px}
+table .grid_10 {width:890px}
/* 버튼 */
.btn_confirm {margin-bottom:20px;text-align:center}
@@ -141,7 +151,7 @@ button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
.adm_field_explain {display:block;padding:0 0 5px;color:#5b747e}
/* 폼 바로가기 */
-.frm_list {margin:0 0 20px;padding:0 0 0 1px;zoom:1}
+.frm_list {margin:0 0 10px;padding:0;zoom:1}
.frm_list:after {display:block;visibility:hidden;clear:both;content:""}
.frm_list li {float:left;margin-left:-1px;list-style:none}
.frm_list a {display:inline-block;border:1px solid #586267;background:#667379;padding:0 7px;height:30px;color:#fff;text-decoration:none;line-height:2.3em}
@@ -149,7 +159,7 @@ button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
.frm_list a:hover {background:#434f54;text-decoration:none}
/* 폼 테이블 */
-.frm_tbl th {width:130px;text-align:left;font-weight:normal}
+.frm_tbl th {padding:0 5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#eef2f3;text-align:left;font-weight:normal}
.frm_tbl textarea {height:150px}
#frm_extra label {display:inline-block;width:100px}
#frm_extra input {margin-right:10px}
@@ -159,7 +169,7 @@ button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
/* 관리권한설정 목록 */
.td_menu {}
.td_auth {width:100px;text-align:center}
-.td_auth_mbnick {width:200px;text-align:center}
+.td_auth_mbnick {width:200px}
/* 회원관리 목록 */
.tbl_mb_list td {text-align:center}
/* 포인트관리 목록 */