diff --git a/AvocadoEdition_Light/adm/admin.ajax.js b/AvocadoEdition_Light/adm/admin.ajax.js deleted file mode 100644 index eae289a..0000000 --- a/AvocadoEdition_Light/adm/admin.ajax.js +++ /dev/null @@ -1,3 +0,0 @@ -$(function() { - -}); diff --git a/AvocadoEdition_Light/adm/admin.js b/AvocadoEdition_Light/adm/admin.js deleted file mode 100644 index 483b60a..0000000 --- a/AvocadoEdition_Light/adm/admin.js +++ /dev/null @@ -1,131 +0,0 @@ -function check_all(f) -{ - var chk = document.getElementsByName("chk[]"); - - for (i=0; i'); - - $f.find("input[name=token]").val(token); - - return true; - }); - - $('.new_win').parents('body').addClass('popup-body'); -}); \ No newline at end of file diff --git a/AvocadoEdition_Light/adm/admin.tail.php b/AvocadoEdition_Light/adm/admin.tail.php index bd1b624..eee657f 100644 --- a/AvocadoEdition_Light/adm/admin.tail.php +++ b/AvocadoEdition_Light/adm/admin.tail.php @@ -10,8 +10,8 @@ if (!defined('_GNUBOARD_')) exit; - - + + +

diff --git a/AvocadoEdition_Light/adm/board_form_update.php b/AvocadoEdition_Light/adm/board_form_update.php index 207289b..2b7c705 100644 --- a/AvocadoEdition_Light/adm/board_form_update.php +++ b/AvocadoEdition_Light/adm/board_form_update.php @@ -3,47 +3,55 @@ $sub_menu = "300100"; include_once('./_common.php'); if ($w == 'u') - check_demo(); + check_demo(); 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)); if ($file = $_POST['bo_include_head']) { - $purl = parse_url($file); - $file = $purl['path']; - if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { - alert('상단 파일 경로가 php, html 파일이 아닙니다.'); - } - $_POST['bo_include_head'] = $file; + $purl = parse_url($file); + $file = $purl['path']; + if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { + alert('상단 파일 경로가 php, html 파일이 아닙니다.'); + } + $_POST['bo_include_head'] = $file; } if ($file = $_POST['bo_include_tail']) { - $purl = parse_url($file); - $file = $purl['path']; - if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { - alert('하단 파일 경로가 php, html 파일이 아닙니다.'); - } - $_POST['bo_include_tail'] = $file; + $purl = parse_url($file); + $file = $purl['path']; + if (!preg_match("/\.(php|htm['l']?)$/i", $file)) { + alert('하단 파일 경로가 php, html 파일이 아닙니다.'); + } + $_POST['bo_include_tail'] = $file; } -if(!is_include_path_check($_POST['bo_include_head'])) { - alert('/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.'); +if (!is_include_path_check($_POST['bo_include_head'])) { + alert('/data/file/ 또는 /data/editor/ 포함된 문자를 상단 파일 경로에 포함시킬수 없습니다.'); } -if(!is_include_path_check($_POST['bo_include_tail'])) { - alert('/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.'); +if (!is_include_path_check($_POST['bo_include_tail'])) { + alert('/data/file/ 또는 /data/editor/ 포함된 문자를 하단 파일 경로에 포함시킬수 없습니다.'); } -$board_path = G5_DATA_PATH.'/file/'.$bo_table; +$board_path = G5_DATA_PATH . '/file/' . $bo_table; // 게시판 디렉토리 생성 @mkdir($board_path, G5_DIR_PERMISSION); @@ -157,252 +165,381 @@ $sql_common = " gr_id = '{$_POST['gr_id']}', if ($w == '') { - $row = sql_fetch(" select count(*) as cnt from {$g5['board_table']} where bo_table = '{$bo_table}' "); - if ($row['cnt']) - alert($bo_table.' 은(는) 이미 존재하는 TABLE 입니다.'); + $row = sql_fetch(" select count(*) as cnt from {$g5['board_table']} where bo_table = '{$bo_table}' "); + if ($row['cnt']) + alert($bo_table . ' 은(는) 이미 존재하는 TABLE 입니다.'); - $sql = " insert into {$g5['board_table']} + $sql = " insert into {$g5['board_table']} set bo_table = '{$bo_table}', bo_count_write = '0', bo_count_comment = '0', $sql_common "; - sql_query($sql); + sql_query($sql); - // 게시판 테이블 생성 - $file = file('./sql_write.sql'); - $sql = implode($file, "\n"); + // 게시판 테이블 생성 + $file = file('./assets/sql_write.sql'); + $sql = implode($file, "\n"); - $create_table = $g5['write_prefix'] . $bo_table; + $create_table = $g5['write_prefix'] . $bo_table; - // sql_board.sql 파일의 테이블명을 변환 - $source = array('/__TABLE_NAME__/', '/;/'); - $target = array($create_table, ''); - $sql = preg_replace($source, $target, $sql); - sql_query($sql, FALSE); + // sql_board.sql 파일의 테이블명을 변환 + $source = array('/__TABLE_NAME__/', '/;/'); + $target = array($create_table, ''); + $sql = preg_replace($source, $target, $sql); + sql_query($sql, FALSE); } else if ($w == 'u') { - // 게시판의 글 수 - $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; - $row = sql_fetch($sql); - $bo_count_write = $row['cnt']; + // 게시판의 글 수 + $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; + $row = sql_fetch($sql); + $bo_count_write = $row['cnt']; - // 게시판의 코멘트 수 - $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 1 "; - $row = sql_fetch($sql); - $bo_count_comment = $row['cnt']; + // 게시판의 코멘트 수 + $sql = " select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 1 "; + $row = sql_fetch($sql); + $bo_count_comment = $row['cnt']; - // 글수 조정 - /* - 엔피씨님의 팁으로 교체합니다. 130308 - http://sir.kr/g5_tiptech/27207 - */ - if (isset($_POST['proc_count'])) { - // 원글을 얻습니다. - //$sql = " select wr_id from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; - $sql = " select a.wr_id, (count(b.wr_parent) - 1) as cnt from {$g5['write_prefix']}{$bo_table} a, {$g5['write_prefix']}{$bo_table} b where a.wr_id=b.wr_parent and a.wr_is_comment=0 group by a.wr_id "; - $result = sql_query($sql); - for ($i=0; $row=sql_fetch_array($result); $i++) { - /* - // 코멘트수를 얻습니다. - $sql2 = " select count(*) as cnt from {$g5['write_prefix']}$bo_table where wr_parent = '{$row['wr_id']}' and wr_is_comment = 1 "; - $row2 = sql_fetch($sql2); - */ + // 글수 조정 + /* + 엔피씨님의 팁으로 교체합니다. 130308 + http://sir.kr/g5_tiptech/27207 + */ + if (isset($_POST['proc_count'])) { + // 원글을 얻습니다. + //$sql = " select wr_id from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 "; + $sql = " select a.wr_id, (count(b.wr_parent) - 1) as cnt from {$g5['write_prefix']}{$bo_table} a, {$g5['write_prefix']}{$bo_table} b where a.wr_id=b.wr_parent and a.wr_is_comment=0 group by a.wr_id "; + $result = sql_query($sql); + for ($i = 0; $row = sql_fetch_array($result); $i++) { + /* + // 코멘트수를 얻습니다. + $sql2 = " select count(*) as cnt from {$g5['write_prefix']}$bo_table where wr_parent = '{$row['wr_id']}' and wr_is_comment = 1 "; + $row2 = sql_fetch($sql2); + */ - sql_query(" update {$g5['write_prefix']}{$bo_table} set wr_comment = '{$row['cnt']}' where wr_id = '{$row['wr_id']}' "); - } - } + sql_query(" update {$g5['write_prefix']}{$bo_table} set wr_comment = '{$row['cnt']}' where wr_id = '{$row['wr_id']}' "); + } + } - // 공지사항에는 등록되어 있지만 실제 존재하지 않는 글 아이디는 삭제합니다. - $bo_notice = ""; - $lf = ""; - if ($board['bo_notice']) { - $tmp_array = explode(",", $board['bo_notice']); - for ($i=0; $i 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 +} diff --git a/AvocadoEdition_Light/adm/css/admin.layout.css b/AvocadoEdition_Light/adm/css/admin.layout.css index 28728c6..dee126c 100644 --- a/AvocadoEdition_Light/adm/css/admin.layout.css +++ b/AvocadoEdition_Light/adm/css/admin.layout.css @@ -1,87 +1,457 @@ -@charset "utf-8"; +@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; +} -.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;} +.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_category~td:not(.order) input, +.menu_list[data-name="구분선"] .td_category~td:not(.order) select { + display: none; +} diff --git a/AvocadoEdition_Light/adm/css/guide.css b/AvocadoEdition_Light/adm/css/guide.css index 06fc15d..b0056f9 100644 --- a/AvocadoEdition_Light/adm/css/guide.css +++ b/AvocadoEdition_Light/adm/css/guide.css @@ -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;} \ No newline at end of file +.admin-preview-box textarea { + margin: 2px; +} diff --git a/AvocadoEdition_Light/adm/css/jquery.minicolors.css b/AvocadoEdition_Light/adm/css/jquery.minicolors.css index 77bcc12..1166b2f 100644 --- a/AvocadoEdition_Light/adm/css/jquery.minicolors.css +++ b/AvocadoEdition_Light/adm/css/jquery.minicolors.css @@ -35,13 +35,13 @@ bottom: 0; } -.minicolors input[type=hidden] + .minicolors-swatch { +.minicolors input[type=hidden]+.minicolors-swatch { width: 28px; position: static; cursor: pointer; } -.minicolors input[type=hidden][disabled] + .minicolors-swatch { +.minicolors input[type=hidden][disabled]+.minicolors-swatch { cursor: default; } @@ -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; } @@ -181,7 +187,7 @@ background: none; } -.minicolors-grid .minicolors-picker > div { +.minicolors-grid .minicolors-picker>div { position: absolute; top: 0; left: 0; @@ -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,113 +353,144 @@ .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 */ + +.minicolors-theme-bootstrap.minicolors-position-right>.minicolors-swatch { + left: auto; + /* LTR */ + right: 3px; + /* LTR */ } -[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left > .minicolors-swatch { + +[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left>.minicolors-swatch { right: auto; 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 { + +.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 { + +[dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg+.minicolors-swatch { right: 4px; } -.minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch { + +.minicolors-theme-bootstrap .minicolors-input.input-sm+.minicolors-swatch { width: 24px; height: 24px; } -.minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch { + +.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, -[dir=rtl] .input-group-btn > .btn, -[dir=rtl] .input-group-btn > .btn-group > .btn, -[dir=rtl] .input-group-btn > .dropdown-toggle { +[dir=rtl] .input-group-btn>.btn, +[dir=rtl] .input-group-btn>.btn-group>.btn, +[dir=rtl] .input-group-btn>.dropdown-toggle { 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, -[dir=rtl] .input-group-btn:first-child > .btn-group > .btn, -[dir=rtl] .input-group-btn:first-child > .dropdown-toggle, -[dir=rtl] .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -[dir=rtl] .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { +[dir=rtl] .input-group-btn:first-child>.btn, +[dir=rtl] .input-group-btn:first-child>.btn-group>.btn, +[dir=rtl] .input-group-btn:first-child>.dropdown-toggle, +[dir=rtl] .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle), +[dir=rtl] .input-group-btn:last-child>.btn-group:not(:last-child)>.btn { border-top-left-radius: 0; 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, -[dir=rtl] .input-group-btn:last-child > .btn-group > .btn, -[dir=rtl] .input-group-btn:last-child > .dropdown-toggle, -[dir=rtl] .input-group-btn:first-child > .btn:not(:first-child), -[dir=rtl] .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { +[dir=rtl] .input-group-btn:last-child>.btn, +[dir=rtl] .input-group-btn:last-child>.btn-group>.btn, +[dir=rtl] .input-group-btn:last-child>.dropdown-toggle, +[dir=rtl] .input-group-btn:first-child>.btn:not(:first-child), +[dir=rtl] .input-group-btn:first-child>.btn-group:not(:first-child)>.btn { border-top-right-radius: 0; border-bottom-right-radius: 0; } @@ -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; } diff --git a/AvocadoEdition_Light/adm/css/theme.css b/AvocadoEdition_Light/adm/css/theme.css index 52bd0c5..a4a9ebc 100644 --- a/AvocadoEdition_Light/adm/css/theme.css +++ b/AvocadoEdition_Light/adm/css/theme.css @@ -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;} \ No newline at end of file + +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; +} diff --git a/AvocadoEdition_Light/adm/js/admin.ajax.js b/AvocadoEdition_Light/adm/js/admin.ajax.js new file mode 100644 index 0000000..bb13823 --- /dev/null +++ b/AvocadoEdition_Light/adm/js/admin.ajax.js @@ -0,0 +1,3 @@ +$(function () { + +}); diff --git a/AvocadoEdition_Light/adm/js/admin.js b/AvocadoEdition_Light/adm/js/admin.js new file mode 100644 index 0000000..3b1e0cb --- /dev/null +++ b/AvocadoEdition_Light/adm/js/admin.js @@ -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(''); + + $f.find("input[name=token]").val(token); + + return true; + }); + + $('.new_win').parents('body').addClass('popup-body'); +}); diff --git a/AvocadoEdition_Light/css/default.css b/AvocadoEdition_Light/css/default.css index 31091de..ff1ba4e 100644 --- a/AvocadoEdition_Light/css/default.css +++ b/AvocadoEdition_Light/css/default.css @@ -13,63 +13,199 @@ ****************************************/ @import url(./swiper.css); + @font-face { - font-family:'icon'; - src: url('./fonts/icomoon.eot?y5isk6'); - src: url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'), - url('./fonts/icomoon.ttf?y5isk6') format('truetype'), - url('./fonts/icomoon.woff?y5isk6') format('woff'), - url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg'); - font-weight:normal; - font-style:normal; + font-family: 'icon'; + src: url('./fonts/icomoon.eot?y5isk6'); + src: url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'), + url('./fonts/icomoon.ttf?y5isk6') format('truetype'), + url('./fonts/icomoon.woff?y5isk6') format('woff'), + url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg'); + 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%; +} /************************************************************** @@ -122,31 +286,62 @@ table { width:100%; } 모바일 기준 :width 1024px ***************************************************************/ -@media all and (min-width:1025px) { - .only-pc {} - .only-ta {display:none !important;} - .only-mo {display:none !important;} +@media all and (min-width:1025px) { + .only-pc {} - .not-pc {display:none !important;} - .not-ta {} - .not-mo {} + .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-ta {} - .only-mo {display:none !important;} +@media all and (max-width:1024px) and (min-width:1025px) { + .only-pc { + display: none !important; + } - .not-pc {} - .not-ta {display:none !important;} - .not-mo {} -} -@media all and (max-width:1025px) { - .only-pc {display:none !important;} - .only-ta {display:none !important;} - .only-mo {} + .only-ta {} - .not-pc {} - .not-ta {} - .not-mo {display:none !important;} + .only-mo { + display: none !important; + } + + .not-pc {} + + .not-ta { + display: none !important; + } + + .not-mo {} +} + +@media all and (max-width:1025px) { + .only-pc { + display: none !important; + } + + .only-ta { + display: none !important; + } + + .only-mo {} + + .not-pc {} + + .not-ta {} + + .not-mo { + display: none !important; + } } diff --git a/AvocadoEdition_Light/css/enter.css b/AvocadoEdition_Light/css/enter.css index 7189b0e..bfca938 100644 --- a/AvocadoEdition_Light/css/enter.css +++ b/AvocadoEdition_Light/css/enter.css @@ -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; +} diff --git a/AvocadoEdition_Light/css/index.css b/AvocadoEdition_Light/css/index.css index 4d4da40..9eb1c73 100644 --- a/AvocadoEdition_Light/css/index.css +++ b/AvocadoEdition_Light/css/index.css @@ -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; +} diff --git a/AvocadoEdition_Light/css/login.css b/AvocadoEdition_Light/css/login.css index 978a64d..57b47ff 100644 --- a/AvocadoEdition_Light/css/login.css +++ b/AvocadoEdition_Light/css/login.css @@ -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%;} \ No newline at end of file +.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%; +} diff --git a/AvocadoEdition_Light/css/main.css b/AvocadoEdition_Light/css/main.css index f75328d..fc68f4f 100644 --- a/AvocadoEdition_Light/css/main.css +++ b/AvocadoEdition_Light/css/main.css @@ -12,5 +12,10 @@ 메인 레이아웃 ****************************************************/ -#body {opacity:0;} -#main_body {text-align:center;} \ No newline at end of file +#body { + opacity: 0; +} + +#main_body { + text-align: center; +} diff --git a/AvocadoEdition_Light/css/style.css b/AvocadoEdition_Light/css/style.css index 8de7c3c..a2f7cc3 100644 --- a/AvocadoEdition_Light/css/style.css +++ b/AvocadoEdition_Light/css/style.css @@ -14,25 +14,58 @@ **********************************/ html, -body {height:100%;} +body { + height: 100%; +} -body {line-height:1.5em; font-size:12px;} -caption {display:none;} -html.single:before {content:""; display:block; position:fixed; top:0; left:0; right:0; bottom:0; z-index:-1;} -html.single .bgm-btn {display:none !important;} +body { + line-height: 1.5em; + font-size: 12px; +} + +caption { + display: none; +} + +html.single:before { + content: ""; + display: block; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: -1; +} + +html.single .bgm-btn { + display: none !important; +} button, input[type="submit"], -input[type="button"] {appearance: none; border:none; background:transparent;} +input[type="button"] { + appearance: none; + border: none; + background: transparent; +} -.material-icons {font-size:1em;} +.material-icons { + font-size: 1em; +} /********************************* 폼 요소 스타일 **********************************/ -button {font-size:12px;} -.form-input {display:block; line-height:30px !important;} +button { + font-size: 12px; +} + +.form-input { + display: block; + line-height: 30px !important; +} .form-input, input[type="number"], @@ -40,12 +73,22 @@ input[type="text"], input[type="password"], input[type="file"], select, -textarea {box-sizing:border-box; border-width:1px; border-style:solid; padding:0 1em; max-width:100%; line-height:1.2; outline:none;} +textarea { + box-sizing: border-box; + border-width: 1px; + border-style: solid; + padding: 0 1em; + max-width: 100%; + line-height: 1.2; + outline: none; +} + input[type="number"] {} + input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; + -webkit-appearance: none; + margin: 0; } .form-input, @@ -53,9 +96,19 @@ input[type="number"].full, input[type="text"].full, input[type="password"].full, input[type="file"].full, -select.full {width:100%;} +select.full { + width: 100%; +} -textarea {box-sizing:border-box; border-width:1px; border-style:solid; padding:1em; width:100%; min-height:50px; resize:none;} +textarea { + box-sizing: border-box; + border-width: 1px; + border-style: solid; + padding: 1em; + width: 100%; + min-height: 50px; + resize: none; +} @@ -63,56 +116,209 @@ textarea {box-sizing:border-box; border-width:1px; border-style:solid; padding:1 레이아웃 스타일 **********************************/ -#header {display:none; position:fixed; z-index:99;} -.single #header {display:block;} +#header { + display: none; + position: fixed; + z-index: 99; +} -#topCont {position:fixed; bottom:1em; right:1em; z-index:99;} +.single #header { + display: block; +} + +#topCont { + position: fixed; + bottom: 1em; + right: 1em; + z-index: 99; +} .icons-link-box a, -#topCont a {display:block; position:relative;} -#topCont a {font-size:1.8em; opacity:.5;} -#topCont a:hover {opacity:1;} +#topCont a { + display: block; + position: relative; +} + +#topCont a { + font-size: 1.8em; + opacity: .5; +} + +#topCont a:hover { + opacity: 1; +} + .icons-link-box .icons, #topCont .icons, -.gnbWrap .icons {display:block; position:relative; width:3em; height:3em; z-index:1;} +.gnbWrap .icons { + display: block; + position: relative; + width: 3em; + height: 3em; + z-index: 1; +} + .icons-link-box .icons:before, #topCont .icons:before, -.gnbWrap .icons:before {content:""; display:block; position:absolute; z-index:0; top:.1em; left:.1em; right:.1em; bottom:.1em; box-sizing:border-box;} -.icons-link-box .icons > span, -#topCont .icons > span, -.gnbWrap .icons > span {display:table; width:100%; height:100%; position:relative; z-index:1;} -.icons-link-box .icons > span > *, -#topCont .icons > span > *, -.gnbWrap .icons > span > * {display:table-cell; vertical-align:middle; text-align:center;} +.gnbWrap .icons:before { + content: ""; + display: block; + position: absolute; + z-index: 0; + top: .1em; + left: .1em; + right: .1em; + bottom: .1em; + box-sizing: border-box; +} + +.icons-link-box .icons>span, +#topCont .icons>span, +.gnbWrap .icons>span { + display: table; + width: 100%; + height: 100%; + position: relative; + z-index: 1; +} + +.icons-link-box .icons>span>*, +#topCont .icons>span>*, +.gnbWrap .icons>span>* { + display: table-cell; + vertical-align: middle; + text-align: center; +} @media all and (min-width:1025px) { - #header {} - #mo_header {display:none !important;} - .gnbWrap {position:absolute;} - .gnbWrap li a {display:block; position:relative;} - .gnbWrap .tooltips {display:block; position:absolute; padding:2px 15px; white-space:nowrap; z-index:-1; opacity:0; visibility:hidden; transition:.3s all; -webkit-transition:.3s all;} - .gnbWrap a:hover .tooltips {visibility:visible; opacity:1;} + #header {} + + #mo_header { + display: none !important; + } + + .gnbWrap { + position: absolute; + } + + .gnbWrap li a { + display: block; + position: relative; + } + + .gnbWrap .tooltips { + display: block; + position: absolute; + padding: 2px 15px; + white-space: nowrap; + z-index: -1; + opacity: 0; + visibility: hidden; + transition: .3s all; + -webkit-transition: .3s all; + } + + .gnbWrap a:hover .tooltips { + visibility: visible; + opacity: 1; + } } + @media all and (max-width:1024px) { - .control-mobile-menu {display:none; position:fixed; top:0; right:0; width:50px; height:50px; font-size:30px; z-index:991;} - .single .control-mobile-menu {display:block;} - body:not(.open-gnb) .control-mobile-menu .close {display:none;} - body.open-gnb .control-mobile-menu .open {display:none;} + .control-mobile-menu { + display: none; + position: fixed; + top: 0; + right: 0; + width: 50px; + height: 50px; + font-size: 30px; + z-index: 991; + } - #header {display:none !important;} + .single .control-mobile-menu { + display: block; + } - #mo_header {position:fixed; top:0; left:0; right:0; bottom:0; z-index:990; overflow:auto; opacity:0; visibility:hidden; backdrop-filter: blur(2px); transform:translateY(10%); -webkit-transform:translateY(10%);} - #mo_header > div {display:table; width:100%; height:100%;} - #mo_header > div > div {display:table-cell; vertical-align:middle; text-align:center; padding:30px;} - body.open-gnb #mo_header {opacity:1; visibility:visible; transform:translateY(0); -webkit-transform:translateY(0);} + body:not(.open-gnb) .control-mobile-menu .close { + display: none; + } - #topCont a {display:block; position:relative; font-size:1.2em;} - - .gnbWrap {display:inline-block; text-align:left; } - .gnbWrap li {font-size:1.2em;} - .gnbWrap li + li {margin:.5em 0;} - .gnbWrap li.line {display:block; margin:1em 0; height:2px;} - .gnbWrap .icons {display:inline-block; width:2em; height:2em; z-index:1; vertical-align:middle;} + body.open-gnb .control-mobile-menu .open { + display: none; + } + + #header { + display: none !important; + } + + #mo_header { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 990; + overflow: auto; + opacity: 0; + visibility: hidden; + backdrop-filter: blur(2px); + transform: translateY(10%); + -webkit-transform: translateY(10%); + } + + #mo_header>div { + display: table; + width: 100%; + height: 100%; + } + + #mo_header>div>div { + display: table-cell; + vertical-align: middle; + text-align: center; + padding: 30px; + } + + body.open-gnb #mo_header { + opacity: 1; + visibility: visible; + transform: translateY(0); + -webkit-transform: translateY(0); + } + + #topCont a { + display: block; + position: relative; + font-size: 1.2em; + } + + .gnbWrap { + display: inline-block; + text-align: left; + } + + .gnbWrap li { + font-size: 1.2em; + } + + .gnbWrap li+li { + margin: .5em 0; + } + + .gnbWrap li.line { + display: block; + margin: 1em 0; + height: 2px; + } + + .gnbWrap .icons { + display: inline-block; + width: 2em; + height: 2em; + z-index: 1; + vertical-align: middle; + } } @@ -120,59 +326,178 @@ textarea {box-sizing:border-box; border-width:1px; border-style:solid; padding:1 기본 라인 스타일 **********************************/ -hr.line {display:block; position:relative; clear:both; margin:10px 0; border:none; padding:0; height:1px;} -hr.padding {display:block; clear:both; margin:0; padding:0; border:none; height:30px;} -hr.padding.small {height:5px;} +hr.line { + display: block; + position: relative; + clear: both; + margin: 10px 0; + border: none; + padding: 0; + height: 1px; +} -#bo_v_img img {height:auto !important;} +hr.padding { + display: block; + clear: both; + margin: 0; + padding: 0; + border: none; + height: 30px; +} + +hr.padding.small { + height: 5px; +} + +#bo_v_img img { + height: auto !important; +} /************************************************************** 버튼 ***************************************************************/ -.ui-btn {display:inline-block; position:relative; text-align:center; border-width:1px; border-style:solid; vertical-align:middle; padding:0 1em; box-sizing:border-box; cursor:pointer;} -a.ui-btn {} -.ui-btn.small {font-size:.8em;} -.ui-btn.big {font-size:1.3em;} -.ui-btn.full {width:100%;} +.ui-btn { + display: inline-block; + position: relative; + text-align: center; + border-width: 1px; + border-style: solid; + vertical-align: middle; + padding: 0 1em; + box-sizing: border-box; + cursor: pointer; +} -.ui-btn.admin {background:#8c1e1e; color:#fff; border-color:#691010;} -.ui-btn.disable {opacity:.3;} +a.ui-btn {} + +.ui-btn.small { + font-size: .8em; +} + +.ui-btn.big { + font-size: 1.3em; +} + +.ui-btn.full { + width: 100%; +} + +.ui-btn.admin { + background: #8c1e1e; + color: #fff; + border-color: #691010; +} + +.ui-btn.disable { + opacity: .3; +} /************************************************************** 기본박스 ***************************************************************/ -.theme-box {display:block; position:relative; padding:1em; box-sizing:border-box;} -.board-notice-box {display:block; position:relative; padding:1em; box-sizing:border-box; text-align:center; max-width:500px; margin:0 auto 2em;} +.theme-box { + display: block; + position: relative; + padding: 1em; + box-sizing: border-box; +} + +.board-notice-box { + display: block; + position: relative; + padding: 1em; + box-sizing: border-box; + text-align: center; + max-width: 500px; + margin: 0 auto 2em; +} /************************************************************** 테이블 ***************************************************************/ -table {width:100%; padding:0; border-spacing:0px; border:0; border-collapse:collapse; table-layout:fixed;} -th, td {border:none;} +table { + width: 100%; + padding: 0; + border-spacing: 0px; + border: 0; + border-collapse: collapse; + table-layout: fixed; +} -.theme-form { } -.theme-form td {padding:5px; height:30px;} -.theme-form th {padding:5px 10px;} -.theme-form .frm_info {display:block; font-size:12px; padding:0 0 8px 0;} +th, +td { + border: none; +} -.theme-list {table-layout:fixed;} -.theme-list thead th {height:30px;} -.theme-list td {padding:5px; height:30px;} -.theme-list td.no-data {padding:5px; text-align:center; line-height:200px;} +.theme-form {} -.responsive-table-box {display:block; position:relative;} -.responsive-table-box > .resp-table {display:block; position:relative;} -.responsive-table-box > .guide {display:none; text-align:right; font-size:12px;} +.theme-form td { + padding: 5px; + height: 30px; +} + +.theme-form th { + padding: 5px 10px; +} + +.theme-form .frm_info { + display: block; + font-size: 12px; + padding: 0 0 8px 0; +} + +.theme-list { + table-layout: fixed; +} + +.theme-list thead th { + height: 30px; +} + +.theme-list td { + padding: 5px; + height: 30px; +} + +.theme-list td.no-data { + padding: 5px; + text-align: center; + line-height: 200px; +} + +.responsive-table-box { + display: block; + position: relative; +} + +.responsive-table-box>.resp-table { + display: block; + position: relative; +} + +.responsive-table-box>.guide { + display: none; + text-align: right; + font-size: 12px; +} @media all and (max-width:770px) { - .responsive-table-box > .guide {display:block;} - .responsive-table-box > .resp-table {overflow:auto;} - .responsive-table-box > .resp-table > table {width:770px !important;} + .responsive-table-box>.guide { + display: block; + } + + .responsive-table-box>.resp-table { + overflow: auto; + } + + .responsive-table-box>.resp-table>table { + width: 770px !important; + } } @@ -185,82 +510,309 @@ th, td {border:none;} #bo_w {} /* 검색 부분 */ -#bo_sch { text-align:center;} -#bo_sch button { position:relative; width:30px; height:30px; padding:0 !important; font-size:18px;} -#bo_sch button i {display:block; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); -webkit-transform:translate(-50%, -50%);} +#bo_sch { + text-align: center; +} -.board-category {display:block; position:relative; text-align:center; margin-bottom:1em;} -.board-category li {display:inline-block; position:relative; vertical-align:middle;} +#bo_sch button { + position: relative; + width: 30px; + height: 30px; + padding: 0 !important; + font-size: 18px; +} + +#bo_sch button i { + display: block; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); +} + +.board-category { + display: block; + position: relative; + text-align: center; + margin-bottom: 1em; +} + +.board-category li { + display: inline-block; + position: relative; + vertical-align: middle; +} /* 게시글 타이틀 */ -.board-title {display:block; position:relative; text-align:center; font-size:2.2em; font-weight:800; padding-bottom:1em; border-bottom:1px solid #ddd;} -.board-title > * {display:block; line-height:1.2;} -.board-title em {font-size:.7em; margin-bottom:.5em; opacity:.5;} +.board-title { + display: block; + position: relative; + text-align: center; + font-size: 2.2em; + font-weight: 800; + padding-bottom: 1em; + border-bottom: 1px solid #ddd; +} -.board-info {display:block; position:relative; text-align:right; padding:1em; border-bottom:1px solid #ddd;} -.board-info > * {display:inline-block; vertical-align:middle;} -.board-info > * + * {margin-left:1em;} -.board-content {padding:2em 1em; line-height:1.8; font-size:1.1em;} +.board-title>* { + display: block; + line-height: 1.2; +} + +.board-title em { + font-size: .7em; + margin-bottom: .5em; + opacity: .5; +} + +.board-info { + display: block; + position: relative; + text-align: right; + padding: 1em; + border-bottom: 1px solid #ddd; +} + +.board-info>* { + display: inline-block; + vertical-align: middle; +} + +.board-info>*+* { + margin-left: 1em; +} + +.board-content { + padding: 2em 1em; + line-height: 1.8; + font-size: 1.1em; +} /* 게시물 덧글 */ -#bo_vc {border-top:1px solid #ddd;} -#bo_vc_w {padding-top:2em; padding-bottom:2em;} -#bo_v_bot {padding-top:2em; border-top:1px solid #ddd;} -#bo_v_bot a {margin:1px 0;} +#bo_vc { + border-top: 1px solid #ddd; +} -#bo_vc article {margin:1em 0;} -#bo_vc .is-reply {border-left:1px solid #ddd; padding-left:1em; margin:1px 0;} +#bo_vc_w { + padding-top: 2em; + padding-bottom: 2em; +} -#bo_vc header {position:relative;padding:15px 0 5px} -#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px} -#bo_vc .sv_wrap {margin-right:15px} -#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold} -.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px} -#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#bo_vc a {color:#fff;text-decoration:none} -#bo_vc p {padding:0 0 5px;line-height:1.8em} -#bo_vc p a {text-decoration:underline} -#bo_vc p a.s_cmt {text-decoration:none} -#bo_vc_empty {display:none; margin:0;padding:20px !important;text-align:center} -#bo_vc #bo_vc_winfo {float:left} -#bo_vc footer {zoom:1} -#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""} +#bo_v_bot { + padding-top: 2em; + border-top: 1px solid #ddd; +} -.bo_vc_act {float:right;margin:0;list-style:none;zoom:1} -.bo_vc_act a { color:#fff; } -.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""} -.bo_vc_act li {float:left;margin-left:5px} +#bo_v_bot a { + margin: 1px 0; +} -#bo_vc_w {position:relative;} -#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#bo_vc_w #char_cnt {display:block;margin:0 0 5px} +#bo_vc article { + margin: 1em 0; +} -#bo_v { padding-top:20px; } -#bo_v_title { font-size:16px; text-align:center; margin-bottom:20px; padding:20px 0; border-bottom:1px solid rgba(255, 255, 255, .5); } -#bo_v_info { text-align:right; } -#bo_v_info strong { display:inline-block; } -#bo_v_info strong + strong { margin-left:15px; } +#bo_vc .is-reply { + border-left: 1px solid #ddd; + padding-left: 1em; + margin: 1px 0; +} -#bo_v_img { text-align:center; } -#bo_v_img img { display:block; margin:0 auto; } -#bo_v_con { margin-top:30px; } -#bo_v_atc { display:block; margin:20px 0; padding:10px; line-height:1.8em; } +#bo_vc header { + position: relative; + padding: 15px 0 5px +} -.empty_table { text-align:center; line-height:150px; } +#bo_vc header .icon_reply { + position: absolute; + top: 15px; + left: -20px +} -.bo_fx { text-align:right; padding:20px 0; } -.btn_confirm { text-align:center; padding:30px 0;} +#bo_vc .sv_wrap { + margin-right: 15px +} -#bo_vc_w {margin:1em 0;} -#bo_vc_w .btn_confirm {padding-bottom:0;} +#bo_vc .member, +#bo_vc .guest, +#bo_vc .sv_member, +#bo_vc .sv_guest { + font-weight: bold +} + +.bo_vc_hdinfo { + display: inline-block; + margin: 0 15px 0 5px +} + +#bo_vc h1 { + position: absolute; + font-size: 0; + line-height: 0; + overflow: hidden +} + +#bo_vc a { + color: #fff; + text-decoration: none +} + +#bo_vc p { + padding: 0 0 5px; + line-height: 1.8em +} + +#bo_vc p a { + text-decoration: underline +} + +#bo_vc p a.s_cmt { + text-decoration: none +} + +#bo_vc_empty { + display: none; + margin: 0; + padding: 20px !important; + text-align: center +} + +#bo_vc #bo_vc_winfo { + float: left +} + +#bo_vc footer { + zoom: 1 +} + +#bo_vc footer:after { + display: block; + visibility: hidden; + clear: both; + content: "" +} + +.bo_vc_act { + float: right; + margin: 0; + list-style: none; + zoom: 1 +} + +.bo_vc_act a { + color: #fff; +} + +.bo_vc_act:after { + display: block; + visibility: hidden; + clear: both; + content: "" +} + +.bo_vc_act li { + float: left; + margin-left: 5px +} + +#bo_vc_w { + position: relative; +} + +#bo_vc_w h2 { + position: absolute; + font-size: 0; + line-height: 0; + overflow: hidden +} + +#bo_vc_w #char_cnt { + display: block; + margin: 0 0 5px +} + +#bo_v { + padding-top: 20px; +} + +#bo_v_title { + font-size: 16px; + text-align: center; + margin-bottom: 20px; + padding: 20px 0; + border-bottom: 1px solid rgba(255, 255, 255, .5); +} + +#bo_v_info { + text-align: right; +} + +#bo_v_info strong { + display: inline-block; +} + +#bo_v_info strong+strong { + margin-left: 15px; +} + +#bo_v_img { + text-align: center; +} + +#bo_v_img img { + display: block; + margin: 0 auto; +} + +#bo_v_con { + margin-top: 30px; +} + +#bo_v_atc { + display: block; + margin: 20px 0; + padding: 10px; + line-height: 1.8em; +} + +.empty_table { + text-align: center; + line-height: 150px; +} + +.bo_fx { + text-align: right; + padding: 20px 0; +} + +.btn_confirm { + text-align: center; + padding: 30px 0; +} + +#bo_vc_w { + margin: 1em 0; +} + +#bo_vc_w .btn_confirm { + padding-bottom: 0; +} /************************************************************** 도움말 정보 **************************************************************/ -.frm_info {display:block; font-size:12px; padding:0 0 8px 0; opacity:.7;} -.status-bar .frm_info {padding:0;} +.frm_info { + display: block; + font-size: 12px; + padding: 0 0 8px 0; + opacity: .7; +} + +.status-bar .frm_info { + padding: 0; +} @@ -268,24 +820,96 @@ th, td {border:none;} 페이지 설정 ***************************************************************/ -.pg_wrap {display:block; position:relative; text-align:center; padding:1.5em 0;} -.pg_wrap .pg-number-group {display:inline-block; position:relative; padding:0 .5em; vertical-align:middle;} -.pg_wrap .pg-number-group .pg_page {display:inline-block; position:relative; padding:0 .5em; vertical-align:middle;} -.pg_wrap .pg_control {display:inline-block; position:relative; width:1.3em; height:1.3em; vertical-align:middle; overflow:hidden; font-size:1.5em;} -.pg_wrap .pg_control .material-icons {display:block; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); -webkit-transform:translate(-50%, -50%);} -.pg_wrap .pg_control + .pg_control {padding:0;} -.pg_wrap .pg_current {font-weight:800; font-size:1.2em;} +.pg_wrap { + display: block; + position: relative; + text-align: center; + padding: 1.5em 0; +} + +.pg_wrap .pg-number-group { + display: inline-block; + position: relative; + padding: 0 .5em; + vertical-align: middle; +} + +.pg_wrap .pg-number-group .pg_page { + display: inline-block; + position: relative; + padding: 0 .5em; + vertical-align: middle; +} + +.pg_wrap .pg_control { + display: inline-block; + position: relative; + width: 1.3em; + height: 1.3em; + vertical-align: middle; + overflow: hidden; + font-size: 1.5em; +} + +.pg_wrap .pg_control .material-icons { + display: block; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); +} + +.pg_wrap .pg_control+.pg_control { + padding: 0; +} + +.pg_wrap .pg_current { + font-weight: 800; + font-size: 1.2em; +} /**************************************************** Search Box ****************************************************/ -.searc-sub-box {position:relative; clear:both; padding:30px 0px;} -.ui-search-box {position:relative; padding-left:100px; padding-right:80px; margin-top:5px;} -.ui-search-box .sch_category {position:absolute; top:0; left:0; width:95px; line-height:30px;} -.ui-search-box .sch_button {position:absolute; top:0; right:0; width:75px;} -.ui-search-box span {display:block; padding:0 15px;} +.searc-sub-box { + position: relative; + clear: both; + padding: 30px 0px; +} + +.ui-search-box { + position: relative; + padding-left: 100px; + padding-right: 80px; + margin-top: 5px; +} + +.ui-search-box .sch_category { + position: absolute; + top: 0; + left: 0; + width: 95px; + line-height: 30px; +} + +.ui-search-box .sch_button { + position: absolute; + top: 0; + right: 0; + width: 75px; +} + +.ui-search-box span { + display: block; + padding: 0 15px; +} + .ui-search-box select, .ui-search-box input[type="text"], -.ui-search-box button {display:block; width:100%;} +.ui-search-box button { + display: block; + width: 100%; +} diff --git a/AvocadoEdition_Light/css/swiper.css b/AvocadoEdition_Light/css/swiper.css index 8051de7..fe4ddc3 100644 --- a/AvocadoEdition_Light/css/swiper.css +++ b/AvocadoEdition_Light/css/swiper.css @@ -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 { + +.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 { + +.swiper-container-multirow>.swiper-wrapper { flex-wrap: wrap; } -.swiper-container-multirow-column > .swiper-wrapper { + +.swiper-container-multirow-column>.swiper-wrapper { flex-wrap: wrap; flex-direction: column; } -.swiper-container-free-mode > .swiper-wrapper { + +.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,44 +115,55 @@ 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 { +.swiper-container-css-mode>.swiper-wrapper { overflow: auto; scrollbar-width: none; /* For Firefox */ -ms-overflow-style: none; /* For Internet Explorer and Edge */ } -.swiper-container-css-mode > .swiper-wrapper::-webkit-scrollbar { + +.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar { display: none; } -.swiper-container-css-mode > .swiper-wrapper > .swiper-slide { + +.swiper-container-css-mode>.swiper-wrapper>.swiper-slide { scroll-snap-align: start start; } -.swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper { + +.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper { scroll-snap-type: x mandatory; } -.swiper-container-vertical.swiper-container-css-mode > .swiper-wrapper { + +.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,98 +177,125 @@ 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, -.swiper-container-horizontal > .swiper-pagination-bullets { +.swiper-container-horizontal>.swiper-pagination-bullets { bottom: 10px; 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; @@ -250,63 +303,76 @@ border-radius: 9em; background: #000; opacity: 0.2; - margin:3px; + margin: 3px; } + button.swiper-pagination-bullet { border: none; margin: 0; padding: 0; box-shadow: none; -webkit-appearance: none; - -moz-appearance: none; - appearance: none; + -moz-appearance: none; + appearance: none; } + .swiper-pagination-clickable .swiper-pagination-bullet { cursor: pointer; } + .swiper-pagination-bullet-active { opacity: 1; - width:25px; + width: 25px; background: var(--swiper-pagination-color, var(--swiper-theme-color)); } -.swiper-container-vertical > .swiper-pagination-bullets { + +.swiper-container-vertical>.swiper-pagination-bullets { right: 10px; top: 50%; transform: translate3d(0px, -50%, 0); } -.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet { + +.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 6px 0; display: block; } -.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { + +.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 { + +.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 { + +.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 4px; } -.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { + +.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic { left: 50%; transform: translateX(-50%); white-space: nowrap; } -.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { + +.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { transition: 200ms transform, 200ms left; } -.swiper-container-horizontal.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { + +.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { transition: 200ms transform, 200ms right; } + /* 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,32 +383,39 @@ 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 { + +.swiper-container-horizontal>.swiper-pagination-progressbar, +.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { width: 100%; height: 4px; left: 0; top: 0; } -.swiper-container-vertical > .swiper-pagination-progressbar, -.swiper-container-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { + +.swiper-container-vertical>.swiper-pagination-progressbar, +.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { width: 4px; height: 100%; 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,7 +423,8 @@ button.swiper-pagination-bullet { -ms-touch-action: none; background: rgba(0, 0, 0, 0.1); } -.swiper-container-horizontal > .swiper-scrollbar { + +.swiper-container-horizontal>.swiper-scrollbar { position: absolute; left: 1%; bottom: 3px; @@ -358,7 +432,8 @@ button.swiper-pagination-bullet { height: 5px; width: 98%; } -.swiper-container-vertical > .swiper-scrollbar { + +.swiper-container-vertical>.swiper-scrollbar { position: absolute; right: 3px; top: 1%; @@ -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,22 +468,26 @@ button.swiper-pagination-bullet { align-items: center; text-align: center; } -.swiper-zoom-container > img, -.swiper-zoom-container > svg, -.swiper-zoom-container > canvas { + +.swiper-zoom-container>img, +.swiper-zoom-container>svg, +.swiper-zoom-container>canvas { max-width: 100%; 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,58 +528,70 @@ 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; - backface-visibility: hidden; + backface-visibility: hidden; z-index: 1; visibility: hidden; transform-origin: 0 0; 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, -.swiper-container-cube .swiper-slide-next + .swiper-slide { +.swiper-container-cube .swiper-slide-next+.swiper-slide { 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, .swiper-container-cube .swiper-slide-shadow-right { z-index: 0; -webkit-backface-visibility: hidden; - backface-visibility: hidden; + backface-visibility: hidden; } + .swiper-container-cube .swiper-cube-shadow { position: absolute; left: 0; @@ -505,27 +604,32 @@ 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; + 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, .swiper-container-flip .swiper-slide-shadow-right { z-index: 0; -webkit-backface-visibility: hidden; - backface-visibility: hidden; + backface-visibility: hidden; } diff --git a/AvocadoEdition_Light/install/gnuboard5.sql b/AvocadoEdition_Light/install/gnuboard5.sql index 7c87cf7..82836da 100644 --- a/AvocadoEdition_Light/install/gnuboard5.sql +++ b/AvocadoEdition_Light/install/gnuboard5.sql @@ -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; diff --git a/AvocadoEdition_Light/install/index.php b/AvocadoEdition_Light/install/index.php index bf0eef1..31c5996 100644 --- a/AvocadoEdition_Light/install/index.php +++ b/AvocadoEdition_Light/install/index.php @@ -1,60 +1,62 @@ -
+ // 필수 모듈 체크 + require_once('./library.check.php'); + ?> +

- 라이센스(License) 내용을 반드시 확인하십시오.
- 라이센스에 동의하시는 경우에만 설치가 진행됩니다. + 라이센스(License) 내용을 반드시 확인하십시오.
+ 라이센스에 동의하시는 경우에만 설치가 진행됩니다.

-
- +
- -

- 그누보드 라이센스
- 라이센스에 동의하시는 경우에만 설치가 진행됩니다. +

+ 그누보드 라이센스
+ 라이센스에 동의하시는 경우에만 설치가 진행됩니다.

- -
- +
+
-
-
- - -
+ +
+ + +
-
- -
-
-
- - - - - + - diff --git a/AvocadoEdition_Light/install/install.css b/AvocadoEdition_Light/install/install.css index 4875385..b42a56e 100644 --- a/AvocadoEdition_Light/install/install.css +++ b/AvocadoEdition_Light/install/install.css @@ -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} \ No newline at end of file +#ins_agree { + padding: 10px 0 0; + text-align: right +} diff --git a/AvocadoEdition_Light/install/install.inc.php b/AvocadoEdition_Light/install/install.inc.php index 3867f34..d12c0c1 100644 --- a/AvocadoEdition_Light/install/install.inc.php +++ b/AvocadoEdition_Light/install/install.inc.php @@ -1,96 +1,97 @@ + - -<?php echo $title; ?> - + + <?php echo $title; ?> + + -
+
AVOCADO EDITION INSTALLATION -
+
- -

프로그램이 이미 설치되어 있습니다.

+ +

프로그램이 이미 설치되어 있습니다.

-
-

프로그램이 이미 설치되어 있습니다.
새로 설치하시려면 다음 파일을 삭제 하신 후 새로고침 하십시오.

-
    +
    +

    프로그램이 이미 설치되어 있습니다.
    새로 설치하시려면 다음 파일을 삭제 하신 후 새로고침 하십시오.

    +
    • -
    -
    - +
+ + } + ?> - -

