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; ?> -->
<script src="<?php echo G5_ADMIN_URL ?>/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.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>
$(function(){
var hide_menu = false;

View file

@ -2,4 +2,3 @@
define('G5_IS_ADMIN', true);
include_once('../../common.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_email` 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_last` varchar(19) NOT NULL,
`wr_ip` varchar(255) NOT NULL,

View file

@ -8,7 +8,7 @@
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">
<h1><?php echo $g5['title']; ?></h1>

View file

@ -9,10 +9,18 @@ auth_check($auth[$sub_menu], 'w');
check_admin_token();
if (!$_POST['gr_id']) { alert('그룹 ID는 반드시 선택하세요.'); }
if (!$bo_table) { alert('게시판 TABLE명은 반드시 입력하세요.'); }
if (!preg_match("/^([A-Za-z0-9_]{1,20})$/", $bo_table)) { alert('게시판 TABLE명은 공백없이 영문자, 숫자, _ 만 사용 가능합니다. (20자 이내)'); }
if (!$_POST['bo_subject']) { alert('게시판 제목을 입력하세요.'); }
if (!$_POST['gr_id']) {
alert('그룹 ID는 반드시 선택하세요.');
}
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_tail'] = preg_replace("#[\\\]+$#", "", substr($_POST['bo_include_tail'], 0, 255));
@ -169,7 +177,7 @@ if ($w == '') {
sql_query($sql);
// 게시판 테이블 생성
$file = file('./sql_write.sql');
$file = file('./assets/sql_write.sql');
$sql = implode($file, "\n");
$create_table = $g5['write_prefix'] . $bo_table;
@ -221,8 +229,7 @@ if ($w == '') {
for ($i = 0; $i < count($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}' ");
if ($row['cnt'])
{
if ($row['cnt']) {
$bo_notice .= $lf . $tmp_wr_id;
$lf = ",";
}
@ -242,75 +249,140 @@ if ($w == '') {
// 같은 그룹내 게시판 동일 옵션 적용
$grp_fields = '';
if (is_checked('chk_grp_device')) $grp_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_grp_admin')) $grp_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_grp_list_level')) $grp_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_grp_read_level')) $grp_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_grp_write_level')) $grp_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_grp_reply_level')) $grp_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_grp_comment_level')) $grp_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_grp_link_level')) $grp_fields .= " , bo_link_level = '{$bo_link_level}' ";
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_device'))
$grp_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_grp_admin'))
$grp_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_grp_list_level'))
$grp_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_grp_read_level'))
$grp_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_grp_write_level'))
$grp_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_grp_reply_level'))
$grp_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_grp_comment_level'))
$grp_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_grp_link_level'))
$grp_fields .= " , bo_link_level = '{$bo_link_level}' ";
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')) {
$grp_fields .= " , bo_category_list = '{$bo_category_list}' ";
$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_file_content')) $grp_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_grp_use_secret')) $grp_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_grp_use_dhtml_editor')) $grp_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_grp_use_rss_view')) $grp_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_grp_use_good')) $grp_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_grp_use_nogood')) $grp_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_grp_use_name')) $grp_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_grp_use_signature')) $grp_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_grp_use_ip_view')) $grp_fields .= " , bo_use_ip_view = '{$bo_use_ip_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_list_file')) $grp_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_grp_use_list_content')) $grp_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_grp_use_email')) $grp_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_grp_use_cert')) $grp_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_grp_use_sns')) $grp_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_grp_skin')) $grp_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_grp_mobile_skin')) $grp_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_grp_gallery_cols')) $grp_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_grp_gallery_width')) $grp_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_grp_gallery_height')) $grp_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_grp_mobile_gallery_width')) $grp_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_grp_mobile_gallery_height'))$grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_grp_table_width')) $grp_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_grp_page_rows')) $grp_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
if (is_checked('chk_grp_mobile_page_rows')) $grp_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_grp_subject_len')) $grp_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
if (is_checked('chk_grp_mobile_subject_len')) $grp_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_grp_new')) $grp_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_grp_hot')) $grp_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_grp_image_width')) $grp_fields .= " , bo_image_width = '{$bo_image_width}' ";
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}' ";
if (is_checked('chk_grp_use_sideview'))
$grp_fields .= " , bo_use_sideview = '{$bo_use_sideview}' ";
if (is_checked('chk_grp_use_file_content'))
$grp_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_grp_use_secret'))
$grp_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_grp_use_dhtml_editor'))
$grp_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_grp_use_rss_view'))
$grp_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_grp_use_good'))
$grp_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_grp_use_nogood'))
$grp_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_grp_use_name'))
$grp_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_grp_use_signature'))
$grp_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_grp_use_ip_view'))
$grp_fields .= " , bo_use_ip_view = '{$bo_use_ip_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_list_file'))
$grp_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_grp_use_list_content'))
$grp_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_grp_use_email'))
$grp_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_grp_use_cert'))
$grp_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_grp_use_sns'))
$grp_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_grp_skin'))
$grp_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_grp_mobile_skin'))
$grp_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_grp_gallery_cols'))
$grp_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_grp_gallery_width'))
$grp_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_grp_gallery_height'))
$grp_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_grp_mobile_gallery_width'))
$grp_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_grp_mobile_gallery_height'))
$grp_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_grp_table_width'))
$grp_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_grp_page_rows'))
$grp_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
if (is_checked('chk_grp_mobile_page_rows'))
$grp_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_grp_subject_len'))
$grp_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
if (is_checked('chk_grp_mobile_subject_len'))
$grp_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_grp_new'))
$grp_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_grp_hot'))
$grp_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_grp_image_width'))
$grp_fields .= " , bo_image_width = '{$bo_image_width}' ";
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'] . "' ";
@ -325,75 +397,140 @@ if ($grp_fields) {
// 모든 게시판 동일 옵션 적용
$all_fields = '';
if (is_checked('chk_all_device')) $all_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_all_admin')) $all_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_all_list_level')) $all_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_all_read_level')) $all_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_all_write_level')) $all_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_all_reply_level')) $all_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_all_comment_level')) $all_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_all_link_level')) $all_fields .= " , bo_link_level = '{$bo_link_level}' ";
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_device'))
$all_fields .= " , bo_device = '{$bo_device}' ";
if (is_checked('chk_all_admin'))
$all_fields .= " , bo_admin = '{$bo_admin}' ";
if (is_checked('chk_all_list_level'))
$all_fields .= " , bo_list_level = '{$bo_list_level}' ";
if (is_checked('chk_all_read_level'))
$all_fields .= " , bo_read_level = '{$bo_read_level}' ";
if (is_checked('chk_all_write_level'))
$all_fields .= " , bo_write_level = '{$bo_write_level}' ";
if (is_checked('chk_all_reply_level'))
$all_fields .= " , bo_reply_level = '{$bo_reply_level}' ";
if (is_checked('chk_all_comment_level'))
$all_fields .= " , bo_comment_level = '{$bo_comment_level}' ";
if (is_checked('chk_all_link_level'))
$all_fields .= " , bo_link_level = '{$bo_link_level}' ";
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')) {
$all_fields .= " , bo_category_list = '{$bo_category_list}' ";
$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_file_content')) $all_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_all_use_secret')) $all_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_all_use_dhtml_editor')) $all_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_all_use_rss_view')) $all_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_all_use_good')) $all_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_all_use_nogood')) $all_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_all_use_name')) $all_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_all_use_signature')) $all_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_all_use_ip_view')) $all_fields .= " , bo_use_ip_view = '{$bo_use_ip_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_list_file')) $all_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_all_use_list_content')) $all_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_all_use_email')) $all_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_all_use_cert')) $all_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_all_use_sns')) $all_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_all_skin')) $all_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_all_mobile_skin')) $all_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_all_gallery_cols')) $all_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_all_gallery_width')) $all_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_all_gallery_height')) $all_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_all_mobile_gallery_width')) $all_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_all_mobile_gallery_height'))$all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_all_table_width')) $all_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_all_page_rows')) $all_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
if (is_checked('chk_all_mobile_page_rows')) $all_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_all_subject_len')) $all_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
if (is_checked('chk_all_mobile_subject_len')) $all_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_all_new')) $all_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_all_hot')) $all_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_all_image_width')) $all_fields .= " , bo_image_width = '{$bo_image_width}' ";
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}' ";
if (is_checked('chk_all_use_sideview'))
$all_fields .= " , bo_use_sideview = '{$bo_use_sideview}' ";
if (is_checked('chk_all_use_file_content'))
$all_fields .= " , bo_use_file_content = '{$bo_use_file_content}' ";
if (is_checked('chk_all_use_secret'))
$all_fields .= " , bo_use_secret = '{$bo_use_secret}' ";
if (is_checked('chk_all_use_dhtml_editor'))
$all_fields .= " , bo_use_dhtml_editor = '{$bo_use_dhtml_editor}' ";
if (is_checked('chk_all_use_rss_view'))
$all_fields .= " , bo_use_rss_view = '{$bo_use_rss_view}' ";
if (is_checked('chk_all_use_good'))
$all_fields .= " , bo_use_good = '{$bo_use_good}' ";
if (is_checked('chk_all_use_nogood'))
$all_fields .= " , bo_use_nogood = '{$bo_use_nogood}' ";
if (is_checked('chk_all_use_name'))
$all_fields .= " , bo_use_name = '{$bo_use_name}' ";
if (is_checked('chk_all_use_signature'))
$all_fields .= " , bo_use_signature = '{$bo_use_signature}' ";
if (is_checked('chk_all_use_ip_view'))
$all_fields .= " , bo_use_ip_view = '{$bo_use_ip_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_list_file'))
$all_fields .= " , bo_use_list_file = '{$bo_use_list_file}' ";
if (is_checked('chk_all_use_list_content'))
$all_fields .= " , bo_use_list_content = '{$bo_use_list_content}' ";
if (is_checked('chk_all_use_email'))
$all_fields .= " , bo_use_email = '{$bo_use_email}' ";
if (is_checked('chk_all_use_cert'))
$all_fields .= " , bo_use_cert = '{$bo_use_cert}' ";
if (is_checked('chk_all_use_sns'))
$all_fields .= " , bo_use_sns = '{$bo_use_sns}' ";
if (is_checked('chk_all_skin'))
$all_fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_all_mobile_skin'))
$all_fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_all_gallery_cols'))
$all_fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
if (is_checked('chk_all_gallery_width'))
$all_fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
if (is_checked('chk_all_gallery_height'))
$all_fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
if (is_checked('chk_all_mobile_gallery_width'))
$all_fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
if (is_checked('chk_all_mobile_gallery_height'))
$all_fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_all_table_width'))
$all_fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_all_page_rows'))
$all_fields .= " , bo_page_rows = '{$bo_page_rows}' ";
if (is_checked('chk_all_mobile_page_rows'))
$all_fields .= " , bo_mobile_page_rows = '{$bo_mobile_page_rows}' ";
if (is_checked('chk_all_subject_len'))
$all_fields .= " , bo_subject_len = '{$bo_subject_len}' ";
if (is_checked('chk_all_mobile_subject_len'))
$all_fields .= " , bo_mobile_subject_len = '{$bo_mobile_subject_len}' ";
if (is_checked('chk_all_new'))
$all_fields .= " , bo_new = '{$bo_new}' ";
if (is_checked('chk_all_hot'))
$all_fields .= " , bo_hot = '{$bo_hot}' ";
if (is_checked('chk_all_image_width'))
$all_fields .= " , bo_image_width = '{$bo_image_width}' ";
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'] . "' ";

