update 2.2.6

This commit is contained in:
Amberstone 2024-09-19 21:08:10 +09:00
parent 83972eee2e
commit 4488e9b55c
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
25 changed files with 1524 additions and 59 deletions

View file

@ -7,27 +7,15 @@
********************/
define('G5_VERSION', '아보카도 에디션 : Amber');
define('G5_GNUBOARD_VER', '2.2.5');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('G5_GNUBOARD_VER', '2.2.6');
define('_GNUBOARD_', true);
if (PHP_VERSION >= '5.1.0') {
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
date_default_timezone_set("Asia/Seoul");
}
/********************
경로 상수
********************/
/*
보안서버 도메인
회원가입, 글쓰기에 사용되는 https 시작되는 주소를 말합니다.
포트가 있다면 도메인 뒤에 :443 같이 입력하세요.
보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 붙이지 않습니다.
입력예) https://www.domain.com:443/gnuboard5
*/
define('G5_DOMAIN', '');
define('G5_HTTPS_DOMAIN', '');

View file

@ -78,9 +78,19 @@ $html_class .= $_COOKIE['header_close'] == 'close' ? " close-header" : "";
echo get_embed_file("css", G5_ADMIN_PATH . '/css/admin.css') . PHP_EOL;
echo get_embed_file("css", G5_ADMIN_PATH . '/css/admin.layout.css') . PHP_EOL;
echo get_embed_file("css", G5_ADMIN_PATH . '/css/amberstone.cp.css') . PHP_EOL;
} else {
if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/css/default.css")) {
echo '<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/default.css" type="text/css">' . PHP_EOL;
} else {
echo '<link rel="stylesheet" href="' . G5_CSS_URL . '/default.css" type="text/css">' . PHP_EOL;
}
if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/css/style.css")) {
echo '<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/style.css" type="text/css">' . PHP_EOL;
} else {
echo '<link rel="stylesheet" href="' . G5_CSS_URL . '/style.css" type="text/css">' . PHP_EOL;
}
echo '<link rel="stylesheet" href="' . G5_DATA_URL . '/css/_design.config.css?v=' . $config['cf_css_version'] . '" type="text/css" />';
}
?>

View file

@ -133,6 +133,7 @@ unset($row);
cf_possible_ip = '',
cf_intercept_ip = '',
cf_analytics = '',
cf_theme = 'basic',
cf_member_skin = 'basic',
cf_mobile_new_skin = 'basic',
cf_mobile_search_skin = 'basic',
@ -266,13 +267,8 @@ unset($row);
(40, 'content_width', '1000', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');";
sql_query($sql, true, $dblink);
?>
<li>DB설정 완료</li>
<?php
//-------------------------------------------------------------------------------------------------
@ -295,9 +291,7 @@ unset($row);
@chmod($dir_arr[$i], G5_DIR_PERMISSION);
}
?>
<li>데이터 디렉토리 생성 완료</li>
<?php
//-------------------------------------------------------------------------------------------------

View file