설치를 위해 아래 내용을 확인해 주십시오.

+ +

설치를 위해 아래 내용을 확인해 주십시오.

-
-

+

+

루트 디렉토리에 아래로 디렉토리를 생성하여 주십시오.
(common.php 파일이 있는곳이 루트 디렉토리 입니다.)

$> mkdir

윈도우의 경우 data 폴더를 하나 생성해 주시기 바랍니다.

위 명령 실행후 브라우저를 새로고침 하십시오. -

-
- +
+ + } + ?> -
-

- 디렉토리의 퍼미션을 705로 변경하여 주십시오.

- $> chmod 705 또는 chmod uo+rx

- 위 명령 실행후 브라우저를 새로고침 하십시오. -

+

+ 디렉토리의 퍼미션을 705로 변경하여 주십시오.

+ $> chmod 705 또는 chmod uo+rx

+ 위 명령 실행후 브라우저를 새로고침 하십시오. +

-

- 디렉토리의 퍼미션을 707로 변경하여 주십시오.

- $> chmod 707 또는 chmod uo+rwx

- 위 명령 실행후 브라우저를 새로고침 하십시오. -

+

+ 디렉토리의 퍼미션을 707로 변경하여 주십시오.

+ $> chmod 707 또는 chmod uo+rwx

+ 위 명령 실행후 브라우저를 새로고침 하십시오. +

