update code style and typo

This commit is contained in:
Amberstone 2024-09-19 20:48:52 +09:00
parent 9281338935
commit 16123cdb29
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
29 changed files with 3901 additions and 1470 deletions

View file

@ -1,3 +0,0 @@
$(function() {
});

View file

@ -1,131 +0,0 @@
function check_all(f)
{
var chk = document.getElementsByName("chk[]");
for (i=0; i<chk.length; i++)
chk[i].checked = f.chkall.checked;
}
function btn_check(f, act)
{
if (act == "update") // 선택수정
{
f.action = list_update_php;
str = "수정";
}
else if (act == "delete") // 선택삭제
{
f.action = list_delete_php;
str = "삭제";
}
else
return;
var chk = document.getElementsByName("chk[]");
var bchk = false;
for (i=0; i<chk.length; i++)
{
if (chk[i].checked)
bchk = true;
}
if (!bchk)
{
alert(str + "할 자료를 하나 이상 선택하세요.");
return;
}
if (act == "delete")
{
if (!confirm("선택한 자료를 정말 삭제 하시겠습니까?"))
return;
}
f.submit();
}
function is_checked(elements_name)
{
var checked = false;
var chk = document.getElementsByName(elements_name);
for (var i=0; i<chk.length; i++) {
if (chk[i].checked) {
checked = true;
}
}
return checked;
}
function delete_confirm(el)
{
if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
var token = get_ajax_token();
var href = el.href.replace(/&token=.+$/g, "");
if(!token) {
alert("토큰 정보가 올바르지 않습니다.");
return false;
}
el.href = href+"&token="+token;
return true;
} else {
return false;
}
}
function delete_confirm2(msg)
{
if(confirm(msg))
return true;
else
return false;
}
function get_ajax_token()
{
var token = "";
$.ajax({
type: "POST",
url: g5_admin_url+"/ajax.token.php",
cache: false,
async: false,
dataType: "json",
success: function(data) {
if(data.error) {
alert(data.error);
if(data.url)
document.location.href = data.url;
return false;
}
token = data.token;
}
});
return token;
}
$(function() {
$(document).on("click", "form input:submit", function() {
var f = this.form;
var token = get_ajax_token();
if(!token) {
alert("토큰 정보가 올바르지 않습니다.");
return false;
}
var $f = $(f);
if(typeof f.token === "undefined")
$f.prepend('<input type="hidden" name="token" value="">');
$f.find("input[name=token]").val(token);
return true;
});
$('.new_win').parents('body').addClass('popup-body');
});

View file