View file

@ -1,6 +1,7 @@
@charset "utf-8";
@import url(./jquery.minicolors.css);
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@font-face {
font-family: 'icon';
src: url('../../css/fonts/icomoon.eot?y5isk6');
@ -13,28 +14,138 @@
}
/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;background:#fff;color:#000;font-size:12px; min-width:1400px;}
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 {}
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;}
html {
overflow-y: scroll
}
body {
margin: 0;
padding: 0;
background: #fff;
color: #000;
font-size: 12px;
min-width: 1400px;
}
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 {}
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="text"],
input[type="password"],
@ -45,81 +156,316 @@ box-sizing:border-box;
font-family: 'Dotum';
font-size: 12px;
}
input[type="number"],
input[type="text"],
input[type="password"] {padding:0 8px;}
input[type="password"] {
padding: 0 8px;
}
input[type="number"],
input[type="text"],
input[type="password"],
select {height:28px; padding-left:8px;}
textarea {width:100%; height:150px;}
input[type="number"] {text-align:center; padding:0;}
select {
height: 28px;
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-left {text-align:left !important;}
.txt-right {text-align:right !important;}
.txt-center {
text-align: center !important;
}
.frm_info {display:block; margin-bottom:5px; font-size:11px; font-family:'Dotum'; color:#ebb4ab;}
.single-info .frm_info {margin-bottom:0;}
.txt-left {
text-align: left !important;
}
.full {width:100% !important;}
.empty_table {line-height:200px;}
.txt-right {
text-align: right !important;
}
#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;}
.frm_info {
display: block;
margin-bottom: 5px;
font-size: 11px;
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;}
.ov_listall:before {content:""; display:block; position:absolute; right:0; top:3px; bottom:3px; width:1px; background:#e1e1e1;}
.full {
width: 100% !important;
}
.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;}
.empty_table {
line-height: 200px;
}
#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 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 strong {background:#d18686; color:#fff; border-color:#d18686;}
.pg_wrap .pg_control {width:30px; padding:0; box-sizing:border-box; border:none;}
.pg_wrap .pg_control * {line-height:30px;}
.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;
}
.btn_list01 {position:relative; padding:20px 0;}
.local_desc.pos-top + .btn_list01 {padding-top:10px;}
.btn_list01 * {padding:10px 15px; vertical-align:middle;}
.pg_wrap strong {
background: #d18686;
color: #fff;
border-color: #d18686;
}
.btn_list03 {position:absolute; top:5px; right:0;}
.btn_list03 * {padding:5px 10px;}
.pg_wrap .pg_control {
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 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 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;}
.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;}
.sv {
display: none !important;
}
.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,
#anc_001 a[href="#anc_001"],
@ -137,74 +483,277 @@ label + input {margin-left:10px;}
#anc_013 a[href="#anc_013"],
#anc_014 a[href="#anc_014"],
#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;}
.admin-icon-box {display:inline-block; min-width:25px; height:25px; border:1px solid #cacaca; vertical-align:middle;}
.color-preview {
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 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 .bo-left {border-left-width:1px !important;}
.tbl_head01 .bo-top {border-top-width:1px !important;}
.tbl_head01 thead th {
background: #f9f9f9;
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-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 .bo-right {
border-right-width: 1px !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:first-child {border-left-width:1px;}
.tbl_head01 tbody td a {color:#d18686;}
.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:first-child {
border-left-width: 1px;
}
.tbl_head01 tbody td a {
color: #d18686;
}
.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 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 td {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 td {
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 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 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 td.bo-top {border-top-width:1px;}
.tbl_frm01 tbody th + td.bo-left {border-left-width:0px !important;}
.tbl_frm01 tbody td.bo-top {
border-top-width: 1px;
}
.index-gnb {display:block; 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;}
.tbl_frm01 tbody th+td.bo-left {
border-left-width: 0px !important;
}
.prev_thumb {max-width:100px; max-height:50px;}
.banner-thumb {max-width:200px; max-height:100px;}
.character-thumb {max-width:200px; max-height:500px;}
.index-gnb {
display: block;
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 li {display:block; margin:0; padding:0; position:relative;}
.ajax-list-box li {margin-bottom:5px;}
.ajax-list-box li a {display:block; position:relative; padding:10px; border-radius:3px; color:#2a2d2a; background:#fafafa; text-decoration:none; font-size:12px;}
.ajax-list-box li {
display: block;
margin: 0;
padding: 0;
position: relative;
}
.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;}
.ajax-list-box li {
margin-bottom: 5px;
}
.visit_bar {position:relative}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#d18686}
.ajax-list-box li a {
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";
html,
body {height:100%;}
body {
height: 100%;
}
#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:after {content:""; display:block; position:absolute; top:0; bottom:0; right:0; width:1px; background:#171b26; z-index:0;}
#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;}
#admin_prof h1 {position:relative; text-align:center; line-height:70px;}
#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;}
#header {
display: block;
position: fixed;
left: 0;
bottom: 0;
top: 0;
width: 200px;
min-height: 100%;
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;}
#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;}
#header:after {
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;}
#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";}
#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;
}
.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;}
#admin_prof h1 {
position: relative;
text-align: center;
line-height: 70px;
}
#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 > ul > li > a {display:block; padding:10px 20px; color:#9da4b3; font-size:15px; text-decoration:none;}
#gnb .gnb_2dli {position:relative;}
#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 {
display: block;
position: relative;
padding-top: 20px;
font-family: 'Noto Sans KR', sans-serif;
}
#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.check > a:after {content:""; display:block; position:absolute;}
#gnb .gnb_2dli {
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 {content:"\e994";}
#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: "\EA72";
}
#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: "\e994";
}
#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";}
#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 {
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;}
#fsearch input {margin:0;}
#fsearch .btn_submit {border:none; background:#ecc6c6; color:#fff; font-size:13px; width:50px; height:28px; cursor:pointer; line-height:1.0em;}
#container {
padding: 25px;
}
.new_win {padding:20px;}
.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;}
#fsearch input {
margin: 0;
}
.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;}
#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;
}
.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 {background:#efeff1;}
.menu_list[data-name="구분선"] .td_category~td:not(.order) input,
.menu_list[data-name="구분선"] .td_category ~ td:not(.order) select{display:none;}
.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;}
.previewWrap {position:relative; padding:20px;}
.admin-preview-box {display:block; position:relative; padding:1em; border:1px solid rgba(0,0,0,.2);}
h1 {
display: block;
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 * ~ h2 {margin-top:1.2em;}
.previewWrap {
position: relative;
padding: 20px;
}
.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 {
display: block;
position: relative;
padding: 1em;
border: 1px solid rgba(0, 0, 0, .2);
}
.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 select,
.admin-preview-box textarea {margin:2px;}
.admin-preview-box textarea {
margin: 2px;
}

View file

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

View file

@ -1,9 +1,70 @@
@charset "utf-8";
html, body {width:100%; height:100%;}
#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;}
html,
body {
width: 100%;
height: 100%;
}
#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,6 +13,7 @@
****************************************/
@import url(./swiper.css);
@font-face {
font-family: 'icon';
src: url('./fonts/icomoon.eot?y5isk6');
@ -23,53 +24,188 @@
font-weight: normal;
font-style: normal;
}
.sound_only { display:none; }
.sound_only {
display: none;
}
/****************************************
소스코드 초기화
****************************************/
html {overflow-y:auto}
body {margin:0;padding:0;}
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}
html {
overflow-y: auto
}
ul,li { margin:0; padding:0; }
i,sup,em { font-style:normal; }
body {
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; }
table { width:100%; }
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;
}
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 { padding:0; margin:0; }
.fix-layout {
margin: 0 auto;
padding: 0;
box-sizing: border-box;
}
#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;}
.fix-layout .fix-layout {
padding: 0;
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) {
#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 *: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 *: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-center { text-align:center; }
.txt-right { text-align:right; }
.txt-left {
text-align: left;
}
.txt-center {
text-align: center;
}
.txt-right {
text-align: right;
}
/****************************************
@ -105,15 +263,21 @@ table { width:100%; }
/* scrollbar :ie except */
*::-webkit-scrollbar-track {}
*::-webkit-scrollbar {}
*::-webkit-scrollbar-thumb {border:none;}
*::-webkit-scrollbar-thumb {
border: none;
}
/**********************
스타일
**********************/
.theme-form { width:100%; }
.theme-form {
width: 100%;
}
/**************************************************************
@ -124,29 +288,60 @@ table { width:100%; }
@media all and (min-width:1025px) {
.only-pc {}
.only-ta {display:none !important;}
.only-mo {display:none !important;}
.not-pc {display:none !important;}
.only-ta {
display: none !important;
}
.only-mo {
display: none !important;
}
.not-pc {
display: none !important;
}
.not-ta {}
.not-mo {}
}
@media all and (max-width:1024px) and (min-width:1025px) {
.only-pc {display:none !important;}
.only-pc {
display: none !important;
}
.only-ta {}
.only-mo {display:none !important;}
.only-mo {
display: none !important;
}
.not-pc {}
.not-ta {display:none !important;}
.not-ta {
display: none !important;
}
.not-mo {}
}
@media all and (max-width:1025px) {
.only-pc {display:none !important;}
.only-ta {display:none !important;}
.only-pc {
display: none !important;
}
.only-ta {
display: none !important;
}
.only-mo {}
.not-pc {}
.not-ta {}
.not-mo {display:none !important;}
.not-mo {
display: none !important;
}
}

View file

@ -13,13 +13,54 @@
인트로 스타일 정의
**********************************/
html, body {height:100%; margin:0; padding:0;}
html.single:before {content:""; display:block; position:fixed; top:0; left:0; right:0; bottom:0; z-index:-1;}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
.enterWrapper {display:table; width:100%; height:100%; position:relative; z-index:1;}
.enterWrapper > .inner {display:table-cell; vertical-align:middle; text-align:center;}
html.single:before {
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;}
.index-logo img {max-width:70%;}
.index-logo p {padding:10px 0;}
.index-logo a {display:inline-block; text-decoration:none;}
.enterWrapper {
display: table;
width: 100%;
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
*****************************************************/
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
*****************************************************/
#wrap { height: 100%; }
#wrapper { width: 100%; height: 100%; }
#wrapper iframe { width: 100%; height: 100%; background-color: transparent; overflow:scroll; }
#wrap {
height: 100%;
}
#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; }
#wrapper {
width: 100%;
height: 100%;
}
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,
html.single #header {display:none;}
html.single #header {
display: none;
}