\ No newline at end of file + } + ?> diff --git a/AvocadoEdition_Light/install/install.inc2.php b/AvocadoEdition_Light/install/install.inc2.php index 46bed03..c4e7b2e 100644 --- a/AvocadoEdition_Light/install/install.inc2.php +++ b/AvocadoEdition_Light/install/install.inc2.php @@ -1,7 +1,6 @@
- AVOCADO EDITION -

GPL! OPEN SOURCE GNUBOARD

+ AVOCADO EDITION +

GPL! OPEN SOURCE GNUBOARD

- - \ No newline at end of file + diff --git a/AvocadoEdition_Light/install/install_config.php b/AvocadoEdition_Light/install/install_config.php index 415a78d..051d447 100644 --- a/AvocadoEdition_Light/install/install_config.php +++ b/AvocadoEdition_Light/install/install_config.php @@ -1,162 +1,152 @@

라이센스(License) 내용에 동의하셔야 설치를 계속하실 수 있습니다.

".PHP_EOL; - echo "
".PHP_EOL; - exit; + echo "

라이센스(License) 내용에 동의하셔야 설치를 계속하실 수 있습니다.

" . PHP_EOL; + echo "
" . PHP_EOL; + exit; } ?> +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MySQL 정보입력
+ +
+ +
+ +
+ +
+ + 가능한 변경하지 마십시오. +
+ + 호스팅 업체에서 제공하는 WEB MYSQL 관리자 주소를 입력하세요. +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
최고관리자 정보입력
+ +
+ +
+ +
+ +
+ +