@ -10,8 +10,8 @@ if (!defined('_GNUBOARD_')) exit;
<!-- <p>실행시간 : <?php echo get_microtime() - $begin_time; ?> --> <!-- <p>실행시간 : <?php echo get_microtime() - $begin_time; ?> -->
<script src="<?php echo G5_ADMIN_URL ?>/admin.js?ver=<?php echo G5_JS_VER; ?>"></script> <script src="<?php echo G5_ADMIN_URL ?>/js/admin.js?ver=<?php echo G5_JS_VER; ?>"></script>
<script src="<?php echo G5_ADMIN_URL ?>/admin.ajax.js?ver=<?php echo G5_JS_VER; ?>"></script> <script src="<?php echo G5_ADMIN_URL ?>/js/admin.ajax.js?ver=<?php echo G5_JS_VER; ?>"></script>
<script> <script>
$(function(){ $(function(){
var hide_menu = false; var hide_menu = false;

View file

@ -1,5 +1,4 @@
<?php <?php
define('G5_IS_ADMIN', true); define('G5_IS_ADMIN', true);
include_once ('../../common.php'); include_once('../../common.php');
include_once(G5_ADMIN_PATH.'/admin.lib.php'); include_once(G5_ADMIN_PATH . '/admin.lib.php');
?>

View file

@ -22,7 +22,7 @@ CREATE TABLE `__TABLE_NAME__` (
`wr_name` varchar(255) NOT NULL, `wr_name` varchar(255) NOT NULL,
`wr_email` varchar(255) NOT NULL, `wr_email` varchar(255) NOT NULL,
`wr_homepage` varchar(255) NOT NULL, `wr_homepage` varchar(255) NOT NULL,
`wr_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `wr_datetime` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
`wr_file` tinyint(4) NOT NULL DEFAULT '0', `wr_file` tinyint(4) NOT NULL DEFAULT '0',
`wr_last` varchar(19) NOT NULL, `wr_last` varchar(19) NOT NULL,
`wr_ip` varchar(255) NOT NULL, `wr_ip` varchar(255) NOT NULL,

View file

@ -8,7 +8,7 @@
include_once(G5_PATH.'/head.sub.php'); include_once(G5_PATH.'/head.sub.php');
?> ?>
<script src="<?php echo G5_ADMIN_URL ?>/admin.js?ver=<?php echo G5_JS_VER; ?>"></script> <script src="<?php echo G5_ADMIN_URL ?>/js/admin.js?ver=<?php echo G5_JS_VER; ?>"></script>
<div class="new_win"> <div class="new_win">
<h1><?php echo $g5['title']; ?></h1> <h1><?php echo $g5['title']; ?></h1>

View file

@ -3,47 +3,55 @@ $sub_menu = "300100";
include_once('./_common.php'); include_once('./_common.php');
if ($w == 'u') if ($w == 'u')
check_demo(); check_demo();
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
check_admin_token(); check_admin_token();
if (!$_POST['gr_id']) { alert('그룹 ID는 반드시 선택하세요.'); } if (!$_POST['gr_id']) {
if (!$bo_table) { alert('게시판 TABLE명은 반드시 입력하세요.'); } alert('그룹 ID는 반드시 선택하세요.');
if (!preg_match("/^([A-Za-z0-9_]{1,20})$/", $bo_table)) { alert('게시판 TABLE명은 공백없이 영문자, 숫자, _ 만 사용 가능합니다. (20자 이내)'); } }
if (!$_POST['bo_subject']) { alert('게시판 제목을 입력하세요.'); } if (!$bo_table) {
alert('게시판 TABLE명은 반드시 입력하세요.');
}
if (!preg_match("/^([A-Za-z0-9_]{1,20})$/", $bo_table)) {
alert('게시판 TABLE명은 공백없이 영문자, 숫자, _ 만 사용 가능합니다. (20자 이내)');
}
if (!$_POST['bo_subject']) {
alert('게시판 제목을 입력하세요.');
}
$_POST['bo_include_head'] = preg_replace("#[\\\]+$#", "", substr($_POST['bo_include_head'], 0, 255)); $_POST['bo_include_head'] = preg_replace("#[\\\]+$#", "", substr($_POST['bo_include_head'], 0, 255));
$_POST['bo_include_tail'] = preg_replace("#[\\\]+$#", "", substr($_POST['bo_include_tail'], 0, 255)); $_POST['bo_include_tail'] = preg_replace("#[\\\]+$#", "", substr($_POST['bo_include_tail'], 0, 255));
if ($file = $_POST['bo_include_head']) { if ($file = $_POST['bo_include_head']) {
$purl = parse_url($file); $purl = parse_url($file);
$file = $purl['path']; $file = $purl['path'];
if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { if (!preg_match("/\.(php|htm['l']?)$/i", $file)) {
alert('상단 파일 경로가 php, html 파일이 아닙니다.'); alert('상단 파일 경로가 php, html 파일이 아닙니다.');
} }
$_POST['bo_include_head'] = $file; $_POST['bo_include_head'] = $file;
} }
if ($file = $_POST['bo_include_tail']) { if ($file = $_POST['bo_include_tail']) {
$purl = parse_url($file); $purl = parse_url($file);
$file = $purl['path']; $file = $purl['path'];
if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { if (!preg_match("/\.(php|htm['l']?)$/i", $file)) {
alert('하단 파일 경로가 php, html 파일이 아닙니다.'); alert('하단 파일 경로가 php, html 파일이 아닙니다.');
} }
$_POST['bo_include_tail'] = $file; $_POST['bo_include_tail'] = $file;
} }
if(!is_include_path_check($_POST['bo_include_head'])) { if (!is_include_path_check($_POST['bo_include_head'])) {
alert('/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.'); alert('/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.');
} }
if(!is_include_path_check($_POST['bo_include_tail'])) { if (!is_include_path_check($_POST['bo_include_tail'])) {
alert('/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.'); alert('/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.');
} }
$board_path = G5_DATA_PATH.'/file/'.$bo_table; $board_path = G5_DATA_PATH . '/file/' . $bo_table;
// 게시판 디렉토리 생성 // 게시판 디렉토리 생성
@mkdir($board_path, G5_DIR_PERMISSION); @mkdir($board_path, G5_DIR_PERMISSION);
@ -157,252 +165,381 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
if ($w == '') { if ($w == '') {
$row = sql_fetch(" select count(*) as cnt from {$g5['board_table']} where bo_table = '{$bo_table}' "); $row = sql_fetch(" select count(*) as cnt from {$g5['board_table']} where bo_table = '{$bo_table}' ");
if ($row['cnt']) if ($row['cnt'])
alert($bo_table.' 은(는) 이미 존재하는 TABLE 입니다.'); alert($bo_table . ' 은(는) 이미 존재하는 TABLE 입니다.');
$sql = " insert into {$g5['board_table']} $sql = " insert into {$g5['board_table']}
set bo_table = '{$bo_table}', set bo_table = '{$bo_table}',
bo_count_write = '0', bo_count_write = '0',
bo_count_comment = '0', bo_count_comment = '0',
$sql_common "; $sql_common ";
sql_query($sql); sql_query($sql);
// 게시판 테이블 생성 // 게시판 테이블 생성
$file = file('./sql_write.sql'); $file = file('./assets/sql_write.sql');
$sql = implode($file, "\n"); $sql = implode($file, "\n");
$create_table = $g5['write_prefix'] . $bo_table; $create_table = $g5['write_prefix'] . $bo_table;
// sql_board.sql 파일의 테이블명을 변환 // sql_board.sql 파일의 테이블명을 변환
$source = array('/__TABLE_NAME__/', '/;/'); $source = array('/__TABLE_NAME__/', '/;/');
$target = array($create_table, ''); $target = array($create_table, '');
$sql = preg_replace($source, $target, $sql); $sql = preg_replace($source, $target, $sql);
sql_query($sql, FALSE); sql_query($sql, FALSE);
} else if ($w == 'u') { } else if ($w == 'u') {
// 게시판의 글 수 // 게시판의 글 수
$sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 ";
$row = sql_fetch($sql); $row = sql_fetch($sql);
$bo_count_write = $row['cnt']; $bo_count_write = $row['cnt'];
// 게시판의 코멘트 수 // 게시판의 코멘트 수
$sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 1 "; $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 1 ";
$row = sql_fetch($sql); $row = sql_fetch($sql);
$bo_count_comment = $row['cnt']; $bo_count_comment = $row['cnt'];
// 글수 조정 // 글수 조정
/* /*
엔피씨님의 팁으로 교체합니다. 130308 엔피씨님의 팁으로 교체합니다. 130308
http://sir.kr/g5_tiptech/27207 http://sir.kr/g5_tiptech/27207
*/ */
if (isset($_POST['proc_count'])) { if (isset($_POST['proc_count'])) {
// 원글을 얻습니다. // 원글을 얻습니다.
//$sql = " select wr_id from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; //$sql = " select wr_id from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 ";
$sql = " select a.wr_id, (count(b.wr_parent) - 1) as cnt from {$g5['write_prefix']}{$bo_table} a, {$g5['write_prefix']}{$bo_table} b where a.wr_id=b.wr_parent and a.wr_is_comment=0 group by a.wr_id "; $sql = " select a.wr_id, (count(b.wr_parent) - 1) as cnt from {$g5['write_prefix']}{$bo_table} a, {$g5['write_prefix']}{$bo_table} b where a.wr_id=b.wr_parent and a.wr_is_comment=0 group by a.wr_id ";
$result = sql_query($sql); $result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i = 0; $row = sql_fetch_array($result); $i++) {
/* /*
// 코멘트수를 얻습니다. // 코멘트수를 얻습니다.
$sql2 = " select count(*) as cnt from {$g5['write_prefix']}$bo_table where wr_parent = '{$row['wr_id']}' and wr_is_comment = 1 "; $sql2 = " select count(*) as cnt from {$g5['write_prefix']}$bo_table where wr_parent = '{$row['wr_id']}' and wr_is_comment = 1 ";
$row2 = sql_fetch($sql2); $row2 = sql_fetch($sql2);
*/ */
sql_query(" update {$g5['write_prefix']}{$bo_table} set wr_comment = '{$row['cnt']}' where wr_id = '{$row['wr_id']}' "); sql_query(" update {$g5['write_prefix']}{$bo_table} set wr_comment = '{$row['cnt']}' where wr_id = '{$row['wr_id']}' ");
} }
} }
// 공지사항에는 등록되어 있지만 실제 존재하지 않는 글 아이디는 삭제합니다. // 공지사항에는 등록되어 있지만 실제 존재하지 않는 글 아이디는 삭제합니다.
$bo_notice = ""; $bo_notice = "";
$lf = ""; $lf = "";
if ($board['bo_notice']) { if ($board['bo_notice']) {
$tmp_array = explode(",", $board['bo_notice']); $tmp_array = explode(",", $board['bo_notice']);
for ($i=0; $i<count($tmp_array); $i++) { for ($i = 0; $i < count($tmp_array); $i++) {
$tmp_wr_id = trim($tmp_array[$i]); $tmp_wr_id = trim($tmp_array[$i]);
$row = sql_fetch(" select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_id = '{$tmp_wr_id}' "); $row = sql_fetch(" select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_id = '{$tmp_wr_id}' ");
if ($row['cnt']) if ($row['cnt']) {
{ $bo_notice .= $lf . $tmp_wr_id;
$bo_notice .= $lf . $tmp_wr_id; $lf = ",";
$lf = ","; }
} }
} }
}
$sql = " update {$g5['board_table']} $sql = " update {$g5['board_table']}
set bo_notice = '{$bo_notice}', set bo_notice = '{$bo_notice}',
bo_count_write = '{$bo_count_write}', bo_count_write = '{$bo_count_write}',
bo_count_comment = '{$bo_count_comment}', bo_count_comment = '{$bo_count_comment}',
{$sql_common} {$sql_common}
where bo_table = '{$bo_table}' "; where bo_table = '{$bo_table}' ";
sql_query($sql); sql_query($sql);
} }
// 같은 그룹내 게시판 동일 옵션 적용 // 같은 그룹내 게시판 동일 옵션 적용
$grp_fields = ''; $grp_fields = '';
if (is_checked('chk_grp_device')) $grp_fields .= " , bo_device = '{$bo_device}' "; if (is_checked('chk_grp_device'))
if (is_checked('chk_grp_admin')) $grp_fields .= " , bo_admin = '{$bo_admin}' "; $grp_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_grp_list_level')) $grp_fields .= " , bo_list_level = '{$bo_list_level}' "; if (is_checked('chk_grp_admin'))
if (is_checked('chk_grp_read_level')) $grp_fields .= " , bo_read_level = '{$bo_read_level}' "; $grp_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_grp_write_level')) $grp_fields .= " , bo_write_level = '{$bo_write_level}' "; if (is_checked('chk_grp_list_level'))
if (is_checked('chk_grp_reply_level')) $grp_fields .= " , bo_reply_level = '{$bo_reply_level}' "; $grp_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_grp_comment_level')) $grp_fields .= " , bo_comment_level = '{$bo_comment_level}' "; if (is_checked('chk_grp_read_level'))
if (is_checked('chk_grp_link_level')) $grp_fields .= " , bo_link_level = '{$bo_link_level}' "; $grp_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_grp_upload_level')) $grp_fields .= " , bo_upload_level = '{$bo_upload_level}' "; if (is_checked('chk_grp_write_level'))
if (is_checked('chk_grp_download_level')) $grp_fields .= " , bo_download_level = '{$bo_download_level}' "; $grp_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_grp_html_level')) $grp_fields .= " , bo_html_level = '{$bo_html_level}' "; if (is_checked('chk_grp_reply_level'))
if (is_checked('chk_grp_count_modify')) $grp_fields .= " , bo_count_modify = '{$bo_count_modify}' "; $grp_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_grp_count_delete')) $grp_fields .= " , bo_count_delete = '{$bo_count_delete}' "; if (is_checked('chk_grp_comment_level'))
if (is_checked('chk_grp_read_point')) $grp_fields .= " , bo_read_point = '{$bo_read_point}' "; $grp_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_grp_write_point')) $grp_fields .= " , bo_write_point = '{$bo_write_point}' "; if (is_checked('chk_grp_link_level'))
if (is_checked('chk_grp_comment_point')) $grp_fields .= " , bo_comment_point = '{$bo_comment_point}' "; $grp_fields .= " , bo_link_level = '{$bo_link_level}' ";
if (is_checked('chk_grp_download_point')) $grp_fields .= " , bo_download_point = '{$bo_download_point}' "; if (is_checked('chk_grp_upload_level'))
$grp_fields .= " , bo_upload_level = '{$bo_upload_level}' ";
if (is_checked('chk_grp_download_level'))
$grp_fields .= " , bo_download_level = '{$bo_download_level}' ";
if (is_checked('chk_grp_html_level'))
$grp_fields .= " , bo_html_level = '{$bo_html_level}' ";
if (is_checked('chk_grp_count_modify'))
$grp_fields .= " , bo_count_modify = '{$bo_count_modify}' ";
if (is_checked('chk_grp_count_delete'))
$grp_fields .= " , bo_count_delete = '{$bo_count_delete}' ";
if (is_checked('chk_grp_read_point'))
$grp_fields .= " , bo_read_point = '{$bo_read_point}' ";
if (is_checked('chk_grp_write_point'))
$grp_fields .= " , bo_write_point = '{$bo_write_point}' ";
if (is_checked('chk_grp_comment_point'))
$grp_fields .= " , bo_comment_point = '{$bo_comment_point}' ";
if (is_checked('chk_grp_download_point'))
$grp_fields .= " , bo_download_point = '{$bo_download_point}' ";
if (is_checked('chk_grp_category_list')) { if (is_checked('chk_grp_category_list')) {
$grp_fields .= " , bo_category_list = '{$bo_category_list}' "; $grp_fields .= " , bo_category_list = '{$bo_category_list}' ";
$grp_fields .= " , bo_use_category = '{$bo_use_category}' "; $grp_fields .= " , bo_use_category = '{$bo_use_category}' ";
} }
if (is_checked('chk_grp_use_sideview')) $grp_fields .= " , bo_use_sideview = '{$bo_use_sideview}' "; if (is_checked('chk_grp_use_sideview'))
if (is_checked('chk_grp_use_file_content')) $grp_fields .= " , bo_use_file_content = '{$bo_use_file_content}' "; $grp_fields .= " , bo_use_sideview = '{$bo_use_sideview}' ";
if (is_checked('chk_grp_use_secret')) $grp_fields .= " , bo_use_secret = '{$bo_use_secret}' "; if (is_checked('chk_grp_use_file_content'))
if (is_checked('chk_grp_use_dhtml_editor')) $grp_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' "; $grp_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_grp_use_rss_view')) $grp_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' "; if (is_checked('chk_grp_use_secret'))
if (is_checked('chk_grp_use_good')) $grp_fields .= " , bo_use_good = '{$bo_use_good}' "; $grp_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_grp_use_nogood')) $grp_fields .= " , bo_use_nogood = '{$bo_use_nogood}' "; if (is_checked('chk_grp_use_dhtml_editor'))
if (is_checked('chk_grp_use_name')) $grp_fields .= " , bo_use_name = '{$bo_use_name}' "; $grp_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_grp_use_signature')) $grp_fields .= " , bo_use_signature = '{$bo_use_signature}' "; if (is_checked('chk_grp_use_rss_view'))
if (is_checked('chk_grp_use_ip_view')) $grp_fields .= " , bo_use_ip_view = '{$bo_use_ip_view}' "; $grp_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_grp_use_list_view')) $grp_fields .= " , bo_use_list_view = '{$bo_use_list_view}' "; if (is_checked('chk_grp_use_good'))
if (is_checked('chk_grp_use_list_file')) $grp_fields .= " , bo_use_list_file = '{$bo_use_list_file}' "; $grp_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_grp_use_list_content')) $grp_fields .= " , bo_use_list_content = '{$bo_use_list_content}' "; if (is_checked('chk_grp_use_nogood'))
if (is_checked('chk_grp_use_email')) $grp_fields .= " , bo_use_email = '{$bo_use_email}' "; $grp_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_grp_use_cert')) $grp_fields .= " , bo_use_cert = '{$bo_use_cert}' "; if (is_checked('chk_grp_use_name'))
if (is_checked('chk_grp_use_sns')) $grp_fields .= " , bo_use_sns = '{$bo_use_sns}' "; $grp_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_grp_skin')) $grp_fields .= " , bo_skin = '{$bo_skin}' "; if (is_checked('chk_grp_use_signature'))
if (is_checked('chk_grp_mobile_skin')) $grp_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' "; $grp_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_grp_gallery_cols')) $grp_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' "; if (is_checked('chk_grp_use_ip_view'))
if (is_checked('chk_grp_gallery_width')) $grp_fields .= " , bo_gallery_width = '{$bo_gallery_width}' "; $grp_fields .= " , bo_use_ip_view = '{$bo_use_ip_view}' ";
if (is_checked('chk_grp_gallery_height')) $grp_fields .= " , bo_gallery_height = '{$bo_gallery_height}' "; if (is_checked('chk_grp_use_list_view'))
if (is_checked('chk_grp_mobile_gallery_width')) $grp_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' "; $grp_fields .= " , bo_use_list_view = '{$bo_use_list_view}' ";
if (is_checked('chk_grp_mobile_gallery_height'))$grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' "; if (is_checked('chk_grp_use_list_file'))
if (is_checked('chk_grp_table_width')) $grp_fields .= " , bo_table_width = '{$bo_table_width}' "; $grp_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_grp_page_rows')) $grp_fields .= " , bo_page_rows = '{$bo_page_rows}' "; if (is_checked('chk_grp_use_list_content'))
if (is_checked('chk_grp_mobile_page_rows')) $grp_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' "; $grp_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_grp_subject_len')) $grp_fields .= " , bo_subject_len = '{$bo_subject_len}' "; if (is_checked('chk_grp_use_email'))
if (is_checked('chk_grp_mobile_subject_len')) $grp_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' "; $grp_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_grp_new')) $grp_fields .= " , bo_new = '{$bo_new}' "; if (is_checked('chk_grp_use_cert'))
if (is_checked('chk_grp_hot')) $grp_fields .= " , bo_hot = '{$bo_hot}' "; $grp_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_grp_image_width')) $grp_fields .= " , bo_image_width = '{$bo_image_width}' "; if (is_checked('chk_grp_use_sns'))
if (is_checked('chk_grp_reply_order')) $grp_fields .= " , bo_reply_order = '{$bo_reply_order}' "; $grp_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_grp_sort_field')) $grp_fields .= " , bo_sort_field = '{$bo_sort_field}' "; if (is_checked('chk_grp_skin'))
if (is_checked('chk_grp_write_min')) $grp_fields .= " , bo_write_min = '{$bo_write_min}' "; $grp_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_grp_write_max')) $grp_fields .= " , bo_write_max = '{$bo_write_max}' "; if (is_checked('chk_grp_mobile_skin'))
if (is_checked('chk_grp_comment_min')) $grp_fields .= " , bo_comment_min = '{$bo_comment_min}' "; $grp_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_grp_comment_max')) $grp_fields .= " , bo_comment_max = '{$bo_comment_max}' "; if (is_checked('chk_grp_gallery_cols'))
if (is_checked('chk_grp_upload_count')) $grp_fields .= " , bo_upload_count = '{$bo_upload_count}' "; $grp_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_grp_upload_size')) $grp_fields .= " , bo_upload_size = '{$bo_upload_size}' "; if (is_checked('chk_grp_gallery_width'))
if (is_checked('chk_grp_include_head')) $grp_fields .= " , bo_include_head = '{$bo_include_head}' "; $grp_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_grp_include_tail')) $grp_fields .= " , bo_include_tail = '{$bo_include_tail}' "; if (is_checked('chk_grp_gallery_height'))
if (is_checked('chk_grp_content_head')) $grp_fields .= " , bo_content_head = '{$bo_content_head}' "; $grp_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_grp_content_tail')) $grp_fields .= " , bo_content_tail = '{$bo_content_tail}' "; if (is_checked('chk_grp_mobile_gallery_width'))
if (is_checked('chk_grp_mobile_content_head')) $grp_fields .= " , bo_mobile_content_head = '{$bo_mobile_content_head}' "; $grp_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_grp_mobile_content_tail')) $grp_fields .= " , bo_mobile_content_tail = '{$bo_mobile_content_tail}' "; if (is_checked('chk_grp_mobile_gallery_height'))
if (is_checked('chk_grp_insert_content')) $grp_fields .= " , bo_insert_content = '{$bo_insert_content}' "; $grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_grp_use_search')) $grp_fields .= " , bo_use_search = '{$bo_use_search}' "; if (is_checked('chk_grp_table_width'))
if (is_checked('chk_grp_order')) $grp_fields .= " , bo_order = '{$bo_order}' "; $grp_fields .= " , bo_table_width = '{$bo_table_width}' ";
for ($i=1; $i<=10; $i++) { if (is_checked('chk_grp_page_rows'))
if (is_checked('chk_grp_'.$i)) { $grp_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
$grp_fields .= " , bo_{$i}_subj = '".$_POST['bo_'.$i.'_subj']."' "; if (is_checked('chk_grp_mobile_page_rows'))
$grp_fields .= " , bo_{$i} = '".$_POST['bo_'.$i]."' "; $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}' ";
if (is_checked('chk_grp_reply_order'))
$grp_fields .= " , bo_reply_order = '{$bo_reply_order}' ";
if (is_checked('chk_grp_sort_field'))
$grp_fields .= " , bo_sort_field = '{$bo_sort_field}' ";
if (is_checked('chk_grp_write_min'))
$grp_fields .= " , bo_write_min = '{$bo_write_min}' ";
if (is_checked('chk_grp_write_max'))
$grp_fields .= " , bo_write_max = '{$bo_write_max}' ";
if (is_checked('chk_grp_comment_min'))
$grp_fields .= " , bo_comment_min = '{$bo_comment_min}' ";
if (is_checked('chk_grp_comment_max'))
$grp_fields .= " , bo_comment_max = '{$bo_comment_max}' ";
if (is_checked('chk_grp_upload_count'))
$grp_fields .= " , bo_upload_count = '{$bo_upload_count}' ";
if (is_checked('chk_grp_upload_size'))
$grp_fields .= " , bo_upload_size = '{$bo_upload_size}' ";
if (is_checked('chk_grp_include_head'))
$grp_fields .= " , bo_include_head = '{$bo_include_head}' ";
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}' ";
for ($i = 1; $i <= 10; $i++) {
if (is_checked('chk_grp_' . $i)) {
$grp_fields .= " , bo_{$i}_subj = '" . $_POST['bo_' . $i . '_subj'] . "' ";
$grp_fields .= " , bo_{$i} = '" . $_POST['bo_' . $i] . "' ";
}
} }
if ($grp_fields) { if ($grp_fields) {
sql_query(" update {$g5['board_table']} set bo_table = bo_table {$grp_fields} where gr_id = '$gr_id' "); sql_query(" update {$g5['board_table']} set bo_table = bo_table {$grp_fields} where gr_id = '$gr_id' ");
} }
// 모든 게시판 동일 옵션 적용 // 모든 게시판 동일 옵션 적용
$all_fields = ''; $all_fields = '';
if (is_checked('chk_all_device')) $all_fields .= " , bo_device = '{$bo_device}' "; if (is_checked('chk_all_device'))
if (is_checked('chk_all_admin')) $all_fields .= " , bo_admin = '{$bo_admin}' "; $all_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_all_list_level')) $all_fields .= " , bo_list_level = '{$bo_list_level}' "; if (is_checked('chk_all_admin'))
if (is_checked('chk_all_read_level')) $all_fields .= " , bo_read_level = '{$bo_read_level}' "; $all_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_all_write_level')) $all_fields .= " , bo_write_level = '{$bo_write_level}' "; if (is_checked('chk_all_list_level'))
if (is_checked('chk_all_reply_level')) $all_fields .= " , bo_reply_level = '{$bo_reply_level}' "; $all_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_all_comment_level')) $all_fields .= " , bo_comment_level = '{$bo_comment_level}' "; if (is_checked('chk_all_read_level'))
if (is_checked('chk_all_link_level')) $all_fields .= " , bo_link_level = '{$bo_link_level}' "; $all_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_all_upload_level')) $all_fields .= " , bo_upload_level = '{$bo_upload_level}' "; if (is_checked('chk_all_write_level'))
if (is_checked('chk_all_download_level')) $all_fields .= " , bo_download_level = '{$bo_download_level}' "; $all_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_all_html_level')) $all_fields .= " , bo_html_level = '{$bo_html_level}' "; if (is_checked('chk_all_reply_level'))
if (is_checked('chk_all_count_modify')) $all_fields .= " , bo_count_modify = '{$bo_count_modify}' "; $all_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_all_count_delete')) $all_fields .= " , bo_count_delete = '{$bo_count_delete}' "; if (is_checked('chk_all_comment_level'))
if (is_checked('chk_all_read_point')) $all_fields .= " , bo_read_point = '{$bo_read_point}' "; $all_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_all_write_point')) $all_fields .= " , bo_write_point = '{$bo_write_point}' "; if (is_checked('chk_all_link_level'))
if (is_checked('chk_all_comment_point')) $all_fields .= " , bo_comment_point = '{$bo_comment_point}' "; $all_fields .= " , bo_link_level = '{$bo_link_level}' ";
if (is_checked('chk_all_download_point')) $all_fields .= " , bo_download_point = '{$bo_download_point}' "; if (is_checked('chk_all_upload_level'))
$all_fields .= " , bo_upload_level = '{$bo_upload_level}' ";
if (is_checked('chk_all_download_level'))
$all_fields .= " , bo_download_level = '{$bo_download_level}' ";
if (is_checked('chk_all_html_level'))
$all_fields .= " , bo_html_level = '{$bo_html_level}' ";
if (is_checked('chk_all_count_modify'))
$all_fields .= " , bo_count_modify = '{$bo_count_modify}' ";
if (is_checked('chk_all_count_delete'))
$all_fields .= " , bo_count_delete = '{$bo_count_delete}' ";
if (is_checked('chk_all_read_point'))
$all_fields .= " , bo_read_point = '{$bo_read_point}' ";
if (is_checked('chk_all_write_point'))
$all_fields .= " , bo_write_point = '{$bo_write_point}' ";
if (is_checked('chk_all_comment_point'))
$all_fields .= " , bo_comment_point = '{$bo_comment_point}' ";
if (is_checked('chk_all_download_point'))
$all_fields .= " , bo_download_point = '{$bo_download_point}' ";
if (is_checked('chk_all_category_list')) { if (is_checked('chk_all_category_list')) {
$all_fields .= " , bo_category_list = '{$bo_category_list}' "; $all_fields .= " , bo_category_list = '{$bo_category_list}' ";
$all_fields .= " , bo_use_category = '{$bo_use_category}' "; $all_fields .= " , bo_use_category = '{$bo_use_category}' ";
} }
if (is_checked('chk_all_use_sideview')) $all_fields .= " , bo_use_sideview = '{$bo_use_sideview}' "; if (is_checked('chk_all_use_sideview'))
if (is_checked('chk_all_use_file_content')) $all_fields .= " , bo_use_file_content = '{$bo_use_file_content}' "; $all_fields .= " , bo_use_sideview = '{$bo_use_sideview}' ";
if (is_checked('chk_all_use_secret')) $all_fields .= " , bo_use_secret = '{$bo_use_secret}' "; if (is_checked('chk_all_use_file_content'))
if (is_checked('chk_all_use_dhtml_editor')) $all_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' "; $all_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_all_use_rss_view')) $all_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' "; if (is_checked('chk_all_use_secret'))
if (is_checked('chk_all_use_good')) $all_fields .= " , bo_use_good = '{$bo_use_good}' "; $all_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_all_use_nogood')) $all_fields .= " , bo_use_nogood = '{$bo_use_nogood}' "; if (is_checked('chk_all_use_dhtml_editor'))
if (is_checked('chk_all_use_name')) $all_fields .= " , bo_use_name = '{$bo_use_name}' "; $all_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_all_use_signature')) $all_fields .= " , bo_use_signature = '{$bo_use_signature}' "; if (is_checked('chk_all_use_rss_view'))
if (is_checked('chk_all_use_ip_view')) $all_fields .= " , bo_use_ip_view = '{$bo_use_ip_view}' "; $all_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_all_use_list_view')) $all_fields .= " , bo_use_list_view = '{$bo_use_list_view}' "; if (is_checked('chk_all_use_good'))
if (is_checked('chk_all_use_list_file')) $all_fields .= " , bo_use_list_file = '{$bo_use_list_file}' "; $all_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_all_use_list_content')) $all_fields .= " , bo_use_list_content = '{$bo_use_list_content}' "; if (is_checked('chk_all_use_nogood'))
if (is_checked('chk_all_use_email')) $all_fields .= " , bo_use_email = '{$bo_use_email}' "; $all_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_all_use_cert')) $all_fields .= " , bo_use_cert = '{$bo_use_cert}' "; if (is_checked('chk_all_use_name'))
if (is_checked('chk_all_use_sns')) $all_fields .= " , bo_use_sns = '{$bo_use_sns}' "; $all_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_all_skin')) $all_fields .= " , bo_skin = '{$bo_skin}' "; if (is_checked('chk_all_use_signature'))
if (is_checked('chk_all_mobile_skin')) $all_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' "; $all_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_all_gallery_cols')) $all_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' "; if (is_checked('chk_all_use_ip_view'))
if (is_checked('chk_all_gallery_width')) $all_fields .= " , bo_gallery_width = '{$bo_gallery_width}' "; $all_fields .= " , bo_use_ip_view = '{$bo_use_ip_view}' ";
if (is_checked('chk_all_gallery_height')) $all_fields .= " , bo_gallery_height = '{$bo_gallery_height}' "; if (is_checked('chk_all_use_list_view'))
if (is_checked('chk_all_mobile_gallery_width')) $all_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' "; $all_fields .= " , bo_use_list_view = '{$bo_use_list_view}' ";
if (is_checked('chk_all_mobile_gallery_height'))$all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' "; if (is_checked('chk_all_use_list_file'))
if (is_checked('chk_all_table_width')) $all_fields .= " , bo_table_width = '{$bo_table_width}' "; $all_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_all_page_rows')) $all_fields .= " , bo_page_rows = '{$bo_page_rows}' "; if (is_checked('chk_all_use_list_content'))
if (is_checked('chk_all_mobile_page_rows')) $all_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' "; $all_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_all_subject_len')) $all_fields .= " , bo_subject_len = '{$bo_subject_len}' "; if (is_checked('chk_all_use_email'))
if (is_checked('chk_all_mobile_subject_len')) $all_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' "; $all_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_all_new')) $all_fields .= " , bo_new = '{$bo_new}' "; if (is_checked('chk_all_use_cert'))
if (is_checked('chk_all_hot')) $all_fields .= " , bo_hot = '{$bo_hot}' "; $all_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_all_image_width')) $all_fields .= " , bo_image_width = '{$bo_image_width}' "; if (is_checked('chk_all_use_sns'))
if (is_checked('chk_all_reply_order')) $all_fields .= " , bo_reply_order = '{$bo_reply_order}' "; $all_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_all_sort_field')) $all_fields .= " , bo_sort_field = '{$bo_sort_field}' "; if (is_checked('chk_all_skin'))
if (is_checked('chk_all_write_min')) $all_fields .= " , bo_write_min = '{$bo_write_min}' "; $all_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_all_write_max')) $all_fields .= " , bo_write_max = '{$bo_write_max}' "; if (is_checked('chk_all_mobile_skin'))
if (is_checked('chk_all_comment_min')) $all_fields .= " , bo_comment_min = '{$bo_comment_min}' "; $all_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_all_comment_max')) $all_fields .= " , bo_comment_max = '{$bo_comment_max}' "; if (is_checked('chk_all_gallery_cols'))
if (is_checked('chk_all_upload_count')) $all_fields .= " , bo_upload_count = '{$bo_upload_count}' "; $all_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_all_upload_size')) $all_fields .= " , bo_upload_size = '{$bo_upload_size}' "; if (is_checked('chk_all_gallery_width'))
if (is_checked('chk_all_include_head')) $all_fields .= " , bo_include_head = '{$bo_include_head}' "; $all_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_all_include_tail')) $all_fields .= " , bo_include_tail = '{$bo_include_tail}' "; if (is_checked('chk_all_gallery_height'))
if (is_checked('chk_all_content_head')) $all_fields .= " , bo_content_head = '{$bo_content_head}' "; $all_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_all_content_tail')) $all_fields .= " , bo_content_tail = '{$bo_content_tail}' "; if (is_checked('chk_all_mobile_gallery_width'))
if (is_checked('chk_all_mobile_content_head')) $all_fields .= " , bo_mobile_content_head = '{$bo_mobile_content_head}' "; $all_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_all_mobile_content_tail')) $all_fields .= " , bo_mobile_content_tail = '{$bo_mobile_content_tail}' "; if (is_checked('chk_all_mobile_gallery_height'))
if (is_checked('chk_all_insert_content')) $all_fields .= " , bo_insert_content = '{$bo_insert_content}' "; $all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_all_use_search')) $all_fields .= " , bo_use_search = '{$bo_use_search}' "; if (is_checked('chk_all_table_width'))
if (is_checked('chk_all_order')) $all_fields .= " , bo_order = '{$bo_order}' "; $all_fields .= " , bo_table_width = '{$bo_table_width}' ";
for ($i=1; $i<=10; $i++) { if (is_checked('chk_all_page_rows'))
if (is_checked('chk_all_'.$i)) { $all_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
$all_fields .= " , bo_{$i}_subj = '".$_POST['bo_'.$i.'_subj']."' "; if (is_checked('chk_all_mobile_page_rows'))
$all_fields .= " , bo_{$i} = '".$_POST['bo_'.$i]."' "; $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}' ";
if (is_checked('chk_all_reply_order'))
$all_fields .= " , bo_reply_order = '{$bo_reply_order}' ";
if (is_checked('chk_all_sort_field'))
$all_fields .= " , bo_sort_field = '{$bo_sort_field}' ";
if (is_checked('chk_all_write_min'))
$all_fields .= " , bo_write_min = '{$bo_write_min}' ";
if (is_checked('chk_all_write_max'))
$all_fields .= " , bo_write_max = '{$bo_write_max}' ";
if (is_checked('chk_all_comment_min'))
$all_fields .= " , bo_comment_min = '{$bo_comment_min}' ";
if (is_checked('chk_all_comment_max'))
$all_fields .= " , bo_comment_max = '{$bo_comment_max}' ";
if (is_checked('chk_all_upload_count'))
$all_fields .= " , bo_upload_count = '{$bo_upload_count}' ";
if (is_checked('chk_all_upload_size'))
$all_fields .= " , bo_upload_size = '{$bo_upload_size}' ";
if (is_checked('chk_all_include_head'))
$all_fields .= " , bo_include_head = '{$bo_include_head}' ";
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}' ";
for ($i = 1; $i <= 10; $i++) {
if (is_checked('chk_all_' . $i)) {
$all_fields .= " , bo_{$i}_subj = '" . $_POST['bo_' . $i . '_subj'] . "' ";
$all_fields .= " , bo_{$i} = '" . $_POST['bo_' . $i] . "' ";
}
} }
if ($all_fields) { if ($all_fields) {
sql_query(" update {$g5['board_table']} set bo_table = bo_table {$all_fields} "); sql_query(" update {$g5['board_table']} set bo_table = bo_table {$all_fields} ");
} }
delete_cache_latest($bo_table); delete_cache_latest($bo_table);

View file

@ -1,125 +1,471 @@
@charset "utf-8"; @charset "utf-8";
@import url(./jquery.minicolors.css); @import url(./jquery.minicolors.css);
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css); @import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@font-face { @font-face {
font-family:'icon'; font-family: 'icon';
src: url('../../css/fonts/icomoon.eot?y5isk6'); src: url('../../css/fonts/icomoon.eot?y5isk6');
src: url('../../css/fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'), src: url('../../css/fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
url('../../css/fonts/icomoon.ttf?y5isk6') format('truetype'), url('../../css/fonts/icomoon.ttf?y5isk6') format('truetype'),
url('../../css/fonts/icomoon.woff?y5isk6') format('woff'), url('../../css/fonts/icomoon.woff?y5isk6') format('woff'),
url('../../css/fonts/icomoon.svg?y5isk6#icomoon') format('svg'); url('../../css/fonts/icomoon.svg?y5isk6#icomoon') format('svg');
font-weight:normal; font-weight: normal;
font-style:normal; font-style: normal;
} }
/* 초기화 */ /* 초기화 */
html {overflow-y:scroll} html {
body {margin:0;padding:0;background:#fff;color:#000;font-size:12px; min-width:1400px;} overflow-y: scroll
body.popup-body {min-width:0px;} }
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {} body {
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} margin: 0;
header ul, nav ul, aside ul, footer ul {margin:0;padding:0;list-style:none} padding: 0;
label, input, button, select, img {vertical-align:middle} background: #fff;
textarea, select {} color: #000;
input {margin:0;padding:0;border-radius:0;} font-size: 12px;
input[type=text], input[type=password], input[type=submit], input[type=image] {-webkit-appearance:none} min-width: 1400px;
button {border-radius:0;-webkit-appearance:none;cursor:pointer} }
p {margin:0;padding:0;word-break:break-all}
hr {display:none} body.popup-body {
pre {overflow-x:scroll;} min-width: 0px;
a {color:#000;text-decoration:none} }
a:focus, a:hover, a:active {text-decoration:underline}
caption {display:none;} html,
.cke_sc, h1,
.sound_only {display:none;} h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
margin: 0;
padding: 0;
border: 0
}
h1,
h2,
h3,
h4,
h5,
h6 {}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block
}
header ul,
nav ul,
aside ul,
footer ul {
margin: 0;
padding: 0;
list-style: none
}
label,
input,
button,
select,
img {
vertical-align: middle
}
textarea,
select {}
input {
margin: 0;
padding: 0;
border-radius: 0;
}
input[type=text],
input[type=password],
input[type=submit],
input[type=image] {
-webkit-appearance: none
}
button {
border-radius: 0;
-webkit-appearance: none;
cursor: pointer
}
p {
margin: 0;
padding: 0;
word-break: break-all
}
hr {
display: none
}
pre {
overflow-x: scroll;
}
a {
color: #000;
text-decoration: none
}
a:focus,
a:hover,
a:active {
text-decoration: underline
}
caption {
display: none;
}
.cke_sc,
.sound_only {
display: none;
}
input[type="file"] {
font-size: 12px;
border: 1px solid #dde3e0;
height: 28px;
}
input[type="file"] {font-size:12px; border:1px solid #dde3e0; height:28px;}
input[type="number"], input[type="number"],
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],
select, select,
textarea { textarea {
border:1px solid #dde3e0; border: 1px solid #dde3e0;
box-sizing:border-box; box-sizing: border-box;
font-family:'Dotum'; font-family: 'Dotum';
font-size:12px; font-size: 12px;
} }
input[type="number"], input[type="number"],
input[type="text"], input[type="text"],
input[type="password"] {padding:0 8px;} input[type="password"] {
padding: 0 8px;
}
input[type="number"], input[type="number"],
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],
select {height:28px; padding-left:8px;} select {
textarea {width:100%; height:150px;} height: 28px;
input[type="number"] {text-align:center; padding:0;} padding-left: 8px;
}
label {cursor:pointer;} textarea {
width: 100%;
height: 150px;
}
label + input {margin-left:10px;} input[type="number"] {
text-align: center;
padding: 0;
}
label {
cursor: pointer;
}
label+input {
margin-left: 10px;
}
.txt-center {text-align:center !important;} .txt-center {
.txt-left {text-align:left !important;} text-align: center !important;
.txt-right {text-align:right !important;} }
.frm_info {display:block; margin-bottom:5px; font-size:11px; font-family:'Dotum'; color:#ebb4ab;} .txt-left {
.single-info .frm_info {margin-bottom:0;} text-align: left !important;
}
.full {width:100% !important;} .txt-right {
.empty_table {line-height:200px;} text-align: right !important;
}
#container {font-family:'Noto Sans KR', sans-serif;} .frm_info {
#container section {position:relative; padding-bottom:50px;} display: block;
#container h2 {font-size:18px; font-weight:300; margin-bottom:10px; line-height:30px;} margin-bottom: 5px;
#container h2:before {content:"\e90b"; font-family:'icon'; padding-right:5px; color:#4b4b47;} font-size: 11px;
#container h3 {font-size:15px; font-weight:300; margin-bottom:10px; line-height:30px;} font-family: 'Dotum';
color: #ebb4ab;
}
.local_ov {border-bottom:1px solid #efeff1; margin-bottom:10px; padding-bottom:10px; font-size:13px; font-weight:300;} .single-info .frm_info {
margin-bottom: 0;
}
.ov_listall {display:block; position:relative; float:left; padding:0 10px 0 0; margin-right:10px; text-decoration:none; color:#d18686;} .full {
.ov_listall:before {content:""; display:block; position:absolute; right:0; top:3px; bottom:3px; width:1px; background:#e1e1e1;} width: 100% !important;
}
.local_desc {background:#fff0f0; padding:5px 10px; border:1px solid #ecc6c6; color:#5b5b5a; margin-bottom:10px; line-height:1.8em;} .empty_table {
.local_desc .point {color:#d18686;} line-height: 200px;
.local_desc.pos-top {margin-top:10px; margin-bottom:0;} }
#container {
font-family: 'Noto Sans KR', sans-serif;
}
#container section {
position: relative;
padding-bottom: 50px;
}
#container h2 {
font-size: 18px;
font-weight: 300;
margin-bottom: 10px;
line-height: 30px;
}
#container h2:before {
content: "\e90b";
font-family: 'icon';
padding-right: 5px;
color: #4b4b47;
}
#container h3 {
font-size: 15px;
font-weight: 300;
margin-bottom: 10px;
line-height: 30px;
}
.local_ov {
border-bottom: 1px solid #efeff1;
margin-bottom: 10px;
padding-bottom: 10px;
font-size: 13px;
font-weight: 300;
}
.ov_listall {
display: block;
position: relative;
float: left;
padding: 0 10px 0 0;
margin-right: 10px;
text-decoration: none;
color: #d18686;
}
.ov_listall:before {
content: "";
display: block;
position: absolute;
right: 0;
top: 3px;
bottom: 3px;
width: 1px;
background: #e1e1e1;
}
.local_desc {
background: #fff0f0;
padding: 5px 10px;
border: 1px solid #ecc6c6;
color: #5b5b5a;
margin-bottom: 10px;
line-height: 1.8em;
}
.local_desc .point {
color: #d18686;
}
.local_desc.pos-top {
margin-top: 10px;
margin-bottom: 0;
}
.pg_wrap {
display: block;
position: relative;
text-align: center;
padding: 30px 0 30px 0;
}
.pg_wrap span {
display: inline-block;
position: relative;
text-align: center;
vertical-align: middle;
margin: 0 10px;
}
.pg_wrap {display:block; position:relative; text-align:center; padding:30px 0 30px 0;}
.pg_wrap span {display:inline-block; position:relative; text-align:center; vertical-align:middle; margin:0 10px;}
.pg_wrap strong, .pg_wrap strong,
.pg_wrap a {display:inline-block; padding:0 10px; min-width:10px; height:30px; line-height:30px; text-align:center; background:#fafafa; text-decoration:none; vertical-align:middle; border-radius:9em;} .pg_wrap a {
.pg_wrap strong {background:#d18686; color:#fff; border-color:#d18686;} display: inline-block;
.pg_wrap .pg_control {width:30px; padding:0; box-sizing:border-box; border:none;} padding: 0 10px;
.pg_wrap .pg_control * {line-height:30px;} min-width: 10px;
height: 30px;
line-height: 30px;
text-align: center;
background: #fafafa;
text-decoration: none;
vertical-align: middle;
border-radius: 9em;
}
.btn_list01 {position:relative; padding:20px 0;} .pg_wrap strong {
.local_desc.pos-top + .btn_list01 {padding-top:10px;} background: #d18686;
.btn_list01 * {padding:10px 15px; vertical-align:middle;} color: #fff;
border-color: #d18686;
}
.btn_list03 {position:absolute; top:5px; right:0;} .pg_wrap .pg_control {
.btn_list03 * {padding:5px 10px;} width: 30px;
padding: 0;
box-sizing: border-box;
border: none;
}
.btn_add01 * {padding:10px 15px; vertical-align:middle;} .pg_wrap .pg_control * {
line-height: 30px;
}
.btn_list01 {
position: relative;
padding: 20px 0;
}
.local_desc.pos-top+.btn_list01 {
padding-top: 10px;
}
.btn_list01 * {
padding: 10px 15px;
vertical-align: middle;
}
.btn_list03 {
position: absolute;
top: 5px;
right: 0;
}
.btn_list03 * {
padding: 5px 10px;
}
.btn_add01 * {
padding: 10px 15px;
vertical-align: middle;
}
.btn_list a, .btn_list a,
.btn_list button, .btn_list button,
.btn_list input {display:inline-block; background:#d18686; color:#fff; font-weight:400; text-decoration:none; border:none; line-height:1.0em; cursor:pointer;} .btn_list input {
display: inline-block;
background: #d18686;
color: #fff;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.btn_add {
float: right;
clear: both;
margin-bottom: 10px;
}
.btn_add {float:right; clear:both; margin-bottom:10px;}
.btn_add a, .btn_add a,
.btn_add button, .btn_add button,
.btn_add input {display:inline-block; background:#d18686; color:#fff; font-size:13px; font-weight:400; text-decoration:none; border:none; line-height:1.0em; cursor:pointer;} .btn_add input {
display: inline-block;
background: #d18686;
color: #fff;
font-size: 13px;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.btn_frmline {display:inline-block; background:#d18686; color:#fff; font-weight:400; padding:0 15px; text-decoration:none; border:none; line-height:28px; cursor:pointer; vertical-align:middle;} .btn_frmline {
display: inline-block;
background: #d18686;
color: #fff;
font-weight: 400;
padding: 0 15px;
text-decoration: none;
border: none;
line-height: 28px;
cursor: pointer;
vertical-align: middle;
}
.btn_del_menu {display:inline-block; color:#d18686; font-size:13px; font-weight:400; border:none; line-height:1.0em; background:transparent; cursor:pointer;} .btn_del_menu {
display: inline-block;
color: #d18686;
font-size: 13px;
font-weight: 400;
border: none;
line-height: 1.0em;
background: transparent;
cursor: pointer;
}
.sv {display:none !important;} .sv {
.anchor {display:block; position:relative; clear:both; padding:0; margin:0 0 10px 0; overflow:hidden;} display: none !important;
.anchor li {display:block; float:left; list-style:none; margin:0;} }
.anchor li a {display:block; position:relative; padding:5px 10px; text-decoration:none; margin:0 1px; color:#62656c; border-radius:9.0em; box-sizing:border-box; z-index:1;}
.anchor li:first-child a {border-left-width:0;} .anchor {
display: block;
position: relative;
clear: both;
padding: 0;
margin: 0 0 10px 0;
overflow: hidden;
}
.anchor li {
display: block;
float: left;
list-style: none;
margin: 0;
}
.anchor li a {
display: block;
position: relative;
padding: 5px 10px;
text-decoration: none;
margin: 0 1px;
color: #62656c;
border-radius: 9.0em;
box-sizing: border-box;
z-index: 1;
}
.anchor li:first-child a {
border-left-width: 0;
}
.anchor li.on a, .anchor li.on a,
#anc_001 a[href="#anc_001"], #anc_001 a[href="#anc_001"],
@ -137,74 +483,277 @@ label + input {margin-left:10px;}
#anc_013 a[href="#anc_013"], #anc_013 a[href="#anc_013"],
#anc_014 a[href="#anc_014"], #anc_014 a[href="#anc_014"],
#anc_015 a[href="#anc_015"], #anc_015 a[href="#anc_015"],
#anc_016 a[href="#anc_016"] {background:#b0c4de; color:#fff;} #anc_016 a[href="#anc_016"] {
background: #b0c4de;
color: #fff;
}
.color-preview {display:inline-block; width:25px; height:25px; border:1px solid #cacaca; vertical-align:middle;} .color-preview {
.admin-icon-box {display:inline-block; min-width:25px; height:25px; border:1px solid #cacaca; vertical-align:middle;} display: inline-block;
width: 25px;
height: 25px;
border: 1px solid #cacaca;
vertical-align: middle;
}
table {border-spacing:0px;} .admin-icon-box {
display: inline-block;
min-width: 25px;
height: 25px;
border: 1px solid #cacaca;
vertical-align: middle;
}
.tbl_wrap table {width:100%; border-collapse:collapse; table-layout:fixed;} table {
border-spacing: 0px;
}
.tbl_wrap table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.tbl_head01 thead {} .tbl_head01 thead {}
.tbl_head01 thead th {background:#f9f9f9; font-weight:300; padding:8px 10px; border:1px solid #efeff1; font-size:13px; color:#5b5b5a;}
.tbl_head01 .bo-right {border-right-width:1px !important;} .tbl_head01 thead th {
.tbl_head01 .bo-left {border-left-width:1px !important;} background: #f9f9f9;
.tbl_head01 .bo-top {border-top-width:1px !important;} font-weight: 300;
padding: 8px 10px;
border: 1px solid #efeff1;
font-size: 13px;
color: #5b5b5a;
}
.tbl_head01 .bo-no-right {border-right-width:0px !important;} .tbl_head01 .bo-right {
.tbl_head01 .bo-no-left {border-left-width:0px !important;} border-right-width: 1px !important;
.tbl_head01 .bo-no-top {border-top-width:0px !important;} }
.tbl_head01 .bo-no-bottom {border-bottom-width:0px !important;}
.tbl_head01 .bo-left {
border-left-width: 1px !important;
}
.tbl_head01 .bo-top {
border-top-width: 1px !important;
}
.tbl_head01 .bo-no-right {
border-right-width: 0px !important;
}
.tbl_head01 .bo-no-left {
border-left-width: 0px !important;
}
.tbl_head01 .bo-no-top {
border-top-width: 0px !important;
}
.tbl_head01 .bo-no-bottom {
border-bottom-width: 0px !important;
}
.tbl_head01 tbody td {text-align:center; padding:7px 10px; color:#5b5b5a; border:1px solid #efeff1; border-top-width:0; border-left-width:0; height:30px;} .tbl_head01 tbody td {
.tbl_head01 tbody td:first-child {border-left-width:1px;} text-align: center;
.tbl_head01 tbody td a {color:#d18686;} padding: 7px 10px;
color: #5b5b5a;
border: 1px solid #efeff1;
border-top-width: 0;
border-left-width: 0;
height: 30px;
}
.tbl_head01 tbody td:first-child {
border-left-width: 1px;
}
.tbl_head01 tbody td a {
color: #d18686;
}
.tbl_head01 tfoot th, .tbl_head01 tfoot th,
.tbl_head01 tfoot td {background:#f9f9f9; font-weight:300; padding:8px 10px; border:1px solid #efeff1; border-top-width:0; border-left-width:0; font-size:13px; color:#5b5b5a;} .tbl_head01 tfoot td {
background: #f9f9f9;
font-weight: 300;
padding: 8px 10px;
border: 1px solid #efeff1;
border-top-width: 0;
border-left-width: 0;
font-size: 13px;
color: #5b5b5a;
}
.tbl_head01 tfoot td:first-child, .tbl_head01 tfoot td:first-child,
.tbl_head01 tfoot th:first-child {border-left-width:1px;} .tbl_head01 tfoot th:first-child {
border-left-width: 1px;
}
.tbl_frm01 table {
border-top: 1px solid #efeff5;
}
.tbl_frm01 table {border-top:1px solid #efeff5;}
.tbl_frm01 tbody th, .tbl_frm01 tbody th,
.tbl_frm01 tbody td {color:#5b5b5a; font-weight:400; padding:10px; border:0px solid #efeff5; border-bottom-width:1px;} .tbl_frm01 tbody td {
.tbl_frm01 tbody th {background:#f9f9f9; border-right-width:1px;} color: #5b5b5a;
font-weight: 400;
padding: 10px;
border: 0px solid #efeff5;
border-bottom-width: 1px;
}
.tbl_frm01 tbody th {
background: #f9f9f9;
border-right-width: 1px;
}
.tbl_frm01 tbody th.bo-right, .tbl_frm01 tbody th.bo-right,
.tbl_frm01 tbody td.bo-right {border-right-width:1px;} .tbl_frm01 tbody td.bo-right {
border-right-width: 1px;
}
.tbl_frm01 tbody th.bo-left, .tbl_frm01 tbody th.bo-left,
.tbl_frm01 tbody td.bo-left {border-left-width:1px;} .tbl_frm01 tbody td.bo-left {
border-left-width: 1px;
}
.tbl_frm01 tbody th.bo-top, .tbl_frm01 tbody th.bo-top,
.tbl_frm01 tbody td.bo-top {border-top-width:1px;} .tbl_frm01 tbody td.bo-top {
.tbl_frm01 tbody th + td.bo-left {border-left-width:0px !important;} border-top-width: 1px;
}
.index-gnb {display:block; font-size:13px;} .tbl_frm01 tbody th+td.bo-left {
.index-gnb > ul > li {display:table; width:100%; table-layout:fixed; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.2);} border-left-width: 0px !important;
.index-gnb > ul > li > * {display:table-cell;} }
.index-gnb > ul > li > a {width:130px; background:#353942; color:#fff; text-align:center; vertical-align:middle; font-size:14px;}
.index-gnb > ul > li > ul {display:block; padding:10px; background:#eaeaea;}
.index-gnb > ul > li > ul > li {display:inline-block; min-width:130px; vertical-align:middle; padding:5px 0;}
.prev_thumb {max-width:100px; max-height:50px;} .index-gnb {
.banner-thumb {max-width:200px; max-height:100px;} display: block;
.character-thumb {max-width:200px; max-height:500px;} font-size: 13px;
}
.index-gnb>ul>li {
display: table;
width: 100%;
table-layout: fixed;
overflow: hidden;
border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.index-gnb>ul>li>* {
display: table-cell;
}
.index-gnb>ul>li>a {
width: 130px;
background: #353942;
color: #fff;
text-align: center;
vertical-align: middle;
font-size: 14px;
}
.index-gnb>ul>li>ul {
display: block;
padding: 10px;
background: #eaeaea;
}
.index-gnb>ul>li>ul>li {
display: inline-block;
min-width: 130px;
vertical-align: middle;
padding: 5px 0;
}
.prev_thumb {
max-width: 100px;
max-height: 50px;
}
.banner-thumb {
max-width: 200px;
max-height: 100px;
}
.character-thumb {
max-width: 200px;
max-height: 500px;
}
.ajax-list-box {height:70px; overflow-y:auto; border:1px solid #eaeaea; margin-top:10px; padding:5px;} .ajax-list-box {
height: 70px;
overflow-y: auto;
border: 1px solid #eaeaea;
margin-top: 10px;
padding: 5px;
}
.ajax-list-box ul, .ajax-list-box ul,
.ajax-list-box li {display:block; margin:0; padding:0; position:relative;} .ajax-list-box li {
.ajax-list-box li {margin-bottom:5px;} display: block;
.ajax-list-box li a {display:block; position:relative; padding:10px; border-radius:3px; color:#2a2d2a; background:#fafafa; text-decoration:none; font-size:12px;} margin: 0;
padding: 0;
position: relative;
}
.ajax-list-box li a p.point {color:#d18686;} .ajax-list-box li {
.ajax-list-box li a:hover {color:#fff; background:#3a3a3a;} margin-bottom: 5px;
.ajax-list-box li a .ui-thumb {position:absolute; top:10px; left:10px; width:30px; line-height:30px; overflow:hidden; text-align:center;} }
.ajax-list-box li a .ui-thumb img {max-width:100%;}
.ajax-list-box li a .ui-info {margin-left:40px;}
.ajax-list-box .no-data {line-height:50px; text-align:center; margin-top:10px;}
.visit_bar {position:relative} .ajax-list-box li a {
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#d18686} display: block;
position: relative;
padding: 10px;
border-radius: 3px;
color: #2a2d2a;
background: #fafafa;
text-decoration: none;
font-size: 12px;
}
.ajax-list-box li a p.point {
color: #d18686;
}
.ajax-list-box li a:hover {
color: #fff;
background: #3a3a3a;
}
.ajax-list-box li a .ui-thumb {
position: absolute;
top: 10px;
left: 10px;
width: 30px;
line-height: 30px;
overflow: hidden;
text-align: center;
}
.ajax-list-box li a .ui-thumb img {
max-width: 100%;
}
.ajax-list-box li a .ui-info {
margin-left: 40px;
}
.ajax-list-box .no-data {
line-height: 50px;
text-align: center;
margin-top: 10px;
}
.visit_bar {
position: relative
}
.visit_bar span {
position: absolute;
top: -8px;
left: 0;
height: 15px;
background: #d18686
}

View file

@ -1,87 +1,457 @@
@charset "utf-8"; @charset "utf-8";
html, html,
body {height:100%;} body {
height: 100%;
}
#wrap {} #wrap {}
#header {display:block; position:fixed; left:0; bottom:0; top:0; width:200px; min-height:100%; background:#1d1d1f; vertical-align:top; z-index:999;} #header {
#header:after {content:""; display:block; position:absolute; top:0; bottom:0; right:0; width:1px; background:#171b26; z-index:0;} display: block;
#admin_prof {display:block; position:relative; width:200px; height:100px; padding-bottom:30px; background:#ecc6c6; border-right:1px solid #d18686; box-sizing:border-box; z-index:1;} position: fixed;
#admin_prof h1 {position:relative; text-align:center; line-height:70px;} left: 0;
#admin_prof h1 img {position:relative; z-index:0;} bottom: 0;
#admin_prof h1 i {display:block; position:absolute; bottom:5px;right:10px; font-size:11px; font-style:normal; font-weight:400; line-height:1.0em; color:#d18686; z-index:1;} top: 0;
#admin_prof p {position:absolute; bottom:0; left:0; right:0; height:30px; margin:0; background:rgba(0,0,0,.2);} width: 200px;
#admin_prof a:hover {color:#fff !important;} min-height: 100%;
#admin_prof .name {display:block; position:relative; padding-right:30px; padding-left:15px; font-size:13px; line-height:30px; color:#fff; text-decoration:none; font-family:'Noto Sans KR', sans-serif;} background: #1d1d1f;
vertical-align: top;
z-index: 999;
}
#admin_prof .logout {display:block; position:absolute; top:0; bottom:0; right:0; width:30px; height:30px; overflow:hidden; text-indent:-999px;} #header:after {
#admin_prof .logout:before {content:"\e984"; font-family:'icon'; color:#fff; font-size:12px; position:absolute; top:0; right:0; bottom:0; left:0; line-height:30px; text-align:center; text-indent:0;} content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 1px;
background: #171b26;
z-index: 0;
}
#page_top {position:fixed; top:0; left:200px; right:0; height:71px; box-sizing:border-box; border-bottom:1px solid #131a24; background:#1d1d1f; z-index:999;} #admin_prof {
#page_top h2 {position:absolute; top:0; left:0; bottom:0; line-height:70px; padding-left:40px; font-size:20px; font-family:'Noto Sans KR', sans-serif; color:#c3c8cc; font-weight:300;} display: block;
#page_top a {display:block; position:relative; width:70px; height:70px; float:right; border-left:1px solid #4d515c; overflow:hidden; color:#c3c8cc; text-indent:-999px;} position: relative;
#page_top a:before {display:block; position:absolute; top:0; left:0; right:0; bottom:0; font-family:'icon'; line-height:70px; font-size:25px; text-align:center; text-indent:0;} width: 200px;
#page_top a:hover {color:#fff; background:#e7604a; border-color:#a6240d;} height: 100px;
#page_top a.ico-home:before {content:"\e900";} padding-bottom: 30px;
#page_top a.ico-dev:before {content:"\e995";} background: #ecc6c6;
border-right: 1px solid #d18686;
box-sizing: border-box;
z-index: 1;
}
.btn_confirm {display:block; position:fixed; top:0; right:0; z-index:9999; padding:0;} #admin_prof h1 {
.btn_confirm > * {display:block; position:relative; height:71px; width:71px; float:left; border:none; border-left:1px solid rgba(255,255,255,.1); background:#ecc6c6; color:#fff; cursor:pointer;} position: relative;
.btn_confirm > *.ty2 {background:#d18686;} text-align: center;
.btn_confirm > *.ty3 {background:#b0c4de;} line-height: 70px;
.btn_confirm .btn > span {display:block; position:absolute; top:50%; left:0; right:0; text-align:center; transform:translateY(-50%); -webkit-transform:translateY(-50%); z-index:0;} }
.btn_confirm .btn > input {display:block; position:absolute; width:100%; height:100%; opacity:0; z-index:1; cursor:pointer;}
#admin_prof h1 img {
position: relative;
z-index: 0;
}
#admin_prof h1 i {
display: block;
position: absolute;
bottom: 5px;
right: 10px;
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: 1.0em;
color: #d18686;
z-index: 1;
}
#admin_prof p {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
margin: 0;
background: rgba(0, 0, 0, .2);
}
#admin_prof a:hover {
color: #fff !important;
}
#admin_prof .name {
display: block;
position: relative;
padding-right: 30px;
padding-left: 15px;
font-size: 13px;
line-height: 30px;
color: #fff;
text-decoration: none;
font-family: 'Noto Sans KR', sans-serif;
}
#admin_prof .logout {
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 30px;
height: 30px;
overflow: hidden;
text-indent: -999px;
}
#admin_prof .logout:before {
content: "\e984";
font-family: 'icon';
color: #fff;
font-size: 12px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
line-height: 30px;
text-align: center;
text-indent: 0;
}
#page_top {
position: fixed;
top: 0;
left: 200px;
right: 0;
height: 71px;
box-sizing: border-box;
border-bottom: 1px solid #131a24;
background: #1d1d1f;
z-index: 999;
}
#page_top h2 {
position: absolute;
top: 0;
left: 0;
bottom: 0;
line-height: 70px;
padding-left: 40px;
font-size: 20px;
font-family: 'Noto Sans KR', sans-serif;
color: #c3c8cc;
font-weight: 300;
}
#page_top a {
display: block;
position: relative;
width: 70px;
height: 70px;
float: right;
border-left: 1px solid #4d515c;
overflow: hidden;
color: #c3c8cc;
text-indent: -999px;
}
#page_top a:before {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-family: 'icon';
line-height: 70px;
font-size: 25px;
text-align: center;
text-indent: 0;
}
#page_top a:hover {
color: #fff;
background: #e7604a;
border-color: #a6240d;
}
#page_top a.ico-home:before {
content: "\e900";
}
#page_top a.ico-dev:before {
content: "\e995";
}
.btn_confirm {
display: block;
position: fixed;
top: 0;
right: 0;
z-index: 9999;
padding: 0;
}
.btn_confirm>* {
display: block;
position: relative;
height: 71px;
width: 71px;
float: left;
border: none;
border-left: 1px solid rgba(255, 255, 255, .1);
background: #ecc6c6;
color: #fff;
cursor: pointer;
}
.btn_confirm>*.ty2 {
background: #d18686;
}
.btn_confirm>*.ty3 {
background: #b0c4de;
}
.btn_confirm .btn>span {
display: block;
position: absolute;
top: 50%;
left: 0;
right: 0;
text-align: center;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
z-index: 0;
}
.btn_confirm .btn>input {
display: block;
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
z-index: 1;
cursor: pointer;
}
#wrapper {position:relative; display:block; padding:71px 0 0 200px;} #wrapper {
position: relative;
display: block;
padding: 71px 0 0 200px;
}
#gnb {display:block; position:relative; padding-top:20px; font-family:'Noto Sans KR', sans-serif;} #gnb {
#gnb > ul > li > a {display:block; padding:10px 20px; color:#9da4b3; font-size:15px; text-decoration:none;} display: block;
#gnb .gnb_2dli {position:relative;} position: relative;
#gnb .gnb_2dli > a {display:block; padding:10px 20px 10px 25px; color:#acaeb2; font-size:13px;} padding-top: 20px;
#gnb .gnb_2dli > a:before {font-family:'icon'; padding-right:7px;} font-family: 'Noto Sans KR', sans-serif;
#gnb .gnb_2dli.check:after {content:"\ea10"; font-family:'icon'; display:block; position:absolute; top:0; right:10px; line-height:39px; color:#e76148;} }
#gnb .gnb_2dli > a:hover {color:#fff; background:#484c58; text-decoration:none; font-weight:100;} #gnb>ul>li>a {
display: block;
padding: 10px 20px;
color: #9da4b3;
font-size: 15px;
text-decoration: none;
}
#gnb .gnb_2dul {display:none; background:#262931;} #gnb .gnb_2dli {
#gnb .gnb_2dli.check > a:after {content:""; display:block; position:absolute;} position: relative;
}
#gnb .gnb_2dli > a:before {content:"\e994";} #gnb .gnb_2dli>a {
display: block;
padding: 10px 20px 10px 25px;
color: #acaeb2;
font-size: 13px;
}
#gnb .gnb_2dli>a:before {
font-family: 'icon';
padding-right: 7px;
}
#gnb .gnb_2dli.check:after {
content: "\ea10";
font-family: 'icon';
display: block;
position: absolute;
top: 0;
right: 10px;
line-height: 39px;
color: #e76148;
}
#gnb .gnb_2dli>a:hover {
color: #fff;
background: #484c58;
text-decoration: none;
font-weight: 100;
}
#gnb .gnb_2dul {
display: none;
background: #262931;
}
#gnb .gnb_2dli.check>a:after {
content: "";
display: block;
position: absolute;
}
#gnb .gnb_2dli>a:before {
content: "\e994";
}
#gnb .gnb_2dli > a[data-text="메뉴 설정"]:before {content:"\EA72";} #gnb .gnb_2dli>a[data-text="메뉴 설정"]:before {
#gnb .gnb_2dli > a[data-text="환경설정"]:before {content:"\e994";} content: "\EA72";
#gnb .gnb_2dli > a[data-text="메인 편집"]:before {content:"\e956";} }
#gnb .gnb_2dli > a[data-text="디자인 설정"]:before {content:"\e90c";}
#gnb .gnb_2dli > a[data-text="DB관리"]:before {content:"\e964";}
#gnb .gnb_2dli > a[data-text="회원관리"]:before {content:"\e923";} #gnb .gnb_2dli>a[data-text="환경설정"]:before {
#gnb .gnb_2dli > a[data-text="접속자집계"]:before {content:"\e99c";} content: "\e994";
#gnb .gnb_2dli > a[data-text="접속자검색"]:before {content:"\e986";} }
#gnb .gnb_2dli > a[data-text="접속자로그삭제"]:before {content:"\e988";}
#gnb .gnb_2dli > a[data-text="게시판관리"]:before {content:"\e9ba";} #gnb .gnb_2dli>a[data-text="메인 편집"]:before {
#gnb .gnb_2dli > a[data-text="게시판그룹관리"]:before {content:"\e9bc";} content: "\e956";
#gnb .gnb_2dli > a[data-text="내용관리"]:before {content:"\e908";} }
#gnb .gnb_2dli > a[data-text="이모티콘관리"]:before {content:"\e9e1";}
#gnb .gnb_2dli>a[data-text="디자인 설정"]:before {
content: "\e90c";
}
#gnb .gnb_2dli>a[data-text="DB관리"]:before {
content: "\e964";
}
#gnb .gnb_2dli>a[data-text="회원관리"]:before {
content: "\e923";
}
#gnb .gnb_2dli>a[data-text="접속자집계"]:before {
content: "\e99c";
}
#gnb .gnb_2dli>a[data-text="접속자검색"]:before {
content: "\e986";
}
#gnb .gnb_2dli>a[data-text="접속자로그삭제"]:before {
content: "\e988";
}
#gnb .gnb_2dli>a[data-text="게시판관리"]:before {
content: "\e9ba";
}
#gnb .gnb_2dli>a[data-text="게시판그룹관리"]:before {
content: "\e9bc";
}
#gnb .gnb_2dli>a[data-text="내용관리"]:before {
content: "\e908";
}
#gnb .gnb_2dli>a[data-text="이모티콘관리"]:before {
content: "\e9e1";
}
#container {padding:25px;} #container {
#fsearch input {margin:0;} padding: 25px;
#fsearch .btn_submit {border:none; background:#ecc6c6; color:#fff; font-size:13px; width:50px; height:28px; cursor:pointer; line-height:1.0em;} }
.new_win {padding:20px;} #fsearch input {
.new_win_desc {padding:10px; margin:20px 0; background:#ecc6c6; color:#fff;} margin: 0;
.win-guide {display:block; position:relative; padding:10px; border:1px solid #efeff5; background:#f9f9f9;} }
.win-guide em {color:#d18686; font-weight:800; font-style:normal; padding:0 10px;}
.btn_win02 {padding:20px; text-align:center;}
.btn_win02 > * {display:inline-block; background:#d18686; color:#fff; font-size:13px; height:30px; padding:0 20px;font-weight:400; text-decoration:none; border:none; line-height:1.0em; cursor:pointer;}
.add_select {display:inline-block; background:#b0c4de; color:#fff; font-size:13px; height:30px; padding:0 20px;font-weight:400; text-decoration:none; border:none; line-height:1.0em; cursor:pointer;} #fsearch .btn_submit {
.full_input {width:100% !important;} border: none;
background: #ecc6c6;
color: #fff;
font-size: 13px;
width: 50px;
height: 28px;
cursor: pointer;
line-height: 1.0em;
}
.menu_list[data-name="구분선"] td {background:#efeff1;} .new_win {
.menu_list[data-name="구분선"] .td_category ~ td:not(.order) input, padding: 20px;
.menu_list[data-name="구분선"] .td_category ~ td:not(.order) select{display:none;} }
.new_win_desc {
padding: 10px;
margin: 20px 0;
background: #ecc6c6;
color: #fff;
}
.win-guide {
display: block;
position: relative;
padding: 10px;
border: 1px solid #efeff5;
background: #f9f9f9;
}
.win-guide em {
color: #d18686;
font-weight: 800;
font-style: normal;
padding: 0 10px;
}
.btn_win02 {
padding: 20px;
text-align: center;
}
.btn_win02>* {
display: inline-block;
background: #d18686;
color: #fff;
font-size: 13px;
height: 30px;
padding: 0 20px;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.add_select {
display: inline-block;
background: #b0c4de;
color: #fff;
font-size: 13px;
height: 30px;
padding: 0 20px;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.full_input {
width: 100% !important;
}
.menu_list[data-name="구분선"] td {
background: #efeff1;
}
.menu_list[data-name="구분선"] .td_category~td:not(.order) input,
.menu_list[data-name="구분선"] .td_category~td:not(.order) select {
display: none;
}

View file

@ -4,24 +4,99 @@
/********************************* /*********************************
사전정의 사전정의
**********************************/ **********************************/
html.single:before {display:none !important;} html.single:before {
display: none !important;
}
h1 {display:block; position:relative; font-size:1.5em; background:#1d1d1f; color:#fff; padding:1em;} h1 {
.previewWrap {position:relative; padding:20px;} display: block;
.admin-preview-box {display:block; position:relative; padding:1em; border:1px solid rgba(0,0,0,.2);} position: relative;
font-size: 1.5em;
background: #1d1d1f;
color: #fff;
padding: 1em;
}
.previewWrap h2 {display:block; position:relative; font-size:15px; margin-bottom:.6em;} .previewWrap {
.previewWrap * ~ h2 {margin-top:1.2em;} position: relative;
padding: 20px;
}
.gnbWrap .link {display:inline-block; position:relative;} .admin-preview-box {
.gnbWrap .icons {display:block; position:relative; width:3em; height:3em; z-index:1;} display: block;
.gnbWrap .icons:before {content:""; display:block; position:absolute; z-index:0; top:.1em; left:.1em; right:.1em; bottom:.1em; box-sizing:border-box;} position: relative;
.gnbWrap .icons > span {display:table; width:100%; height:100%; position:relative; z-index:1;} padding: 1em;
.gnbWrap .icons > span > * {display:table-cell; vertical-align:middle; text-align:center;} border: 1px solid rgba(0, 0, 0, .2);
.gnbWrap .tooltips {display:block; position:absolute; padding:2px 15px; margin-left:.5em; left:100%; top:50%; white-space:nowrap; transform:translateY(-50%); -webkit=transform:translateY(-50%); } }
.admin-preview-box .ui-btn {margin:2px;} .previewWrap h2 {
display: block;
position: relative;
font-size: 15px;
margin-bottom: .6em;
}
.previewWrap *~h2 {
margin-top: 1.2em;
}
.gnbWrap .link {
display: inline-block;
position: relative;
}
.gnbWrap .icons {
display: block;
position: relative;
width: 3em;
height: 3em;
z-index: 1;
}
.gnbWrap .icons:before {
content: "";
display: block;
position: absolute;
z-index: 0;
top: .1em;
left: .1em;
right: .1em;
bottom: .1em;
box-sizing: border-box;
}
.gnbWrap .icons>span {
display: table;
width: 100%;
height: 100%;
position: relative;
z-index: 1;
}
.gnbWrap .icons>span>* {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.gnbWrap .tooltips {
display: block;
position: absolute;
padding: 2px 15px;
margin-left: .5em;
left: 100%;
top: 50%;
white-space: nowrap;
transform: translateY(-50%);
-webkit=transform: translateY(-50%);
}
.admin-preview-box .ui-btn {
margin: 2px;
}
.admin-preview-box input, .admin-preview-box input,
.admin-preview-box select, .admin-preview-box select,
.admin-preview-box textarea {margin:2px;} .admin-preview-box textarea {
margin: 2px;
}

View file

@ -35,13 +35,13 @@
bottom: 0; bottom: 0;
} }
.minicolors input[type=hidden] + .minicolors-swatch { .minicolors input[type=hidden]+.minicolors-swatch {
width: 28px; width: 28px;
position: static; position: static;
cursor: pointer; cursor: pointer;
} }
.minicolors input[type=hidden][disabled] + .minicolors-swatch { .minicolors input[type=hidden][disabled]+.minicolors-swatch {
cursor: default; cursor: default;
} }
@ -86,13 +86,15 @@
.minicolors .minicolors-grid { .minicolors .minicolors-grid {
position: relative; position: relative;
top: 1px; top: 1px;
left: 1px; /* LTR */ left: 1px;
/* LTR */
width: 150px; width: 150px;
height: 150px; height: 150px;
margin-bottom: 2px; margin-bottom: 2px;
background-position: -120px 0; background-position: -120px 0;
cursor: crosshair; cursor: crosshair;
} }
[dir=rtl] .minicolors .minicolors-grid { [dir=rtl] .minicolors .minicolors-grid {
right: 1px; right: 1px;
} }
@ -130,13 +132,15 @@
.minicolors-opacity-slider { .minicolors-opacity-slider {
position: absolute; position: absolute;
top: 1px; top: 1px;
left: 152px; /* LTR */ left: 152px;
/* LTR */
width: 20px; width: 20px;
height: 150px; height: 150px;
background-color: white; background-color: white;
background-position: 0 0; background-position: 0 0;
cursor: row-resize; cursor: row-resize;
} }
[dir=rtl] .minicolors-slider, [dir=rtl] .minicolors-slider,
[dir=rtl] .minicolors-opacity-slider { [dir=rtl] .minicolors-opacity-slider {
right: 152px; right: 152px;
@ -155,10 +159,12 @@
} }
.minicolors-opacity-slider { .minicolors-opacity-slider {
left: 173px; /* LTR */ left: 173px;
/* LTR */
background-position: -40px 0; background-position: -40px 0;
display: none; display: none;
} }
[dir=rtl] .minicolors-opacity-slider { [dir=rtl] .minicolors-opacity-slider {
right: 173px; right: 173px;
} }
@ -181,7 +187,7 @@
background: none; background: none;
} }
.minicolors-grid .minicolors-picker > div { .minicolors-grid .minicolors-picker>div {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
@ -209,11 +215,13 @@
/* Swatches */ /* Swatches */
.minicolors-swatches, .minicolors-swatches,
.minicolors-swatches li { .minicolors-swatches li {
margin: 5px 0 3px 5px; /* LTR */ margin: 5px 0 3px 5px;
/* LTR */
padding: 0; padding: 0;
list-style: none; list-style: none;
overflow: hidden; overflow: hidden;
} }
[dir=rtl] .minicolors-swatches, [dir=rtl] .minicolors-swatches,
[dir=rtl] .minicolors-swatches li { [dir=rtl] .minicolors-swatches li {
margin: 5px 5px 3px 0; margin: 5px 5px 3px 0;
@ -221,18 +229,23 @@
.minicolors-swatches .minicolors-swatch { .minicolors-swatches .minicolors-swatch {
position: relative; position: relative;
float: left; /* LTR */ float: left;
/* LTR */
cursor: pointer; cursor: pointer;
margin: 0 4px 0 0; /* LTR */ margin: 0 4px 0 0;
/* LTR */
} }
[dir=rtl] .minicolors-swatches .minicolors-swatch { [dir=rtl] .minicolors-swatches .minicolors-swatch {
float: right; float: right;
margin: 0 0 0 4px; margin: 0 0 0 4px;
} }
.minicolors-with-opacity .minicolors-swatches .minicolors-swatch { .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
margin-right: 7px; /* LTR */ margin-right: 7px;
/* LTR */
} }
[dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch { [dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
margin-right: 0; margin-right: 0;
margin-left: 7px; margin-left: 7px;
@ -254,11 +267,13 @@
.minicolors-inline .minicolors-panel { .minicolors-inline .minicolors-panel {
position: relative; position: relative;
top: auto; top: auto;
left: auto; /* LTR */ left: auto;
/* LTR */
box-shadow: none; box-shadow: none;
z-index: auto; z-index: auto;
display: inline-block; display: inline-block;
} }
[dir=rtl] .minicolors-inline .minicolors-panel { [dir=rtl] .minicolors-inline .minicolors-panel {
right: auto; right: auto;
} }
@ -266,51 +281,69 @@
/* Default theme */ /* Default theme */
.minicolors-theme-default .minicolors-swatch { .minicolors-theme-default .minicolors-swatch {
top: 5px; top: 5px;
left: 5px; /* LTR */ left: 5px;
/* LTR */
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
[dir=rtl] .minicolors-theme-default .minicolors-swatch { [dir=rtl] .minicolors-theme-default .minicolors-swatch {
right: 5px; right: 5px;
} }
.minicolors-theme-default .minicolors-swatches .minicolors-swatch { .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
margin-bottom: 2px; margin-bottom: 2px;
top: 0; top: 0;
left: 0; /* LTR */ left: 0;
/* LTR */
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
[dir=rtl] .minicolors-theme-default .minicolors-swatches .minicolors-swatch { [dir=rtl] .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
right: 0; right: 0;
} }
.minicolors-theme-default.minicolors-position-right .minicolors-swatch { .minicolors-theme-default.minicolors-position-right .minicolors-swatch {
left: auto; /* LTR */ left: auto;
right: 5px; /* LTR */ /* LTR */
right: 5px;
/* LTR */
} }
[dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-swatch { [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-swatch {
right: auto; right: auto;
left: 5px; left: 5px;
} }
.minicolors-theme-default.minicolors { .minicolors-theme-default.minicolors {
width: auto; width: auto;
display: inline-block; display: inline-block;
} }
.minicolors-theme-default .minicolors-input {width:100px !important;
.minicolors-theme-default .minicolors-input {
width: 100px !important;
height: 28px; height: 28px;
width: auto; width: auto;
display: inline-block; display: inline-block;
padding-left: 26px; /* LTR */ padding-left: 26px;
/* LTR */
} }
[dir=rtl] .minicolors-theme-default .minicolors-input { [dir=rtl] .minicolors-theme-default .minicolors-input {
text-align: right; text-align: right;
unicode-bidi: plaintext; unicode-bidi: plaintext;
padding-left: 1px; padding-left: 1px;
padding-right: 26px; padding-right: 26px;
} }
.minicolors-theme-default.minicolors-position-right .minicolors-input { .minicolors-theme-default.minicolors-position-right .minicolors-input {
padding-right: 26px; /* LTR */ padding-right: 26px;
padding-left: inherit; /* LTR */ /* LTR */
padding-left: inherit;
/* LTR */
} }
[dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-input { [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-input {
padding-right: inherit; padding-right: inherit;
padding-left: 26px; padding-left: 26px;
@ -320,113 +353,144 @@
.minicolors-theme-bootstrap .minicolors-swatch { .minicolors-theme-bootstrap .minicolors-swatch {
z-index: 2; z-index: 2;
top: 3px; top: 3px;
left: 3px; /* LTR */ left: 3px;
/* LTR */
width: 28px; width: 28px;
height: 28px; height: 28px;
border-radius: 2px; border-radius: 2px;
} }
[dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch { [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch {
right: 3px; right: 3px;
} }
.minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch { .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
margin-bottom: 2px; margin-bottom: 2px;
top: 0; top: 0;
left: 0; /* LTR */ left: 0;
/* LTR */
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
[dir=rtl] .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch { [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
right: 0; right: 0;
} }
.minicolors-theme-bootstrap .minicolors-swatch-color { .minicolors-theme-bootstrap .minicolors-swatch-color {
border-radius: inherit; border-radius: inherit;
} }
.minicolors-theme-bootstrap.minicolors-position-right > .minicolors-swatch {
left: auto; /* LTR */ .minicolors-theme-bootstrap.minicolors-position-right>.minicolors-swatch {
right: 3px; /* LTR */ left: auto;
/* LTR */
right: 3px;
/* LTR */
} }
[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left > .minicolors-swatch {
[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left>.minicolors-swatch {
right: auto; right: auto;
left: 3px; left: 3px;
} }
.minicolors-theme-bootstrap .minicolors-input { .minicolors-theme-bootstrap .minicolors-input {
float: none; float: none;
padding-left: 44px; /* LTR */ padding-left: 44px;
/* LTR */
} }
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input { [dir=rtl] .minicolors-theme-bootstrap .minicolors-input {
text-align: right; text-align: right;
unicode-bidi: plaintext; unicode-bidi: plaintext;
padding-left: 12px; padding-left: 12px;
padding-right: 44px; padding-right: 44px;
} }
.minicolors-theme-bootstrap.minicolors-position-right .minicolors-input { .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
padding-right: 44px; /* LTR */ padding-right: 44px;
padding-left: 12px; /* LTR */ /* LTR */
padding-left: 12px;
/* LTR */
} }
[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left .minicolors-input { [dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left .minicolors-input {
padding-right: 12px; padding-right: 12px;
padding-left: 44px; padding-left: 44px;
} }
.minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
.minicolors-theme-bootstrap .minicolors-input.input-lg+.minicolors-swatch {
top: 4px; top: 4px;
left: 4px; /* LTR */ left: 4px;
/* LTR */
width: 37px; width: 37px;
height: 37px; height: 37px;
border-radius: 5px; border-radius: 5px;
} }
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg+.minicolors-swatch {
right: 4px; right: 4px;
} }
.minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
.minicolors-theme-bootstrap .minicolors-input.input-sm+.minicolors-swatch {
width: 24px; width: 24px;
height: 24px; height: 24px;
} }
.minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch {
.minicolors-theme-bootstrap .minicolors-input.input-xs+.minicolors-swatch {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input { .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
border-top-left-radius: 0; /* LTR */ border-top-left-radius: 0;
border-bottom-left-radius: 0; /* LTR */ /* LTR */
border-bottom-left-radius: 0;
/* LTR */
} }
[dir=rtl] .input-group .minicolors-theme-bootstrap .minicolors-input { [dir=rtl] .input-group .minicolors-theme-bootstrap .minicolors-input {
border-radius: 4px; border-radius: 4px;
} }
[dir=rtl] .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input { [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
} }
[dir=rtl] .input-group .minicolors-theme-bootstrap:not(:last-child) .minicolors-input { [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:last-child) .minicolors-input {
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
/* bootstrap input-group rtl override */ /* bootstrap input-group rtl override */
[dir=rtl] .input-group .form-control, [dir=rtl] .input-group .form-control,
[dir=rtl] .input-group-addon, [dir=rtl] .input-group-addon,
[dir=rtl] .input-group-btn > .btn, [dir=rtl] .input-group-btn>.btn,
[dir=rtl] .input-group-btn > .btn-group > .btn, [dir=rtl] .input-group-btn>.btn-group>.btn,
[dir=rtl] .input-group-btn > .dropdown-toggle { [dir=rtl] .input-group-btn>.dropdown-toggle {
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 4px; border-radius: 4px;
} }
[dir=rtl] .input-group .form-control:first-child, [dir=rtl] .input-group .form-control:first-child,
[dir=rtl] .input-group-addon:first-child, [dir=rtl] .input-group-addon:first-child,
[dir=rtl] .input-group-btn:first-child > .btn, [dir=rtl] .input-group-btn:first-child>.btn,
[dir=rtl] .input-group-btn:first-child > .btn-group > .btn, [dir=rtl] .input-group-btn:first-child>.btn-group>.btn,
[dir=rtl] .input-group-btn:first-child > .dropdown-toggle, [dir=rtl] .input-group-btn:first-child>.dropdown-toggle,
[dir=rtl] .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), [dir=rtl] .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),
[dir=rtl] .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { [dir=rtl] .input-group-btn:last-child>.btn-group:not(:last-child)>.btn {
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-left: 0; border-left: 0;
} }
[dir=rtl] .input-group .form-control:last-child, [dir=rtl] .input-group .form-control:last-child,
[dir=rtl] .input-group-addon:last-child, [dir=rtl] .input-group-addon:last-child,
[dir=rtl] .input-group-btn:last-child > .btn, [dir=rtl] .input-group-btn:last-child>.btn,
[dir=rtl] .input-group-btn:last-child > .btn-group > .btn, [dir=rtl] .input-group-btn:last-child>.btn-group>.btn,
[dir=rtl] .input-group-btn:last-child > .dropdown-toggle, [dir=rtl] .input-group-btn:last-child>.dropdown-toggle,
[dir=rtl] .input-group-btn:first-child > .btn:not(:first-child), [dir=rtl] .input-group-btn:first-child>.btn:not(:first-child),
[dir=rtl] .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { [dir=rtl] .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
} }
@ -434,12 +498,15 @@
/* Semantic Ui theme */ /* Semantic Ui theme */
.minicolors-theme-semanticui .minicolors-swatch { .minicolors-theme-semanticui .minicolors-swatch {
top: 0; top: 0;
left: 0; /* LTR */ left: 0;
/* LTR */
padding: 18px; padding: 18px;
} }
[dir=rtl] .minicolors-theme-semanticui .minicolors-swatch { [dir=rtl] .minicolors-theme-semanticui .minicolors-swatch {
right: 0; right: 0;
} }
.minicolors-theme-semanticui input { .minicolors-theme-semanticui input {
text-indent: 30px; text-indent: 30px;
} }

View file

@ -1,9 +1,70 @@
@charset "utf-8"; @charset "utf-8";
html, body {width:100%; height:100%;}
#preview_item{height:50px} html,
#preview_item ul{margin:0;padding:0;top:0;width:100%;border-bottom:1px solid #eee; margin:0 auto;text-align:center;background:#333;position:fixed;top:0;z-index:999999;width:100%;} body {
#preview_item ul li{list-style:none;display:inline-block;height:50px;line-height:50px;padding:0 3px;*display:inline; zoom:1;} width: 100%;
#preview_item ul li a{color:#555;padding:0 8px;height:24px;line-height:24px;background:#f2f2f2;display:inline-block;vertical-align:middle;border:1px solid #dcdcdc;} height: 100%;
#preview_item ul li a:hover{background:#ccc;text-decoration:none;border:1px solid #ccc;} }
#preview_item ul li button{color:#fff;padding:0 8px;background:#29c7ca;border-radius:0;height:26px;line-height:24px;vertical-align:middle;border:none}
#preview_item ul li button:hover{background:#046b6d;color:#fff;text-decoration:none;} #preview_item {
height: 50px
}
#preview_item ul {
margin: 0;
padding: 0;
top: 0;
width: 100%;
border-bottom: 1px solid #eee;
margin: 0 auto;
text-align: center;
background: #333;
position: fixed;
top: 0;
z-index: 999999;
width: 100%;
}
#preview_item ul li {
list-style: none;
display: inline-block;
height: 50px;
line-height: 50px;
padding: 0 3px;
*display: inline;
zoom: 1;
}
#preview_item ul li a {
color: #555;
padding: 0 8px;
height: 24px;
line-height: 24px;
background: #f2f2f2;
display: inline-block;
vertical-align: middle;
border: 1px solid #dcdcdc;
}
#preview_item ul li a:hover {
background: #ccc;
text-decoration: none;
border: 1px solid #ccc;
}
#preview_item ul li button {
color: #fff;
padding: 0 8px;
background: #29c7ca;
border-radius: 0;
height: 26px;
line-height: 24px;
vertical-align: middle;
border: none
}
#preview_item ul li button:hover {
background: #046b6d;
color: #fff;
text-decoration: none;
}

View file

@ -0,0 +1,3 @@
$(function () {
});

View file

@ -0,0 +1,122 @@
function check_all(f) {
var chk = document.getElementsByName("chk[]");
for (i = 0; i < chk.length; i++)
chk[i].checked = f.chkall.checked;
}
function btn_check(f, act) {
if (act == "update") // 선택수정
{
f.action = list_update_php;
str = "수정";
}
else if (act == "delete") // 선택삭제
{
f.action = list_delete_php;
str = "삭제";
}
else
return;
var chk = document.getElementsByName("chk[]");
var bchk = false;
for (i = 0; i < chk.length; i++) {
if (chk[i].checked)
bchk = true;
}
if (!bchk) {
alert(str + "할 자료를 하나 이상 선택하세요.");
return;
}
if (act == "delete") {
if (!confirm("선택한 자료를 정말 삭제 하시겠습니까?"))
return;
}
f.submit();
}
function is_checked(elements_name) {
var checked = false;
var chk = document.getElementsByName(elements_name);
for (var i = 0; i < chk.length; i++) {
if (chk[i].checked) {
checked = true;
}
}
return checked;
}
function delete_confirm(el) {
if (confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) {
var token = get_ajax_token();
var href = el.href.replace(/&token=.+$/g, "");
if (!token) {
alert("토큰 정보가 올바르지 않습니다.");
return false;
}
el.href = href + "&token=" + token;
return true;
} else {
return false;
}
}
function delete_confirm2(msg) {
if (confirm(msg))
return true;
else
return false;
}
function get_ajax_token() {
var token = "";
$.ajax({
type: "POST",
url: g5_admin_url + "/ajax.token.php",
cache: false,
async: false,
dataType: "json",
success: function (data) {
if (data.error) {
alert(data.error);
if (data.url)
document.location.href = data.url;
return false;
}
token = data.token;
}
});
return token;
}
$(function () {
$(document).on("click", "form input:submit", function () {
var f = this.form;
var token = get_ajax_token();
if (!token) {
alert("토큰 정보가 올바르지 않습니다.");
return false;
}
var $f = $(f);
if (typeof f.token === "undefined")
$f.prepend('<input type="hidden" name="token" value="">');
$f.find("input[name=token]").val(token);
return true;
});
$('.new_win').parents('body').addClass('popup-body');
});

View file

@ -13,63 +13,199 @@
****************************************/ ****************************************/
@import url(./swiper.css); @import url(./swiper.css);
@font-face { @font-face {
font-family:'icon'; font-family: 'icon';
src: url('./fonts/icomoon.eot?y5isk6'); src: url('./fonts/icomoon.eot?y5isk6');
src: url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'), src: url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
url('./fonts/icomoon.ttf?y5isk6') format('truetype'), url('./fonts/icomoon.ttf?y5isk6') format('truetype'),
url('./fonts/icomoon.woff?y5isk6') format('woff'), url('./fonts/icomoon.woff?y5isk6') format('woff'),
url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg'); url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg');
font-weight:normal; font-weight: normal;
font-style:normal; font-style: normal;
}
.sound_only {
display: none;
} }
.sound_only { display:none; }
/**************************************** /****************************************
소스코드 초기화 소스코드 초기화
****************************************/ ****************************************/
html {overflow-y:auto} html {
body {margin:0;padding:0;} overflow-y: auto
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} }
h1, h2, h3, h4, h5, h6 {}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
ul, li {margin:0;padding:0;list-style:none}
legend {display:none;}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;}
button {cursor:pointer}
textarea, select {font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;}
a:link, a:visited {text-decoration:none}
a:hover, a:focus, a:active {text-decoration:none}
ul,li { margin:0; padding:0; } body {
i,sup,em { font-style:normal; } margin: 0;
padding: 0;
}
label { cursor:pointer; } html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
margin: 0;
padding: 0;
border: 0
}
img { max-width:100%; vertical-align:middle; } h1,
table { width:100%; } h2,
h3,
h4,
h5,
h6 {}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block
}
ul,
li {
margin: 0;
padding: 0;
list-style: none
}
legend {
display: none;
}
label,
input,
button,
select,
img {
vertical-align: middle
}
input,
button {
margin: 0;
padding: 0;
}
button {
cursor: pointer
}
textarea,
select {
font-size: 1em
}
select {
margin: 0
}
p {
margin: 0;
padding: 0;
word-break: break-all
}
hr {
display: none
}
pre {
overflow-x: scroll;
}
a:link,
a:visited {
text-decoration: none
}
a:hover,
a:focus,
a:active {
text-decoration: none
}
ul,
li {
margin: 0;
padding: 0;
}
i,
sup,
em {
font-style: normal;
}
label {
cursor: pointer;
}
img {
max-width: 100%;
vertical-align: middle;
}
table {
width: 100%;
}
/**************************************** /****************************************
기본 레이아웃 정의 기본 레이아웃 정의
****************************************/ ****************************************/
.fix-layout {margin:0 auto; padding:0; box-sizing:border-box;} .fix-layout {
.fix-layout .fix-layout { padding:0; margin:0; } margin: 0 auto;
padding: 0;
box-sizing: border-box;
}
#body {height:90vh; box-sizing:border-box;} .fix-layout .fix-layout {
#body > .fix-layout {display:table; width:100%; height:100%; table-layout:fixed;} padding: 0;
#body > .fix-layout > .mid-layout {display:table-cell; vertical-align:middle; padding:80px;} margin: 0;
}
#body {
height: 90vh;
box-sizing: border-box;
}
#body>.fix-layout {
display: table;
width: 100%;
height: 100%;
table-layout: fixed;
}
#body>.fix-layout>.mid-layout {
display: table-cell;
vertical-align: middle;
padding: 80px;
}
@media all and (max-width:520px) { @media all and (max-width:520px) {
#body > .fix-layout > .mid-layout {padding-left:10px !important; padding-right:10px !important;} #body>.fix-layout>.mid-layout {
padding-left: 10px !important;
padding-right: 10px !important;
}
} }
@ -77,26 +213,48 @@ table { width:100%; }
애니메이션 효과 지정 / 초기화 애니메이션 효과 지정 / 초기화
****************************************/ ****************************************/
* {transition:all .3s; -webkit-transition:all .3s; -ms-transition:all .3s;} * {
transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
}
.trans, .trans,
.trans *, .trans *,
.trans *:after, .trans *:after,
.trans *:before { -webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; -ms-transition:all 0.3s ease; -o-transition:all 0.3s ease; } .trans *:before {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
}
.none-trans, .none-trans,
.none-trans *, .none-trans *,
.none-trans *:after, .none-trans *:after,
.none-trans *:before { -webkit-transition:none; -moz-transition:none; -ms-transition:none; -o-transition:none; } .none-trans *:before {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: none;
}
/**************************************** /****************************************
텍스트 코드 정렬 텍스트 코드 정렬
****************************************/ ****************************************/
.txt-left { text-align:left; } .txt-left {
.txt-center { text-align:center; } text-align: left;
.txt-right { text-align:right; } }
.txt-center {
text-align: center;
}
.txt-right {
text-align: right;
}
/**************************************** /****************************************
@ -105,15 +263,21 @@ table { width:100%; }
/* scrollbar :ie except */ /* scrollbar :ie except */
*::-webkit-scrollbar-track {} *::-webkit-scrollbar-track {}
*::-webkit-scrollbar {} *::-webkit-scrollbar {}
*::-webkit-scrollbar-thumb {border:none;}
*::-webkit-scrollbar-thumb {
border: none;
}
/********************** /**********************
스타일 스타일
**********************/ **********************/
.theme-form { width:100%; } .theme-form {
width: 100%;
}
/************************************************************** /**************************************************************
@ -122,31 +286,62 @@ table { width:100%; }
모바일 기준 :width 1024px 모바일 기준 :width 1024px
***************************************************************/ ***************************************************************/
@media all and (min-width:1025px) { @media all and (min-width:1025px) {
.only-pc {} .only-pc {}
.only-ta {display:none !important;}
.only-mo {display:none !important;}
.not-pc {display:none !important;} .only-ta {
.not-ta {} display: none !important;
.not-mo {} }
.only-mo {
display: none !important;
}
.not-pc {
display: none !important;
}
.not-ta {}
.not-mo {}
} }
@media all and (max-width:1024px) and (min-width:1025px) { @media all and (max-width:1024px) and (min-width:1025px) {
.only-pc {display:none !important;} .only-pc {
.only-ta {} display: none !important;
.only-mo {display:none !important;} }
.not-pc {} .only-ta {}
.not-ta {display:none !important;}
.not-mo {}
}
@media all and (max-width:1025px) {
.only-pc {display:none !important;}
.only-ta {display:none !important;}
.only-mo {}
.not-pc {} .only-mo {
.not-ta {} display: none !important;
.not-mo {display:none !important;} }
.not-pc {}
.not-ta {
display: none !important;
}
.not-mo {}
}
@media all and (max-width:1025px) {
.only-pc {
display: none !important;
}
.only-ta {
display: none !important;
}
.only-mo {}
.not-pc {}
.not-ta {}
.not-mo {
display: none !important;
}
} }

View file

@ -13,13 +13,54 @@
인트로 스타일 정의 인트로 스타일 정의
**********************************/ **********************************/
html, body {height:100%; margin:0; padding:0;} html,
html.single:before {content:""; display:block; position:fixed; top:0; left:0; right:0; bottom:0; z-index:-1;} body {
height: 100%;
margin: 0;
padding: 0;
}
.enterWrapper {display:table; width:100%; height:100%; position:relative; z-index:1;} html.single:before {
.enterWrapper > .inner {display:table-cell; vertical-align:middle; text-align:center;} content: "";
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.index-logo {display:block; padding:10px; word-break:keep-all; text-align:center;} .enterWrapper {
.index-logo img {max-width:70%;} display: table;
.index-logo p {padding:10px 0;} width: 100%;
.index-logo a {display:inline-block; text-decoration:none;} height: 100%;
position: relative;
z-index: 1;
}
.enterWrapper>.inner {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.index-logo {
display: block;
padding: 10px;
word-break: keep-all;
text-align: center;
}
.index-logo img {
max-width: 70%;
}
.index-logo p {
padding: 10px 0;
}
.index-logo a {
display: inline-block;
text-decoration: none;
}

View file

@ -12,23 +12,67 @@
Index Wrap Style Index Wrap Style
*****************************************************/ *****************************************************/
html, body { position: relative; height: 100%; margin: 0; padding: 0; overflow: hidden; } html,
body {
position: relative;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
/**************************************************** /****************************************************
Index User Style Index User Style
*****************************************************/ *****************************************************/
#wrap { height: 100%; } #wrap {
#wrapper { width: 100%; height: 100%; } height: 100%;
#wrapper iframe { width: 100%; height: 100%; background-color: transparent; overflow:scroll; } }
#bgm { position: fixed; top: 0; right: 0; text-align: center; width: 145px; z-index: -999; } #wrapper {
#bgm a { display: none; width: 15px; height: 15px; text-indent: -999px; overflow: hidden; } width: 100%;
#bgm a.on { display: inline-block; } height: 100%;
#site_bgm_box { width: 0px; height: 0px; overflow: hidden; } }
html.single #header .bgm-btn {display:inline-block !important;} #wrapper iframe {
width: 100%;
height: 100%;
background-color: transparent;
overflow: scroll;
}
#bgm {
position: fixed;
top: 0;
right: 0;
text-align: center;
width: 145px;
z-index: -999;
}
#bgm a {
display: none;
width: 15px;
height: 15px;
text-indent: -999px;
overflow: hidden;
}
#bgm a.on {
display: inline-block;
}
#site_bgm_box {
width: 0px;
height: 0px;
overflow: hidden;
}
html.single #header .bgm-btn {
display: inline-block !important;
}
body #header, body #header,
html.single #header {display:none;} html.single #header {
display: none;
}

View file

@ -13,13 +13,54 @@
****************************************************/ ****************************************************/
html, html,
body {height:100%;} body {
.loginWrap {display:table; width:100%; height:100%;} height: 100%;
.login-inner {display:table-cell; vertical-align:middle; text-align:center;} }
.login-logo {margin-top:-50px;} .loginWrap {
.login-form-box {position:relative; box-sizing:border-box; max-width:280px; margin:0 auto; padding:5px;} display: table;
.login-form-box .inner {display:block; position:relative; padding-right:80px;} width: 100%;
.login-form-box button {display:block; position:absolute; right:0; top:0; width:75px; bottom:0; height:100%;} height: 100%;
.login-form-box fieldset + fieldset {margin-top:5px;} }
.login-form-box input {width:100%;}
.login-inner {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.login-logo {
margin-top: -50px;
}
.login-form-box {
position: relative;
box-sizing: border-box;
max-width: 280px;
margin: 0 auto;
padding: 5px;
}
.login-form-box .inner {
display: block;
position: relative;
padding-right: 80px;
}
.login-form-box button {
display: block;
position: absolute;
right: 0;
top: 0;
width: 75px;
bottom: 0;
height: 100%;
}
.login-form-box fieldset+fieldset {
margin-top: 5px;
}
.login-form-box input {
width: 100%;
}

View file

@ -12,5 +12,10 @@
메인 레이아웃 메인 레이아웃
****************************************************/ ****************************************************/
#body {opacity:0;} #body {
#main_body {text-align:center;} opacity: 0;
}
#main_body {
text-align: center;
}

File diff suppressed because it is too large Load diff

View file

@ -16,9 +16,11 @@
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
:root { :root {
--swiper-theme-color: #007aff; --swiper-theme-color: #007aff;
} }
.swiper-container { .swiper-container {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -29,9 +31,11 @@
/* Fix of Webkit flickering */ /* Fix of Webkit flickering */
z-index: 1; z-index: 1;
} }
.swiper-container-vertical > .swiper-wrapper {
.swiper-container-vertical>.swiper-wrapper {
flex-direction: column; flex-direction: column;
} }
.swiper-wrapper { .swiper-wrapper {
position: relative; position: relative;
width: 100%; width: 100%;
@ -41,21 +45,26 @@
transition-property: transform; transition-property: transform;
box-sizing: content-box; box-sizing: content-box;
} }
.swiper-container-android .swiper-slide, .swiper-container-android .swiper-slide,
.swiper-wrapper { .swiper-wrapper {
transform: translate3d(0px, 0, 0); transform: translate3d(0px, 0, 0);
} }
.swiper-container-multirow > .swiper-wrapper {
.swiper-container-multirow>.swiper-wrapper {
flex-wrap: wrap; flex-wrap: wrap;
} }
.swiper-container-multirow-column > .swiper-wrapper {
.swiper-container-multirow-column>.swiper-wrapper {
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column; flex-direction: column;
} }
.swiper-container-free-mode > .swiper-wrapper {
.swiper-container-free-mode>.swiper-wrapper {
transition-timing-function: ease-out; transition-timing-function: ease-out;
margin: 0 auto; margin: 0 auto;
} }
.swiper-slide { .swiper-slide {
flex-shrink: 0; flex-shrink: 0;
width: 100%; width: 100%;
@ -63,22 +72,27 @@
position: relative; position: relative;
transition-property: transform; transition-property: transform;
} }
.swiper-slide-invisible-blank { .swiper-slide-invisible-blank {
visibility: hidden; visibility: hidden;
} }
/* Auto Height */ /* Auto Height */
.swiper-container-autoheight, .swiper-container-autoheight,
.swiper-container-autoheight .swiper-slide { .swiper-container-autoheight .swiper-slide {
height: auto; height: auto;
} }
.swiper-container-autoheight .swiper-wrapper { .swiper-container-autoheight .swiper-wrapper {
align-items: flex-start; align-items: flex-start;
transition-property: transform, height; transition-property: transform, height;
} }
/* 3D Effects */ /* 3D Effects */
.swiper-container-3d { .swiper-container-3d {
perspective: 1200px; perspective: 1200px;
} }
.swiper-container-3d .swiper-wrapper, .swiper-container-3d .swiper-wrapper,
.swiper-container-3d .swiper-slide, .swiper-container-3d .swiper-slide,
.swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-left,
@ -88,6 +102,7 @@
.swiper-container-3d .swiper-cube-shadow { .swiper-container-3d .swiper-cube-shadow {
transform-style: preserve-3d; transform-style: preserve-3d;
} }
.swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top, .swiper-container-3d .swiper-slide-shadow-top,
@ -100,44 +115,55 @@
pointer-events: none; pointer-events: none;
z-index: 10; z-index: 10;
} }
.swiper-container-3d .swiper-slide-shadow-left { .swiper-container-3d .swiper-slide-shadow-left {
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
} }
.swiper-container-3d .swiper-slide-shadow-right { .swiper-container-3d .swiper-slide-shadow-right {
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
} }
.swiper-container-3d .swiper-slide-shadow-top { .swiper-container-3d .swiper-slide-shadow-top {
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
} }
.swiper-container-3d .swiper-slide-shadow-bottom { .swiper-container-3d .swiper-slide-shadow-bottom {
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
} }
/* CSS Mode */ /* CSS Mode */
.swiper-container-css-mode > .swiper-wrapper { .swiper-container-css-mode>.swiper-wrapper {
overflow: auto; overflow: auto;
scrollbar-width: none; scrollbar-width: none;
/* For Firefox */ /* For Firefox */
-ms-overflow-style: none; -ms-overflow-style: none;
/* For Internet Explorer and Edge */ /* For Internet Explorer and Edge */
} }
.swiper-container-css-mode > .swiper-wrapper::-webkit-scrollbar {
.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar {
display: none; display: none;
} }
.swiper-container-css-mode > .swiper-wrapper > .swiper-slide {
.swiper-container-css-mode>.swiper-wrapper>.swiper-slide {
scroll-snap-align: start start; scroll-snap-align: start start;
} }
.swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper {
.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper {
scroll-snap-type: x mandatory; scroll-snap-type: x mandatory;
} }
.swiper-container-vertical.swiper-container-css-mode > .swiper-wrapper {
.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper {
scroll-snap-type: y mandatory; scroll-snap-type: y mandatory;
} }
:root { :root {
--swiper-navigation-size: 44px; --swiper-navigation-size: 44px;
/* /*
--swiper-navigation-color: var(--swiper-theme-color); --swiper-navigation-color: var(--swiper-theme-color);
*/ */
} }
.swiper-button-prev, .swiper-button-prev,
.swiper-button-next { .swiper-button-next {
position: absolute; position: absolute;
@ -151,98 +177,125 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: var(--swiper-navigation-color, var(--swiper-theme-color)); color: var(--swiper-navigation-color, var(--swiper-theme-color));
background:transparent; border:none; overflow:hidden; background: transparent;
border: none;
overflow: hidden;
} }
.swiper-button-prev.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled { .swiper-button-next.swiper-button-disabled {
opacity: 0.35; opacity: 0.35;
cursor: auto; cursor: auto;
pointer-events: none; pointer-events: none;
} }
.swiper-button-prev:after, .swiper-button-prev:after,
.swiper-button-next:after { .swiper-button-next:after {
font-family: swiper-icons; font-family: swiper-icons;
font-size: var(--swiper-navigation-size); font-size: var(--swiper-navigation-size);
} }
.swiper-button-prev, .swiper-button-prev,
.swiper-container-rtl .swiper-button-next { .swiper-container-rtl .swiper-button-next {
left: 10px; left: 10px;
right: auto; right: auto;
} }
.swiper-button-prev:after, .swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after { .swiper-container-rtl .swiper-button-next:after {
content: 'prev'; content: 'prev';
} }
.swiper-button-next, .swiper-button-next,
.swiper-container-rtl .swiper-button-prev { .swiper-container-rtl .swiper-button-prev {
right: 10px; right: 10px;
left: auto; left: auto;
} }
.swiper-button-next:after, .swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after { .swiper-container-rtl .swiper-button-prev:after {
content: 'next'; content: 'next';
} }
.swiper-button-prev.swiper-button-white, .swiper-button-prev.swiper-button-white,
.swiper-button-next.swiper-button-white { .swiper-button-next.swiper-button-white {
--swiper-navigation-color: #ffffff; --swiper-navigation-color: #ffffff;
} }
.swiper-button-prev.swiper-button-black, .swiper-button-prev.swiper-button-black,
.swiper-button-next.swiper-button-black { .swiper-button-next.swiper-button-black {
--swiper-navigation-color: #000000; --swiper-navigation-color: #000000;
} }
.swiper-button-lock { .swiper-button-lock {
display: none; display: none;
} }
:root { :root {
/* /*
--swiper-pagination-color: var(--swiper-theme-color); --swiper-pagination-color: var(--swiper-theme-color);
*/ */
} }
.swiper-pagination { left:0; right:0; bottom:10px;
.swiper-pagination {
left: 0;
right: 0;
bottom: 10px;
position: absolute; position: absolute;
text-align: center; text-align: center;
transition: 300ms opacity; transition: 300ms opacity;
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
z-index: 10; z-index: 10;
} }
.swiper-pagination.swiper-pagination-hidden { .swiper-pagination.swiper-pagination-hidden {
opacity: 0; opacity: 0;
} }
/* Common Styles */ /* Common Styles */
.swiper-pagination-fraction, .swiper-pagination-fraction,
.swiper-pagination-custom, .swiper-pagination-custom,
.swiper-container-horizontal > .swiper-pagination-bullets { .swiper-container-horizontal>.swiper-pagination-bullets {
bottom: 10px; bottom: 10px;
left: 0; left: 0;
width: 100%; width: 100%;
} }
/* Bullets */ /* Bullets */
.swiper-pagination-bullets-dynamic { .swiper-pagination-bullets-dynamic {
overflow: hidden; overflow: hidden;
font-size: 0; font-size: 0;
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
transform: scale(0.33); transform: scale(0.33);
position: relative; position: relative;
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
transform: scale(1); transform: scale(1);
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
transform: scale(1); transform: scale(1);
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
transform: scale(0.66); transform: scale(0.66);
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
transform: scale(0.33); transform: scale(0.33);
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
transform: scale(0.66); transform: scale(0.66);
} }
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
transform: scale(0.33); transform: scale(0.33);
} }
.swiper-pagination-bullet { .swiper-pagination-bullet {
width: 10px; width: 10px;
height: 10px; height: 10px;
@ -250,63 +303,76 @@
border-radius: 9em; border-radius: 9em;
background: #000; background: #000;
opacity: 0.2; opacity: 0.2;
margin:3px; margin: 3px;
} }
button.swiper-pagination-bullet { button.swiper-pagination-bullet {
border: none; border: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
box-shadow: none; box-shadow: none;
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
appearance: none; appearance: none;
} }
.swiper-pagination-clickable .swiper-pagination-bullet { .swiper-pagination-clickable .swiper-pagination-bullet {
cursor: pointer; cursor: pointer;
} }
.swiper-pagination-bullet-active { .swiper-pagination-bullet-active {
opacity: 1; opacity: 1;
width:25px; width: 25px;
background: var(--swiper-pagination-color, var(--swiper-theme-color)); background: var(--swiper-pagination-color, var(--swiper-theme-color));
} }
.swiper-container-vertical > .swiper-pagination-bullets {
.swiper-container-vertical>.swiper-pagination-bullets {
right: 10px; right: 10px;
top: 50%; top: 50%;
transform: translate3d(0px, -50%, 0); transform: translate3d(0px, -50%, 0);
} }
.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet {
margin: 6px 0; margin: 6px 0;
display: block; display: block;
} }
.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 8px; width: 8px;
} }
.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
display: inline-block; display: inline-block;
transition: 200ms transform, 200ms top; transition: 200ms transform, 200ms top;
} }
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
margin: 0 4px; margin: 0 4px;
} }
.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
white-space: nowrap; white-space: nowrap;
} }
.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
transition: 200ms transform, 200ms left; transition: 200ms transform, 200ms left;
} }
.swiper-container-horizontal.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
transition: 200ms transform, 200ms right; transition: 200ms transform, 200ms right;
} }
/* Progress */ /* Progress */
.swiper-pagination-progressbar { .swiper-pagination-progressbar {
background: rgba(0, 0, 0, 0.25); background: rgba(0, 0, 0, 0.25);
position: absolute; position: absolute;
} }
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill { .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
background: var(--swiper-pagination-color, var(--swiper-theme-color)); background: var(--swiper-pagination-color, var(--swiper-theme-color));
position: absolute; position: absolute;
@ -317,32 +383,39 @@ button.swiper-pagination-bullet {
transform: scale(0); transform: scale(0);
transform-origin: left top; transform-origin: left top;
} }
.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { .swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
transform-origin: right top; transform-origin: right top;
} }
.swiper-container-horizontal > .swiper-pagination-progressbar,
.swiper-container-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { .swiper-container-horizontal>.swiper-pagination-progressbar,
.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
width: 100%; width: 100%;
height: 4px; height: 4px;
left: 0; left: 0;
top: 0; top: 0;
} }
.swiper-container-vertical > .swiper-pagination-progressbar,
.swiper-container-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { .swiper-container-vertical>.swiper-pagination-progressbar,
.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
width: 4px; width: 4px;
height: 100%; height: 100%;
left: 0; left: 0;
top: 0; top: 0;
} }
.swiper-pagination-white { .swiper-pagination-white {
--swiper-pagination-color: #ffffff; --swiper-pagination-color: #ffffff;
} }
.swiper-pagination-black { .swiper-pagination-black {
--swiper-pagination-color: #000000; --swiper-pagination-color: #000000;
} }
.swiper-pagination-lock { .swiper-pagination-lock {
display: none; display: none;
} }
/* Scrollbar */ /* Scrollbar */
.swiper-scrollbar { .swiper-scrollbar {
border-radius: 10px; border-radius: 10px;
@ -350,7 +423,8 @@ button.swiper-pagination-bullet {
-ms-touch-action: none; -ms-touch-action: none;
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
} }
.swiper-container-horizontal > .swiper-scrollbar {
.swiper-container-horizontal>.swiper-scrollbar {
position: absolute; position: absolute;
left: 1%; left: 1%;
bottom: 3px; bottom: 3px;
@ -358,7 +432,8 @@ button.swiper-pagination-bullet {
height: 5px; height: 5px;
width: 98%; width: 98%;
} }
.swiper-container-vertical > .swiper-scrollbar {
.swiper-container-vertical>.swiper-scrollbar {
position: absolute; position: absolute;
right: 3px; right: 3px;
top: 1%; top: 1%;
@ -366,6 +441,7 @@ button.swiper-pagination-bullet {
width: 5px; width: 5px;
height: 98%; height: 98%;
} }
.swiper-scrollbar-drag { .swiper-scrollbar-drag {
height: 100%; height: 100%;
width: 100%; width: 100%;
@ -375,12 +451,15 @@ button.swiper-pagination-bullet {
left: 0; left: 0;
top: 0; top: 0;
} }
.swiper-scrollbar-cursor-drag { .swiper-scrollbar-cursor-drag {
cursor: move; cursor: move;
} }
.swiper-scrollbar-lock { .swiper-scrollbar-lock {
display: none; display: none;
} }
.swiper-zoom-container { .swiper-zoom-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -389,22 +468,26 @@ button.swiper-pagination-bullet {
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
.swiper-zoom-container > img,
.swiper-zoom-container > svg, .swiper-zoom-container>img,
.swiper-zoom-container > canvas { .swiper-zoom-container>svg,
.swiper-zoom-container>canvas {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
object-fit: contain; object-fit: contain;
} }
.swiper-slide-zoomed { .swiper-slide-zoomed {
cursor: move; cursor: move;
} }
/* Preloader */ /* Preloader */
:root { :root {
/* /*
--swiper-preloader-color: var(--swiper-theme-color); --swiper-preloader-color: var(--swiper-theme-color);
*/ */
} }
.swiper-lazy-preloader { .swiper-lazy-preloader {
width: 42px; width: 42px;
height: 42px; height: 42px;
@ -421,17 +504,21 @@ button.swiper-pagination-bullet {
border-radius: 50%; border-radius: 50%;
border-top-color: transparent; border-top-color: transparent;
} }
.swiper-lazy-preloader-white { .swiper-lazy-preloader-white {
--swiper-preloader-color: #fff; --swiper-preloader-color: #fff;
} }
.swiper-lazy-preloader-black { .swiper-lazy-preloader-black {
--swiper-preloader-color: #000; --swiper-preloader-color: #000;
} }
@keyframes swiper-preloader-spin { @keyframes swiper-preloader-spin {
100% { 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
/* a11y */ /* a11y */
.swiper-container .swiper-notification { .swiper-container .swiper-notification {
position: absolute; position: absolute;
@ -441,58 +528,70 @@ button.swiper-pagination-bullet {
opacity: 0; opacity: 0;
z-index: -1000; z-index: -1000;
} }
.swiper-container-fade.swiper-container-free-mode .swiper-slide { .swiper-container-fade.swiper-container-free-mode .swiper-slide {
transition-timing-function: ease-out; transition-timing-function: ease-out;
} }
.swiper-container-fade .swiper-slide { .swiper-container-fade .swiper-slide {
pointer-events: none; pointer-events: none;
transition-property: opacity; transition-property: opacity;
} }
.swiper-container-fade .swiper-slide .swiper-slide { .swiper-container-fade .swiper-slide .swiper-slide {
pointer-events: none; pointer-events: none;
} }
.swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active,
.swiper-container-fade .swiper-slide-active .swiper-slide-active { .swiper-container-fade .swiper-slide-active .swiper-slide-active {
pointer-events: auto; pointer-events: auto;
} }
.swiper-container-cube { .swiper-container-cube {
overflow: visible; overflow: visible;
} }
.swiper-container-cube .swiper-slide { .swiper-container-cube .swiper-slide {
pointer-events: none; pointer-events: none;
-webkit-backface-visibility: hidden; -webkit-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
z-index: 1; z-index: 1;
visibility: hidden; visibility: hidden;
transform-origin: 0 0; transform-origin: 0 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.swiper-container-cube .swiper-slide .swiper-slide { .swiper-container-cube .swiper-slide .swiper-slide {
pointer-events: none; pointer-events: none;
} }
.swiper-container-cube.swiper-container-rtl .swiper-slide { .swiper-container-cube.swiper-container-rtl .swiper-slide {
transform-origin: 100% 0; transform-origin: 100% 0;
} }
.swiper-container-cube .swiper-slide-active, .swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-active .swiper-slide-active { .swiper-container-cube .swiper-slide-active .swiper-slide-active {
pointer-events: auto; pointer-events: auto;
} }
.swiper-container-cube .swiper-slide-active, .swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-next, .swiper-container-cube .swiper-slide-next,
.swiper-container-cube .swiper-slide-prev, .swiper-container-cube .swiper-slide-prev,
.swiper-container-cube .swiper-slide-next + .swiper-slide { .swiper-container-cube .swiper-slide-next+.swiper-slide {
pointer-events: auto; pointer-events: auto;
visibility: visible; visibility: visible;
} }
.swiper-container-cube .swiper-slide-shadow-top, .swiper-container-cube .swiper-slide-shadow-top,
.swiper-container-cube .swiper-slide-shadow-bottom, .swiper-container-cube .swiper-slide-shadow-bottom,
.swiper-container-cube .swiper-slide-shadow-left, .swiper-container-cube .swiper-slide-shadow-left,
.swiper-container-cube .swiper-slide-shadow-right { .swiper-container-cube .swiper-slide-shadow-right {
z-index: 0; z-index: 0;
-webkit-backface-visibility: hidden; -webkit-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
} }
.swiper-container-cube .swiper-cube-shadow { .swiper-container-cube .swiper-cube-shadow {
position: absolute; position: absolute;
left: 0; left: 0;
@ -505,27 +604,32 @@ button.swiper-pagination-bullet {
filter: blur(50px); filter: blur(50px);
z-index: 0; z-index: 0;
} }
.swiper-container-flip { .swiper-container-flip {
overflow: visible; overflow: visible;
} }
.swiper-container-flip .swiper-slide { .swiper-container-flip .swiper-slide {
pointer-events: none; pointer-events: none;
-webkit-backface-visibility: hidden; -webkit-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
z-index: 1; z-index: 1;
} }
.swiper-container-flip .swiper-slide .swiper-slide { .swiper-container-flip .swiper-slide .swiper-slide {
pointer-events: none; pointer-events: none;
} }
.swiper-container-flip .swiper-slide-active, .swiper-container-flip .swiper-slide-active,
.swiper-container-flip .swiper-slide-active .swiper-slide-active { .swiper-container-flip .swiper-slide-active .swiper-slide-active {
pointer-events: auto; pointer-events: auto;
} }
.swiper-container-flip .swiper-slide-shadow-top, .swiper-container-flip .swiper-slide-shadow-top,
.swiper-container-flip .swiper-slide-shadow-bottom, .swiper-container-flip .swiper-slide-shadow-bottom,
.swiper-container-flip .swiper-slide-shadow-left, .swiper-container-flip .swiper-slide-shadow-left,
.swiper-container-flip .swiper-slide-shadow-right { .swiper-container-flip .swiper-slide-shadow-right {
z-index: 0; z-index: 0;
-webkit-backface-visibility: hidden; -webkit-backface-visibility: hidden;
backface-visibility: hidden; backface-visibility: hidden;
} }

View file

@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS `avo_auth` (
`au_menu` varchar(20) NOT NULL default '', `au_menu` varchar(20) NOT NULL default '',
`au_auth` set('r','w','d') NOT NULL default '', `au_auth` set('r','w','d') NOT NULL default '',
PRIMARY KEY (`mb_id`,`au_menu`) PRIMARY KEY (`mb_id`,`au_menu`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS `avo_backup` (
`ba_title` varchar(255) NOT NULL DEFAULT '', `ba_title` varchar(255) NOT NULL DEFAULT '',
`ba_path` varchar(255) NOT NULL DEFAULT '', `ba_path` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`ba_id`) PRIMARY KEY (`ba_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -132,7 +132,7 @@ CREATE TABLE IF NOT EXISTS `avo_board` (
`bo_9` varchar(255) NOT NULL DEFAULT '', `bo_9` varchar(255) NOT NULL DEFAULT '',
`bo_10` varchar(255) NOT NULL DEFAULT '', `bo_10` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`bo_table`) PRIMARY KEY (`bo_table`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -153,9 +153,9 @@ CREATE TABLE IF NOT EXISTS `avo_board_file` (
`bf_width` int(11) NOT NULL default '0', `bf_width` int(11) NOT NULL default '0',
`bf_height` smallint(6) NOT NULL default '0', `bf_height` smallint(6) NOT NULL default '0',
`bf_type` tinyint(4) NOT NULL default '0', `bf_type` tinyint(4) NOT NULL default '0',
`bf_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `bf_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
PRIMARY KEY (`bo_table`,`wr_id`,`bf_no`) PRIMARY KEY (`bo_table`,`wr_id`,`bf_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -170,10 +170,10 @@ CREATE TABLE IF NOT EXISTS `avo_board_good` (
`wr_id` int(11) NOT NULL default '0', `wr_id` int(11) NOT NULL default '0',
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`bg_flag` varchar(255) NOT NULL default '', `bg_flag` varchar(255) NOT NULL default '',
`bg_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `bg_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
PRIMARY KEY (`bg_id`), PRIMARY KEY (`bg_id`),
UNIQUE KEY `fkey1` (`bo_table`,`wr_id`,`mb_id`) UNIQUE KEY `fkey1` (`bo_table`,`wr_id`,`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -188,11 +188,11 @@ CREATE TABLE IF NOT EXISTS `avo_board_new` (
`wr_id` int(11) NOT NULL default '0', `wr_id` int(11) NOT NULL default '0',
`ca_name` varchar(255) NOT NULL default '', `ca_name` varchar(255) NOT NULL default '',
`wr_parent` int(11) NOT NULL default '0', `wr_parent` int(11) NOT NULL default '0',
`bn_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `bn_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
PRIMARY KEY (`bn_id`), PRIMARY KEY (`bn_id`),
KEY `mb_id` (`mb_id`) KEY `mb_id` (`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -343,7 +343,7 @@ CREATE TABLE IF NOT EXISTS `avo_config` (
`cf_8` varchar(255) NOT NULL DEFAULT '', `cf_8` varchar(255) NOT NULL DEFAULT '',
`cf_9` varchar(255) NOT NULL DEFAULT '', `cf_9` varchar(255) NOT NULL DEFAULT '',
`cf_10` varchar(255) NOT NULL DEFAULT '' `cf_10` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -362,7 +362,7 @@ CREATE TABLE IF NOT EXISTS `avo_cert_history` (
`cr_time` time NOT NULL DEFAULT '00:00:00', `cr_time` time NOT NULL DEFAULT '00:00:00',
PRIMARY KEY (`cr_id`), PRIMARY KEY (`cr_id`),
KEY `mb_id` (`mb_id`) KEY `mb_id` (`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -399,7 +399,7 @@ CREATE TABLE IF NOT EXISTS `avo_group` (
`gr_9` varchar(255) NOT NULL default '', `gr_9` varchar(255) NOT NULL default '',
`gr_10` varchar(255) NOT NULL default '', `gr_10` varchar(255) NOT NULL default '',
PRIMARY KEY (`gr_id`) PRIMARY KEY (`gr_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -412,11 +412,11 @@ CREATE TABLE IF NOT EXISTS `avo_group_member` (
`gm_id` int(11) NOT NULL auto_increment, `gm_id` int(11) NOT NULL auto_increment,
`gr_id` varchar(255) NOT NULL default '', `gr_id` varchar(255) NOT NULL default '',
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`gm_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `gm_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
PRIMARY KEY (`gm_id`), PRIMARY KEY (`gm_id`),
KEY `gr_id` (`gr_id`), KEY `gr_id` (`gr_id`),
KEY `mb_id` (`mb_id`) KEY `mb_id` (`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -428,11 +428,11 @@ DROP TABLE IF EXISTS `avo_login`;
CREATE TABLE IF NOT EXISTS `avo_login` ( CREATE TABLE IF NOT EXISTS `avo_login` (
`lo_ip` varchar(255) NOT NULL default '', `lo_ip` varchar(255) NOT NULL default '',
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`lo_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `lo_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`lo_location` text NOT NULL, `lo_location` text NOT NULL,
`lo_url` text NOT NULL, `lo_url` text NOT NULL,
PRIMARY KEY (`lo_ip`) PRIMARY KEY (`lo_ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -445,11 +445,11 @@ CREATE TABLE IF NOT EXISTS `avo_mail` (
`ma_id` int(11) NOT NULL auto_increment, `ma_id` int(11) NOT NULL auto_increment,
`ma_subject` varchar(255) NOT NULL default '', `ma_subject` varchar(255) NOT NULL default '',
`ma_content` mediumtext NOT NULL, `ma_content` mediumtext NOT NULL,
`ma_time` datetime NOT NULL default '0000-00-00 00:00:00', `ma_time` datetime NOT NULL default '1970-01-01 00:00:00',
`ma_ip` varchar(255) NOT NULL default '', `ma_ip` varchar(255) NOT NULL default '',
`ma_last_option` text NOT NULL, `ma_last_option` text NOT NULL,
PRIMARY KEY (`ma_id`) PRIMARY KEY (`ma_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -485,13 +485,13 @@ CREATE TABLE IF NOT EXISTS `avo_member` (
`mb_signature` text NOT NULL, `mb_signature` text NOT NULL,
`mb_recommend` varchar(255) NOT NULL default '', `mb_recommend` varchar(255) NOT NULL default '',
`mb_point` int(11) NOT NULL default '0', `mb_point` int(11) NOT NULL default '0',
`mb_today_login` datetime NOT NULL default '0000-00-00 00:00:00', `mb_today_login` datetime NOT NULL default '1970-01-01 00:00:00',
`mb_login_ip` varchar(255) NOT NULL default '', `mb_login_ip` varchar(255) NOT NULL default '',
`mb_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `mb_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`mb_ip` varchar(255) NOT NULL default '', `mb_ip` varchar(255) NOT NULL default '',
`mb_leave_date` varchar(8) NOT NULL default '', `mb_leave_date` varchar(8) NOT NULL default '',
`mb_intercept_date` varchar(8) NOT NULL default '', `mb_intercept_date` varchar(8) NOT NULL default '',
`mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00', `mb_email_certify` datetime NOT NULL default '1970-01-01 00:00:00',
`mb_email_certify2` varchar(255) NOT NULL default '', `mb_email_certify2` varchar(255) NOT NULL default '',
`mb_memo` text NOT NULL, `mb_memo` text NOT NULL,
`mb_lost_certify` varchar(255) NOT NULL DEFAULT '', `mb_lost_certify` varchar(255) NOT NULL DEFAULT '',
@ -517,7 +517,7 @@ CREATE TABLE IF NOT EXISTS `avo_member` (
UNIQUE KEY `mb_id` (`mb_id`), UNIQUE KEY `mb_id` (`mb_id`),
KEY `mb_today_login` (`mb_today_login`), KEY `mb_today_login` (`mb_today_login`),
KEY `mb_datetime` (`mb_datetime`) KEY `mb_datetime` (`mb_datetime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -530,12 +530,12 @@ CREATE TABLE IF NOT EXISTS `avo_memo` (
`me_id` int(11) NOT NULL default '0', `me_id` int(11) NOT NULL default '0',
`me_recv_mb_id` varchar(20) NOT NULL default '', `me_recv_mb_id` varchar(20) NOT NULL default '',
`me_send_mb_id` varchar(20) NOT NULL default '', `me_send_mb_id` varchar(20) NOT NULL default '',
`me_send_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `me_send_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`me_read_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `me_read_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`me_memo` text NOT NULL, `me_memo` text NOT NULL,
PRIMARY KEY (`me_id`), PRIMARY KEY (`me_id`),
KEY `me_recv_mb_id` (`me_recv_mb_id`) KEY `me_recv_mb_id` (`me_recv_mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -547,7 +547,7 @@ DROP TABLE IF EXISTS `avo_point`;
CREATE TABLE IF NOT EXISTS `avo_point` ( CREATE TABLE IF NOT EXISTS `avo_point` (
`po_id` int(11) NOT NULL auto_increment, `po_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`po_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `po_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
`po_content` varchar(255) NOT NULL default '', `po_content` varchar(255) NOT NULL default '',
`po_point` int(11) NOT NULL default '0', `po_point` int(11) NOT NULL default '0',
`po_use_point` int(11) NOT NULL default '0', `po_use_point` int(11) NOT NULL default '0',
@ -560,7 +560,7 @@ CREATE TABLE IF NOT EXISTS `avo_point` (
PRIMARY KEY (`po_id`), PRIMARY KEY (`po_id`),
KEY `index1` (`mb_id`,`po_rel_table`,`po_rel_id`,`po_rel_action`), KEY `index1` (`mb_id`,`po_rel_table`,`po_rel_id`,`po_rel_action`),
KEY `index2` (`po_expire_date`) KEY `index2` (`po_expire_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -597,7 +597,7 @@ CREATE TABLE IF NOT EXISTS `avo_poll` (
`po_ips` mediumtext NOT NULL, `po_ips` mediumtext NOT NULL,
`mb_ids` text NOT NULL, `mb_ids` text NOT NULL,
PRIMARY KEY (`po_id`) PRIMARY KEY (`po_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -612,9 +612,9 @@ CREATE TABLE IF NOT EXISTS `avo_poll_etc` (
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`pc_name` varchar(255) NOT NULL default '', `pc_name` varchar(255) NOT NULL default '',
`pc_idea` varchar(255) NOT NULL default '', `pc_idea` varchar(255) NOT NULL default '',
`pc_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `pc_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
PRIMARY KEY (`pc_id`) PRIMARY KEY (`pc_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -630,7 +630,7 @@ CREATE TABLE IF NOT EXISTS `avo_popular` (
`pp_ip` varchar(50) NOT NULL default '', `pp_ip` varchar(50) NOT NULL default '',
PRIMARY KEY (`pp_id`), PRIMARY KEY (`pp_id`),
UNIQUE KEY `index1` (`pp_date`,`pp_word`,`pp_ip`) UNIQUE KEY `index1` (`pp_date`,`pp_word`,`pp_ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -644,10 +644,10 @@ CREATE TABLE IF NOT EXISTS `avo_scrap` (
`mb_id` varchar(20) NOT NULL default '', `mb_id` varchar(20) NOT NULL default '',
`bo_table` varchar(20) NOT NULL default '', `bo_table` varchar(20) NOT NULL default '',
`wr_id` varchar(15) NOT NULL default '', `wr_id` varchar(15) NOT NULL default '',
`ms_datetime` datetime NOT NULL default '0000-00-00 00:00:00', `ms_datetime` datetime NOT NULL default '1970-01-01 00:00:00',
PRIMARY KEY (`ms_id`), PRIMARY KEY (`ms_id`),
KEY `mb_id` (`mb_id`) KEY `mb_id` (`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -666,7 +666,7 @@ CREATE TABLE IF NOT EXISTS `avo_visit` (
PRIMARY KEY (`vi_id`), PRIMARY KEY (`vi_id`),
UNIQUE KEY `index1` (`vi_ip`,`vi_date`), UNIQUE KEY `index1` (`vi_ip`,`vi_date`),
KEY `index2` (`vi_date`) KEY `index2` (`vi_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -680,7 +680,7 @@ CREATE TABLE IF NOT EXISTS `avo_visit_sum` (
`vs_count` int(11) NOT NULL default '0', `vs_count` int(11) NOT NULL default '0',
PRIMARY KEY (`vs_date`), PRIMARY KEY (`vs_date`),
KEY `index1` (`vs_count`) KEY `index1` (`vs_count`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -693,7 +693,7 @@ CREATE TABLE IF NOT EXISTS `avo_uniqid` (
`uq_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL,
`uq_ip` varchar(255) NOT NULL DEFAULT '', `uq_ip` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`uq_id`) PRIMARY KEY (`uq_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -712,7 +712,7 @@ CREATE TABLE IF NOT EXISTS `avo_autosave` (
PRIMARY KEY (`as_id`), PRIMARY KEY (`as_id`),
UNIQUE KEY `as_uid` (`as_uid`), UNIQUE KEY `as_uid` (`as_uid`),
KEY `mb_id` (`mb_id`) KEY `mb_id` (`mb_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -758,7 +758,7 @@ CREATE TABLE IF NOT EXISTS `avo_qa_config` (
`qa_3` varchar(255) NOT NULL DEFAULT '', `qa_3` varchar(255) NOT NULL DEFAULT '',
`qa_4` varchar(255) NOT NULL DEFAULT '', `qa_4` varchar(255) NOT NULL DEFAULT '',
`qa_5` varchar(255) NOT NULL DEFAULT '' `qa_5` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -789,7 +789,7 @@ CREATE TABLE IF NOT EXISTS `avo_qa_content` (
`qa_file2` varchar(255) NOT NULL DEFAULT '', `qa_file2` varchar(255) NOT NULL DEFAULT '',
`qa_source2` varchar(255) NOT NULL DEFAULT '', `qa_source2` varchar(255) NOT NULL DEFAULT '',
`qa_ip` varchar(255) NOT NULL DEFAULT '', `qa_ip` varchar(255) NOT NULL DEFAULT '',
`qa_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `qa_datetime` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
`qa_1` varchar(255) NOT NULL DEFAULT '', `qa_1` varchar(255) NOT NULL DEFAULT '',
`qa_2` varchar(255) NOT NULL DEFAULT '', `qa_2` varchar(255) NOT NULL DEFAULT '',
`qa_3` varchar(255) NOT NULL DEFAULT '', `qa_3` varchar(255) NOT NULL DEFAULT '',
@ -797,7 +797,7 @@ CREATE TABLE IF NOT EXISTS `avo_qa_content` (
`qa_5` varchar(255) NOT NULL DEFAULT '', `qa_5` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`qa_id`), PRIMARY KEY (`qa_id`),
KEY `qa_num_parent` (`qa_num`,`qa_parent`) KEY `qa_num_parent` (`qa_num`,`qa_parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -819,7 +819,7 @@ CREATE TABLE IF NOT EXISTS `avo_content` (
`co_include_head` varchar(255) NOT NULL DEFAULT '', `co_include_head` varchar(255) NOT NULL DEFAULT '',
`co_include_tail` varchar(255) NOT NULL DEFAULT '', `co_include_tail` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`co_id`) PRIMARY KEY (`co_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -836,7 +836,7 @@ CREATE TABLE IF NOT EXISTS `avo_faq` (
`fa_order` int(11) NOT NULL DEFAULT '0', `fa_order` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`fa_id`), PRIMARY KEY (`fa_id`),
KEY `fm_id` (`fm_id`) KEY `fm_id` (`fm_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -854,7 +854,7 @@ CREATE TABLE IF NOT EXISTS `avo_faq_master` (
`fm_mobile_tail_html` text NOT NULL, `fm_mobile_tail_html` text NOT NULL,
`fm_order` int(11) NOT NULL DEFAULT '0', `fm_order` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`fm_id`) PRIMARY KEY (`fm_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -866,8 +866,8 @@ DROP TABLE IF EXISTS `avo_new_win`;
CREATE TABLE IF NOT EXISTS `avo_new_win` ( CREATE TABLE IF NOT EXISTS `avo_new_win` (
`nw_id` int(11) NOT NULL AUTO_INCREMENT, `nw_id` int(11) NOT NULL AUTO_INCREMENT,
`nw_device` varchar(10) NOT NULL DEFAULT 'both', `nw_device` varchar(10) NOT NULL DEFAULT 'both',
`nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_begin_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
`nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_end_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
`nw_disable_hours` int(11) NOT NULL DEFAULT '0', `nw_disable_hours` int(11) NOT NULL DEFAULT '0',
`nw_left` int(11) NOT NULL DEFAULT '0', `nw_left` int(11) NOT NULL DEFAULT '0',
`nw_top` int(11) NOT NULL DEFAULT '0', `nw_top` int(11) NOT NULL DEFAULT '0',
@ -877,7 +877,7 @@ CREATE TABLE IF NOT EXISTS `avo_new_win` (
`nw_content` text NOT NULL, `nw_content` text NOT NULL,
`nw_content_html` tinyint(4) NOT NULL DEFAULT '0', `nw_content_html` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`nw_id`) PRIMARY KEY (`nw_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -897,7 +897,7 @@ CREATE TABLE IF NOT EXISTS `avo_menu` (
`me_use` tinyint(4) NOT NULL DEFAULT '0', `me_use` tinyint(4) NOT NULL DEFAULT '0',
`me_mobile_use` tinyint(4) NOT NULL DEFAULT '0', `me_mobile_use` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`me_id`) PRIMARY KEY (`me_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@ -912,7 +912,7 @@ CREATE TABLE IF NOT EXISTS `avo_emoticon` (
`me_text` varchar(255) NOT NULL DEFAULT '', `me_text` varchar(255) NOT NULL DEFAULT '',
`me_img` varchar(255) NOT NULL DEFAULT '', `me_img` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`me_id`) PRIMARY KEY (`me_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
@ -946,5 +946,5 @@ CREATE TABLE IF NOT EXISTS `avo_css_config` (
`cs_etc_20` varchar(255) NOT NULL DEFAULT '', `cs_etc_20` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`cs_id`), PRIMARY KEY (`cs_id`),
KEY `cs_id` (`cs_id`) KEY `cs_id` (`cs_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -1,60 +1,62 @@
<?php <?php
include_once ('../config.php'); include_once('../config.php');
$title = G5_VERSION." 라이센스 확인 1/3";
include_once ('./install.inc.php'); $theme_1 = "#BEBE8E";
$theme_2 = "#7F7F5F";
$theme_3 = "#7C7C4C";
$theme_4 = "#b0c4de";
$theme_5 = "#727F99";
$theme_6 = "#7488B2";
$title = G5_VERSION . " 라이센스 확인 1/3";
include_once('./install.inc.php');
?> ?>
<?php <?php
if ($exists_data_dir && $write_data_dir) { if ($exists_data_dir && $write_data_dir) {
// 필수 모듈 체크 // 필수 모듈 체크
require_once('./library.check.php'); require_once('./library.check.php');
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<p> <p>
<strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br> <strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br>
라이센스에 동의하시는 경우에만 설치가 진행됩니다. 라이센스에 동의하시는 경우에만 설치가 진행됩니다.
</p> </p>
<div class="ins_ta ins_license"> <div class="ins_ta ins_license">
<textarea name="textarea" id="ins_license" readonly><?php echo implode('', file('./AVOCADO.LICENSE.txt')); ?></textarea> <textarea name="textarea" id="ins_license"
readonly><?php echo implode('', file('./AVOCADO.LICENSE.txt')); ?></textarea>
</div> </div>
<p>
<p> <strong class="st_strong">그누보드 라이센스</strong><br>
<strong class="st_strong">그누보드 라이센스</strong><br> 라이센스에 동의하시는 경우에만 설치가 진행됩니다.
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
</p> </p>
<div class="ins_ta ins_license">
<div class="ins_ta ins_license"> <textarea name="textarea" id="ins_license" readonly><?php echo implode('', file('./LICENSE.txt')); ?></textarea>
<textarea name="textarea" id="ins_license" readonly><?php echo implode('', file('./LICENSE.txt')); ?></textarea>
</div> </div>
<form action="./install_config.php" method="post" onsubmit="return frm_submit(this);"> <form action="./install_config.php" method="post" onsubmit="return frm_submit(this);">
<div id="ins_agree"> <div id="ins_agree">
<label for="agree">동의합니다.</label> <label for="agree">동의합니다.</label>
<input type="checkbox" name="agree" value="동의함" id="agree"> <input type="checkbox" name="agree" value="동의함" id="agree">
</div> </div>
<div class="inner_btn"> <div class="inner_btn">
<input type="submit" value="다음"> <input type="submit" value="다음">
</div> </div>
</form> </form>
</div> </div>
<script>
function frm_submit(f) {
if (!f.agree.checked) {
<script>
function frm_submit(f)
{
if (!f.agree.checked) {
alert("라이센스 내용에 동의하셔야 설치가 가능합니다."); alert("라이센스 내용에 동의하셔야 설치가 가능합니다.");
return false; return false;
}
return true;
} }
return true; </script>
} <?php
</script>
<?php
} // if } // if
?> ?>
<?php <?php
include_once ('./install.inc2.php'); include_once('./install.inc2.php');
?> ?>

View file

@ -2,38 +2,165 @@
/* SIR 지운아빠 */ /* SIR 지운아빠 */
/* 공통 */ /* 공통 */
body {margin:0;padding:0;background:url('img/pat01.png') #edf0f4;font-size:0.75em;font-family:dotum,helvetica} body {
input, img, select, button {font-size:1em;vertical-align:middle} margin: 0;
label {vertical-align:middle} padding: 0;
background: url('img/pat01.png') #edf0f4;
font-size: 0.75em;
font-family: dotum, helvetica
}
#ins_bar {margin:0 0 50px;padding:20px 30px;background:#383838;color:#a1a4a7;font-family:tahoma,helvetica;font-size:1.500em;zoom:1} input,
#ins_bar:after {display:block;visibility:hidden;clear:both;content:""} img,
#ins_bar #bar_img {float:left} select,
#ins_bar #bar_txt {float:right} button {
font-size: 1em;
vertical-align: middle
}
h1 {margin:0 0 30px;text-align:center; font-size: 20px !important;} label {
vertical-align: middle
}
.ins_inner {margin:0 30px 50px;padding:20px 30px;border-right:1px solid #dde4e9;border-bottom:1px solid #dde4e9;background:#fff} #ins_bar {
.ins_inner ul {margin:20px 0;padding:0 0 0 13px} margin: 0 0 50px;
.ins_inner ol {margin:20px 0;padding:0 0 0 18px} padding: 20px 30px;
.ins_inner ol li {margin:0 0 5px} background: #383838;
.ins_inner p strong {color:red} color: #a1a4a7;
.ins_inner .inner_btn {margin:30px 0 0;text-align:right} font-family: tahoma, helvetica;
.ins_inner .inner_btn a, .ins_inner .inner_btn input {display:inline-block;padding:10px 20px;background:#ecc6c6;color:#fff;text-decoration:none} font-size: 1.500em;
.ins_inner .inner_btn input {border:0;cursor:pointer} zoom: 1
}
.ins_frm {margin:0 0 30px;width:100%;border:0;border-collapse:collapse} #ins_bar:after {
.ins_frm caption {padding:10px 0;font-weight:bold;text-align:left} display: block;
.ins_frm th, .ins_frm td {padding:5px 3px;border-top:1px solid #dde4e9;border-bottom:1px solid #dde4e9} visibility: hidden;
.ins_frm th {width:25%;background:#f2f5f9} clear: both;
.ins_frm td span {display:block;margin:5px 0 0;font-size:0.917em;letter-spacing:-0.1em} content: ""
}
.ins_ta {padding:5px 0;border:1px solid #dde4e9;text-align:center} #ins_bar #bar_img {
.ins_ta textarea {border:0;padding:0;width:99%;height:250px;background:transparent} float: left
.ins_license {background:#f2f5f9} }
#ins_ft {color:#a1a4a7;font-family:tahoma,helvetica;text-align:center} #ins_bar #bar_txt {
#ins_ft strong {font-size:1.500em;font-weight:normal} float: right
}
h1 {
margin: 0 0 30px;
text-align: center;
font-size: 20px !important;
}
.ins_inner {
margin: 0 30px 50px;
padding: 20px 30px;
border-right: 1px solid #dde4e9;
border-bottom: 1px solid #dde4e9;
background: #fff
}
.ins_inner ul {
margin: 20px 0;
padding: 0 0 0 13px
}
.ins_inner ol {
margin: 20px 0;
padding: 0 0 0 18px
}
.ins_inner ol li {
margin: 0 0 5px
}
.ins_inner p strong {
color: red
}
.ins_inner .inner_btn {
margin: 30px 0 0;
text-align: right
}
.ins_inner .inner_btn a,
.ins_inner .inner_btn input {
display: inline-block;
padding: 10px 20px;
background: #BEBE8E;
color: #fff;
text-decoration: none
}
.ins_inner .inner_btn input {
border: 0;
cursor: pointer
}
.ins_frm {
margin: 0 0 30px;
width: 100%;
border: 0;
border-collapse: collapse
}
.ins_frm caption {
padding: 10px 0;
font-weight: bold;
text-align: left
}
.ins_frm th,
.ins_frm td {
padding: 5px 3px;
border-top: 1px solid #dde4e9;
border-bottom: 1px solid #dde4e9
}
.ins_frm th {
width: 25%;
background: #f2f5f9
}
.ins_frm td span {
display: block;
margin: 5px 0 0;
font-size: 0.917em;
letter-spacing: -0.1em
}
.ins_ta {
padding: 5px 0;
border: 1px solid #dde4e9;
text-align: center
}
.ins_ta textarea {
border: 0;
padding: 0;
width: 99%;
height: 250px;
background: transparent
}
.ins_license {
background: #f2f5f9
}
#ins_ft {
color: #a1a4a7;
font-family: tahoma, helvetica;
text-align: center
}
#ins_ft strong {
font-size: 1.500em;
font-weight: normal
}
/* 라이센스 확인 1/3 */ /* 라이센스 확인 1/3 */
#ins_agree {padding:10px 0 0;text-align:right} #ins_agree {
padding: 10px 0 0;
text-align: right
}

View file

@ -1,96 +1,97 @@
<?php <?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if (!defined('_GNUBOARD_'))
$data_path = '../'.G5_DATA_DIR; exit; // 개별 페이지 접근 불가
$data_path = '../' . G5_DATA_DIR;
if (!$title) $title = G5_VERSION." 설치"; if (!$title)
$title = G5_VERSION . " 설치";
?> ?>
<!doctype html> <!doctype html>
<html lang="ko"> <html lang="ko">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><?php echo $title; ?></title> <title><?php echo $title; ?></title>
<link rel="stylesheet" href="install.css"> <link rel="stylesheet" href="install.css">
</head> </head>
<body> <body>
<div id="ins_bar"> <div id="ins_bar">
<span id="bar_img">AVOCADO EDITION</span> <span id="bar_img">AVOCADO EDITION</span>
<span id="bar_txt">INSTALLATION</span> <span id="bar_txt">INSTALLATION</span>
</div> </div>
<?php <?php
// 파일이 존재한다면 설치할 수 없다. // 파일이 존재한다면 설치할 수 없다.
$dbconfig_file = $data_path.'/'.G5_DBCONFIG_FILE; $dbconfig_file = $data_path . '/' . G5_DBCONFIG_FILE;
if (file_exists($dbconfig_file)) { if (file_exists($dbconfig_file)) {
?> ?>
<h1><?php echo G5_VERSION; ?> 프로그램이 이미 설치되어 있습니다.</h1> <h1><?php echo G5_VERSION; ?> 프로그램이 이미 설치되어 있습니다.</h1>
<div class="ins_inner"> <div class="ins_inner">
<p>프로그램이 이미 설치되어 있습니다.<br />새로 설치하시려면 다음 파일을 삭제 하신 새로고침 하십시오.</p> <p>프로그램이 이미 설치되어 있습니다.<br />새로 설치하시려면 다음 파일을 삭제 하신 새로고침 하십시오.</p>
<ul> <ul>
<li><?php echo $dbconfig_file ?></li> <li><?php echo $dbconfig_file ?></li>
</ul> </ul>
</div> </div>
<?php <?php
exit; exit;
} }
?> ?>
<?php <?php
$exists_data_dir = true; $exists_data_dir = true;
// data 디렉토리가 있는가? // data 디렉토리가 있는가?
if (!is_dir($data_path)) if (!is_dir($data_path)) {
{ ?>
?> <h1><?php echo G5_VERSION; ?> 설치를 위해 아래 내용을 확인해 주십시오.</h1>
<h1><?php echo G5_VERSION; ?> 설치를 위해 아래 내용을 확인해 주십시오.</h1>
<div class="ins_inner"> <div class="ins_inner">
<p> <p>
루트 디렉토리에 아래로 <?php echo G5_DATA_DIR ?> 디렉토리를 생성하여 주십시오.<br /> 루트 디렉토리에 아래로 <?php echo G5_DATA_DIR ?> 디렉토리를 생성하여 주십시오.<br />
(common.php 파일이 있는곳이 루트 디렉토리 입니다.)<br /><br /> (common.php 파일이 있는곳이 루트 디렉토리 입니다.)<br /><br />
$> mkdir <?php echo G5_DATA_DIR ?><br /><br /> $> mkdir <?php echo G5_DATA_DIR ?><br /><br />
윈도우의 경우 data 폴더를 하나 생성해 주시기 바랍니다.<br /><br /> 윈도우의 경우 data 폴더를 하나 생성해 주시기 바랍니다.<br /><br />
명령 실행후 브라우저를 새로고침 하십시오. 명령 실행후 브라우저를 새로고침 하십시오.
</p> </p>
</div> </div>
<?php <?php
$exists_data_dir = false; $exists_data_dir = false;
} }
?> ?>
<?php <?php
$write_data_dir = true; $write_data_dir = true;
// data 디렉토리에 파일 생성 가능한지 검사. // data 디렉토리에 파일 생성 가능한지 검사.
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') { if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
$sapi_type = php_sapi_name(); $sapi_type = php_sapi_name();
if (substr($sapi_type, 0, 3) == 'cgi') { if (substr($sapi_type, 0, 3) == 'cgi') {
if (!(is_readable($data_path) && is_executable($data_path))) if (!(is_readable($data_path) && is_executable($data_path))) {
{
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<p> <p>
<?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 705로 변경하여 주십시오.<br /><br /> <?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 705로 변경하여 주십시오.<br /><br />
$> chmod 705 <?php echo G5_DATA_DIR ?> 또는 chmod uo+rx <?php echo G5_DATA_DIR ?><br /><br /> $> chmod 705 <?php echo G5_DATA_DIR ?> 또는 chmod uo+rx <?php echo G5_DATA_DIR ?><br /><br />
명령 실행후 브라우저를 새로고침 하십시오. 명령 실행후 브라우저를 새로고침 하십시오.
</p> </p>
</div> </div>
<?php <?php
$write_data_dir = false; $write_data_dir = false;
} }
} else { } else {
if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path))) if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path))) {
{
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<p> <p>
<?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.<br /><br /> <?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.<br /><br />
$> chmod 707 <?php echo G5_DATA_DIR ?> 또는 chmod uo+rwx <?php echo G5_DATA_DIR ?><br /><br /> $> chmod 707 <?php echo G5_DATA_DIR ?> 또는 chmod uo+rwx <?php echo G5_DATA_DIR ?><br /><br />
명령 실행후 브라우저를 새로고침 하십시오. 명령 실행후 브라우저를 새로고침 하십시오.
</p> </p>
</div> </div>
<?php <?php
$write_data_dir = false; $write_data_dir = false;
} }
} }
} }
?> ?>

View file

@ -1,7 +1,6 @@
<div id="ins_ft"> <div id="ins_ft">
<strong>AVOCADO EDITION</strong> <strong>AVOCADO EDITION</strong>
<p>GPL! OPEN SOURCE GNUBOARD</p> <p>GPL! OPEN SOURCE GNUBOARD</p>
</div> </div>
</body> </body>
</html> </html>

View file

@ -1,162 +1,152 @@
<?php <?php
$gmnow = gmdate('D, d M Y H:i:s').' GMT'; $gmnow = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: 0'); // rfc2616 - Section 14.21 header('Expires: 0'); // rfc2616 - Section 14.21
header('Last-Modified: ' . $gmnow); header('Last-Modified: ' . $gmnow);
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1 header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0 header('Pragma: no-cache'); // HTTP/1.0
include_once ('../config.php'); include_once('../config.php');
$title = G5_VERSION." 초기환경설정 2/3"; $title = G5_VERSION . " 초기환경설정 2/3";
include_once ('./install.inc.php'); include_once('./install.inc.php');
if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') { if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
echo "<div class=\"ins_inner\"><p>라이센스(License) 내용에 동의하셔야 설치를 계속하실 수 있습니다.</p>".PHP_EOL; echo "<div class=\"ins_inner\"><p>라이센스(License) 내용에 동의하셔야 설치를 계속하실 수 있습니다.</p>" . PHP_EOL;
echo "<div class=\"inner_btn\"><a href=\"./\">뒤로가기</a></div></div>".PHP_EOL; echo "<div class=\"inner_btn\"><a href=\"./\">뒤로가기</a></div></div>" . PHP_EOL;
exit; exit;
} }
?> ?>
<form id="frm_install" method="post" action="./install_db.php" autocomplete="off"
onsubmit="return frm_install_submit(this)">
<div class="ins_inner">
<table class="ins_frm">
<caption>MySQL 정보입력</caption>
<colgroup>
<col style="width:150px">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="mysql_host">Host</label></th>
<td>
<input name="mysql_host" type="text" value="localhost" id="mysql_host">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_user">User</label></th>
<td>
<input name="mysql_user" type="text" id="mysql_user">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_pass">Password</label></th>
<td>
<input name="mysql_pass" type="text" id="mysql_pass">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_db">DB</label></th>
<td>
<input name="mysql_db" type="text" id="mysql_db">
</td>
</tr>
<tr>
<th scope="row"><label for="table_prefix">TABLE명 접두사</label></th>
<td>
<input name="table_prefix" type="text" value="avo_" id="table_prefix">
<span>가능한 변경하지 마십시오.</span>
</td>
</tr>
<tr>
<th scope="row"><label for="table_url">DB 관리자 주소</label></th>
<td>
<input name="table_url" type="text" value="" id="table_url">
<span>호스팅 업체에서 제공하는 WEB MYSQL 관리자 주소를 입력하세요.</span>
</td>
</tr>
</tbody>
</table>
<table class="ins_frm">
<caption>최고관리자 정보입력</caption>
<colgroup>
<col style="width:150px">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="admin_id">회원 ID</label></th>
<td>
<input name="admin_id" type="text" value="admin" id="admin_id">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_pass">비밀번호</label></th>
<td>
<input name="admin_pass" type="text" id="admin_pass">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_name">이름</label></th>
<td>
<input name="admin_name" type="text" value="최고관리자" id="admin_name">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_email">E-mail</label></th>
<td>
<input name="admin_email" type="text" value="admin@domain.com" id="admin_email">
</td>
</tr>
</tbody>
</table>
<p>
<strong class="st_strong">주의! 이미 <?php echo G5_VERSION ?>이 존재한다면 DB 자료가 망실되므로 주의하십시오.</strong><br>
주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오.
</p>
<div class="inner_btn">
<input type="submit" value="다음">
</div>
</div>
<script>
function frm_install_submit(f) {
if (f.mysql_host.value == '') {
alert('MySQL Host 를 입력하십시오.'); f.mysql_host.focus(); return false;
}
else if (f.mysql_user.value == '') {
alert('MySQL User 를 입력하십시오.'); f.mysql_user.focus(); return false;
}
else if (f.mysql_db.value == '') {
alert('MySQL DB 를 입력하십시오.'); f.mysql_db.focus(); return false;
}
else if (f.admin_id.value == '') {
alert('최고관리자 ID 를 입력하십시오.'); f.admin_id.focus(); return false;
}
else if (f.admin_pass.value == '') {
alert('최고관리자 비밀번호를 입력하십시오.'); f.admin_pass.focus(); return false;
}
else if (f.admin_name.value == '') {
alert('최고관리자 이름을 입력하십시오.'); f.admin_name.focus(); return false;
}
else if (f.admin_email.value == '') {
alert('최고관리자 E-mail 을 입력하십시오.'); f.admin_email.focus(); return false;
}
<form id="frm_install" method="post" action="./install_db.php" autocomplete="off" onsubmit="return frm_install_submit(this)"> if (/^[a-z][a-z0-9]/i.test(f.admin_id.value) == false) {
alert('최고관리자 회원 ID는 첫자는 반드시 영문자 그리고 영문자와 숫자로만 만드셔야 합니다.');
f.admin_id.focus();
return false;
}
<div class="ins_inner"> return true;
<table class="ins_frm"> }
<caption>MySQL 정보입력</caption> </script>
<colgroup>
<col style="width:150px">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="mysql_host">Host</label></th>
<td>
<input name="mysql_host" type="text" value="localhost" id="mysql_host">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_user">User</label></th>
<td>
<input name="mysql_user" type="text" id="mysql_user">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_pass">Password</label></th>
<td>
<input name="mysql_pass" type="text" id="mysql_pass">
</td>
</tr>
<tr>
<th scope="row"><label for="mysql_db">DB</label></th>
<td>
<input name="mysql_db" type="text" id="mysql_db">
</td>
</tr>
<tr>
<th scope="row"><label for="table_prefix">TABLE명 접두사</label></th>
<td>
<input name="table_prefix" type="text" value="avo_" id="table_prefix">
<span>가능한 변경하지 마십시오.</span>
</td>
</tr>
<tr>
<th scope="row"><label for="table_url">DB 관리자 주소</label></th>
<td>
<input name="table_url" type="text" value="" id="table_url">
<span>호스팅 업체에서 제공하는 WEB MYSQL 관리자 주소를 입력하세요.</span>
</td>
</tr>
</tbody>
</table>
<table class="ins_frm"> <?php
<caption>최고관리자 정보입력</caption> include_once('./install.inc2.php');
<colgroup> ?>
<col style="width:150px">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="admin_id">회원 ID</label></th>
<td>
<input name="admin_id" type="text" value="admin" id="admin_id">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_pass">비밀번호</label></th>
<td>
<input name="admin_pass" type="text" id="admin_pass">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_name">이름</label></th>
<td>
<input name="admin_name" type="text" value="최고관리자" id="admin_name">
</td>
</tr>
<tr>
<th scope="row"><label for="admin_email">E-mail</label></th>
<td>
<input name="admin_email" type="text" value="admin@domain.com" id="admin_email">
</td>
</tr>
</tbody>
</table>
<p>
<strong class="st_strong">주의! 이미 <?php echo G5_VERSION ?>이 존재한다면 DB 자료가 망실되므로 주의하십시오.</strong><br>
주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오.
</p>
<div class="inner_btn">
<input type="submit" value="다음">
</div>
</div>
<script>
function frm_install_submit(f)
{
if (f.mysql_host.value == '')
{
alert('MySQL Host 를 입력하십시오.'); f.mysql_host.focus(); return false;
}
else if (f.mysql_user.value == '')
{
alert('MySQL User 를 입력하십시오.'); f.mysql_user.focus(); return false;
}
else if (f.mysql_db.value == '')
{
alert('MySQL DB 를 입력하십시오.'); f.mysql_db.focus(); return false;
}
else if (f.admin_id.value == '')
{
alert('최고관리자 ID 를 입력하십시오.'); f.admin_id.focus(); return false;
}
else if (f.admin_pass.value == '')
{
alert('최고관리자 비밀번호를 입력하십시오.'); f.admin_pass.focus(); return false;
}
else if (f.admin_name.value == '')
{
alert('최고관리자 이름을 입력하십시오.'); f.admin_name.focus(); return false;
}
else if (f.admin_email.value == '')
{
alert('최고관리자 E-mail 을 입력하십시오.'); f.admin_email.focus(); return false;
}
if(/^[a-z][a-z0-9]/i.test(f.admin_id.value) == false) {
alert('최고관리자 회원 ID는 첫자는 반드시 영문자 그리고 영문자와 숫자로만 만드셔야 합니다.');
f.admin_id.focus();
return false;
}
return true;
}
</script>
<?php
include_once ('./install.inc2.php');
?>

View file

@ -7,101 +7,110 @@ header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0 header('Pragma: no-cache'); // HTTP/1.0
include_once ('../config.php'); $theme_1 = "#BEBE8E";
include_once ('../lib/common.lib.php'); $theme_2 = "#7F7F5F";
$theme_3 = "#7C7C4C";
$title = G5_VERSION." 설치 완료 3/3"; $theme_4 = "#b0c4de";
include_once ('./install.inc.php'); $theme_5 = "#727F99";
$theme_6 = "#7488B2";
include_once('../config.php');
include_once('../lib/common.lib.php');
$title = G5_VERSION . " 설치 완료 3/3";
include_once('./install.inc.php');
//print_r($_POST); exit; //print_r($_POST); exit;
$mysql_host = $_POST['mysql_host']; $mysql_host = $_POST['mysql_host'];
$mysql_user = $_POST['mysql_user']; $mysql_user = $_POST['mysql_user'];
$mysql_pass = $_POST['mysql_pass']; $mysql_pass = $_POST['mysql_pass'];
$mysql_db = $_POST['mysql_db']; $mysql_db = $_POST['mysql_db'];
$table_prefix= $_POST['table_prefix']; $table_prefix = $_POST['table_prefix'];
$admin_id = $_POST['admin_id']; $admin_id = $_POST['admin_id'];
$admin_pass = $_POST['admin_pass']; $admin_pass = $_POST['admin_pass'];
$admin_name = $_POST['admin_name']; $admin_name = $_POST['admin_name'];
$admin_email = $_POST['admin_email']; $admin_email = $_POST['admin_email'];
$absolute_password = $_POST['absolute_password']; $absolute_password = $_POST['absolute_password'];
$table_url = $_POST['table_url']; $table_url = $_POST['table_url'];
$dblink = sql_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_db); $dblink = sql_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_db);
if (!$dblink) { if (!$dblink) {
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<p>MySQL Host, User, Password 확인해 주십시오.</p> <p>MySQL Host, User, Password 확인해 주십시오.</p>
<div class="inner_btn"><a href="./install_config.php">뒤로가기</a></div> <div class="inner_btn"><a href="./install_config.php">뒤로가기</a></div>
</div> </div>
<?php <?php
include_once ('./install.inc2.php'); include_once('./install.inc2.php');
exit; exit;
} }
$select_db = sql_select_db($mysql_db, $dblink); $select_db = sql_select_db($mysql_db, $dblink);
if (!$select_db) { if (!$select_db) {
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<p>MySQL DB 확인해 주십시오.</p> <p>MySQL DB 확인해 주십시오.</p>
<div class="inner_btn"><a href="./install_config.php">뒤로가기</a></div> <div class="inner_btn"><a href="./install_config.php">뒤로가기</a></div>
</div> </div>
<?php <?php
include_once ('./install.inc2.php'); include_once('./install.inc2.php');
exit; exit;
} }
$mysql_set_mode = 'false'; $mysql_set_mode = 'false';
sql_set_charset('utf8', $dblink); sql_set_charset('utf8', $dblink);
$result = sql_query(" SELECT @@sql_mode as mode ", true, $dblink); $result = sql_query(" SELECT @@sql_mode as mode ", true, $dblink);
$row = sql_fetch_array($result); $row = sql_fetch_array($result);
if($row['mode']) { if ($row['mode']) {
sql_query("SET SESSION sql_mode = ''", true, $dblink); sql_query("SET SESSION sql_mode = ''", true, $dblink);
$mysql_set_mode = 'true'; $mysql_set_mode = 'true';
} }
unset($result); unset($result);
unset($row); unset($row);
?> ?>
<div class="ins_inner"> <div class="ins_inner">
<h2><?php echo G5_VERSION ?> 설치가 시작되었습니다.</h2> <h2><?php echo G5_VERSION ?> 설치가 시작되었습니다.</h2>
<ol> <ol>
<?php <?php
// 테이블 생성 ------------------------------------ // 테이블 생성 ------------------------------------
$file = implode('', file('./gnuboard5.sql')); $file = implode('', file('./gnuboard5.sql'));
eval("\$file = \"$file\";"); eval ("\$file = \"$file\";");
$file = preg_replace('/^--.*$/m', '', $file); $file = preg_replace('/^--.*$/m', '', $file);
$file = preg_replace('/`avo_([^`]+`)/', '`'.$table_prefix.'$1', $file); $file = preg_replace('/`avo_([^`]+`)/', '`' . $table_prefix . '$1', $file);
$f = explode(';', $file); $f = explode(';', $file);
for ($i=0; $i<count($f); $i++) { for ($i = 0; $i < count($f); $i++) {
if (trim($f[$i]) == '') continue; if (trim($f[$i]) == '')
sql_query($f[$i], true, $dblink); continue;
} sql_query($f[$i], true, $dblink);
// 테이블 생성 ------------------------------------ }
?> // 테이블 생성 ------------------------------------
?>
<li>전체 테이블 생성 완료</li> <li>전체 테이블 생성 완료</li>
<?php <?php
$read_point = 0; $read_point = 0;
$write_point = 0; $write_point = 0;
$comment_point = 0; $comment_point = 0;
$download_point = 0; $download_point = 0;
//------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------
// config 테이블 설정 // config 테이블 설정
$sql = " insert into `{$table_prefix}config` $sql = " insert into `{$table_prefix}config`
set cf_title = '".G5_VERSION."', set cf_title = '" . G5_VERSION . "',
cf_admin = '$admin_id', cf_admin = '$admin_id',
cf_admin_email = '$admin_email', cf_admin_email = '$admin_email',
cf_admin_email_name = '".G5_VERSION."', cf_admin_email_name = '" . G5_VERSION . "',
cf_use_point = '0', cf_use_point = '0',
cf_use_copy_log = '0', cf_use_copy_log = '0',
cf_login_point = '0', cf_login_point = '0',
@ -161,255 +170,255 @@ $sql = " insert into `{$table_prefix}config`
cf_privacy = '', cf_privacy = '',
cf_add_fonts = '@font-face {\r\n font-family: \'PyeongChangPeace-Light\';\r\n src: url(\'https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/PyeongChangPeace-Light.woff2\') format(\'woff2\');\r\n font-weight: 300;\r\n font-style: normal;\r\n}\r\n@font-face {\r\n font-family: \'S-CoreDream-3Light\';\r\n src: url(\'https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff\') format(\'woff\');\r\n font-weight: normal;\r\n font-style: normal;\r\n}' cf_add_fonts = '@font-face {\r\n font-family: \'PyeongChangPeace-Light\';\r\n src: url(\'https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/PyeongChangPeace-Light.woff2\') format(\'woff2\');\r\n font-weight: 300;\r\n font-style: normal;\r\n}\r\n@font-face {\r\n font-family: \'S-CoreDream-3Light\';\r\n src: url(\'https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff\') format(\'woff\');\r\n font-weight: normal;\r\n font-style: normal;\r\n}'
"; ";
sql_query($sql, true, $dblink); sql_query($sql, true, $dblink);
// 1:1문의 설정 // 1:1문의 설정
$sql = " insert into `{$table_prefix}qa_config` $sql = " insert into `{$table_prefix}qa_config`
( qa_title, qa_category, qa_skin, qa_mobile_skin, qa_use_email, qa_req_email, qa_use_hp, qa_req_hp, qa_use_editor, qa_subject_len, qa_mobile_subject_len, qa_page_rows, qa_mobile_page_rows, qa_image_width, qa_upload_size, qa_insert_content ) ( qa_title, qa_category, qa_skin, qa_mobile_skin, qa_use_email, qa_req_email, qa_use_hp, qa_req_hp, qa_use_editor, qa_subject_len, qa_mobile_subject_len, qa_page_rows, qa_mobile_page_rows, qa_image_width, qa_upload_size, qa_insert_content )
values values
( '1:1문의', '회원|포인트', 'basic', 'basic', '1', '0', '1', '0', '1', '60', '30', '15', '15', '600', '1048576', '' ) "; ( '1:1문의', '회원|포인트', 'basic', 'basic', '1', '0', '1', '0', '1', '60', '30', '15', '15', '600', '1048576', '' ) ";
sql_query($sql, true, $dblink); sql_query($sql, true, $dblink);
// 관리자 회원가입 // 관리자 회원가입
$sql = " insert into `{$table_prefix}member` $sql = " insert into `{$table_prefix}member`
set mb_id = '{$admin_id}', set mb_id = '{$admin_id}',
mb_password = '".get_encrypt_string($admin_pass)."', mb_password = '" . get_encrypt_string($admin_pass) . "',
mb_name = '{$admin_name}', mb_name = '{$admin_name}',
mb_nick = '{$admin_name}', mb_nick = '{$admin_name}',
mb_email = '{$admin_email}', mb_email = '{$admin_email}',
mb_level = '10', mb_level = '10',
mb_mailling = '1', mb_mailling = '1',
mb_open = '1', mb_open = '1',
mb_email_certify = '".G5_TIME_YMDHIS."', mb_email_certify = '" . G5_TIME_YMDHIS . "',
mb_datetime = '".G5_TIME_YMDHIS."', mb_datetime = '" . G5_TIME_YMDHIS . "',
mb_ip = '{$_SERVER['REMOTE_ADDR']}' mb_ip = '{$_SERVER['REMOTE_ADDR']}'
"; ";
sql_query($sql, true, $dblink); sql_query($sql, true, $dblink);
// 게시판 그룹 추가 // 게시판 그룹 추가
$sql = " insert into `{$table_prefix}group` $sql = " insert into `{$table_prefix}group`
set gr_id = 'home', set gr_id = 'home',
gr_subject = 'HOME', gr_subject = 'HOME',
gr_device = 'both'"; gr_device = 'both'";
sql_query($sql, true, $dblink); sql_query($sql, true, $dblink);
// 디자인 설정 파일 // 디자인 설정 파일
function g5_path_temp() function g5_path_temp()
{ {
$result['path'] = str_replace('\\', '/', dirname(__FILE__)); $result['path'] = str_replace('\\', '/', dirname(__FILE__));
$tilde_remove = preg_replace('/^\/\~[^\/]+(.*)$/', '$1', $_SERVER['SCRIPT_NAME']); $tilde_remove = preg_replace('/^\/\~[^\/]+(.*)$/', '$1', $_SERVER['SCRIPT_NAME']);
$document_root = str_replace($tilde_remove, '', $_SERVER['SCRIPT_FILENAME']); $document_root = str_replace($tilde_remove, '', $_SERVER['SCRIPT_FILENAME']);
$root = str_replace($document_root, '', $result['path']); $root = str_replace($document_root, '', $result['path']);
$port = $_SERVER['SERVER_PORT'] != 80 ? ':'.$_SERVER['SERVER_PORT'] : ''; $port = $_SERVER['SERVER_PORT'] != 80 ? ':' . $_SERVER['SERVER_PORT'] : '';
$http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 's' : '') . '://'; $http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '') . '://';
$user = str_replace(str_replace($document_root, '', $_SERVER['SCRIPT_FILENAME']), '', $_SERVER['SCRIPT_NAME']); $user = str_replace(str_replace($document_root, '', $_SERVER['SCRIPT_FILENAME']), '', $_SERVER['SCRIPT_NAME']);
$host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME']; $host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
if(isset($_SERVER['HTTP_HOST']) && preg_match('/:[0-9]+$/', $host)) if (isset($_SERVER['HTTP_HOST']) && preg_match('/:[0-9]+$/', $host))
$host = preg_replace('/:[0-9]+$/', '', $host); $host = preg_replace('/:[0-9]+$/', '', $host);
$host = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", '', $host); $host = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", '', $host);
$result['url'] = $http.$host.$port.$user.$root; $result['url'] = $http . $host . $port . $user . $root;
$result['url'] = str_replace("/install", "", $result['url']); $result['url'] = str_replace("/install", "", $result['url']);
return $result; return $result;
} }
$g5_path = g5_path_temp(); $g5_path = g5_path_temp();
$sql = "INSERT INTO `{$table_prefix}css_config` (`cs_id`, `cs_name`, `cs_value`, `cs_descript`, `cs_etc_1`, `cs_etc_2`, `cs_etc_3`, `cs_etc_4`, `cs_etc_5`, `cs_etc_6`, `cs_etc_7`, `cs_etc_8`, `cs_etc_9`, `cs_etc_10`, `cs_etc_11`, `cs_etc_12`, `cs_etc_13`, `cs_etc_14`, `cs_etc_15`, `cs_etc_16`, `cs_etc_17`, `cs_etc_18`, `cs_etc_19`, `cs_etc_20`) VALUES $sql = "INSERT INTO `{$table_prefix}css_config` (`cs_id`, `cs_name`, `cs_value`, `cs_descript`, `cs_etc_1`, `cs_etc_2`, `cs_etc_3`, `cs_etc_4`, `cs_etc_5`, `cs_etc_6`, `cs_etc_7`, `cs_etc_8`, `cs_etc_9`, `cs_etc_10`, `cs_etc_11`, `cs_etc_12`, `cs_etc_13`, `cs_etc_14`, `cs_etc_15`, `cs_etc_16`, `cs_etc_17`, `cs_etc_18`, `cs_etc_19`, `cs_etc_20`) VALUES
(1, 'use_header', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (1, 'use_header', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(2, 'logo', '".$g5_path['url']."/img/default_site_img/design_logo.png', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (2, 'logo', '" . $g5_path['url'] . "/img/default_site_img/design_logo.png', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(3, 'background', '".$g5_path['url']."/img/default_site_img/design_background.png', '', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (3, 'background', '" . $g5_path['url'] . "/img/default_site_img/design_background.png', '', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(4, 'm_background', '".$g5_path['url']."/img/default_site_img/design_m_background.png', '', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (4, 'm_background', '" . $g5_path['url'] . "/img/default_site_img/design_m_background.png', '', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(5, 'menu_icon', '#ffffff', '', '60', '', '', '', '', '#ecc6c6', '', 'solid', '1', '#ecc6c6', '', '15', 'diamond', '', '', '', '', '', '', ''), (5, 'menu_icon', '#ffffff', '', '60', '', '', '', '', '{$theme_1}', '', 'solid', '1', '{$theme_1}', '', '15', 'diamond', '', '', '', '', '', '', ''),
(6, 'menu_tooltip', '#d6817e', '', '50', '#ffffff', '', '12', '20', '20', '20', '20', '\'PyeongChangPeace-Light\'', '', '', '', '', '', '', '', '', '', '', ''), (6, 'menu_tooltip', '#d6817e', '', '50', '#ffffff', '', '12', '20', '20', '20', '20', '\'PyeongChangPeace-Light\'', '', '', '', '', '', '', '', '', '', '', ''),
(7, 'board_notice', '#ecc6c6', '', '80', '#777777', '', '#ecc6c6', '', 'solid', '1', '||top||bottom||left||right||', '15', '0', '15', '0', '', '', '', '', '', '', '', ''), (7, 'board_notice', '{$theme_1}', '', '80', '#777777', '', '{$theme_1}', '', 'solid', '1', '||top||bottom||left||right||', '15', '0', '15', '0', '', '', '', '', '', '', '', ''),
(8, 'board_table', '', '', '90', '', '', '', '', '', '', '', '0', '0', '0', '0', '', '', '', '', '', '', '', ''), (8, 'board_table', '', '', '90', '', '', '', '', '', '', '', '0', '0', '0', '0', '', '', '', '', '', '', '', ''),
(9, 'list_header', '#ecc6c6', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''), (9, 'list_header', '{$theme_1}', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(10, 'list_body', '#ffffff', '', '50', '#777777', '', '#ecc6c6', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''), (10, 'list_body', '#ffffff', '', '50', '#777777', '', '{$theme_1}', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(11, 'form_header', '#ecc6c6', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''), (11, 'form_header', '{$theme_1}', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(12, 'form_body', '#ffffff', '', '50', '#777777', '', '#ecc6c6', '', 'solid', '1', '||top||bottom||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''), (12, 'form_body', '#ffffff', '', '50', '#777777', '', '{$theme_1}', '', 'solid', '1', '||top||bottom||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(13, 'btn_default', '#ecc6c6', '', '', '#ffffff', '', '#e8b0ae', '', '#e8b0ae', '', '#ffffff', '', '#e69d98', '', '20', '20', '20', '20', '', '', '', '', ''), (13, 'btn_default', '{$theme_1}', '', '', '#ffffff', '', '{$theme_2}', '', '{$theme_2}', '', '#ffffff', '', '{$theme_3}', '', '20', '20', '20', '20', '', '', '', '', ''),
(14, 'btn_point', '#b0c4de', '', '', '#ffffff', '', '#b0c4de', '', '#88a9db', '', '#ffffff', '', '#779bdb', '', '20', '20', '20', '20', '', '', '', '', ''), (14, 'btn_point', '{$theme_4}', '', '', '#ffffff', '', '{$theme_4}', '', '{$theme_5}', '', '#ffffff', '', '{$theme_6}', '', '20', '20', '20', '20', '', '', '', '', ''),
(15, 'btn_etc', '#eaeaea', '', '', '#777777', '', '#dedede', '', '#dedede', '', '#777777', '', '#cacaca', '', '20', '20', '20', '20', '', '', '', '', ''), (15, 'btn_etc', '#eaeaea', '', '', '#777777', '', '#dedede', '', '#dedede', '', '#777777', '', '#cacaca', '', '20', '20', '20', '20', '', '', '', '', ''),
(16, 'mmb_list_item', '', '', '', '', '', '', '', '', '', '', '40', '', '', '', '', '', '', '', '', '', '', ''), (16, 'mmb_list_item', '', '', '', '', '', '', '', '', '', '', '40', '', '', '', '', '', '', '', '', '', '', ''),
(17, 'mmb_list', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (17, 'mmb_list', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(18, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (18, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(19, 'mmb_log', '', '', '', '#777777', '', '#ecc6c6', '', 'solid', '4', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''), (19, 'mmb_log', '', '', '', '#777777', '', '{$theme_1}', '', 'solid', '4', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(20, 'mmb_reply', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (20, 'mmb_reply', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(21, 'mmb_reply_item', '#ffffff', '', '100', '#777777', '', '#ecc6c6', '', 'dotted', '1', '||top||bottom||left||right||', '10', '', '', '', '', '', '', '', '', '', '', ''), (21, 'mmb_reply_item', '#ffffff', '', '100', '#777777', '', '{$theme_1}', '', 'dotted', '1', '||top||bottom||left||right||', '10', '', '', '', '', '', '', '', '', '', '', ''),
(22, 'mmb_name', '#ecc6c6', '', '', '14', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (22, 'mmb_name', '{$theme_1}', '', '', '14', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(23, 'mmb_owner_name', '#ecc6c6', '', '', '14', '◇', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (23, 'mmb_owner_name', '{$theme_1}', '', '', '14', '◇', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(24, 'mmb_datetime', '#c7c7c7', '', '', '11', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (24, 'mmb_datetime', '#c7c7c7', '', '', '11', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(25, 'mmb_link', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (25, 'mmb_link', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(26, 'mmb_log_ank', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (26, 'mmb_log_ank', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(27, 'mmb_hash', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (27, 'mmb_hash', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(28, 'default_font', '#777777', '', '', '13', '\'S-CoreDream-3Light\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (28, 'default_font', '#777777', '', '', '13', '\'S-CoreDream-3Light\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(29, 'color_default', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (29, 'color_default', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(30, 'color_bak', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (30, 'color_bak', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(31, 'color_point', '#b0c4de', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (31, 'color_point', '{$theme_4}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(32, 'input_bak', '#ffffff', '', '20', '30', '#777777', '', '13', '#ecc6c6', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', ''), (32, 'input_bak', '#ffffff', '', '20', '30', '#777777', '', '13', '{$theme_1}', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', ''),
(33, 'mmb_contain_bak', '', '', '#ffffff', '50', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (33, 'mmb_contain_bak', '', '', '#ffffff', '50', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(34, 'box_style', '#ecc6c6', '', '50', '#ffffff', '', '#ecc6c6', '', 'dotted', '2', '||top||bottom||left||right||', '10', '10', '10', '10', '', '', '', '', '', '', '', ''), (34, 'box_style', '{$theme_1}', '', '50', '#ffffff', '', '{$theme_1}', '', 'dotted', '2', '||top||bottom||left||right||', '10', '10', '10', '10', '', '', '', '', '', '', '', ''),
(35, 'intro_use', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (35, 'intro_use', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(36, 'intro_background', '', '', '#ecc6c6', '90', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (36, 'intro_background', '', '', '{$theme_1}', '90', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(37, 'intro', '".$g5_path['url']."/img/default_site_img/design_intro.png', '', 'ENTER →', '#d1d1d1', '', '17', '\'PyeongChangPeace-Light\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (37, 'intro', '" . $g5_path['url'] . "/img/default_site_img/design_intro.png', '', 'ENTER →', '#d1d1d1', '', '17', '\'PyeongChangPeace-Light\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(38, 'scrollbar', '#ffffff', '', '', '5', '#ecc6c6', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', '', '', '', ''), (38, 'scrollbar', '#ffffff', '', '', '5', '{$theme_1}', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', '', '', '', ''),
(39, 'menu_position', 'B', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (39, 'menu_position', 'B', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(40, 'content_width', '1000', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');"; (40, 'content_width', '1000', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');";
sql_query($sql, true, $dblink); sql_query($sql, true, $dblink);
?> ?>
<li>DB설정 완료</li> <li>DB설정 완료</li>
<?php <?php
//------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------
// 디렉토리 생성 // 디렉토리 생성
$dir_arr = array ( $dir_arr = array(
$data_path.'/cache', $data_path . '/cache',
$data_path.'/editor', $data_path . '/editor',
$data_path.'/file', $data_path . '/file',
$data_path.'/log', $data_path . '/log',
$data_path.'/member', $data_path . '/member',
$data_path.'/session', $data_path . '/session',
$data_path.'/content', $data_path . '/content',
$data_path.'/faq', $data_path . '/faq',
$data_path.'/tmp', $data_path . '/tmp',
$data_path.'/site', $data_path . '/site',
); );
for ($i=0; $i<count($dir_arr); $i++) { for ($i = 0; $i < count($dir_arr); $i++) {
@mkdir($dir_arr[$i], G5_DIR_PERMISSION); @mkdir($dir_arr[$i], G5_DIR_PERMISSION);
@chmod($dir_arr[$i], G5_DIR_PERMISSION); @chmod($dir_arr[$i], G5_DIR_PERMISSION);
} }
?> ?>
<li>데이터 디렉토리 생성 완료</li> <li>데이터 디렉토리 생성 완료</li>
<?php <?php
//------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------
// DB 설정 파일 생성 // DB 설정 파일 생성
$file = '../'.G5_DATA_DIR.'/'.G5_DBCONFIG_FILE; $file = '../' . G5_DATA_DIR . '/' . G5_DBCONFIG_FILE;
$f = @fopen($file, 'a'); $f = @fopen($file, 'a');
fwrite($f, "<?php\n"); fwrite($f, "<?php\n");
fwrite($f, "if (!defined('_GNUBOARD_')) exit;\n"); fwrite($f, "if (!defined('_GNUBOARD_')) exit;\n");
fwrite($f, "define('G5_MYSQL_HOST', '{$mysql_host}');\n"); fwrite($f, "define('G5_MYSQL_HOST', '{$mysql_host}');\n");
fwrite($f, "define('G5_MYSQL_USER', '{$mysql_user}');\n"); fwrite($f, "define('G5_MYSQL_USER', '{$mysql_user}');\n");
fwrite($f, "define('G5_MYSQL_PASSWORD', '{$mysql_pass}');\n"); fwrite($f, "define('G5_MYSQL_PASSWORD', '{$mysql_pass}');\n");
fwrite($f, "define('G5_MYSQL_DB', '{$mysql_db}');\n"); fwrite($f, "define('G5_MYSQL_DB', '{$mysql_db}');\n");
fwrite($f, "define('G5_MASTER_PW', '{$absolute_password}');\n"); fwrite($f, "define('G5_MASTER_PW', '{$absolute_password}');\n");
fwrite($f, "define('G5_DB_URL', '{$table_url}');\n"); fwrite($f, "define('G5_DB_URL', '{$table_url}');\n");
fwrite($f, "define('G5_MYSQL_SET_MODE', {$mysql_set_mode});\n\n"); fwrite($f, "define('G5_MYSQL_SET_MODE', {$mysql_set_mode});\n\n");
fwrite($f, "define('G5_TABLE_PREFIX', '{$table_prefix}');\n\n"); fwrite($f, "define('G5_TABLE_PREFIX', '{$table_prefix}');\n\n");
fwrite($f, "\$g5['write_prefix'] = G5_TABLE_PREFIX.'write_'; // 게시판 테이블명 접두사\n\n"); fwrite($f, "\$g5['write_prefix'] = G5_TABLE_PREFIX.'write_'; // 게시판 테이블명 접두사\n\n");
fwrite($f, "\$g5['auth_table'] = G5_TABLE_PREFIX.'auth'; // 관리권한 설정 테이블\n"); fwrite($f, "\$g5['auth_table'] = G5_TABLE_PREFIX.'auth'; // 관리권한 설정 테이블\n");
fwrite($f, "\$g5['config_table'] = G5_TABLE_PREFIX.'config'; // 기본환경 설정 테이블\n"); fwrite($f, "\$g5['config_table'] = G5_TABLE_PREFIX.'config'; // 기본환경 설정 테이블\n");
fwrite($f, "\$g5['group_table'] = G5_TABLE_PREFIX.'group'; // 게시판 그룹 테이블\n"); fwrite($f, "\$g5['group_table'] = G5_TABLE_PREFIX.'group'; // 게시판 그룹 테이블\n");
fwrite($f, "\$g5['group_member_table'] = G5_TABLE_PREFIX.'group_member'; // 게시판 그룹+회원 테이블\n"); fwrite($f, "\$g5['group_member_table'] = G5_TABLE_PREFIX.'group_member'; // 게시판 그룹+회원 테이블\n");
fwrite($f, "\$g5['board_table'] = G5_TABLE_PREFIX.'board'; // 게시판 설정 테이블\n"); fwrite($f, "\$g5['board_table'] = G5_TABLE_PREFIX.'board'; // 게시판 설정 테이블\n");
fwrite($f, "\$g5['board_file_table'] = G5_TABLE_PREFIX.'board_file'; // 게시판 첨부파일 테이블\n"); fwrite($f, "\$g5['board_file_table'] = G5_TABLE_PREFIX.'board_file'; // 게시판 첨부파일 테이블\n");
fwrite($f, "\$g5['board_good_table'] = G5_TABLE_PREFIX.'board_good'; // 게시물 추천,비추천 테이블\n"); fwrite($f, "\$g5['board_good_table'] = G5_TABLE_PREFIX.'board_good'; // 게시물 추천,비추천 테이블\n");
fwrite($f, "\$g5['board_new_table'] = G5_TABLE_PREFIX.'board_new'; // 게시판 새글 테이블\n"); fwrite($f, "\$g5['board_new_table'] = G5_TABLE_PREFIX.'board_new'; // 게시판 새글 테이블\n");
fwrite($f, "\$g5['login_table'] = G5_TABLE_PREFIX.'login'; // 로그인 테이블 (접속자수)\n"); fwrite($f, "\$g5['login_table'] = G5_TABLE_PREFIX.'login'; // 로그인 테이블 (접속자수)\n");
fwrite($f, "\$g5['mail_table'] = G5_TABLE_PREFIX.'mail'; // 회원메일 테이블\n"); fwrite($f, "\$g5['mail_table'] = G5_TABLE_PREFIX.'mail'; // 회원메일 테이블\n");
fwrite($f, "\$g5['member_table'] = G5_TABLE_PREFIX.'member'; // 회원 테이블\n"); fwrite($f, "\$g5['member_table'] = G5_TABLE_PREFIX.'member'; // 회원 테이블\n");
fwrite($f, "\$g5['memo_table'] = G5_TABLE_PREFIX.'memo'; // 메모 테이블\n"); fwrite($f, "\$g5['memo_table'] = G5_TABLE_PREFIX.'memo'; // 메모 테이블\n");
fwrite($f, "\$g5['poll_table'] = G5_TABLE_PREFIX.'poll'; // 투표 테이블\n"); fwrite($f, "\$g5['poll_table'] = G5_TABLE_PREFIX.'poll'; // 투표 테이블\n");
fwrite($f, "\$g5['poll_etc_table'] = G5_TABLE_PREFIX.'poll_etc'; // 투표 기타의견 테이블\n"); fwrite($f, "\$g5['poll_etc_table'] = G5_TABLE_PREFIX.'poll_etc'; // 투표 기타의견 테이블\n");
fwrite($f, "\$g5['point_table'] = G5_TABLE_PREFIX.'point'; // 포인트 테이블\n"); fwrite($f, "\$g5['point_table'] = G5_TABLE_PREFIX.'point'; // 포인트 테이블\n");
fwrite($f, "\$g5['popular_table'] = G5_TABLE_PREFIX.'popular'; // 인기검색어 테이블\n"); fwrite($f, "\$g5['popular_table'] = G5_TABLE_PREFIX.'popular'; // 인기검색어 테이블\n");
fwrite($f, "\$g5['scrap_table'] = G5_TABLE_PREFIX.'scrap'; // 게시글 스크랩 테이블\n"); fwrite($f, "\$g5['scrap_table'] = G5_TABLE_PREFIX.'scrap'; // 게시글 스크랩 테이블\n");
fwrite($f, "\$g5['visit_table'] = G5_TABLE_PREFIX.'visit'; // 방문자 테이블\n"); fwrite($f, "\$g5['visit_table'] = G5_TABLE_PREFIX.'visit'; // 방문자 테이블\n");
fwrite($f, "\$g5['visit_sum_table'] = G5_TABLE_PREFIX.'visit_sum'; // 방문자 합계 테이블\n"); fwrite($f, "\$g5['visit_sum_table'] = G5_TABLE_PREFIX.'visit_sum'; // 방문자 합계 테이블\n");
fwrite($f, "\$g5['uniqid_table'] = G5_TABLE_PREFIX.'uniqid'; // 유니크한 값을 만드는 테이블\n"); fwrite($f, "\$g5['uniqid_table'] = G5_TABLE_PREFIX.'uniqid'; // 유니크한 값을 만드는 테이블\n");
fwrite($f, "\$g5['autosave_table'] = G5_TABLE_PREFIX.'autosave'; // 게시글 작성시 일정시간마다 글을 임시 저장하는 테이블\n"); fwrite($f, "\$g5['autosave_table'] = G5_TABLE_PREFIX.'autosave'; // 게시글 작성시 일정시간마다 글을 임시 저장하는 테이블\n");
fwrite($f, "\$g5['cert_history_table'] = G5_TABLE_PREFIX.'cert_history'; // 인증내역 테이블\n"); fwrite($f, "\$g5['cert_history_table'] = G5_TABLE_PREFIX.'cert_history'; // 인증내역 테이블\n");
fwrite($f, "\$g5['qa_config_table'] = G5_TABLE_PREFIX.'qa_config'; // 1:1문의 설정테이블\n"); fwrite($f, "\$g5['qa_config_table'] = G5_TABLE_PREFIX.'qa_config'; // 1:1문의 설정테이블\n");
fwrite($f, "\$g5['qa_content_table'] = G5_TABLE_PREFIX.'qa_content'; // 1:1문의 테이블\n"); fwrite($f, "\$g5['qa_content_table'] = G5_TABLE_PREFIX.'qa_content'; // 1:1문의 테이블\n");
fwrite($f, "\$g5['content_table'] = G5_TABLE_PREFIX.'content'; // 내용(컨텐츠)정보 테이블\n"); fwrite($f, "\$g5['content_table'] = G5_TABLE_PREFIX.'content'; // 내용(컨텐츠)정보 테이블\n");
fwrite($f, "\$g5['faq_table'] = G5_TABLE_PREFIX.'faq'; // 자주하시는 질문 테이블\n"); fwrite($f, "\$g5['faq_table'] = G5_TABLE_PREFIX.'faq'; // 자주하시는 질문 테이블\n");
fwrite($f, "\$g5['faq_master_table'] = G5_TABLE_PREFIX.'faq_master'; // 자주하시는 질문 마스터 테이블\n"); fwrite($f, "\$g5['faq_master_table'] = G5_TABLE_PREFIX.'faq_master'; // 자주하시는 질문 마스터 테이블\n");
fwrite($f, "\$g5['new_win_table'] = G5_TABLE_PREFIX.'new_win'; // 새창 테이블\n"); fwrite($f, "\$g5['new_win_table'] = G5_TABLE_PREFIX.'new_win'; // 새창 테이블\n");
fwrite($f, "\$g5['menu_table'] = G5_TABLE_PREFIX.'menu'; // 메뉴관리 테이블\n"); fwrite($f, "\$g5['menu_table'] = G5_TABLE_PREFIX.'menu'; // 메뉴관리 테이블\n");
fwrite($f, "\$g5['banner_table'] = G5_TABLE_PREFIX.'banner'; // 배너 테이블\n"); fwrite($f, "\$g5['banner_table'] = G5_TABLE_PREFIX.'banner'; // 배너 테이블\n");
fwrite($f, "\$g5['css_table'] = G5_TABLE_PREFIX.'css_config'; // CSS STYLE 정의 저장하는 테이블\n"); fwrite($f, "\$g5['css_table'] = G5_TABLE_PREFIX.'css_config'; // CSS STYLE 정의 저장하는 테이블\n");
fwrite($f, "?>"); fwrite($f, "?>");
fclose($f); fclose($f);
@chmod($file, G5_FILE_PERMISSION); @chmod($file, G5_FILE_PERMISSION);
?> ?>
<li>DB설정 파일 생성 완료 (<?php echo $file ?>)</li> <li>DB설정 파일 생성 완료 (<?php echo $file ?>)</li>
<?php <?php
// data 디렉토리 및 하위 디렉토리에서는 .htaccess .htpasswd .php .phtml .html .htm .inc .cgi .pl 파일을 실행할수 없게함. // data 디렉토리 및 하위 디렉토리에서는 .htaccess .htpasswd .php .phtml .html .htm .inc .cgi .pl 파일을 실행할수 없게함.
$f = fopen($data_path.'/.htaccess', 'w'); $f = fopen($data_path . '/.htaccess', 'w');
$str = <<<EOD $str = <<<EOD
<FilesMatch "\.(htaccess|htpasswd|[Pp][Hh][Pp]|[Pp]?[Hh][Tt][Mm][Ll]?|[Ii][Nn][Cc]|[Cc][Gg][Ii]|[Pp][Ll])"> <FilesMatch "\.(htaccess|htpasswd|[Pp][Hh][Pp]|[Pp]?[Hh][Tt][Mm][Ll]?|[Ii][Nn][Cc]|[Cc][Gg][Ii]|[Pp][Ll])">
Order allow,deny Order allow,deny
Deny from all Deny from all
</FilesMatch> </FilesMatch>
EOD; EOD;
fwrite($f, $str); fwrite($f, $str);
fclose($f); fclose($f);
//------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------
// CSS 설정 파일 생성 // CSS 설정 파일 생성
$css_data_path = $g5_path['path']."/css"; $css_data_path = $g5_path['path'] . "/css";
$css_data_url = $g5_path['url']."/css"; $css_data_url = $g5_path['url'] . "/css";
@mkdir($css_data_path, G5_DIR_PERMISSION); @mkdir($css_data_path, G5_DIR_PERMISSION);
@chmod($css_data_path, G5_DIR_PERMISSION); @chmod($css_data_path, G5_DIR_PERMISSION);
$file = '../'.G5_CSS_DIR.'/_design.config.css'; $file = '../' . G5_CSS_DIR . '/_design.config.css';
$file_path = $css_data_path.'/_design.config.css'; $file_path = $css_data_path . '/_design.config.css';
@unlink($file_path); @unlink($file_path);
$f = @fopen($file, 'a'); $f = @fopen($file, 'a');
?> ?>
<li style="display:none;"> <li style="display:none;">
<? <?
ob_start(); ob_start();
include("../adm/design_form_css.php"); include("../adm/design_form_css.php");
$css = ob_get_contents(); $css = ob_get_contents();
ob_end_flush(); ob_end_flush();
fwrite($f,$css); fwrite($f, $css);
fclose($f); fclose($f);
@chmod($file, G5_FILE_PERMISSION); @chmod($file, G5_FILE_PERMISSION);
?> ?>
</li> </li>
</ol> </ol>
<p>축하합니다. <?php echo G5_VERSION ?> 설치가 완료되었습니다.</p> <p>축하합니다. <?php echo G5_VERSION ?> 설치가 완료되었습니다.</p>
</div> </div>
<div class="ins_inner"> <div class="ins_inner">
<h2>환경설정 변경은 다음의 과정을 따르십시오.</h2> <h2>환경설정 변경은 다음의 과정을 따르십시오.</h2>
<ol> <ol>
<li>메인화면으로 이동</li> <li>메인화면으로 이동</li>
<li>관리자 로그인</li> <li>관리자 로그인</li>
<li>관리자 모드 접속</li> <li>관리자 모드 접속</li>
<li>환경설정 메뉴의 기본환경설정 페이지로 이동</li> <li>환경설정 메뉴의 기본환경설정 페이지로 이동</li>
</ol> </ol>
<div class="inner_btn"> <div class="inner_btn">
<a href="../adm/">아보카도 에디션 관리자 페이지로 이동</a> <a href="../adm/">아보카도 에디션 관리자 페이지로 이동</a>
</div> </div>
</div> </div>
<?php <?php
include_once ('./install.inc2.php'); include_once('./install.inc2.php');
?> ?>

View file

@ -1,9 +1,9 @@
<?php <?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
if(!extension_loaded('gd') || !function_exists('gd_info')) { if (!extension_loaded('gd') || !function_exists('gd_info')) {
echo '<script>'.PHP_EOL; echo '<script>' . PHP_EOL;
echo 'alert("'.G5_VERSION.'의 정상적인 사용을 위해서는 GD 라이브러리가 필요합니다.\nGD 라이브러리가 없을 경우 자동등록방지 문자와 썸네일 기능이 작동하지 않습니다.");'.PHP_EOL; echo 'alert("' . G5_VERSION . '의 정상적인 사용을 위해서는 GD 라이브러리가 필요합니다.\nGD 라이브러리가 없을 경우 자동등록방지 문자와 썸네일 기능이 작동하지 않습니다.");' . PHP_EOL;
echo '</script>'.PHP_EOL; echo '</script>' . PHP_EOL;
} }
?>