@ -1 +0,0 @@
./*

View file

@ -0,0 +1,3 @@
<?php
if (!defined('_GNUBOARD_')) exit;
?>

View file

@ -0,0 +1,6 @@
@charset "utf-8";

View file

@ -0,0 +1,6 @@
@charset "utf-8";

View file

@ -0,0 +1,6 @@
@charset "utf-8";

View file

@ -0,0 +1,6 @@
@charset "utf-8";

View file

@ -0,0 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
// 좌측 메뉴 스타일
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css">', 0);
@include_once($menu_skin_path.'/menu.L.inc.php');
?>

View file

@ -0,0 +1,95 @@
<?php
if (!defined('_GNUBOARD_')) exit;
// 좌측 메뉴 스타일
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css">', 0);
?>
<ul class="gnbWrap">
<li>
<a href="<?=G5_URL?>/main.php" class="change-link">
<span class="icons"><span><i class="material-icons">home</i></span></span>
<span class="tooltips">HOME</span>
</a>
</li>
<li class="line"></li>
<?
$menu_sql = " select * from {$g5['menu_table']} where me_use = '1' order by me_order*1 asc, me_id asc";
$menu = sql_query($menu_sql);
for($i=0; $me = sql_fetch_array($menu); $i++) {
$target = "";
if($me['me_target'] == 'self') {
$me['me_target'] = '';
}
if($me['me_name'] == '구분선') {
echo "<li class='line'></li>";
} else {
?>
<li>
<a href="<?php echo $me['me_link']?>" <? if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<? } ?> class="change-link">
<span class="icons"><span><i class="material-icons"><?=$me['me_icon']?></i></span></span>
<span class="tooltips"><?=$me['me_name']?></span>
</a>
</li>
<? }} ?>
<li class="line"></li>
<? if(!$is_member) { //멤버가 아닐 경우 ?>
<li>
<a href="<?=G5_BBS_URL?>/login.php">
<span class="icons"><span><i class="material-icons">login</i></span></span>
<span class="tooltips">LOGIN</span>
</a>
</li>
<? if($is_add_register) { //회원가입이 가능한 경우 ?>
<li>
<a href="<?=G5_BBS_URL?>/register.php" class="change-link">
<span class="icons"><span><i class="material-icons">person_add</i></span></span>
<span class="tooltips">JOIN</span>
</a>
</li>
<? } ?>
<? } else { //멤버일 경우 ?>
<li>
<a href="<?=G5_BBS_URL?>/logout.php">
<span class="icons"><span><i class="material-icons">logout</i></span></span>
<span class="tooltips">LOGOUT</span>
</a>
</li>
<? if($is_admin) { ?>
<li>
<a href="<?=G5_URL?>/adm" target="_blank">
<span class="icons"><span><i class="material-icons">settings</i></span></span>
<span class="tooltips">ADMIN</span>
</a>
</li>
<? } else { ?>
<li>
<a href="<?=G5_BBS_URL?>/member_confirm.php?url=register_form.php" class="change-link">
<span class="icons"><span><i class="material-icons">settings</i></span></span>
<span class="tooltips">정보수정</span>
</a>
</li>
<? } ?>
<? } ?>
<? if(defined('_INDEX_') && $config['cf_bgm']) { ?>
<li class="bgm-btn">
<div id="site_bgm_box">
<iframe src="./bgm.php?action=play" name="bgm_frame" id="bgm_frame" border="0" frameborder="0" marginheight="0" marginwidth="0" topmargin="0" scrolling="no" allowTransparency="true"></iframe>
</div>
<a href="<?=G5_URL?>/bgm.php?action=play" target="bgm_frame" onclick="return fn_control_bgm('play')" class="control-bgm-play" style="display:none;">
<span class="icons"><span><i class="material-icons">music_off</i></span></span>
<span class="tooltips">BGM ON</span>
</a>
<a href="<?=G5_URL?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')" class="control-bgm-stop">
<span class="icons"><span><i class="material-icons">music_note</i></span></span>
<span class="tooltips">BGM OFF</span>
</a>
</li>
<? } ?>
</ul>

View file

@ -0,0 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
// 좌측 메뉴 스타일
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css">', 0);
@include_once($menu_skin_path.'/menu.L.inc.php');
?>

View file

@ -0,0 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
// 좌측 메뉴 스타일
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css">', 0);
@include_once($menu_skin_path.'/menu.L.inc.php');
?>

View file

View file

@ -0,0 +1 @@
# template

View file

@ -0,0 +1,319 @@
@charset "utf-8";
/* -----------------------------------------------
* 스타일 초기화
--------------------------------------------------
- 최초 작성일: 2021.08.15
- 최초 작성자: 아보카도
- 최종 수정일:
- 최종 수정자: Arcturus
--------------------------------------------------*/
/****************************************
Import
****************************************/
@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;
}
.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
}
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;
}
#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;
}
}
/****************************************
애니메이션 효과 지정 / 초기화
****************************************/
* {
transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
}
.trans,
.trans *,
.trans *:after,
.trans *:before {
transition: all 0.3s ease;
-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 {
transition: none;
-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;
}
/****************************************
스크롤 스타일 정의
****************************************/
*::-webkit-scrollbar-thumb {
border: none;
}
/**********************
스타일
**********************/
.theme-form {
width: 100%;
}
/**************************************************************
Web Size Viewer Control - 반응형 코딩
-
모바일 기준 :width 1024px
***************************************************************/
@media all and (min-width:1025px) {
.only-ta {
display: none !important;
}
.only-mo {
display: none !important;
}
.not-pc {
display: none !important;
}
}
@media all and (max-width:1024px) and (min-width:1025px) {
.only-pc {
display: none !important;
}
.only-mo {
display: none !important;
}
.not-ta {
display: none !important;
}
}
@media all and (max-width:1025px) {
.only-pc {
display: none !important;
}
.only-ta {
display: none !important;
}
.not-mo {
display: none !important;
}
}

View file

@ -0,0 +1,60 @@
@charset "utf-8";
/* -----------------------------------------------
* 대문 스타일 정의
--------------------------------------------------
- 최초 작성일: 2021.08.15
- 최초 작성자: 아보카도
- 최종 수정일:
- 최종 수정자: Arcturus
--------------------------------------------------*/
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;
}
.enterWrapper {
display: table;
width: 100%;
height: 100%;
position: relative;
z-index: 1;
}
.enterWrapper>.inner {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.index-logo {
display: block;
padding: 10px;
word-break: keep-all;
text-align: center;
}
.index-logo img {
max-width: 70%;
}
.index-logo p {
padding: 10px 0;
}
.index-logo a {
display: inline-block;
text-decoration: none;
}

View file

@ -0,0 +1,62 @@
@charset "utf-8";
html,
body {
position: relative;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
}
#wrap {
height: 100%;
}
#wrapper {
width: 100%;
height: 100%;
}
#wrapper iframe {
width: 100%;
height: 100%;
background-color: transparent;
overflow: scroll;
}
#bgm {
position: fixed;
top: 0;
right: 0;
text-align: center;
width: 145px;
z-index: -999;
}
#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;
}