View file

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

View file

@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS `avo_auth` (
`au_menu` varchar(20) NOT NULL default '',
`au_auth` set('r','w','d') NOT NULL default '',
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_path` varchar(255) NOT NULL DEFAULT '',
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_10` varchar(255) NOT NULL DEFAULT '',
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_height` smallint(6) 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`)
) 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',
`mb_id` varchar(20) 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`),
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',
`ca_name` varchar(255) NOT NULL default '',
`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 '',
PRIMARY KEY (`bn_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_9` 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',
PRIMARY KEY (`cr_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_10` varchar(255) NOT NULL default '',
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,
`gr_id` varchar(255) 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`),
KEY `gr_id` (`gr_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` (
`lo_ip` varchar(255) 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_url` text NOT NULL,
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_subject` varchar(255) NOT NULL default '',
`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_last_option` text NOT NULL,
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_recommend` varchar(255) NOT NULL default '',
`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_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_leave_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_memo` text NOT NULL,
`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`),
KEY `mb_today_login` (`mb_today_login`),
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_recv_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_read_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 '1970-01-01 00:00:00',
`me_memo` text NOT NULL,
PRIMARY KEY (`me_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` (
`po_id` int(11) NOT NULL auto_increment,
`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_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`),
KEY `index1` (`mb_id`,`po_rel_table`,`po_rel_id`,`po_rel_action`),
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,
`mb_ids` text NOT NULL,
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 '',
`pc_name` 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`)
) 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 '',
PRIMARY KEY (`pp_id`),
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 '',
`bo_table` varchar(20) 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`),
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`),
UNIQUE KEY `index1` (`vi_ip`,`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',
PRIMARY KEY (`vs_date`),
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_ip` varchar(255) NOT NULL DEFAULT '',
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`),
UNIQUE KEY `as_uid` (`as_uid`),
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_4` 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_source2` 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_2` 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 '',
PRIMARY KEY (`qa_id`),
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_tail` varchar(255) NOT NULL DEFAULT '',
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',
PRIMARY KEY (`fa_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_order` int(11) NOT NULL DEFAULT '0',
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` (
`nw_id` int(11) NOT NULL AUTO_INCREMENT,
`nw_device` varchar(10) NOT NULL DEFAULT 'both',
`nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`nw_end_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 '1970-01-01 00:00:00',
`nw_disable_hours` int(11) NOT NULL DEFAULT '0',
`nw_left` 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_html` tinyint(4) NOT NULL DEFAULT '0',
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_mobile_use` tinyint(4) NOT NULL DEFAULT '0',
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_img` varchar(255) NOT NULL DEFAULT '',
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 '',
PRIMARY KEY (`cs_id`),
KEY `cs_id` (`cs_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -1,5 +1,14 @@
<?php
include_once('../config.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');
?>
@ -14,16 +23,14 @@ if ($exists_data_dir && $write_data_dir) {
<strong class="st_strong">라이센스(License) 내용을 반드시 확인하십시오.</strong><br>
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
</p>
<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>
<p>
<strong class="st_strong">그누보드 라이센스</strong><br>
라이센스에 동의하시는 경우에만 설치가 진행됩니다.
</p>
<div class="ins_ta ins_license">
<textarea name="textarea" id="ins_license" readonly><?php echo implode('', file('./LICENSE.txt')); ?></textarea>
</div>
@ -38,12 +45,8 @@ if ($exists_data_dir && $write_data_dir) {
</div>
</form>
</div>
<script>
function frm_submit(f)
{
function frm_submit(f) {
if (!f.agree.checked) {
alert("라이센스 내용에 동의하셔야 설치가 가능합니다.");
return false;
@ -54,7 +57,6 @@ function frm_submit(f)
<?php
} // if
?>
<?php
include_once('./install.inc2.php');
?>

View file

@ -2,38 +2,165 @@
/* SIR 지운아빠 */
/* 공통 */
body {margin:0;padding:0;background:url('img/pat01.png') #edf0f4;font-size:0.75em;font-family:dotum,helvetica}
input, img, select, button {font-size:1em;vertical-align:middle}
label {vertical-align:middle}
body {
margin: 0;
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}
#ins_bar:after {display:block;visibility:hidden;clear:both;content:""}
#ins_bar #bar_img {float:left}
#ins_bar #bar_txt {float:right}
input,
img,
select,
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_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:#ecc6c6;color:#fff;text-decoration:none}
.ins_inner .inner_btn input {border:0;cursor:pointer}
#ins_bar {
margin: 0 0 50px;
padding: 20px 30px;
background: #383838;
color: #a1a4a7;
font-family: tahoma, helvetica;
font-size: 1.500em;
zoom: 1
}
.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_bar:after {
display: block;
visibility: hidden;
clear: both;
content: ""
}
.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_bar #bar_img {
float: left
}
#ins_ft {color:#a1a4a7;font-family:tahoma,helvetica;text-align:center}
#ins_ft strong {font-size:1.500em;font-weight:normal}
#ins_bar #bar_txt {
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 */
#ins_agree {padding:10px 0 0;text-align:right}
#ins_agree {
padding: 10px 0 0;
text-align: right
}

View file

@ -1,16 +1,20 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
$data_path = '../' . G5_DATA_DIR;
if (!$title) $title = G5_VERSION." 설치";
if (!$title)
$title = G5_VERSION . " 설치";
?>
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link rel="stylesheet" href="install.css">
</head>
<body>
<div id="ins_bar">
@ -39,8 +43,7 @@ if (file_exists($dbconfig_file)) {
<?php
$exists_data_dir = true;
// data 디렉토리가 있는가?
if (!is_dir($data_path))
{
if (!is_dir($data_path)) {
?>
<h1><?php echo G5_VERSION; ?> 설치를 위해 아래 내용을 확인해 주십시오.</h1>
@ -64,8 +67,7 @@ $write_data_dir = true;
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
$sapi_type = php_sapi_name();
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">
<p>
@ -78,8 +80,7 @@ if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
$write_data_dir = false;
}
} 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">
<p>

View file

@ -2,6 +2,5 @@
<strong>AVOCADO EDITION</strong>
<p>GPL! OPEN SOURCE GNUBOARD</p>
</div>
</body>
</html>

View file

@ -17,10 +17,8 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
exit;
}
?>
<form id="frm_install" method="post" action="./install_db.php" autocomplete="off" onsubmit="return frm_install_submit(this)">
<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>
@ -115,34 +113,26 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
</div>
<script>
function frm_install_submit(f)
{
if (f.mysql_host.value == '')
{
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 == '')
{
else if (f.mysql_user.value == '') {
alert('MySQL User 를 입력하십시오.'); f.mysql_user.focus(); return false;
}
else if (f.mysql_db.value == '')
{
else if (f.mysql_db.value == '') {
alert('MySQL DB 를 입력하십시오.'); f.mysql_db.focus(); return false;
}
else if (f.admin_id.value == '')
{
else if (f.admin_id.value == '') {
alert('최고관리자 ID 를 입력하십시오.'); f.admin_id.focus(); return false;
}
else if (f.admin_pass.value == '')
{
else if (f.admin_pass.value == '') {
alert('최고관리자 비밀번호를 입력하십시오.'); f.admin_pass.focus(); return false;
}
else if (f.admin_name.value == '')
{
else if (f.admin_name.value == '') {
alert('최고관리자 이름을 입력하십시오.'); f.admin_name.focus(); return false;
}
else if (f.admin_email.value == '')
{
else if (f.admin_email.value == '') {
alert('최고관리자 E-mail 을 입력하십시오.'); f.admin_email.focus(); return false;
}

View file

@ -7,6 +7,14 @@ 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('Pragma: no-cache'); // HTTP/1.0
$theme_1 = "#BEBE8E";
$theme_2 = "#7F7F5F";
$theme_3 = "#7C7C4C";
$theme_4 = "#b0c4de";
$theme_5 = "#727F99";
$theme_6 = "#7488B2";
include_once('../config.php');
include_once('../lib/common.lib.php');
@ -80,7 +88,8 @@ $file = preg_replace('/^--.*$/m', '', $file);
$file = preg_replace('/`avo_([^`]+`)/', '`' . $table_prefix . '$1', $file);
$f = explode(';', $file);
for ($i = 0; $i < count($f); $i++) {
if (trim($f[$i]) == '') continue;
if (trim($f[$i]) == '')
continue;
sql_query($f[$i], true, $dblink);
}
// 테이블 생성 ------------------------------------
@ -219,40 +228,40 @@ $sql = "INSERT INTO `{$table_prefix}css_config` (`cs_id`, `cs_name`, `cs_value`,
(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', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(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\'', '', '', '', '', '', '', '', '', '', '', ''),
(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', '', '', '', '', '', '', '', ''),
(9, 'list_header', '#ecc6c6', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(10, 'list_body', '#ffffff', '', '50', '#777777', '', '#ecc6c6', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(11, 'form_header', '#ecc6c6', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(12, 'form_body', '#ffffff', '', '50', '#777777', '', '#ecc6c6', '', 'solid', '1', '||top||bottom||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(13, 'btn_default', '#ecc6c6', '', '', '#ffffff', '', '#e8b0ae', '', '#e8b0ae', '', '#ffffff', '', '#e69d98', '', '20', '20', '20', '20', '', '', '', '', ''),
(14, 'btn_point', '#b0c4de', '', '', '#ffffff', '', '#b0c4de', '', '#88a9db', '', '#ffffff', '', '#779bdb', '', '20', '20', '20', '20', '', '', '', '', ''),
(9, 'list_header', '{$theme_1}', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(10, 'list_body', '#ffffff', '', '50', '#777777', '', '{$theme_1}', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(11, 'form_header', '{$theme_1}', '', '', '#ffffff', '', '#ffffff', '50', 'solid', '1', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(12, 'form_body', '#ffffff', '', '50', '#777777', '', '{$theme_1}', '', 'solid', '1', '||top||bottom||left||right||', '', '', '', '', '', '', '', '', '', '', '', ''),
(13, 'btn_default', '{$theme_1}', '', '', '#ffffff', '', '{$theme_2}', '', '{$theme_2}', '', '#ffffff', '', '{$theme_3}', '', '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', '', '', '', '', ''),
(16, 'mmb_list_item', '', '', '', '', '', '', '', '', '', '', '40', '', '', '', '', '', '', '', '', '', '', ''),
(17, 'mmb_list', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(18, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(19, 'mmb_log', '', '', '', '#777777', '', '#ecc6c6', '', 'solid', '4', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(19, 'mmb_log', '', '', '', '#777777', '', '{$theme_1}', '', 'solid', '4', '||top||bottom||', '', '', '', '', '', '', '', '', '', '', '', ''),
(20, 'mmb_reply', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(21, 'mmb_reply_item', '#ffffff', '', '100', '#777777', '', '#ecc6c6', '', 'dotted', '1', '||top||bottom||left||right||', '10', '', '', '', '', '', '', '', '', '', '', ''),
(22, 'mmb_name', '#ecc6c6', '', '', '14', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(23, 'mmb_owner_name', '#ecc6c6', '', '', '14', '◇', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(21, 'mmb_reply_item', '#ffffff', '', '100', '#777777', '', '{$theme_1}', '', 'dotted', '1', '||top||bottom||left||right||', '10', '', '', '', '', '', '', '', '', '', '', ''),
(22, 'mmb_name', '{$theme_1}', '', '', '14', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(23, 'mmb_owner_name', '{$theme_1}', '', '', '14', '◇', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(24, 'mmb_datetime', '#c7c7c7', '', '', '11', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(25, 'mmb_link', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(26, 'mmb_log_ank', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(27, 'mmb_hash', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(25, 'mmb_link', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(26, 'mmb_log_ank', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(27, 'mmb_hash', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(28, 'default_font', '#777777', '', '', '13', '\'S-CoreDream-3Light\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(29, 'color_default', '#ecc6c6', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(29, 'color_default', '{$theme_1}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(30, 'color_bak', '#ffffff', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(31, 'color_point', '#b0c4de', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(32, 'input_bak', '#ffffff', '', '20', '30', '#777777', '', '13', '#ecc6c6', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', ''),
(31, 'color_point', '{$theme_4}', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(32, 'input_bak', '#ffffff', '', '20', '30', '#777777', '', '13', '{$theme_1}', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', ''),
(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', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(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\'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(38, 'scrollbar', '#ffffff', '', '', '5', '#ecc6c6', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', '', '', '', ''),
(38, 'scrollbar', '#ffffff', '', '', '5', '{$theme_1}', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', '', '', '', ''),
(39, 'menu_position', 'B', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(40, 'content_width', '1000', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');";

View file

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