+ 주의! 이미 이 존재한다면 DB 자료가 망실되므로 주의하십시오.
+ 주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오. +

+ +
+ +
+
+ + - - - - - - - - - - - - - - - - - - - - - - - - -
최고관리자 정보입력
- -
- -
- -
- -
- -

- 주의! 이미 이 존재한다면 DB 자료가 망실되므로 주의하십시오.
- 주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오. -

- -
- -
-
- - - - \ No newline at end of file + diff --git a/AvocadoEdition_Light/install/install_db.php b/AvocadoEdition_Light/install/install_db.php index 60a73f1..28b5184 100644 --- a/AvocadoEdition_Light/install/install_db.php +++ b/AvocadoEdition_Light/install/install_db.php @@ -7,101 +7,110 @@ header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1 header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 -include_once ('../config.php'); -include_once ('../lib/common.lib.php'); +$theme_1 = "#BEBE8E"; +$theme_2 = "#7F7F5F"; +$theme_3 = "#7C7C4C"; -$title = G5_VERSION." 설치 완료 3/3"; -include_once ('./install.inc.php'); +$theme_4 = "#b0c4de"; +$theme_5 = "#727F99"; +$theme_6 = "#7488B2"; + +include_once('../config.php'); +include_once('../lib/common.lib.php'); + +$title = G5_VERSION . " 설치 완료 3/3"; +include_once('./install.inc.php'); //print_r($_POST); exit; -$mysql_host = $_POST['mysql_host']; -$mysql_user = $_POST['mysql_user']; -$mysql_pass = $_POST['mysql_pass']; -$mysql_db = $_POST['mysql_db']; -$table_prefix= $_POST['table_prefix']; -$admin_id = $_POST['admin_id']; -$admin_pass = $_POST['admin_pass']; -$admin_name = $_POST['admin_name']; +$mysql_host = $_POST['mysql_host']; +$mysql_user = $_POST['mysql_user']; +$mysql_pass = $_POST['mysql_pass']; +$mysql_db = $_POST['mysql_db']; +$table_prefix = $_POST['table_prefix']; +$admin_id = $_POST['admin_id']; +$admin_pass = $_POST['admin_pass']; +$admin_name = $_POST['admin_name']; $admin_email = $_POST['admin_email']; $absolute_password = $_POST['absolute_password']; $table_url = $_POST['table_url']; $dblink = sql_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_db); if (!$dblink) { -?> + ?> -
+