View file

@ -0,0 +1,9 @@
@charset "utf-8";
#body {
opacity: 0;
}
#main_body {
text-align: center;
}

View file

@ -0,0 +1,902 @@
@charset "utf-8";
/* -----------------------------------------------
* 사이트 전체 기본 스타일 정의
--------------------------------------------------
- 최초 작성일: 2021.08.15
- 최초 작성자: 아보카도
- 최종 수정일:
- 최종 수정자: Arcturus
--------------------------------------------------*/
/*********************************
기본 스타일
**********************************/
html,
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;
}
button,
input[type="submit"],
input[type="button"] {
appearance: none;
border: none;
background: transparent;
}
.material-icons {
font-size: 1em;
}
/*********************************
요소 스타일
**********************************/
button {
font-size: 12px;
}
.form-input {
display: block;
line-height: 30px !important;
}
.form-input,
input[type="number"],
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;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.form-input,
input[type="number"].full,
input[type="text"].full,
input[type="password"].full,
input[type="file"].full,
select.full {
width: 100%;
}
textarea {
box-sizing: border-box;
border-width: 1px;
border-style: solid;
padding: 1em;
width: 100%;
min-height: 50px;
resize: none;
}
/*********************************
레이아웃 스타일
**********************************/
#header {
display: none;
position: fixed;
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;
}
.icons-link-box .icons,
#topCont .icons,
.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;
}
@media all and (min-width:1025px) {
#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;
}
#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;
}
}
/*********************************
기본 라인 스타일
**********************************/
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;
}
#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;
}
.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;
}
/**************************************************************
테이블
***************************************************************/
table {
width: 100%;
padding: 0;
border-spacing: 0px;
border: 0;
border-collapse: collapse;
table-layout: fixed;
}
th,
td {
border: none;
}
.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;
}
}
/**************************************************************
게시판 처리
**************************************************************/
/* 검색 부분 */
#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%);
}
.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-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 article {
margin: 1em 0;
}
#bo_vc .is-reply {
border-left: 1px solid #ddd;
padding-left: 1em;
margin: 1px 0;
}
#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_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;
}
/**************************************************************
페이지 설정
***************************************************************/
.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;
}
.ui-search-box select,
.ui-search-box input[type="text"],
.ui-search-box button {
display: block;
width: 100%;
}

View file

@ -41,7 +41,7 @@ if ($intro['cs_value'])
<link rel="shortcut icon" href="<?= $config['cf_favicon'] ?>">
<link rel="icon" href="<?= $config['cf_favicon'] ?>">
<link media="all" type="text/css" rel="stylesheet" href="<?= G5_CSS_URL ?>/enter.css?v=<?= $config['cf_css_version'] ?>">
<link media="all" type="text/css" rel="stylesheet" href="<?= G5_THEME_CSS_URL ?>/enter.css?v=<?= $config['cf_css_version'] ?>">
<link media="all" type="text/css" rel="stylesheet"
href="<?= G5_DATA_URL ?>/css/_design.config.css?v=<?= $config['cf_css_version'] ?>" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
@ -50,10 +50,7 @@ if ($intro['cs_value'])
if (!parent || parent == this) $('html').addClass('single');
</script>
</head>
<body>
<div class="enterWrapper">
<div class="inner">
<div class="index-logo">
@ -64,9 +61,7 @@ if ($intro['cs_value'])
</div>
</div>
</div>
<script>
window.onload = function () {
$('html').addClass('on')
setTimeout(function () { $('html').addClass('active') }, 800);
@ -75,9 +70,6 @@ if ($intro['cs_value'])
function fn_show_index_menu() {
if (parent && parent !== this) parent.show_menu();
}
</script>
</body>
</html>

View file

@ -25,11 +25,7 @@ if ($logo_data)
?>
<script> if (parent && parent !== this) parent.show_menu(); </script>
<?php include_once __DIR__ . "/menu.php"; ?>
<section id="body">
<div class="fix-layout">
<div class="mid-layout">

View file

@ -43,11 +43,9 @@ if (!$is_member && !$config['cf_open']) {
}
include_once G5_PATH . '/head.sub.php';
add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/index.css">', 0);
include_once __DIR__ . "/menu.php";
include_once G5_PATH . "/menu.php";
add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/index.css">', 0);
?>
<!-- 콘텐츠 시작 -->
<div id="wrapper">
<iframe src="<?= $index_url ?>" name="frm_main" id="main" border="0" frameborder="0" marginheight="0" marginwidth="0"
@ -60,14 +58,14 @@ if (!$is_member && !$config['cf_open']) {
return false;
}
});
$('#header .change-link').attr('target', 'frm_main');
function show_menu() {
$('#header').show();
}
</script>
<?php
include_once __DIR__ . '/tail.sub.php';
include_once G5_PATH . '/tail.sub.php';
}
?>

View file

@ -3,7 +3,7 @@ include_once './_common.php';
define('_MAIN_', true);
include_once __DIR__ . '/head.php';
add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/main.css">', 0);
add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/main.css">', 0);
$main_content = get_site_content('site_main');
if (!$main_content) {

View file

@ -1,23 +1,15 @@
# AvocadoEdition Light
Avocado Edition Light : Original Character Personal Site by GUNUBOARD Custom
# Avocado Amber
Avocado Amber : Original Character Personal Site by GUNUBOARD Custom
-----------------------------
본 프로그램은 그누보드5를 기반으로 하여 개인 홈페이지 제작을 목적으로 만들어졌습니다.
게시판과 회원시스템을 제외한 나머지 프로그램은 자체개발로 제작되었으며, 게시판의 일부 기능이 커스텀 되어 있습니다.
이 프로그램은 개인 홈페이지 제작을 위해
GNUBoard5 을 수정하여 만들어진 AvocadoEdition Light 를 수정한 버전입니다.
이를 위해 전반적인 코드 수정이 이루어졌으며 원본 AvocadoEdition Light 의 기능을 유지했습니다.
-----------------------------
## 기여
아보카도 에디션 라이트 사용하면서 발견한 문제 및 버그, 개선사항 등을 이슈 게시판을 통해 올릴 수 있습니다.
기존 코드를 변경 혹은 제시하실 경우 아래와 같은 절차를 통해 반영할 수 있습니다.
- 저장소를 포크합니다.
- 소스코드를 변경합니다.
- 풀 리퀘스트를 합니다.
- 변경 사항을 검토 후 프로젝트에 정식으로 추가할 수 있습니다.
----------------------------
기타 문제 발생 시, https://avocado-edition-rout.postype.com 로 연락 주시길 바랍니다.
감사합니다!
:thinking: github 등에서 migrate 이후 연합 기능 또는 `contact@drk.st` 로 의견을 보내주세요