MySQL Host, User, Password 를 확인해 주십시오.

-
+
- + ?> -
+

MySQL DB 를 확인해 주십시오.

-
+
-
-

설치가 시작되었습니다.

+

설치가 시작되었습니다.

-
    - + + $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; + sql_query($f[$i], true, $dblink); + } + // 테이블 생성 ------------------------------------ + ?> -
  1. 전체 테이블 생성 완료
  2. +
  3. 전체 테이블 생성 완료
  4. -\'\"\\\'\\\"\%\=\(\)\/\^\*]/", '', $host); - $result['url'] = $http.$host.$port.$user.$root; - $result['url'] = str_replace("/install", "", $result['url']); - return $result; -} + $host = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*]/", '', $host); + $result['url'] = $http . $host . $port . $user . $root; + $result['url'] = str_replace("/install", "", $result['url']); + return $result; + } -$g5_path = g5_path_temp(); + $g5_path = g5_path_temp(); -$sql = "INSERT INTO `{$table_prefix}css_config` (`cs_id`, `cs_name`, `cs_value`, `cs_descript`, `cs_etc_1`, `cs_etc_2`, `cs_etc_3`, `cs_etc_4`, `cs_etc_5`, `cs_etc_6`, `cs_etc_7`, `cs_etc_8`, `cs_etc_9`, `cs_etc_10`, `cs_etc_11`, `cs_etc_12`, `cs_etc_13`, `cs_etc_14`, `cs_etc_15`, `cs_etc_16`, `cs_etc_17`, `cs_etc_18`, `cs_etc_19`, `cs_etc_20`) VALUES + $sql = "INSERT INTO `{$table_prefix}css_config` (`cs_id`, `cs_name`, `cs_value`, `cs_descript`, `cs_etc_1`, `cs_etc_2`, `cs_etc_3`, `cs_etc_4`, `cs_etc_5`, `cs_etc_6`, `cs_etc_7`, `cs_etc_8`, `cs_etc_9`, `cs_etc_10`, `cs_etc_11`, `cs_etc_12`, `cs_etc_13`, `cs_etc_14`, `cs_etc_15`, `cs_etc_16`, `cs_etc_17`, `cs_etc_18`, `cs_etc_19`, `cs_etc_20`) VALUES (1, 'use_header', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), -(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', '', '', '', '', '', '', ''), +(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', '', '', '', '', '{$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', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), -(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', '', '', '', '', '', '', '', '', '', '', '', ''), +(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', '{$theme_1}', '', '20', '20', '20', '20', '', '', '', '', '', '', '', '', '', '', '', ''), (39, 'menu_position', 'B', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''), (40, 'content_width', '1000', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');"; -sql_query($sql, true, $dblink); + sql_query($sql, true, $dblink); -?> + ?> -
  5. DB설정 완료
  6. +
  7. DB설정 완료
  8. - -for ($i=0; $i +
  9. 데이터 디렉토리 생성 완료
  10. -
  11. 데이터 디렉토리 생성 완료
  12. + "); -fwrite($f, "define('G5_MYSQL_SET_MODE', {$mysql_set_mode});\n\n"); -fwrite($f, "define('G5_TABLE_PREFIX', '{$table_prefix}');\n\n"); + fclose($f); + @chmod($file, G5_FILE_PERMISSION); + ?> -fwrite($f, "\$g5['write_prefix'] = G5_TABLE_PREFIX.'write_'; // 게시판 테이블명 접두사\n\n"); -fwrite($f, "\$g5['auth_table'] = G5_TABLE_PREFIX.'auth'; // 관리권한 설정 테이블\n"); -fwrite($f, "\$g5['config_table'] = G5_TABLE_PREFIX.'config'; // 기본환경 설정 테이블\n"); -fwrite($f, "\$g5['group_table'] = G5_TABLE_PREFIX.'group'; // 게시판 그룹 테이블\n"); -fwrite($f, "\$g5['group_member_table'] = G5_TABLE_PREFIX.'group_member'; // 게시판 그룹+회원 테이블\n"); -fwrite($f, "\$g5['board_table'] = G5_TABLE_PREFIX.'board'; // 게시판 설정 테이블\n"); -fwrite($f, "\$g5['board_file_table'] = G5_TABLE_PREFIX.'board_file'; // 게시판 첨부파일 테이블\n"); -fwrite($f, "\$g5['board_good_table'] = G5_TABLE_PREFIX.'board_good'; // 게시물 추천,비추천 테이블\n"); -fwrite($f, "\$g5['board_new_table'] = G5_TABLE_PREFIX.'board_new'; // 게시판 새글 테이블\n"); -fwrite($f, "\$g5['login_table'] = G5_TABLE_PREFIX.'login'; // 로그인 테이블 (접속자수)\n"); -fwrite($f, "\$g5['mail_table'] = G5_TABLE_PREFIX.'mail'; // 회원메일 테이블\n"); -fwrite($f, "\$g5['member_table'] = G5_TABLE_PREFIX.'member'; // 회원 테이블\n"); -fwrite($f, "\$g5['memo_table'] = G5_TABLE_PREFIX.'memo'; // 메모 테이블\n"); -fwrite($f, "\$g5['poll_table'] = G5_TABLE_PREFIX.'poll'; // 투표 테이블\n"); -fwrite($f, "\$g5['poll_etc_table'] = G5_TABLE_PREFIX.'poll_etc'; // 투표 기타의견 테이블\n"); -fwrite($f, "\$g5['point_table'] = G5_TABLE_PREFIX.'point'; // 포인트 테이블\n"); -fwrite($f, "\$g5['popular_table'] = G5_TABLE_PREFIX.'popular'; // 인기검색어 테이블\n"); -fwrite($f, "\$g5['scrap_table'] = G5_TABLE_PREFIX.'scrap'; // 게시글 스크랩 테이블\n"); -fwrite($f, "\$g5['visit_table'] = G5_TABLE_PREFIX.'visit'; // 방문자 테이블\n"); -fwrite($f, "\$g5['visit_sum_table'] = G5_TABLE_PREFIX.'visit_sum'; // 방문자 합계 테이블\n"); -fwrite($f, "\$g5['uniqid_table'] = G5_TABLE_PREFIX.'uniqid'; // 유니크한 값을 만드는 테이블\n"); -fwrite($f, "\$g5['autosave_table'] = G5_TABLE_PREFIX.'autosave'; // 게시글 작성시 일정시간마다 글을 임시 저장하는 테이블\n"); -fwrite($f, "\$g5['cert_history_table'] = G5_TABLE_PREFIX.'cert_history'; // 인증내역 테이블\n"); -fwrite($f, "\$g5['qa_config_table'] = G5_TABLE_PREFIX.'qa_config'; // 1:1문의 설정테이블\n"); -fwrite($f, "\$g5['qa_content_table'] = G5_TABLE_PREFIX.'qa_content'; // 1:1문의 테이블\n"); -fwrite($f, "\$g5['content_table'] = G5_TABLE_PREFIX.'content'; // 내용(컨텐츠)정보 테이블\n"); -fwrite($f, "\$g5['faq_table'] = G5_TABLE_PREFIX.'faq'; // 자주하시는 질문 테이블\n"); -fwrite($f, "\$g5['faq_master_table'] = G5_TABLE_PREFIX.'faq_master'; // 자주하시는 질문 마스터 테이블\n"); -fwrite($f, "\$g5['new_win_table'] = G5_TABLE_PREFIX.'new_win'; // 새창 테이블\n"); -fwrite($f, "\$g5['menu_table'] = G5_TABLE_PREFIX.'menu'; // 메뉴관리 테이블\n"); -fwrite($f, "\$g5['banner_table'] = G5_TABLE_PREFIX.'banner'; // 배너 테이블\n"); -fwrite($f, "\$g5['css_table'] = G5_TABLE_PREFIX.'css_config'; // CSS STYLE 정의 저장하는 테이블\n"); -fwrite($f, "?>"); +
  13. DB설정 파일 생성 완료 ()
  14. -fclose($f); -@chmod($file, G5_FILE_PERMISSION); -?> - -
  15. DB설정 파일 생성 완료 ()
  16. - - Order allow,deny Deny from all EOD; -fwrite($f, $str); -fclose($f); -//------------------------------------------------------------------------------------------------- + fwrite($f, $str); + fclose($f); + //------------------------------------------------------------------------------------------------- + + // CSS 설정 파일 생성 + $css_data_path = $g5_path['path'] . "/css"; + $css_data_url = $g5_path['url'] . "/css"; -// CSS 설정 파일 생성 -$css_data_path = $g5_path['path']."/css"; -$css_data_url = $g5_path['url']."/css"; + @mkdir($css_data_path, G5_DIR_PERMISSION); + @chmod($css_data_path, G5_DIR_PERMISSION); -@mkdir($css_data_path, G5_DIR_PERMISSION); -@chmod($css_data_path, G5_DIR_PERMISSION); + $file = '../' . G5_CSS_DIR . '/_design.config.css'; + $file_path = $css_data_path . '/_design.config.css'; + @unlink($file_path); + $f = @fopen($file, 'a'); + ?> +
  17. + -
  18. - +
  19. +
-?> - - - -

축하합니다. 설치가 완료되었습니다.

+

축하합니다. 설치가 완료되었습니다.

-

환경설정 변경은 다음의 과정을 따르십시오.

+

환경설정 변경은 다음의 과정을 따르십시오.

-
    -
  1. 메인화면으로 이동
  2. -
  3. 관리자 로그인
  4. -
  5. 관리자 모드 접속
  6. -
  7. 환경설정 메뉴의 기본환경설정 페이지로 이동
  8. -
+
    +
  1. 메인화면으로 이동
  2. +
  3. 관리자 로그인
  4. +
  5. 관리자 모드 접속
  6. +
  7. 환경설정 메뉴의 기본환경설정 페이지로 이동
  8. +
- +
\ No newline at end of file +include_once('./install.inc2.php'); +?> diff --git a/AvocadoEdition_Light/install/library.check.php b/AvocadoEdition_Light/install/library.check.php index c01d964..01e712e 100644 --- a/AvocadoEdition_Light/install/library.check.php +++ b/AvocadoEdition_Light/install/library.check.php @@ -1,9 +1,9 @@ '.PHP_EOL; - echo 'alert("'.G5_VERSION.'의 정상적인 사용을 위해서는 GD 라이브러리가 필요합니다.\nGD 라이브러리가 없을 경우 자동등록방지 문자와 썸네일 기능이 작동하지 않습니다.");'.PHP_EOL; - echo ''.PHP_EOL; +if (!extension_loaded('gd') || !function_exists('gd_info')) { + echo '' . PHP_EOL; } -?> \ No newline at end of file