unmanaged codestyle update
This commit is contained in:
parent
529957883c
commit
99e42ff33c
61 changed files with 4185 additions and 3629 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$src = "";
|
$src = "";
|
||||||
$img_content = "";
|
$img_content = "";
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$left = sql_fetch("select * from {$write_table} where wr_id = '{$list[$i]['wr_2']}'");
|
$left = sql_fetch("select * from {$write_table} where wr_id = '{$list[$i]['wr_2']}'");
|
||||||
$right = sql_fetch("select * from {$write_table} where wr_id = '{$list[$i]['wr_3']}'");
|
$right = sql_fetch("select * from {$write_table} where wr_id = '{$list[$i]['wr_3']}'");
|
||||||
|
|
||||||
$left_src = "";
|
$left_src = "";
|
||||||
$left_img_content = "";
|
$left_img_content = "";
|
||||||
if($left['wr_1']) { $left_src = $left['wr_1']; }
|
if ($left['wr_1']) {
|
||||||
if($left_src) { $left_img_content = '<em style="background-image:url(\''.$left_src.'\');"></em>'; }
|
$left_src = $left['wr_1'];
|
||||||
|
}
|
||||||
|
if ($left_src) {
|
||||||
|
$left_img_content = '<em style="background-image:url(\'' . $left_src . '\');"></em>';
|
||||||
|
}
|
||||||
|
|
||||||
$right_src = "";
|
$right_src = "";
|
||||||
$right_img_content = "";
|
$right_img_content = "";
|
||||||
if($right['wr_1']) { $right_src = $right['wr_1']; }
|
if ($right['wr_1']) {
|
||||||
if($right_src) { $right_img_content = '<em style="background-image:url(\''.$right_src.'\');"></em>'; }
|
$right_src = $right['wr_1'];
|
||||||
|
}
|
||||||
|
if ($right_src) {
|
||||||
|
$right_img_content = '<em style="background-image:url(\'' . $right_src . '\');"></em>';
|
||||||
|
}
|
||||||
|
|
||||||
$dday = "";
|
$dday = "";
|
||||||
|
|
||||||
|
|
@ -37,7 +46,8 @@ $p_gallery_w = $gallery_w + 20;
|
||||||
</div>
|
</div>
|
||||||
</div><?php
|
</div><?php
|
||||||
|
|
||||||
?><div class="ch-box" style="width:<?=$p_gallery_w?>px;">
|
?>
|
||||||
|
<div class="ch-box" style="width:<?= $p_gallery_w ?>px;">
|
||||||
<div class="character-card-frame">
|
<div class="character-card-frame">
|
||||||
<div class="pad" style="padding-top:<?= $gallery_rato ?>%;"></div>
|
<div class="pad" style="padding-top:<?= $gallery_rato ?>%;"></div>
|
||||||
<a class="pic" href="./board.php?bo_table=<?= $bo_table ?>&wr_id=<?= $list[$i]['wr_3'] ?>">
|
<a class="pic" href="./board.php?bo_table=<?= $bo_table ?>&wr_id=<?= $list[$i]['wr_3'] ?>">
|
||||||
|
|
@ -71,7 +81,8 @@ $p_gallery_w = $gallery_w + 20;
|
||||||
</div>
|
</div>
|
||||||
</div><?php
|
</div><?php
|
||||||
|
|
||||||
?><div class="ch-box" style="width:<?=$p_gallery_w?>px;">
|
?>
|
||||||
|
<div class="ch-box" style="width:<?= $p_gallery_w ?>px;">
|
||||||
<?php if ($list[$i]['wr_5']) { ?>
|
<?php if ($list[$i]['wr_5']) { ?>
|
||||||
<div class="ui-btn relation-name">
|
<div class="ui-btn relation-name">
|
||||||
<?= $list[$i]['wr_5'] ?>
|
<?= $list[$i]['wr_5'] ?>
|
||||||
|
|
@ -86,7 +97,8 @@ $p_gallery_w = $gallery_w + 20;
|
||||||
|
|
||||||
<?php if ($list[$i]['mb_id'] == $member['mb_id']) { ?>
|
<?php if ($list[$i]['mb_id'] == $member['mb_id']) { ?>
|
||||||
<div class="txt-center">
|
<div class="txt-center">
|
||||||
<a href="./write.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i]['wr_id']?>&w=u" class="ui-btn"><i class="material-icons">settings</i> 수정하기</a>
|
<a href="./write.php?bo_table=<?= $bo_table ?>&wr_id=<?= $list[$i]['wr_id'] ?>&w=u" class="ui-btn"><i
|
||||||
|
class="material-icons">settings</i> 수정하기</a>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$sst = $_GET['sst'];
|
$sst = $_GET['sst'];
|
||||||
|
|
||||||
|
|
@ -18,7 +19,8 @@ if ($board['bo_use_category']) {
|
||||||
$categories = explode('|', $board['bo_category_list']); // 구분자가 , 로 되어 있음
|
$categories = explode('|', $board['bo_category_list']); // 구분자가 , 로 되어 있음
|
||||||
for ($i = 0; $i < count($categories); $i++) {
|
for ($i = 0; $i < count($categories); $i++) {
|
||||||
$category = trim($categories[$i]);
|
$category = trim($categories[$i]);
|
||||||
if ($category=='') continue;
|
if ($category == '')
|
||||||
|
continue;
|
||||||
$category_option .= '<li><a href="' . ($category_href . "&sca=" . urlencode($category)) . '"';
|
$category_option .= '<li><a href="' . ($category_href . "&sca=" . urlencode($category)) . '"';
|
||||||
$category_msg = '';
|
$category_msg = '';
|
||||||
if ($category == $sca) { // 현재 선택된 카테고리라면
|
if ($category == $sca) { // 현재 선택된 카테고리라면
|
||||||
|
|
@ -43,7 +45,8 @@ if ($sca || $stx) {
|
||||||
$row = sql_fetch($sql);
|
$row = sql_fetch($sql);
|
||||||
$min_spt = (int) $row['min_wr_num'];
|
$min_spt = (int) $row['min_wr_num'];
|
||||||
|
|
||||||
if (!$spt) $spt = $min_spt;
|
if (!$spt)
|
||||||
|
$spt = $min_spt;
|
||||||
|
|
||||||
$sql_search .= " and (wr_num between {$spt} and ({$spt} + {$config['cf_search_part']})) ";
|
$sql_search .= " and (wr_num between {$spt} and ({$spt} + {$config['cf_search_part']})) ";
|
||||||
|
|
||||||
|
|
@ -65,7 +68,9 @@ if ($sca || $stx) {
|
||||||
$page_rows = $board['bo_page_rows'];
|
$page_rows = $board['bo_page_rows'];
|
||||||
$list_page_rows = $board['bo_page_rows'];
|
$list_page_rows = $board['bo_page_rows'];
|
||||||
|
|
||||||
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
if ($page < 1) {
|
||||||
|
$page = 1;
|
||||||
|
} // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
|
|
||||||
// 년도 2자리
|
// 년도 2자리
|
||||||
$today2 = G5_TIME_YMD;
|
$today2 = G5_TIME_YMD;
|
||||||
|
|
@ -86,8 +91,7 @@ if (!$sca) {
|
||||||
if ($sst == 'wr_id') {
|
if ($sst == 'wr_id') {
|
||||||
// 전체 목록인 경우, 게시글 개수에서 공지글 제외
|
// 전체 목록인 경우, 게시글 개수에서 공지글 제외
|
||||||
$total_count -= $board_notice_count;
|
$total_count -= $board_notice_count;
|
||||||
}
|
} else if ($board_notice_count > 0) {
|
||||||
else if($board_notice_count > 0) {
|
|
||||||
$pair_str = implode("' or wr_id = '", $arr_notice);
|
$pair_str = implode("' or wr_id = '", $arr_notice);
|
||||||
$pair_str = "wr_id = '" . $pair_str . "'";
|
$pair_str = "wr_id = '" . $pair_str . "'";
|
||||||
// 페어 목록인 경우, 페어 목록만 추출하고 게시글 개수를 공지글로 한정
|
// 페어 목록인 경우, 페어 목록만 추출하고 게시글 개수를 공지글로 한정
|
||||||
|
|
@ -98,10 +102,12 @@ if (!$sca) {
|
||||||
$notice_result = sql_query($pair_sql);
|
$notice_result = sql_query($pair_sql);
|
||||||
|
|
||||||
for ($k = 0; $row = sql_fetch_array($notice_result); $k++) {
|
for ($k = 0; $row = sql_fetch_array($notice_result); $k++) {
|
||||||
if (!$row['wr_id']) continue;
|
if (!$row['wr_id'])
|
||||||
|
continue;
|
||||||
$notice_array[] = $row['wr_id'];
|
$notice_array[] = $row['wr_id'];
|
||||||
|
|
||||||
if($k < $from_notice_idx) continue;
|
if ($k < $from_notice_idx)
|
||||||
|
continue;
|
||||||
if ($sst != 'wr_id') {
|
if ($sst != 'wr_id') {
|
||||||
$list[$i] = get_list($row, $board, $board_skin_url, G5_IS_MOBILE ? $board['bo_mobile_subject_len'] : $board['bo_subject_len']);
|
$list[$i] = get_list($row, $board, $board_skin_url, G5_IS_MOBILE ? $board['bo_mobile_subject_len'] : $board['bo_subject_len']);
|
||||||
$list[$i]['is_notice'] = true;
|
$list[$i]['is_notice'] = true;
|
||||||
|
|
@ -175,8 +181,7 @@ if($page_rows > 0) {
|
||||||
|
|
||||||
$k = 0;
|
$k = 0;
|
||||||
|
|
||||||
while ($row = sql_fetch_array($result))
|
while ($row = sql_fetch_array($result)) {
|
||||||
{
|
|
||||||
// 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
|
// 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
|
||||||
if ($sca || $stx)
|
if ($sca || $stx)
|
||||||
$row = sql_fetch(" select * from {$write_table} where wr_id = '{$row['wr_parent']}' ");
|
$row = sql_fetch(" select * from {$write_table} where wr_id = '{$row['wr_parent']}' ");
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
//-- 리스트 정렬을 임의로 조정 하는 기능을 합니다.
|
//-- 리스트 정렬을 임의로 조정 하는 기능을 합니다.
|
||||||
include_once($board_skin_path.'/_setting.php');
|
include_once $board_skin_path . "/_setting.php";
|
||||||
include_once($board_skin_path.'/list.order.skin.php');
|
include_once $board_skin_path . "/list.order.skin.php";
|
||||||
|
|
||||||
$category_list = get_category_list($bo_table, $sca);
|
$category_list = get_category_list($bo_table, $sca);
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
|
|
@ -20,7 +21,9 @@ $is_notice = false;
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--thumb-bak: <?= $color_bak ?>;
|
--thumb-bak: <?= $color_bak ?>;
|
||||||
--cover-bak:linear-gradient(0deg, <?=$color_bak?> 0%, transparent 100%);
|
--cover-bak: linear-gradient(0deg,
|
||||||
|
<?= $color_bak ?>
|
||||||
|
0%, transparent 100%);
|
||||||
--cover-color: <?= $color_default ?>;
|
--cover-color: <?= $color_default ?>;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -39,7 +42,8 @@ $is_notice = false;
|
||||||
<?php if ($is_category) { ?>
|
<?php if ($is_category) { ?>
|
||||||
<nav class="board-category">
|
<nav class="board-category">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./board.php?bo_table=<?=$bo_table?>" class="ui-btn <?=!$sca || $sca == ''? 'point' : 'etc'?>">ALL</a></li>
|
<li><a href="./board.php?bo_table=<?= $bo_table ?>" class="ui-btn <?= !$sca || $sca == '' ? 'point' : 'etc' ?>">ALL</a>
|
||||||
|
</li>
|
||||||
<?php echo $category_list ?>
|
<?php echo $category_list ?>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -59,12 +63,16 @@ $is_notice = false;
|
||||||
include($board_skin_path . "/list.couple.skin.php");
|
include($board_skin_path . "/list.couple.skin.php");
|
||||||
$is_notice = true;
|
$is_notice = true;
|
||||||
} else {
|
} else {
|
||||||
if($is_notice) { break; }
|
if ($is_notice) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
include($board_skin_path . "/list.character.skin.php");
|
include($board_skin_path . "/list.character.skin.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($list) == 0) { echo "<li class=\"empty_list\">등록된 캐릭터가 없습니다.</li>"; } ?>
|
if (count($list) == 0) {
|
||||||
|
echo "<li class=\"empty_list\">등록된 캐릭터가 없습니다.</li>";
|
||||||
|
} ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -76,7 +84,8 @@ $is_notice = false;
|
||||||
?>
|
?>
|
||||||
<a href="./board.php?bo_table=<?= $bo_table ?>" class="ui-btn etc"><i class="material-icons">list</i> 메인</a>
|
<a href="./board.php?bo_table=<?= $bo_table ?>" class="ui-btn etc"><i class="material-icons">list</i> 메인</a>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a href="./board.php?bo_table=<?=$bo_table?>&sst=wr_id" class="ui-btn etc"><i class="material-icons">list</i> 전체 목록</a>
|
<a href="./board.php?bo_table=<?= $bo_table ?>&sst=wr_id" class="ui-btn etc"><i class="material-icons">list</i> 전체
|
||||||
|
목록</a>
|
||||||
<?php }
|
<?php }
|
||||||
} else {
|
} else {
|
||||||
if ($list_href) { ?>
|
if ($list_href) { ?>
|
||||||
|
|
@ -87,7 +96,8 @@ $is_notice = false;
|
||||||
<?php if ($total_count >= 2) { ?>
|
<?php if ($total_count >= 2) { ?>
|
||||||
<a href="<?php echo $write_href ?>&type=pair" class="ui-btn"><i class="material-icons">edit</i> 페어 등록하기</a>
|
<a href="<?php echo $write_href ?>&type=pair" class="ui-btn"><i class="material-icons">edit</i> 페어 등록하기</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<a href="<?php echo $write_href ?>&sst=<?=$sst?>" class="ui-btn point"><i class="material-icons">edit</i> 캐릭터 등록하기</a>
|
<a href="<?php echo $write_href ?>&sst=<?= $sst ?>" class="ui-btn point"><i class="material-icons">edit</i> 캐릭터
|
||||||
|
등록하기</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,4 +34,4 @@ if($sql_article != "") {
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
include($board_skin_path."/view_body.skin.php");
|
include $board_skin_path . "/view_body.skin.php";
|
||||||
|
|
|
||||||
|
|
@ -22,4 +22,4 @@ if($bd['bd_url']) {
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
include($board_skin_path."/view_body.skin.php");
|
include $board_skin_path . "/view_body.skin.php";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
include_once($board_skin_path.'/_setting.php');
|
exit; // 개별 페이지 접근 불가
|
||||||
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
|
include_once $board_skin_path . "/_setting.php";
|
||||||
|
include_once G5_LIB_PATH . "/thumbnail.lib.php";
|
||||||
|
|
||||||
if ($write['wr_type'] == 'pair') {
|
if ($write['wr_type'] == 'pair') {
|
||||||
goto_url($list_href . $qstr);
|
goto_url($list_href . $qstr);
|
||||||
|
|
@ -42,7 +43,16 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
||||||
</style>
|
</style>
|
||||||
<div class="loading">
|
<div class="loading">
|
||||||
<div>
|
<div>
|
||||||
<div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
|
<div class="lds-roller">
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
<div></div>
|
||||||
|
</div>
|
||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -51,7 +61,8 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
||||||
<?php if ($write['wr_2']) { ?>
|
<?php if ($write['wr_2']) { ?>
|
||||||
<div class="ch-body" onclick="$(this).toggleClass('pop');">
|
<div class="ch-body" onclick="$(this).toggleClass('pop');">
|
||||||
<div class="img">
|
<div class="img">
|
||||||
<div><em style="background-image:url(<?=$check_body?>);"></em><img src="<?=$check_body?>" alt="" onerror="this.remove();"/></div>
|
<div><em style="background-image:url(<?= $check_body ?>);"></em><img src="<?= $check_body ?>" alt=""
|
||||||
|
onerror="this.remove();" /></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -93,9 +104,12 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
||||||
<hr class="line" />
|
<hr class="line" />
|
||||||
|
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="ui-btn etc"><i class="material-icons">edit</i> 수정</a><?php } ?>
|
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="ui-btn etc"><i
|
||||||
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn etc" onclick="del(this.href); return false;"><i class="material-icons">delete</i> 삭제</a><?php } ?>
|
class="material-icons">edit</i> 수정</a><?php } ?>
|
||||||
<?php if ($update_href && $write['wr_2'] != '') { ?><a href="javascript:$('.body-add-form').toggle();" class="ui-btn point"><i class="material-icons">checkroom</i> 전신추가</a><?php } ?>
|
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn etc"
|
||||||
|
onclick="del(this.href); return false;"><i class="material-icons">delete</i> 삭제</a><?php } ?>
|
||||||
|
<?php if ($update_href && $write['wr_2'] != '') { ?><a href="javascript:$('.body-add-form').toggle();"
|
||||||
|
class="ui-btn point"><i class="material-icons">checkroom</i> 전신추가</a><?php } ?>
|
||||||
<a href="<?php echo $list_href ?><?= $qstr ?>" class="ui-btn etc"><i class="material-icons">list</i> 목록</a>
|
<a href="<?php echo $list_href ?><?= $qstr ?>" class="ui-btn etc"><i class="material-icons">list</i> 목록</a>
|
||||||
</div>
|
</div>
|
||||||
<?php if ($update_href && $write['wr_2'] != '') { ?>
|
<?php if ($update_href && $write['wr_2'] != '') { ?>
|
||||||
|
|
@ -112,7 +126,8 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
||||||
|
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<input type="text" name="add_new_body" value="" />
|
<input type="text" name="add_new_body" value="" />
|
||||||
<input type="file" name="add_new_body_file" title="용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" accept="image/*"/>
|
<input type="file" name="add_new_body_file" title="용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능"
|
||||||
|
accept="image/*" />
|
||||||
<button type="button" onclick="fn_body_add_form('frm_add_body');" class="ui-btn">등록</button>
|
<button type="button" onclick="fn_body_add_form('frm_add_body');" class="ui-btn">등록</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
@ -159,25 +174,33 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($write['wr_4']) { ?><div class="sub-title txt-default"><?=$write['wr_4']?></div><?php } ?>
|
<?php if ($write['wr_4']) { ?>
|
||||||
<?php if ($write['wr_4_txt']) { ?><div class="descript"><?=nl2br($write['wr_4_txt'])?></div><?php } ?>
|
<div class="sub-title txt-default"><?= $write['wr_4'] ?></div><?php } ?>
|
||||||
|
<?php if ($write['wr_4_txt']) { ?>
|
||||||
|
<div class="descript"><?= nl2br($write['wr_4_txt']) ?></div><?php } ?>
|
||||||
|
|
||||||
<?php if ($write['wr_5']) { ?><div class="sub-title txt-default"><?=$write['wr_5']?></div><?php } ?>
|
<?php if ($write['wr_5']) { ?>
|
||||||
<?php if ($write['wr_5_txt']) { ?><div class="descript"><?=nl2br($write['wr_5_txt'])?></div><?php } ?>
|
<div class="sub-title txt-default"><?= $write['wr_5'] ?></div><?php } ?>
|
||||||
|
<?php if ($write['wr_5_txt']) { ?>
|
||||||
|
<div class="descript"><?= nl2br($write['wr_5_txt']) ?></div><?php } ?>
|
||||||
|
|
||||||
<?php if ($write['wr_6']) { ?><div class="sub-title txt-default"><?=$write['wr_6']?></div><?php } ?>
|
<?php if ($write['wr_6']) { ?>
|
||||||
<?php if ($write['wr_6_txt']) { ?><div class="descript"><?=nl2br($write['wr_6_txt'])?></div><?php } ?>
|
<div class="sub-title txt-default"><?= $write['wr_6'] ?></div><?php } ?>
|
||||||
|
<?php if ($write['wr_6_txt']) { ?>
|
||||||
|
<div class="descript"><?= nl2br($write['wr_6_txt']) ?></div><?php } ?>
|
||||||
|
|
||||||
<?php if ($write['wr_7']) { ?><div class="sub-title txt-default"><?=$write['wr_7']?></div><?php } ?>
|
<?php if ($write['wr_7']) { ?>
|
||||||
<?php if ($write['wr_7_txt']) { ?><div class="descript"><?=nl2br($write['wr_7_txt'])?></div><?php } ?>
|
<div class="sub-title txt-default"><?= $write['wr_7'] ?></div><?php } ?>
|
||||||
|
<?php if ($write['wr_7_txt']) { ?>
|
||||||
|
<div class="descript"><?= nl2br($write['wr_7_txt']) ?></div><?php } ?>
|
||||||
|
|
||||||
<?php if ($write['wr_8']) { ?><div class="sub-title txt-default"><?=$write['wr_8']?></div><?php } ?>
|
<?php if ($write['wr_8']) { ?>
|
||||||
<?php if ($write['wr_8_txt']) { ?><div class="descript"><?=nl2br($write['wr_8_txt'])?></div><?php } ?>
|
<div class="sub-title txt-default"><?= $write['wr_8'] ?></div><?php } ?>
|
||||||
|
<?php if ($write['wr_8_txt']) { ?>
|
||||||
|
<div class="descript"><?= nl2br($write['wr_8_txt']) ?></div><?php } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$body_cnt = sql_fetch("select count(*) as cnt from {$g5['character_body_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}'");
|
$body_cnt = sql_fetch("select count(*) as cnt from {$g5['character_body_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}'");
|
||||||
$body_cnt = $body_cnt['cnt'];
|
$body_cnt = $body_cnt['cnt'];
|
||||||
|
|
@ -20,13 +21,15 @@ if($body_cnt > 0) {
|
||||||
if ($i == 0 && $write['wr_2'] != '') {
|
if ($i == 0 && $write['wr_2'] != '') {
|
||||||
?>
|
?>
|
||||||
<li class="swiper-slide">
|
<li class="swiper-slide">
|
||||||
<a href="#"; onclick="fn_viewer_chBody('', '<?=$write['wr_2']?>', this); return false;" class="theme-box"><img src="<?=$write['wr_2']?>" alt="" /></a>
|
<a href="#" ; onclick="fn_viewer_chBody('', '<?= $write['wr_2'] ?>', this); return false;"
|
||||||
|
class="theme-box"><img src="<?= $write['wr_2'] ?>" alt="" /></a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="swiper-slide">
|
<li class="swiper-slide">
|
||||||
<a href="#"; onclick="fn_viewer_chBody('<?=$bd['bd_id']?>', '<?=$bd['bd_url']?>', this); return false;" class="theme-box"><img src="<?=$bd['bd_url']?>" alt="" /></a>
|
<a href="#" ; onclick="fn_viewer_chBody('<?= $bd['bd_id'] ?>', '<?= $bd['bd_url'] ?>', this); return false;"
|
||||||
|
class="theme-box"><img src="<?= $bd['bd_url'] ?>" alt="" /></a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
@ -145,4 +148,4 @@ if($body_cnt > 0) {
|
||||||
<div id="control_body_box"></div>
|
<div id="control_body_box"></div>
|
||||||
|
|
||||||
<hr class='line' />
|
<hr class='line' />
|
||||||
<?php } ?>
|
<?php }
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
$comment_action_url = https_url(G5_BBS_DIR) . "/write_comment_update.php";
|
$comment_action_url = https_url(G5_BBS_DIR) . "/write_comment_update.php";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -27,13 +28,15 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
$cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결
|
$cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="c_<?php echo $comment_id ?>" <?php if ($cmt_depth) { ?>class="is-reply" style="border-left-width:<?php echo $cmt_depth ?>px;"<?php } ?>>
|
<article id="c_<?php echo $comment_id ?>" <?php if ($cmt_depth) { ?>class="is-reply"
|
||||||
|
style="border-left-width:<?php echo $cmt_depth ?>px;" <?php } ?>>
|
||||||
<header style="z-index:<?php echo $cmt_sv; ?>">
|
<header style="z-index:<?php echo $cmt_sv; ?>">
|
||||||
<?php echo $list[$i]['name'] ?>
|
<?php echo $list[$i]['name'] ?>
|
||||||
<?php if ($is_ip_view) { ?>
|
<?php if ($is_ip_view) { ?>
|
||||||
<span class="bo_vc_hdinfo"><?php echo $list[$i]['ip']; ?></span>
|
<span class="bo_vc_hdinfo"><?php echo $list[$i]['ip']; ?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<span class="bo_vc_hdinfo"><time datetime="<?php echo date('Y-m-d\TH:i:s+09:00', strtotime($list[$i]['datetime'])) ?>"><?php echo date('m/d H:i', strtotime($list[$i]['datetime'])) ?></time></span>
|
<span class="bo_vc_hdinfo"><time
|
||||||
|
datetime="<?php echo date('Y-m-d\TH:i:s+09:00', strtotime($list[$i]['datetime'])) ?>"><?php echo date('m/d H:i', strtotime($list[$i]['datetime'])) ?></time></span>
|
||||||
<?php
|
<?php
|
||||||
include(G5_SNS_PATH . '/view_comment_list.sns.skin.php');
|
include(G5_SNS_PATH . '/view_comment_list.sns.skin.php');
|
||||||
?>
|
?>
|
||||||
|
|
@ -41,15 +44,18 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
|
|
||||||
<!-- 댓글 출력 -->
|
<!-- 댓글 출력 -->
|
||||||
<p>
|
<p>
|
||||||
<?php if (strstr($list[$i]['wr_option'], "secret")) { ?><img src="<?php echo $board_skin_url; ?>/img/icon_secret.gif" alt="비밀글"><?php } ?>
|
<?php if (strstr($list[$i]['wr_option'], "secret")) { ?><img
|
||||||
|
src="<?php echo $board_skin_url; ?>/img/icon_secret.gif" alt="비밀글"><?php } ?>
|
||||||
<?php echo $comment ?>
|
<?php echo $comment ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<span id="edit_<?php echo $comment_id ?>"></span><!-- 수정 -->
|
<span id="edit_<?php echo $comment_id ?>"></span><!-- 수정 -->
|
||||||
<span id="reply_<?php echo $comment_id ?>"></span><!-- 답변 -->
|
<span id="reply_<?php echo $comment_id ?>"></span><!-- 답변 -->
|
||||||
|
|
||||||
<input type="hidden" value="<?php echo strstr($list[$i]['wr_option'],"secret") ?>" id="secret_comment_<?php echo $comment_id ?>">
|
<input type="hidden" value="<?php echo strstr($list[$i]['wr_option'], "secret") ?>"
|
||||||
<textarea id="save_comment_<?php echo $comment_id ?>" style="display:none"><?php echo get_text($list[$i]['content1'], 0) ?></textarea>
|
id="secret_comment_<?php echo $comment_id ?>">
|
||||||
|
<textarea id="save_comment_<?php echo $comment_id ?>"
|
||||||
|
style="display:none"><?php echo get_text($list[$i]['content1'], 0) ?></textarea>
|
||||||
|
|
||||||
<?php if ($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) {
|
<?php if ($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) {
|
||||||
$query_string = clean_query_string($_SERVER['QUERY_STRING']);
|
$query_string = clean_query_string($_SERVER['QUERY_STRING']);
|
||||||
|
|
@ -67,15 +73,24 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
?>
|
?>
|
||||||
<footer>
|
<footer>
|
||||||
<ul class="bo_vc_act">
|
<ul class="bo_vc_act">
|
||||||
<?php if ($list[$i]['is_reply']) { ?><li><a href="<?php echo $c_reply_href; ?>" onclick="comment_box('<?php echo $comment_id ?>', 'c'); return false;" class="ui-btn small point">답변</a></li><?php } ?>
|
<?php if ($list[$i]['is_reply']) { ?>
|
||||||
<?php if ($list[$i]['is_edit']) { ?><li><a href="<?php echo $c_edit_href; ?>" onclick="comment_box('<?php echo $comment_id ?>', 'cu'); return false;" class="ui-btn small etc">수정</a></li><?php } ?>
|
<li><a href="<?php echo $c_reply_href; ?>"
|
||||||
<?php if ($list[$i]['is_del']) { ?><li><a href="<?php echo $list[$i]['del_link']; ?>" onclick="return comment_delete();" class="ui-btn small">삭제</a></li><?php } ?>
|
onclick="comment_box('<?php echo $comment_id ?>', 'c'); return false;" class="ui-btn small point">답변</a>
|
||||||
|
</li><?php } ?>
|
||||||
|
<?php if ($list[$i]['is_edit']) { ?>
|
||||||
|
<li><a href="<?php echo $c_edit_href; ?>"
|
||||||
|
onclick="comment_box('<?php echo $comment_id ?>', 'cu'); return false;" class="ui-btn small etc">수정</a></li>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if ($list[$i]['is_del']) { ?>
|
||||||
|
<li><a href="<?php echo $list[$i]['del_link']; ?>" onclick="return comment_delete();"
|
||||||
|
class="ui-btn small">삭제</a></li><?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</article>
|
</article>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($i == 0) { //댓글이 없다면 ?><p id="bo_vc_empty">등록된 댓글이 없습니다.</p><?php } ?>
|
<?php if ($i == 0) { //댓글이 없다면 ?>
|
||||||
|
<p id="bo_vc_empty">등록된 댓글이 없습니다.</p><?php } ?>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<!-- } 댓글 끝 -->
|
<!-- } 댓글 끝 -->
|
||||||
|
|
@ -86,7 +101,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
?>
|
?>
|
||||||
<!-- 댓글 쓰기 시작 { -->
|
<!-- 댓글 쓰기 시작 { -->
|
||||||
<aside id="bo_vc_w" class="theme-box">
|
<aside id="bo_vc_w" class="theme-box">
|
||||||
<form name="fviewcomment" action="<?php echo $comment_action_url; ?>" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
<form name="fviewcomment" action="<?php echo $comment_action_url; ?>" onsubmit="return fviewcomment_submit(this);"
|
||||||
|
method="post" autocomplete="off">
|
||||||
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
||||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||||
|
|
@ -108,11 +124,13 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
<?php if ($is_guest) { ?>
|
<?php if ($is_guest) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only"> 필수</strong></label></th>
|
<th scope="row"><label for="wr_name">이름<strong class="sound_only"> 필수</strong></label></th>
|
||||||
<td><input type="text" name="wr_name" value="<?php echo get_cookie("ck_sns_name"); ?>" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
<td><input type="text" name="wr_name" value="<?php echo get_cookie("ck_sns_name"); ?>" id="wr_name" required
|
||||||
|
class="frm_input required" size="5" maxLength="20"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only"> 필수</strong></label></th>
|
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only"> 필수</strong></label></th>
|
||||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10"
|
||||||
|
maxLength="20"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -129,10 +147,11 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">내용</th>
|
<th scope="row">내용</th>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span
|
||||||
<textarea id="wr_content" name="wr_content" maxlength="10000" required class="required" title="내용"
|
id="char_count"></span>글자</strong><?php } ?>
|
||||||
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
<textarea id="wr_content" name="wr_content" maxlength="10000" required class="required" title="내용" <?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');" <?php } ?>><?php echo $c_wr_content; ?></textarea>
|
||||||
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
<?php if ($comment_min || $comment_max) { ?>
|
||||||
|
<script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
||||||
<script>
|
<script>
|
||||||
$(document).on("keyup change", "textarea#wr_content[maxlength]", function () {
|
$(document).on("keyup change", "textarea#wr_content[maxlength]", function () {
|
||||||
var str = $(this).val()
|
var str = $(this).val()
|
||||||
|
|
@ -160,8 +179,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||||
var save_before = '';
|
var save_before = '';
|
||||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||||
|
|
||||||
function good_and_write()
|
function good_and_write() {
|
||||||
{
|
|
||||||
var f = document.fviewcomment;
|
var f = document.fviewcomment;
|
||||||
if (fviewcomment_submit(f)) {
|
if (fviewcomment_submit(f)) {
|
||||||
f.is_good.value = 1;
|
f.is_good.value = 1;
|
||||||
|
|
@ -171,8 +189,7 @@ function good_and_write()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fviewcomment_submit(f)
|
function fviewcomment_submit(f) {
|
||||||
{
|
|
||||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||||
|
|
||||||
f.is_good.value = 0;
|
f.is_good.value = 0;
|
||||||
|
|
@ -204,49 +221,42 @@ function fviewcomment_submit(f)
|
||||||
// 양쪽 공백 없애기
|
// 양쪽 공백 없애기
|
||||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||||
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
document.getElementById('wr_content').value = document.getElementById('wr_content').value.replace(pattern, "");
|
||||||
if (char_min > 0 || char_max > 0)
|
if (char_min > 0 || char_max > 0) {
|
||||||
{
|
|
||||||
check_byte('wr_content', 'char_count');
|
check_byte('wr_content', 'char_count');
|
||||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||||
if (char_min > 0 && char_min > cnt)
|
if (char_min > 0 && char_min > cnt) {
|
||||||
{
|
|
||||||
alert("댓글은 " + char_min + "글자 이상 쓰셔야 합니다.");
|
alert("댓글은 " + char_min + "글자 이상 쓰셔야 합니다.");
|
||||||
return false;
|
return false;
|
||||||
} else if (char_max > 0 && char_max < cnt)
|
} else if (char_max > 0 && char_max < cnt) {
|
||||||
{
|
|
||||||
alert("댓글은 " + char_max + "글자 이하로 쓰셔야 합니다.");
|
alert("댓글은 " + char_max + "글자 이하로 쓰셔야 합니다.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!document.getElementById('wr_content').value)
|
else if (!document.getElementById('wr_content').value) {
|
||||||
{
|
|
||||||
alert("댓글을 입력하여 주십시오.");
|
alert("댓글을 입력하여 주십시오.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof(f.wr_name) != 'undefined')
|
if (typeof (f.wr_name) != 'undefined') {
|
||||||
{
|
|
||||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||||
if (f.wr_name.value == '')
|
if (f.wr_name.value == '') {
|
||||||
{
|
|
||||||
alert('이름이 입력되지 않았습니다.');
|
alert('이름이 입력되지 않았습니다.');
|
||||||
f.wr_name.focus();
|
f.wr_name.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof(f.wr_password) != 'undefined')
|
if (typeof (f.wr_password) != 'undefined') {
|
||||||
{
|
|
||||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||||
if (f.wr_password.value == '')
|
if (f.wr_password.value == '') {
|
||||||
{
|
|
||||||
alert('비밀번호가 입력되지 않았습니다.');
|
alert('비밀번호가 입력되지 않았습니다.');
|
||||||
f.wr_password.focus();
|
f.wr_password.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
<?php if ($is_guest)
|
||||||
|
echo chk_captcha_js(); ?>
|
||||||
|
|
||||||
set_comment_token(f);
|
set_comment_token(f);
|
||||||
|
|
||||||
|
|
@ -255,12 +265,10 @@ function fviewcomment_submit(f)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment_box(comment_id, work)
|
function comment_box(comment_id, work) {
|
||||||
{
|
|
||||||
var el_id;
|
var el_id;
|
||||||
// 댓글 아이디가 넘어오면 답변, 수정
|
// 댓글 아이디가 넘어오면 답변, 수정
|
||||||
if (comment_id)
|
if (comment_id) {
|
||||||
{
|
|
||||||
if (work == 'c')
|
if (work == 'c')
|
||||||
el_id = 'reply_' + comment_id;
|
el_id = 'reply_' + comment_id;
|
||||||
else
|
else
|
||||||
|
|
@ -269,10 +277,8 @@ function comment_box(comment_id, work)
|
||||||
else
|
else
|
||||||
el_id = 'bo_vc_w';
|
el_id = 'bo_vc_w';
|
||||||
|
|
||||||
if (save_before != el_id)
|
if (save_before != el_id) {
|
||||||
{
|
if (save_before) {
|
||||||
if (save_before)
|
|
||||||
{
|
|
||||||
document.getElementById(save_before).style.display = 'none';
|
document.getElementById(save_before).style.display = 'none';
|
||||||
document.getElementById(save_before).innerHTML = '';
|
document.getElementById(save_before).innerHTML = '';
|
||||||
}
|
}
|
||||||
|
|
@ -280,8 +286,7 @@ function comment_box(comment_id, work)
|
||||||
document.getElementById(el_id).style.display = '';
|
document.getElementById(el_id).style.display = '';
|
||||||
document.getElementById(el_id).innerHTML = save_html;
|
document.getElementById(el_id).innerHTML = save_html;
|
||||||
// 댓글 수정
|
// 댓글 수정
|
||||||
if (work == 'cu')
|
if (work == 'cu') {
|
||||||
{
|
|
||||||
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
document.getElementById('wr_content').value = document.getElementById('save_comment_' + comment_id).value;
|
||||||
if (typeof char_count != 'undefined')
|
if (typeof char_count != 'undefined')
|
||||||
check_byte('wr_content', 'char_count');
|
check_byte('wr_content', 'char_count');
|
||||||
|
|
@ -301,8 +306,7 @@ function comment_box(comment_id, work)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment_delete()
|
function comment_delete() {
|
||||||
{
|
|
||||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
if ($w == '') {
|
if ($w == '') {
|
||||||
$write['wr_4'] = '외관';
|
$write['wr_4'] = '외관';
|
||||||
|
|
@ -12,7 +13,8 @@ if($w == '') {
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">캐릭터 이름</th>
|
<th scope="row">캐릭터 이름</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="wr_subject" value="<?php echo $subject ?>" required class="frm_input required" size="50" maxlength="255">
|
<input type="text" name="wr_subject" value="<?php echo $subject ?>" required class="frm_input required" size="50"
|
||||||
|
maxlength="255">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -48,7 +50,8 @@ if($w == '') {
|
||||||
<tr>
|
<tr>
|
||||||
<td>업로드</td>
|
<td>업로드</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="wr_1_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input">
|
<input type="file" name="wr_1_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능"
|
||||||
|
class="frm_file frm_input">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -62,7 +65,8 @@ if($w == '') {
|
||||||
<tr>
|
<tr>
|
||||||
<td>업로드</td>
|
<td>업로드</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="wr_2_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input">
|
<input type="file" name="wr_2_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능"
|
||||||
|
class="frm_file frm_input">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
@ -77,7 +81,8 @@ if($w == '') {
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">기본정보</th>
|
<th scope="row">기본정보</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="wr_content" placeholder="나이, 성별 등" value="<?php echo $write['wr_content'] ?>" class="frm_input" size="50" maxlength="255">
|
<input type="text" name="wr_content" placeholder="나이, 성별 등" value="<?php echo $write['wr_content'] ?>"
|
||||||
|
class="frm_input" size="50" maxlength="255">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
include_once(G5_PLUGIN_PATH . '/jquery-ui/datepicker.php'); // 달력
|
include_once(G5_PLUGIN_PATH . '/jquery-ui/datepicker.php'); // 달력
|
||||||
|
|
||||||
// 게시물 목록을 불러온다.
|
// 게시물 목록을 불러온다.
|
||||||
|
|
@ -17,7 +18,8 @@ for($i=0; $row = sql_fetch_array($character_list); $i++) {
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">시작일자</th>
|
<th scope="row">시작일자</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="wr_subject" value="<?php echo $subject ?>" required class="frm_input required datepicker" size="12" maxlength="255">
|
<input type="text" name="wr_subject" value="<?php echo $subject ?>" required class="frm_input required datepicker"
|
||||||
|
size="12" maxlength="255">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -62,12 +64,15 @@ $(function(){
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; $i < count($character_ids); $i++) {
|
for ($i = 0; $i < count($character_ids); $i++) {
|
||||||
echo "<option value='{$character_ids[$i]['wr_id']}' ";
|
echo "<option value='{$character_ids[$i]['wr_id']}' ";
|
||||||
if($write['wr_2'] == $character_ids[$i]['wr_id']) echo "selected";
|
if ($write['wr_2'] == $character_ids[$i]['wr_id'])
|
||||||
|
echo "selected";
|
||||||
echo ">{$character_ids[$i]['wr_subject']}</option>";
|
echo ">{$character_ids[$i]['wr_subject']}</option>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>관계명</td>
|
<td>관계명</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="wr_4" value="<?php echo $write['wr_4'] ?>" class="frm_input" size="30" maxlength="255">
|
<input type="text" name="wr_4" value="<?php echo $write['wr_4'] ?>" class="frm_input" size="30" maxlength="255">
|
||||||
|
|
@ -86,12 +91,15 @@ $(function(){
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; $i < count($character_ids); $i++) {
|
for ($i = 0; $i < count($character_ids); $i++) {
|
||||||
echo "<option value='{$character_ids[$i]['wr_id']}' ";
|
echo "<option value='{$character_ids[$i]['wr_id']}' ";
|
||||||
if($write['wr_3'] == $character_ids[$i]['wr_id']) echo "selected";
|
if ($write['wr_3'] == $character_ids[$i]['wr_id'])
|
||||||
|
echo "selected";
|
||||||
echo ">{$character_ids[$i]['wr_subject']}</option>";
|
echo ">{$character_ids[$i]['wr_subject']}</option>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>관계명</td>
|
<td>관계명</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="wr_5" value="<?php echo $write['wr_5'] ?>" class="frm_input" size="30" maxlength="255">
|
<input type="text" name="wr_5" value="<?php echo $write['wr_5'] ?>" class="frm_input" size="30" maxlength="255">
|
||||||
|
|
@ -118,7 +126,8 @@ $(function(){
|
||||||
<tr>
|
<tr>
|
||||||
<td>업로드</td>
|
<td>업로드</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="wr_1_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input">
|
<input type="file" name="wr_1_file" title="파일첨부 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능"
|
||||||
|
class="frm_file frm_input">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
include_once($board_skin_path . '/_setting.php');
|
include_once($board_skin_path . '/_setting.php');
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -41,7 +42,8 @@ if($w==''){
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<!-- 게시물 작성/수정 시작 { -->
|
<!-- 게시물 작성/수정 시작 { -->
|
||||||
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
|
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);"
|
||||||
|
method="post" enctype="multipart/form-data" autocomplete="off">
|
||||||
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
|
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
|
||||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||||
|
|
@ -93,28 +95,32 @@ if($w==''){
|
||||||
<?php if ($is_name) { ?>
|
<?php if ($is_name) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||||
<td><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>
|
<td><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required
|
||||||
|
class="frm_input required" size="10" maxlength="20"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if ($is_password) { ?>
|
<?php if ($is_password) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
|
||||||
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
|
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?>
|
||||||
|
class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if ($is_email) { ?>
|
<?php if ($is_email) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_email">이메일</label></th>
|
<th scope="row"><label for="wr_email">이메일</label></th>
|
||||||
<td><input type="text" name="wr_email" value="<?php echo $email ?>" id="wr_email" class="frm_input email" size="50" maxlength="100"></td>
|
<td><input type="text" name="wr_email" value="<?php echo $email ?>" id="wr_email" class="frm_input email"
|
||||||
|
size="50" maxlength="100"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if ($is_homepage) { ?>
|
<?php if ($is_homepage) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="wr_homepage">홈페이지</label></th>
|
<th scope="row"><label for="wr_homepage">홈페이지</label></th>
|
||||||
<td><input type="text" name="wr_homepage" value="<?php echo $homepage ?>" id="wr_homepage" class="frm_input" size="50"></td>
|
<td><input type="text" name="wr_homepage" value="<?php echo $homepage ?>" id="wr_homepage" class="frm_input"
|
||||||
|
size="50"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
@ -156,9 +162,12 @@ if($w==''){
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="btn_confirm">
|
<div class="btn_confirm">
|
||||||
<button type="submit" id="btn_submit" accesskey="s" class="ui-btn point"><i class="material-icons">edit</i> 작성</button>
|
<button type="submit" id="btn_submit" accesskey="s" class="ui-btn point"><i class="material-icons">edit</i>
|
||||||
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn etc" onclick="del(this.href); return false;"><i class="material-icons">delete</i> 삭제</a><?php } ?>
|
작성</button>
|
||||||
<a href="./board.php?bo_table=<?php echo $bo_table ?>&sst=<?=$sst?>" class="ui-btn"><i class="material-icons">list</i> 목록</a>
|
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn etc"
|
||||||
|
onclick="del(this.href); return false;"><i class="material-icons">delete</i> 삭제</a><?php } ?>
|
||||||
|
<a href="./board.php?bo_table=<?php echo $bo_table ?>&sst=<?= $sst ?>" class="ui-btn"><i
|
||||||
|
class="material-icons">list</i> 목록</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
include_once($board_skin_path.'/_setting.php');
|
exit; // 개별 페이지 접근 불가
|
||||||
|
include_once $board_skin_path . "/_setting.php";
|
||||||
// 두상 및 전신 저장 처리
|
// 두상 및 전신 저장 처리
|
||||||
|
|
||||||
$sql_article = " wr_ing = '{$wr_ing}',
|
$sql_article = " wr_ing = '{$wr_ing}',
|
||||||
|
|
@ -77,5 +78,3 @@ $sql = " update {$write_table}
|
||||||
set {$sql_article}
|
set {$sql_article}
|
||||||
where wr_id = '{$wr_id}' ";
|
where wr_id = '{$wr_id}' ";
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
/*
|
/*
|
||||||
LOG HashGuide
|
LOG HashGuide
|
||||||
|
|
@ -26,5 +27,3 @@ if($item_log[0]) {
|
||||||
/** 아이템 사용시 **/
|
/** 아이템 사용시 **/
|
||||||
include($board_skin_path . "/action/log.item.skin.php");
|
include($board_skin_path . "/action/log.item.skin.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
goto_url('./board.php?bo_table=' . $bo_table . '&' . $qstr . '&#log_' . $write['wr_parent']);
|
goto_url('./board.php?bo_table=' . $bo_table . '&' . $qstr . '&#log_' . $write['wr_parent']);
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$update_href = $delete_href = '';
|
$update_href = $delete_href = '';
|
||||||
|
|
||||||
|
|
@ -11,8 +12,7 @@ if (($member['mb_id'] && ($member['mb_id'] == $list_item['mb_id'])) || $is_admin
|
||||||
set_session('ss_delete_token', $token = uniqid(time()));
|
set_session('ss_delete_token', $token = uniqid(time()));
|
||||||
$delete_href = './delete.php?bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&token=' . $token . '&page=' . $page . urldecode($qstr);
|
$delete_href = './delete.php?bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&token=' . $token . '&page=' . $page . urldecode($qstr);
|
||||||
}
|
}
|
||||||
}
|
} else if (!$list_item['mb_id']) { // 회원이 쓴 글이 아니라면
|
||||||
else if (!$list_item['mb_id']) { // 회원이 쓴 글이 아니라면
|
|
||||||
$update_href = './password.php?w=u&bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&page=' . $page . $qstr;
|
$update_href = './password.php?w=u&bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&page=' . $page . $qstr;
|
||||||
$delete_href = './password.php?w=d&bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&page=' . $page . $qstr;
|
$delete_href = './password.php?w=d&bo_table=' . $bo_table . '&wr_id=' . $list_item['wr_id'] . '&page=' . $page . $qstr;
|
||||||
}
|
}
|
||||||
|
|
@ -121,8 +121,10 @@ sql_query("update {$g5['call_table']} set bc_check = 1 where re_mb_id = '{$membe
|
||||||
<?php if ($is_viewer) {
|
<?php if ($is_viewer) {
|
||||||
// 보기 권한이 존재 할 경우 (멤버의 경우)
|
// 보기 권한이 존재 할 경우 (멤버의 경우)
|
||||||
// -- 버튼 영역 출력
|
// -- 버튼 영역 출력
|
||||||
if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="del" onclick="del(this.href); return false;">삭제</a><?php } ?>
|
if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="del"
|
||||||
<a href="?bo_table=<?=$bo_table?>&log=<?=$list_item['wr_num'] * -1?>&single=Y" target="_blank" class="new">로그링크</a>
|
onclick="del(this.href); return false;">삭제</a><?php } ?>
|
||||||
|
<a href="?bo_table=<?= $bo_table ?>&log=<?= $list_item['wr_num'] * -1 ?>&single=Y" target="_blank"
|
||||||
|
class="new">로그링크</a>
|
||||||
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="mod">수정</a><?php } ?>
|
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="mod">수정</a><?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
||||||
include_once($board_skin_path . '/emoticon/_setting.emoticon.php');
|
include_once($board_skin_path . '/emoticon/_setting.emoticon.php');
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -28,7 +29,8 @@ $owner_behind = $owner_behind['cs_etc_4'];
|
||||||
<?php if ($is_category) { ?>
|
<?php if ($is_category) { ?>
|
||||||
<nav class="board-category">
|
<nav class="board-category">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./board.php?bo_table=<?=$bo_table?>" class="ui-btn <?=!$sca || $sca == ''? 'point' : 'etc'?>">ALL</a></li>
|
<li><a href="./board.php?bo_table=<?= $bo_table ?>" class="ui-btn <?= !$sca || $sca == '' ? 'point' : 'etc' ?>">ALL</a>
|
||||||
|
</li>
|
||||||
<?php echo $category_list ?>
|
<?php echo $category_list ?>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -53,7 +55,9 @@ $owner_behind = $owner_behind['cs_etc_4'];
|
||||||
$list_item = $list[$i];
|
$list_item = $list[$i];
|
||||||
include($board_skin_path . "/list.log.skin.php");
|
include($board_skin_path . "/list.log.skin.php");
|
||||||
}
|
}
|
||||||
if (count($list) == 0) { echo "<div class=\"empty_list\">등록된 로그가 없습니다.</div>"; }
|
if (count($list) == 0) {
|
||||||
|
echo "<div class=\"empty_list\">등록된 로그가 없습니다.</div>";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -80,7 +84,8 @@ $owner_behind = $owner_behind['cs_etc_4'];
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="sch_text">
|
<fieldset class="sch_text">
|
||||||
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" id="stx" class="frm_input" maxlength="20">
|
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" id="stx" class="frm_input"
|
||||||
|
maxlength="20">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="sch_button">
|
<fieldset class="sch_button">
|
||||||
<button type="submit" class="ui-btn point">검색</button>
|
<button type="submit" class="ui-btn point">검색</button>
|
||||||
|
|
@ -100,8 +105,7 @@ var avo_board_skin_url = "<?=$board_skin_url?>";
|
||||||
var save_before = '';
|
var save_before = '';
|
||||||
var save_html = '';
|
var save_html = '';
|
||||||
|
|
||||||
function fviewcomment_submit(f)
|
function fviewcomment_submit(f) {
|
||||||
{
|
|
||||||
set_comment_token(f);
|
set_comment_token(f);
|
||||||
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
|
||||||
|
|
||||||
|
|
@ -131,22 +135,18 @@ function fviewcomment_submit(f)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof(f.wr_name) != 'undefined')
|
if (typeof (f.wr_name) != 'undefined') {
|
||||||
{
|
|
||||||
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
f.wr_name.value = f.wr_name.value.replace(pattern, "");
|
||||||
if (f.wr_name.value == '')
|
if (f.wr_name.value == '') {
|
||||||
{
|
|
||||||
alert('이름이 입력되지 않았습니다.');
|
alert('이름이 입력되지 않았습니다.');
|
||||||
f.wr_name.focus();
|
f.wr_name.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof(f.wr_password) != 'undefined')
|
if (typeof (f.wr_password) != 'undefined') {
|
||||||
{
|
|
||||||
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
f.wr_password.value = f.wr_password.value.replace(pattern, "");
|
||||||
if (f.wr_password.value == '')
|
if (f.wr_password.value == '') {
|
||||||
{
|
|
||||||
alert('비밀번호가 입력되지 않았습니다.');
|
alert('비밀번호가 입력되지 않았습니다.');
|
||||||
f.wr_password.focus();
|
f.wr_password.focus();
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -156,8 +156,7 @@ function fviewcomment_submit(f)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment_delete()
|
function comment_delete() {
|
||||||
{
|
|
||||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -192,7 +191,8 @@ function modify_commnet(co_id) {
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form name="modify_comment" id="frm_modify_comment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
<form name="modify_comment" id="frm_modify_comment" action="./write_comment_update.php"
|
||||||
|
onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
||||||
<input type="hidden" name="w" value="cu">
|
<input type="hidden" name="w" value="cu">
|
||||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||||
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
<input type="hidden" name="sca" value="<?php echo $sca ?>">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
?>
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
|
|
||||||
$comment = [];
|
$comment = [];
|
||||||
|
|
@ -12,8 +13,7 @@ if ($member['mb_level'] >= $board['bo_comment_level'] && $is_member)
|
||||||
//$sql = " select * from {$write_table} where wr_parent = '{$wr_id}' and wr_is_comment = 1 order by wr_comment desc, wr_comment_reply ";
|
//$sql = " select * from {$write_table} where wr_parent = '{$wr_id}' and wr_is_comment = 1 order by wr_comment desc, wr_comment_reply ";
|
||||||
$sql = " select * from $write_table where wr_parent = '{$list_item['wr_id']}' and wr_content != '' order by wr_datetime asc ";
|
$sql = " select * from $write_table where wr_parent = '{$list_item['wr_id']}' and wr_content != '' order by wr_datetime asc ";
|
||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
for ($c_i=0; $c_row=sql_fetch_array($result); $c_i++)
|
for ($c_i = 0; $c_row = sql_fetch_array($result); $c_i++) {
|
||||||
{
|
|
||||||
$comment[$c_i] = $c_row;
|
$comment[$c_i] = $c_row;
|
||||||
|
|
||||||
//$comment[$c_i]['name'] = get_sideview($c_row['mb_id'], cut_str($c_row['wr_name'], 20, ''), $c_row['wr_email'], $c_row['wr_homepage']);
|
//$comment[$c_i]['name'] = get_sideview($c_row['mb_id'], cut_str($c_row['wr_name'], 20, ''), $c_row['wr_email'], $c_row['wr_homepage']);
|
||||||
|
|
@ -30,10 +30,12 @@ for ($c_i=0; $c_row=sql_fetch_array($result); $c_i++)
|
||||||
//$comment[$c_i]['content'] = eregi_replace("[^ \n<>]{130}", "\\0\n", $c_row['wr_content']);
|
//$comment[$c_i]['content'] = eregi_replace("[^ \n<>]{130}", "\\0\n", $c_row['wr_content']);
|
||||||
|
|
||||||
$comment[$c_i]['content'] = $comment[$c_i]['content1'] = '비밀글 입니다.';
|
$comment[$c_i]['content'] = $comment[$c_i]['content1'] = '비밀글 입니다.';
|
||||||
if (!strstr($c_row['wr_option'], 'secret') ||
|
if (
|
||||||
|
!strstr($c_row['wr_option'], 'secret') ||
|
||||||
$is_admin ||
|
$is_admin ||
|
||||||
($write['mb_id'] == $member['mb_id'] && $member['mb_id']) ||
|
($write['mb_id'] == $member['mb_id'] && $member['mb_id']) ||
|
||||||
($c_row['mb_id']==$member['mb_id'] && $member['mb_id'])) {
|
($c_row['mb_id'] == $member['mb_id'] && $member['mb_id'])
|
||||||
|
) {
|
||||||
$comment[$c_i]['content1'] = $c_row['wr_content'];
|
$comment[$c_i]['content1'] = $c_row['wr_content'];
|
||||||
$comment[$c_i]['content'] = conv_content($c_row['wr_content'], 0, 'wr_content');
|
$comment[$c_i]['content'] = conv_content($c_row['wr_content'], 0, 'wr_content');
|
||||||
$comment[$c_i]['content'] = search_font($stx, $comment[$c_i]['content']);
|
$comment[$c_i]['content'] = search_font($stx, $comment[$c_i]['content']);
|
||||||
|
|
@ -58,22 +60,17 @@ for ($c_i=0; $c_row=sql_fetch_array($result); $c_i++)
|
||||||
$comment[$c_i]['is_reply'] = false;
|
$comment[$c_i]['is_reply'] = false;
|
||||||
$comment[$c_i]['is_edit'] = false;
|
$comment[$c_i]['is_edit'] = false;
|
||||||
$comment[$c_i]['is_del'] = false;
|
$comment[$c_i]['is_del'] = false;
|
||||||
if ($is_comment_write || $is_admin)
|
if ($is_comment_write || $is_admin) {
|
||||||
{
|
|
||||||
$token = '';
|
$token = '';
|
||||||
|
|
||||||
if ($member['mb_id'])
|
if ($member['mb_id']) {
|
||||||
{
|
if ($c_row['mb_id'] == $member['mb_id'] || $is_admin) {
|
||||||
if ($c_row['mb_id'] == $member['mb_id'] || $is_admin)
|
|
||||||
{
|
|
||||||
set_session('ss_delete_comment_' . $c_row['wr_id'] . '_token', $token = uniqid(time()));
|
set_session('ss_delete_comment_' . $c_row['wr_id'] . '_token', $token = uniqid(time()));
|
||||||
$comment[$c_i]['del_link'] = './delete_comment.php?bo_table=' . $bo_table . '&comment_id=' . $c_row['wr_id'] . '&token=' . $token . '&page=' . $page . $qstr;
|
$comment[$c_i]['del_link'] = './delete_comment.php?bo_table=' . $bo_table . '&comment_id=' . $c_row['wr_id'] . '&token=' . $token . '&page=' . $page . $qstr;
|
||||||
$comment[$c_i]['is_edit'] = true;
|
$comment[$c_i]['is_edit'] = true;
|
||||||
$comment[$c_i]['is_del'] = true;
|
$comment[$c_i]['is_del'] = true;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
if (!$c_row['mb_id']) {
|
if (!$c_row['mb_id']) {
|
||||||
$comment[$c_i]['del_link'] = './password.php?w=x&bo_table=' . $bo_table . '&comment_id=' . $c_row['wr_id'] . '&page=' . $page . $qstr;
|
$comment[$c_i]['del_link'] = './password.php?w=x&bo_table=' . $bo_table . '&comment_id=' . $c_row['wr_id'] . '&page=' . $page . $qstr;
|
||||||
$comment[$c_i]['is_del'] = true;
|
$comment[$c_i]['is_del'] = true;
|
||||||
|
|
@ -86,13 +83,10 @@ for ($c_i=0; $c_row=sql_fetch_array($result); $c_i++)
|
||||||
|
|
||||||
// 05.05.22
|
// 05.05.22
|
||||||
// 답변있는 코멘트는 수정, 삭제 불가
|
// 답변있는 코멘트는 수정, 삭제 불가
|
||||||
if ($i > 0 && !$is_admin)
|
if ($i > 0 && !$is_admin) {
|
||||||
{
|
if ($c_row['wr_comment_reply']) {
|
||||||
if ($c_row['wr_comment_reply'])
|
|
||||||
{
|
|
||||||
$tmp_comment_reply = substr($c_row['wr_comment_reply'], 0, strlen($c_row['wr_comment_reply']) - 1);
|
$tmp_comment_reply = substr($c_row['wr_comment_reply'], 0, strlen($c_row['wr_comment_reply']) - 1);
|
||||||
if ($tmp_comment_reply == $comment[$c_i-1]['wr_comment_reply'])
|
if ($tmp_comment_reply == $comment[$c_i - 1]['wr_comment_reply']) {
|
||||||
{
|
|
||||||
$comment[$c_i - 1]['is_edit'] = false;
|
$comment[$c_i - 1]['is_edit'] = false;
|
||||||
$comment[$c_i - 1]['is_del'] = false;
|
$comment[$c_i - 1]['is_del'] = false;
|
||||||
}
|
}
|
||||||
|
|
@ -101,12 +95,9 @@ for ($c_i=0; $c_row=sql_fetch_array($result); $c_i++)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 코멘트수 제한 설정값
|
// 코멘트수 제한 설정값
|
||||||
if ($is_admin)
|
if ($is_admin) {
|
||||||
{
|
|
||||||
$comment_min = $comment_max = 0;
|
$comment_min = $comment_max = 0;
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
$comment_min = (int) $board['bo_comment_min'];
|
$comment_min = (int) $board['bo_comment_min'];
|
||||||
$comment_max = (int) $board['bo_comment_max'];
|
$comment_max = (int) $board['bo_comment_max'];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
for ($index = 0; $index < count($comment); $index++) {
|
for ($index = 0; $index < count($comment); $index++) {
|
||||||
|
|
||||||
|
|
@ -82,8 +83,10 @@ for ($index=0; $index<count($comment); $index++) {
|
||||||
</div>
|
</div>
|
||||||
<?php if ($log_comment['is_edit']) { ?>
|
<?php if ($log_comment['is_edit']) { ?>
|
||||||
<div class="modify_area" id="save_comment_<?php echo $comment_id ?>">
|
<div class="modify_area" id="save_comment_<?php echo $comment_id ?>">
|
||||||
<textarea id="save_co_comment_<?php echo $comment_id ?>"><?php echo get_text($log_comment['content1'], 0) ?></textarea>
|
<textarea
|
||||||
<button type="button" class="mod_comment ui-btn" onclick="modify_commnet('<?php echo $comment_id ?>'); return false;">수정</button>
|
id="save_co_comment_<?php echo $comment_id ?>"><?php echo get_text($log_comment['content1'], 0) ?></textarea>
|
||||||
|
<button type="button" class="mod_comment ui-btn"
|
||||||
|
onclick="modify_commnet('<?php echo $comment_id ?>'); return false;">수정</button>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -92,10 +95,11 @@ for ($index=0; $index<count($comment); $index++) {
|
||||||
<span class="date">
|
<span class="date">
|
||||||
<?= date('Y-m-d H:i:s', strtotime($log_comment['wr_datetime'])) ?>
|
<?= date('Y-m-d H:i:s', strtotime($log_comment['wr_datetime'])) ?>
|
||||||
</span>
|
</span>
|
||||||
<?php if ($log_comment['is_del']) { ?><a href="<?php echo $log_comment['del_link']; ?>" onclick="return comment_delete();" class="del">삭제</a><?php } ?>
|
<?php if ($log_comment['is_del']) { ?><a href="<?php echo $log_comment['del_link']; ?>"
|
||||||
<?php if ($log_comment['is_edit']) { ?><a href="<?php echo $c_edit_href; ?>" onclick="comment_box('<?php echo $comment_id ?>', '<?=$list_item['wr_id']?>'); return false;" class="mod">수정</a><?php } ?>
|
onclick="return comment_delete();" class="del">삭제</a><?php } ?>
|
||||||
|
<?php if ($log_comment['is_edit']) { ?><a href="<?php echo $c_edit_href; ?>"
|
||||||
|
onclick="comment_box('<?php echo $comment_id ?>', '<?= $list_item['wr_id'] ?>'); return false;"
|
||||||
|
class="mod">수정</a><?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||||
|
|
||||||
$is_error = false;
|
$is_error = false;
|
||||||
|
|
@ -44,7 +45,8 @@ if(!$is_error) {
|
||||||
$checked = '';
|
$checked = '';
|
||||||
$class = '';
|
$class = '';
|
||||||
$category = trim($categories[$i]);
|
$category = trim($categories[$i]);
|
||||||
if (!$category) continue;
|
if (!$category)
|
||||||
|
continue;
|
||||||
|
|
||||||
if ($i == 0 && $ca_name == '') {
|
if ($i == 0 && $ca_name == '') {
|
||||||
$ca_name = $category;
|
$ca_name = $category;
|
||||||
|
|
@ -77,18 +79,21 @@ if(!$is_error) {
|
||||||
|
|
||||||
if ($write['wr_subject'] == "--|UPLOADING|--") {
|
if ($write['wr_subject'] == "--|UPLOADING|--") {
|
||||||
$write['wr_subject'] = $member['mb_name'];
|
$write['wr_subject'] = $member['mb_name'];
|
||||||
if(!$write['wr_subject']) $write['wr_subject'] = 'GUEST';
|
if (!$write['wr_subject'])
|
||||||
|
$write['wr_subject'] = 'GUEST';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$write['wr_subject'] = $member['mb_name'];
|
$write['wr_subject'] = $member['mb_name'];
|
||||||
if(!$write['wr_subject']) $write['wr_subject'] = 'GUEST';
|
if (!$write['wr_subject'])
|
||||||
|
$write['wr_subject'] = 'GUEST';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="load_log_board">
|
<div id="load_log_board">
|
||||||
<section id="bo_w" class="mmb-board">
|
<section id="bo_w" class="mmb-board">
|
||||||
<!-- 게시물 작성/수정 시작 { -->
|
<!-- 게시물 작성/수정 시작 { -->
|
||||||
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
|
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);"
|
||||||
|
method="post" enctype="multipart/form-data" autocomplete="off">
|
||||||
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
|
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
|
||||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||||
|
|
@ -123,13 +128,17 @@ if(!$is_error) {
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div id="add_UPLOAD" <?= $write['wr_type'] == "URL" ? "style='display: none;'" : "" ?>>
|
<div id="add_UPLOAD" <?= $write['wr_type'] == "URL" ? "style='display: none;'" : "" ?>>
|
||||||
<input type="file" id="wr_file" name="bf_file[]" title="로그등록 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input view_image_area" />
|
<input type="file" id="wr_file" name="bf_file[]"
|
||||||
|
title="로그등록 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능"
|
||||||
|
class="frm_file frm_input view_image_area" />
|
||||||
<?php if ($w == 'u' && $file[0]['file']) { ?>
|
<?php if ($w == 'u' && $file[0]['file']) { ?>
|
||||||
<input type="checkbox" id="bf_file_del0" name="bf_file_del[0]" value="1"> <label for="bf_file_del0"><?php echo $file[0]['source'].'('.$file[0]['size'].')'; ?> 로그 삭제</label>
|
<input type="checkbox" id="bf_file_del0" name="bf_file_del[0]" value="1"> <label
|
||||||
|
for="bf_file_del0"><?php echo $file[0]['source'] . '(' . $file[0]['size'] . ')'; ?> 로그 삭제</label>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="add_URL" <?= $write['wr_type'] != "URL" ? "style='display: none;'" : "" ?>>
|
<div id="add_URL" <?= $write['wr_type'] != "URL" ? "style='display: none;'" : "" ?>>
|
||||||
<input type="text" name="wr_url" value="<?=$write['wr_url']?>" title="이미지 링크를 가져와 주시길 바랍니다." id="wr_url" class="frm_input view_image_area" placeholder="이미지 링크 입력"/>
|
<input type="text" name="wr_url" value="<?= $write['wr_url'] ?>" title="이미지 링크를 가져와 주시길 바랍니다." id="wr_url"
|
||||||
|
class="frm_input view_image_area" placeholder="이미지 링크 입력" />
|
||||||
</div>
|
</div>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
@ -181,7 +190,8 @@ if(!$is_error) {
|
||||||
<label for="wr_name">이름</label>
|
<label for="wr_name">이름</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20">
|
<input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required
|
||||||
|
class="frm_input required" size="10" maxlength="20">
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -192,7 +202,8 @@ if(!$is_error) {
|
||||||
<label for="wr_password">비밀번호</label>
|
<label for="wr_password">비밀번호</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="password" name="wr_password" id="wr_password" value="<?=$_COOKIE['MMB_PW']?>" class="frm_input" maxlength="20">
|
<input type="password" name="wr_password" id="wr_password" value="<?= $_COOKIE['MMB_PW'] ?>"
|
||||||
|
class="frm_input" maxlength="20">
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -203,7 +214,10 @@ if(!$is_error) {
|
||||||
<label for="wr_link<?php echo $i ?>"><i class="icon link"></i>Link #<?php echo $i ?></label>
|
<label for="wr_link<?php echo $i ?>"><i class="icon link"></i>Link #<?php echo $i ?></label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="text" name="wr_link<?php echo $i ?>" value="<?php if($w=="u"){echo$write['wr_link'.$i];} ?>" id="wr_link<?php echo $i ?>" class="frm_input" size="50">
|
<input type="text" name="wr_link<?php echo $i ?>" value="<?php if ($w == "u") {
|
||||||
|
echo $write['wr_link' . $i];
|
||||||
|
} ?>"
|
||||||
|
id="wr_link<?php echo $i ?>" class="frm_input" size="50">
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -222,7 +236,8 @@ if(!$is_error) {
|
||||||
|
|
||||||
<div class="txt-center">
|
<div class="txt-center">
|
||||||
<button type="submit" id="btn_submit" accesskey="s" class="ui-btn">COMMENT</button>
|
<button type="submit" id="btn_submit" accesskey="s" class="ui-btn">COMMENT</button>
|
||||||
<button type="button" onclick="location.href='./board.php?bo_table=<?=$bo_table?>';" class="ui-btn">LIST</button>
|
<button type="button" onclick="location.href='./board.php?bo_table=<?= $bo_table ?>';"
|
||||||
|
class="ui-btn">LIST</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -242,8 +257,7 @@ if(!$is_error) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
function html_auto_br(obj)
|
function html_auto_br(obj) {
|
||||||
{
|
|
||||||
if (obj.checked) {
|
if (obj.checked) {
|
||||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||||
if (result)
|
if (result)
|
||||||
|
|
@ -255,8 +269,7 @@ if(!$is_error) {
|
||||||
obj.value = "";
|
obj.value = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
function fwrite_submit(f)
|
function fwrite_submit(f) {
|
||||||
{
|
|
||||||
var subject = "";
|
var subject = "";
|
||||||
var content = "";
|
var content = "";
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
@ -448,20 +461,15 @@ if(!$is_error) {
|
||||||
$('#view_image > span').text("");
|
$('#view_image > span').text("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fn_log_type(type) {
|
function fn_log_type(type) {
|
||||||
$('#add_' + type).siblings().hide();
|
$('#add_' + type).siblings().hide();
|
||||||
$('#add_' + type).show();
|
$('#add_' + type).show();
|
||||||
|
|
||||||
$('#wr_url').val('');
|
$('#wr_url').val('');
|
||||||
$('#wr_file').replaceWith($('#wr_file').clone(true));
|
$('#wr_file').replaceWith($('#wr_file').clone(true));
|
||||||
|
|
||||||
reset_image('view_image');
|
reset_image('view_image');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
$('#fwrite select').change(function () {
|
$('#fwrite select').change(function () {
|
||||||
$('#fwrite select').find("option").attr('disabled', false);
|
$('#fwrite select').find("option").attr('disabled', false);
|
||||||
$('#fwrite select').each(function () {
|
$('#fwrite select').each(function () {
|
||||||
|
|
@ -470,8 +478,5 @@ $('#fwrite select').change(function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<?php }
|
||||||
<?php } ?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
if ($is_comment_write) {
|
if ($is_comment_write) {
|
||||||
if($w == '') $w = 'c';
|
if ($w == '')
|
||||||
|
$w = 'c';
|
||||||
?>
|
?>
|
||||||
<!-- 댓글 쓰기 시작 { -->
|
<!-- 댓글 쓰기 시작 { -->
|
||||||
<aside class="bo_vc_w" id="bo_vc_w_<?= $list_item['wr_id'] ?>">
|
<aside class="bo_vc_w" id="bo_vc_w_<?= $list_item['wr_id'] ?>">
|
||||||
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);"
|
||||||
|
method="post" autocomplete="off">
|
||||||
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
|
||||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||||
<input type="hidden" name="wr_id" value="<?php echo $list_item['wr_id'] ?>">
|
<input type="hidden" name="wr_id" value="<?php echo $list_item['wr_id'] ?>">
|
||||||
|
|
@ -29,5 +32,3 @@ if ($is_comment_write) {
|
||||||
</aside>
|
</aside>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$it = [];
|
$it = [];
|
||||||
$customer_sql = "";
|
$customer_sql = "";
|
||||||
$temp_wr_id = $comment_id;
|
$temp_wr_id = $comment_id;
|
||||||
$wr_num = $wr['wr_num'];
|
$wr_num = $wr['wr_num'];
|
||||||
if(!$wr_num) $wr_num = $comment['wr_num'];
|
if (!$wr_num)
|
||||||
|
$wr_num = $comment['wr_num'];
|
||||||
|
|
||||||
include_once($board_skin_path . '/write_update.inc.php');
|
include_once($board_skin_path . '/write_update.inc.php');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
if ($w != 'cu') {
|
if ($w != 'cu') {
|
||||||
|
|
||||||
$log = "";
|
$log = "";
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_"))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
$customer_sql = "";
|
$customer_sql = "";
|
||||||
$temp_wr_id = $wr_id;
|
$temp_wr_id = $wr_id;
|
||||||
if(!$wr_num) $wr_num = $write['wr_num'];
|
if (!$wr_num)
|
||||||
|
$wr_num = $write['wr_num'];
|
||||||
|
|
||||||
|
|
||||||
if ($w == 'u') {
|
if ($w == 'u') {
|
||||||
|
|
@ -20,4 +22,3 @@ if ($file_upload_msg) {
|
||||||
} else {
|
} else {
|
||||||
goto_url(G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table . $qstr . "#log_" . $wr_id);
|
goto_url(G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table . $qstr . "#log_" . $wr_id);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
// 회원수는 $row['mb_cnt'];
|
// 회원수는 $row['mb_cnt'];
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $connect_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $connect_skin_url . '/style.css">', 0);
|
||||||
?>
|
|
||||||
|
|
||||||
<?php echo $row['total_cnt'] ?>
|
echo $row['total_cnt'];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $connect_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $connect_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -27,8 +28,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$connect_skin_url.'/style.css">',
|
||||||
$location = $list[$i]['lo_location'];
|
$location = $list[$i]['lo_location'];
|
||||||
// 최고관리자에게만 허용
|
// 최고관리자에게만 허용
|
||||||
// 이 조건문은 가능한 변경하지 마십시오.
|
// 이 조건문은 가능한 변경하지 마십시오.
|
||||||
if ($list[$i]['lo_url'] && $is_admin == 'super') $display_location = "<a href=\"".$list[$i]['lo_url']."\">".$location."</a>";
|
if ($list[$i]['lo_url'] && $is_admin == 'super')
|
||||||
else $display_location = $location;
|
$display_location = "<a href=\"" . $list[$i]['lo_url'] . "\">" . $location . "</a>";
|
||||||
|
else
|
||||||
|
$display_location = $location;
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="td_num txt-center"><?php echo $list[$i]['num'] ?></td>
|
<td class="td_num txt-center"><?php echo $list[$i]['num'] ?></td>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $content_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $content_skin_url . '/style.css">', 0);
|
||||||
?>
|
|
||||||
|
|
||||||
<?php echo $str; ?>
|
echo $str;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $faq_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $faq_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -95,7 +96,8 @@ if ($timg_src)
|
||||||
<form name="faq_search_form" method="get">
|
<form name="faq_search_form" method="get">
|
||||||
<input type="hidden" name="fm_id" value="<?php echo $fm_id; ?>">
|
<input type="hidden" name="fm_id" value="<?php echo $fm_id; ?>">
|
||||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||||
<input type="text" name="stx" value="<?php echo $stx;?>" required id="stx" class="frm_input required" size="15" maxlength="15">
|
<input type="text" name="stx" value="<?php echo $stx; ?>" required id="stx" class="frm_input required" size="15"
|
||||||
|
maxlength="15">
|
||||||
<input type="submit" value="검색" class="btn_submit">
|
<input type="submit" value="검색" class="btn_submit">
|
||||||
</form>
|
</form>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
@ -114,8 +116,7 @@ $(function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function faq_open(el)
|
function faq_open(el) {
|
||||||
{
|
|
||||||
var $con = $(el).closest("li").find(".con_inner");
|
var $con = $(el).closest("li").find(".con_inner");
|
||||||
|
|
||||||
if ($con.is(":visible")) {
|
if ($con.is(":visible")) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -7,7 +8,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||||
|
|
||||||
<!-- <?php echo $bo_subject; ?> 최신글 시작 { -->
|
<!-- <?php echo $bo_subject; ?> 최신글 시작 { -->
|
||||||
<div class="lt">
|
<div class="lt">
|
||||||
<strong class="lt_title"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject; ?></a></strong>
|
<strong class="lt_title"><a
|
||||||
|
href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject; ?></a></strong>
|
||||||
<ul>
|
<ul>
|
||||||
<?php for ($i = 0; $i < count($list); $i++) { ?>
|
<?php for ($i = 0; $i < count($list); $i++) { ?>
|
||||||
<li>
|
<li>
|
||||||
|
|
@ -27,11 +29,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||||
|
|
||||||
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
|
if (isset($list[$i]['icon_new']))
|
||||||
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
echo " " . $list[$i]['icon_new'];
|
||||||
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
|
if (isset($list[$i]['icon_hot']))
|
||||||
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
echo " " . $list[$i]['icon_hot'];
|
||||||
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
if (isset($list[$i]['icon_file']))
|
||||||
|
echo " " . $list[$i]['icon_file'];
|
||||||
|
if (isset($list[$i]['icon_link']))
|
||||||
|
echo " " . $list[$i]['icon_link'];
|
||||||
|
if (isset($list[$i]['icon_secret']))
|
||||||
|
echo " " . $list[$i]['icon_secret'];
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
@ -39,6 +46,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||||
<li>게시물이 없습니다.</li>
|
<li>게시물이 없습니다.</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="lt_more"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><span class="sound_only"><?php echo $bo_subject ?></span>더보기</a></div>
|
<div class="lt_more"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><span
|
||||||
|
class="sound_only"><?php echo $bo_subject ?></span>더보기</a></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->
|
<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
||||||
|
|
@ -27,11 +28,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
||||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||||
|
|
||||||
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
|
if (isset($list[$i]['icon_new']))
|
||||||
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
echo " " . $list[$i]['icon_new'];
|
||||||
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
|
if (isset($list[$i]['icon_hot']))
|
||||||
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
echo " " . $list[$i]['icon_hot'];
|
||||||
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
if (isset($list[$i]['icon_file']))
|
||||||
|
echo " " . $list[$i]['icon_file'];
|
||||||
|
if (isset($list[$i]['icon_link']))
|
||||||
|
echo " " . $list[$i]['icon_link'];
|
||||||
|
if (isset($list[$i]['icon_secret']))
|
||||||
|
echo " " . $list[$i]['icon_secret'];
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit; // 개별 페이지 접근 불가
|
||||||
//include_once($board_skin_path."/moonday.php"); // 석봉운님의 음력날짜 함수
|
//include_once($board_skin_path."/moonday.php"); // 석봉운님의 음력날짜 함수
|
||||||
|
|
||||||
if (preg_match('/%/', $width)) {
|
if (preg_match('/%/', $width)) {
|
||||||
|
|
@ -18,35 +19,50 @@ if ($year < 1) { // 오늘의 달력 일때
|
||||||
$year = $b_year;
|
$year = $b_year;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$year) $year = date("Y");
|
if (!$year)
|
||||||
|
$year = date("Y");
|
||||||
$file_index = $board_skin_path . "/day"; ### 기념일 폴더 위치 지정
|
$file_index = $board_skin_path . "/day"; ### 기념일 폴더 위치 지정
|
||||||
|
|
||||||
### 양력 기념일 파일 지정 : 해당년도 파일이 없으면 기본파일(solar.txt)을 불러온다
|
### 양력 기념일 파일 지정 : 해당년도 파일이 없으면 기본파일(solar.txt)을 불러온다
|
||||||
//$dayfile = file($file_index."/solar.txt");
|
//$dayfile = file($file_index."/solar.txt");
|
||||||
|
|
||||||
$lastday = array(0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
|
$lastday = array(0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
|
||||||
if ($year%4 == 0) $lastday[2] = 29;
|
if ($year % 4 == 0)
|
||||||
|
$lastday[2] = 29;
|
||||||
$dayoftheweek = date("w", mktime(0, 0, 0, $month, 1, $year));
|
$dayoftheweek = date("w", mktime(0, 0, 0, $month, 1, $year));
|
||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $latest_skin_url . '/style.css">', 0);
|
||||||
if($month=="1")$month_m="January";
|
if ($month == "1")
|
||||||
if($month=="2")$month_m="February";
|
$month_m = "January";
|
||||||
if($month=="3")$month_m="March";
|
if ($month == "2")
|
||||||
if($month=="4")$month_m="April";
|
$month_m = "February";
|
||||||
if($month=="5")$month_m="May";
|
if ($month == "3")
|
||||||
if($month=="6")$month_m="June";
|
$month_m = "March";
|
||||||
if($month=="7")$month_m="July";
|
if ($month == "4")
|
||||||
if($month=="8")$month_m="August";
|
$month_m = "April";
|
||||||
if($month=="9")$month_m="September";
|
if ($month == "5")
|
||||||
if($month=="10")$month_m="October";
|
$month_m = "May";
|
||||||
if($month=="11")$month_m="November";
|
if ($month == "6")
|
||||||
if($month=="12")$month_m="December";
|
$month_m = "June";
|
||||||
|
if ($month == "7")
|
||||||
|
$month_m = "July";
|
||||||
|
if ($month == "8")
|
||||||
|
$month_m = "August";
|
||||||
|
if ($month == "9")
|
||||||
|
$month_m = "September";
|
||||||
|
if ($month == "10")
|
||||||
|
$month_m = "October";
|
||||||
|
if ($month == "11")
|
||||||
|
$month_m = "November";
|
||||||
|
if ($month == "12")
|
||||||
|
$month_m = "December";
|
||||||
?>
|
?>
|
||||||
<div id="bo_list">
|
<div id="bo_list">
|
||||||
<div class="theme-box cal-nav">
|
<div class="theme-box cal-nav">
|
||||||
<h2>
|
<h2>
|
||||||
<a href="<?php echo G5_BBS_URL."/board.php?bo_table=".$bo_table; ?>" onfocus="this.blur()"><span title="<?php echo $year ?>년 <?php echo $month ?>월"><?=$month_m?></span>
|
<a href="<?php echo G5_BBS_URL . "/board.php?bo_table=" . $bo_table; ?>" onfocus="this.blur()"><span
|
||||||
|
title="<?php echo $year ?>년 <?php echo $month ?>월"><?= $month_m ?></span>
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -125,13 +141,16 @@ while ($row = sql_fetch_array($result)) { // 제목글 뽑아서 링크 문자
|
||||||
|
|
||||||
$temp = 7 - (($lastday[$month] + $dayoftheweek) % 7);
|
$temp = 7 - (($lastday[$month] + $dayoftheweek) % 7);
|
||||||
|
|
||||||
if ($temp == 7) $temp = 0;
|
if ($temp == 7)
|
||||||
|
$temp = 0;
|
||||||
$lastcount = $lastday[$month] + $dayoftheweek + $temp;
|
$lastcount = $lastday[$month] + $dayoftheweek + $temp;
|
||||||
|
|
||||||
for ($iz = 1; $iz <= $lastcount; $iz++) { // 42번을 칠하게 된다.
|
for ($iz = 1; $iz <= $lastcount; $iz++) { // 42번을 칠하게 된다.
|
||||||
$bgcolor = "days"; // 쭉 흰색으로 칠하고
|
$bgcolor = "days"; // 쭉 흰색으로 칠하고
|
||||||
if ($b_year==$year && $b_mon==$month && $b_day==$cday) $bgcolor = "today"; // "#DFFDDF"; // 오늘날짜 연두색으로 표기
|
if ($b_year == $year && $b_mon == $month && $b_day == $cday)
|
||||||
if (($iz%7) == 1) echo ("<tr>"); // 주당 7개씩 한쎌씩을 쌓는다.
|
$bgcolor = "today"; // "#DFFDDF"; // 오늘날짜 연두색으로 표기
|
||||||
|
if (($iz % 7) == 1)
|
||||||
|
echo ("<tr>"); // 주당 7개씩 한쎌씩을 쌓는다.
|
||||||
if ($dayoftheweek < $iz && $iz <= $lastday[$month] + $dayoftheweek) {
|
if ($dayoftheweek < $iz && $iz <= $lastday[$month] + $dayoftheweek) {
|
||||||
// 전체 루프안에서 숫자가 들어가는 셀들만 해당됨
|
// 전체 루프안에서 숫자가 들어가는 셀들만 해당됨
|
||||||
// 즉 11월 달에서 1일부터 30 일까지만 해당
|
// 즉 11월 달에서 1일부터 30 일까지만 해당
|
||||||
|
|
@ -191,8 +210,11 @@ while ($row = sql_fetch_array($result)) { // 제목글 뽑아서 링크 문자
|
||||||
$cday++; // 날짜를 카운팅
|
$cday++; // 날짜를 카운팅
|
||||||
}
|
}
|
||||||
// 유효날짜가 아니면 그냥 회색을 칠한다.
|
// 유효날짜가 아니면 그냥 회색을 칠한다.
|
||||||
else { echo (" <td width=$col_width height=$col_height class='noday'> </td>"); }
|
else {
|
||||||
if (($iz%7) == 0) echo (" </tr>");
|
echo (" <td width=$col_width height=$col_height class='noday'> </td>");
|
||||||
|
}
|
||||||
|
if (($iz % 7) == 0)
|
||||||
|
echo (" </tr>");
|
||||||
|
|
||||||
} // 반복구문이 끝남
|
} // 반복구문이 끝남
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,2 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_')) exit;
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,4 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css">', 0);
|
||||||
@include_once($menu_skin_path.'/menu.L.inc.php');
|
include_once $menu_skin_path . "/menu.L.inc.php";
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.L.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.L.css">', 0);
|
||||||
|
|
@ -28,13 +29,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <? if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<? } ?> class="change-link">
|
<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="icons"><span><i class="material-icons"><?= $me['me_icon'] ?></i></span></span>
|
||||||
<span class="tooltips"><?= $me['me_name'] ?></span>
|
<span class="tooltips"><?= $me['me_name'] ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<? }} ?>
|
<? }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<? if (!$is_member) { //멤버가 아닐 경우 ?>
|
<? if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -79,10 +82,12 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
<? if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<? if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<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="icons"><span><i class="material-icons">music_off</i></span></span>
|
||||||
<span class="tooltips">BGM ON</span>
|
<span class="tooltips">BGM ON</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.R.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.R.css">', 0);
|
||||||
@include_once($menu_skin_path.'/menu.L.inc.php');
|
include_once $menu_skin_path . "/menu.L.inc.php";
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.T.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.T.css">', 0);
|
||||||
@include_once($menu_skin_path.'/menu.L.inc.php');
|
include_once $menu_skin_path . "/menu.L.inc.php";
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* ******************************************************************************
|
/* ******************************************************************************
|
||||||
※ 관리자의 디자인 정보를 저장하는 영역과 직결되는 곳입니다.
|
※ 관리자의 디자인 정보를 저장하는 영역과 직결되는 곳입니다.
|
||||||
|
|
@ -26,30 +27,45 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<td class="bo-right txt-center">크기</td>
|
<td class="bo-right txt-center">크기</td>
|
||||||
<td>
|
<td>
|
||||||
<?php echo help('전체 페이지를 감쌀 가로 세로 사이즈를 지정해 주세요.') ?>
|
<?php echo help('전체 페이지를 감쌀 가로 세로 사이즈를 지정해 주세요.') ?>
|
||||||
가로 : <input type="text" name="cs_value[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_value'] ?>" size="5"/> px
|
가로 : <input type="text" name="cs_value[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_value'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
세로 : <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_1'] ?>" size="5"/> px
|
세로 : <input type="text" name="cs_etc_1[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_1'] ?>"
|
||||||
</td></tr><tr>
|
size="5" /> px
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td class="bo-right txt-center">PC 여백</td>
|
<td class="bo-right txt-center">PC 여백</td>
|
||||||
<td>
|
<td>
|
||||||
상 : <input type="text" name="cs_etc_2[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_2'] ?>" size="5"/> px
|
상 : <input type="text" name="cs_etc_2[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_2'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
하 : <input type="text" name="cs_etc_3[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_3'] ?>" size="5"/> px
|
하 : <input type="text" name="cs_etc_3[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_3'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
좌 : <input type="text" name="cs_etc_4[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_4'] ?>" size="5"/> px
|
좌 : <input type="text" name="cs_etc_4[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_4'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
우 : <input type="text" name="cs_etc_5[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_5'] ?>" size="5"/> px
|
우 : <input type="text" name="cs_etc_5[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_5'] ?>"
|
||||||
</td></tr><tr>
|
size="5" /> px
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td class="bo-right txt-center">모바일 여백</td>
|
<td class="bo-right txt-center">모바일 여백</td>
|
||||||
<td>
|
<td>
|
||||||
상 : <input type="text" name="cs_etc_6[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_6'] ?>" size="5"/> px
|
상 : <input type="text" name="cs_etc_6[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_6'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
하 : <input type="text" name="cs_etc_7[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_7'] ?>" size="5"/> px
|
하 : <input type="text" name="cs_etc_7[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_7'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
좌 : <input type="text" name="cs_etc_8[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_8'] ?>" size="5"/> px
|
좌 : <input type="text" name="cs_etc_8[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_8'] ?>"
|
||||||
|
size="5" /> px
|
||||||
|
|
||||||
우 : <input type="text" name="cs_etc_9[<?=$css_index?>]" value="<?php echo $de['box_frame_size']['cs_etc_9'] ?>" size="5"/> px
|
우 : <input type="text" name="cs_etc_9[<?= $css_index ?>]" value="<?php echo $de['box_frame_size']['cs_etc_9'] ?>"
|
||||||
</td></tr>
|
size="5" /> px
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -64,7 +80,9 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<?php echo help('이미지로 설정된 테두리가 우선적으로 적용됩니다. 단순 테두리를 사용하고 싶으실 경우, 이미지 경로를 제거해주세요.') ?>
|
<?php echo help('이미지로 설정된 테두리가 우선적으로 적용됩니다. 단순 테두리를 사용하고 싶으실 경우, 이미지 경로를 제거해주세요.') ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td rowspan="3" class="bo-right bo-left txt-center">
|
<td rowspan="3" class="bo-right bo-left txt-center">
|
||||||
<?php if ($de['box_frame_img']['cs_value']) { ?>
|
<?php if ($de['box_frame_img']['cs_value']) { ?>
|
||||||
<img src="<?= $de['box_frame_img']['cs_value'] ?>" class="prev_thumb" />
|
<img src="<?= $de['box_frame_img']['cs_value'] ?>" class="prev_thumb" />
|
||||||
|
|
@ -74,12 +92,19 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
외부경로 <input type="text" name="cs_value[<?=$css_index?>]" value="<?=$de['box_frame_img']['cs_value']?>" size="50"/>
|
외부경로 <input type="text" name="cs_value[<?= $css_index ?>]"
|
||||||
</td></tr><tr>
|
value="<?= $de['box_frame_img']['cs_value'] ?>" size="50" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
조각크기 <span style="color:#ff4742; font-weight:600;">(Slice)</span> <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['box_frame_img']['cs_etc_1'] ?>" size="5" maxlength="255" /> px
|
조각크기 <span style="color:#ff4742; font-weight:600;">(Slice)</span> <input type="text"
|
||||||
|
name="cs_etc_1[<?= $css_index ?>]" value="<?php echo $de['box_frame_img']['cs_etc_1'] ?>" size="5"
|
||||||
|
maxlength="255" /> px
|
||||||
|
|
||||||
|
|
||||||
반복속성 <span style="color:#ff4742; font-weight:600;">(Repeat)</span>
|
반복속성 <span style="color:#ff4742; font-weight:600;">(Repeat)</span>
|
||||||
|
|
@ -92,7 +117,8 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
|
|
||||||
|
|
||||||
확장영역 <span style="color:#ff4742; font-weight:600;">(Outset)</span>
|
확장영역 <span style="color:#ff4742; font-weight:600;">(Outset)</span>
|
||||||
<input type="text" name="cs_etc_3[<?=$css_index?>]" value="<?php echo $de['box_frame_img']['cs_etc_3'] ?>" size="5" maxlength="255" /> px
|
<input type="text" name="cs_etc_3[<?= $css_index ?>]" value="<?php echo $de['box_frame_img']['cs_etc_3'] ?>"
|
||||||
|
size="5" maxlength="255" /> px
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
@ -106,7 +132,10 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
라인
|
라인
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
라인색상 <input type="text" name="cs_value[<?=$css_index?>]" value="<?php echo $de['box_frame_line']['cs_value'] ?>" class="colorpicker" size="30" maxlength="255" placeholder="#색상코드" /><input type="number" name="cs_etc_1[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_1']?>" placeholder="0" title="투명도" style="width:45px;"/>%
|
라인색상 <input type="text" name="cs_value[<?= $css_index ?>]"
|
||||||
|
value="<?php echo $de['box_frame_line']['cs_value'] ?>" class="colorpicker" size="30" maxlength="255"
|
||||||
|
placeholder="#색상코드" /><input type="number" name="cs_etc_1[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['box_frame_line']['cs_etc_1'] ?>" placeholder="0" title="투명도" style="width:45px;" />%
|
||||||
|
|
||||||
|
|
||||||
라인타입
|
라인타입
|
||||||
|
|
@ -119,33 +148,44 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
라인굵기 <input type="text" name="cs_etc_3[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_3']?>" size="5"/> px
|
라인굵기 <input type="text" name="cs_etc_3[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['box_frame_line']['cs_etc_3'] ?>" size="5" /> px
|
||||||
|
|
||||||
|
|
||||||
<input type="checkbox" name="cs_etc_4[<?=$css_index?>][]" id="cs_etc_4_1_box_frame_line" value="top" <?=strstr($de['box_frame_line']['cs_etc_4'], 'top') ? "checked" : ""?> />
|
<input type="checkbox" name="cs_etc_4[<?= $css_index ?>][]" id="cs_etc_4_1_box_frame_line" value="top"
|
||||||
|
<?= strstr($de['box_frame_line']['cs_etc_4'], 'top') ? "checked" : "" ?> />
|
||||||
<label for="cs_etc_4_1_box_frame_line">상 </label>
|
<label for="cs_etc_4_1_box_frame_line">상 </label>
|
||||||
|
|
||||||
<input type="checkbox" name="cs_etc_4[<?=$css_index?>][]" id="cs_etc_4_2_box_frame_line" value="bottom" <?=strstr($de['box_frame_line']['cs_etc_4'], 'bottom') ? "checked" : ""?> />
|
<input type="checkbox" name="cs_etc_4[<?= $css_index ?>][]" id="cs_etc_4_2_box_frame_line" value="bottom"
|
||||||
|
<?= strstr($de['box_frame_line']['cs_etc_4'], 'bottom') ? "checked" : "" ?> />
|
||||||
<label for="cs_etc_4_2_box_frame_line">하 </label>
|
<label for="cs_etc_4_2_box_frame_line">하 </label>
|
||||||
|
|
||||||
<input type="checkbox" name="cs_etc_4[<?=$css_index?>][]" id="cs_etc_4_3_box_frame_line" value="left" <?=strstr($de['box_frame_line']['cs_etc_4'], 'left') ? "checked" : ""?> />
|
<input type="checkbox" name="cs_etc_4[<?= $css_index ?>][]" id="cs_etc_4_3_box_frame_line" value="left"
|
||||||
|
<?= strstr($de['box_frame_line']['cs_etc_4'], 'left') ? "checked" : "" ?> />
|
||||||
<label for="cs_etc_4_3_box_frame_line">좌 </label>
|
<label for="cs_etc_4_3_box_frame_line">좌 </label>
|
||||||
|
|
||||||
<input type="checkbox" name="cs_etc_4[<?=$css_index?>][]" id="cs_etc_4_4_box_frame_line" value="right" <?=strstr($de['box_frame_line']['cs_etc_4'], 'right') ? "checked" : ""?> />
|
<input type="checkbox" name="cs_etc_4[<?= $css_index ?>][]" id="cs_etc_4_4_box_frame_line" value="right"
|
||||||
|
<?= strstr($de['box_frame_line']['cs_etc_4'], 'right') ? "checked" : "" ?> />
|
||||||
<label for="cs_etc_4_4_mmb_list_item">우</label>
|
<label for="cs_etc_4_4_mmb_list_item">우</label>
|
||||||
|
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td class="bo-right txt-center">
|
<td class="bo-right txt-center">
|
||||||
모서리 라운드
|
모서리 라운드
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
좌측상단 <input type="text" name="cs_etc_5[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_5']?>" size="3"/> px
|
좌측상단 <input type="text" name="cs_etc_5[<?= $css_index ?>]" value="<?= $de['box_frame_line']['cs_etc_5'] ?>"
|
||||||
|
size="3" /> px
|
||||||
|
|
||||||
우측상단 <input type="text" name="cs_etc_6[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_6']?>" size="3"/> px
|
우측상단 <input type="text" name="cs_etc_6[<?= $css_index ?>]" value="<?= $de['box_frame_line']['cs_etc_6'] ?>"
|
||||||
|
size="3" /> px
|
||||||
|
|
||||||
우측하단 <input type="text" name="cs_etc_7[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_7']?>" size="3"/> px
|
우측하단 <input type="text" name="cs_etc_7[<?= $css_index ?>]" value="<?= $de['box_frame_line']['cs_etc_7'] ?>"
|
||||||
|
size="3" /> px
|
||||||
|
|
||||||
좌측하단 <input type="text" name="cs_etc_8[<?=$css_index?>]" value="<?=$de['box_frame_line']['cs_etc_8']?>" size="3"/> px
|
좌측하단 <input type="text" name="cs_etc_8[<?= $css_index ?>]" value="<?= $de['box_frame_line']['cs_etc_8'] ?>"
|
||||||
|
size="3" /> px
|
||||||
</td>
|
</td>
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
||||||
|
|
@ -163,12 +203,20 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
외부경로 <input type="text" name="cs_value[<?=$css_index?>]" value="<?=$de['box_frame_bak']['cs_value']?>" size="50"/>
|
외부경로 <input type="text" name="cs_value[<?= $css_index ?>]"
|
||||||
</td></tr><tr>
|
value="<?= $de['box_frame_bak']['cs_value'] ?>" size="50" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
배경색상 <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['box_frame_bak']['cs_etc_1'] ?>" class="colorpicker" size="30" maxlength="255" placeholder="#색상코드" /><input type="number" name="cs_etc_2[<?=$css_index?>]" value="<?=$de['box_frame_bak']['cs_etc_2']?>" placeholder="0" title="투명도" style="width:45px;"/>%
|
배경색상 <input type="text" name="cs_etc_1[<?= $css_index ?>]"
|
||||||
|
value="<?php echo $de['box_frame_bak']['cs_etc_1'] ?>" class="colorpicker" size="30" maxlength="255"
|
||||||
|
placeholder="#색상코드" /><input type="number" name="cs_etc_2[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['box_frame_bak']['cs_etc_2'] ?>" placeholder="0" title="투명도" style="width:45px;" />%
|
||||||
|
|
||||||
|
|
||||||
배경반복
|
배경반복
|
||||||
|
|
@ -183,16 +231,23 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
배경위치
|
배경위치
|
||||||
<select name="cs_etc_4[<?= $css_index ?>]">
|
<select name="cs_etc_4[<?= $css_index ?>]">
|
||||||
<option value="">왼쪽 상단</option>
|
<option value="">왼쪽 상단</option>
|
||||||
<option value="left middle" <?=$de['box_frame_bak']['cs_etc_4'] == 'left middle' ? "selected" : ""?>>왼쪽 중단</option>
|
<option value="left middle" <?= $de['box_frame_bak']['cs_etc_4'] == 'left middle' ? "selected" : "" ?>>왼쪽 중단
|
||||||
<option value="left bottom" <?=$de['box_frame_bak']['cs_etc_4'] == 'left bottom' ? "selected" : ""?>>왼쪽 하단</option>
|
</option>
|
||||||
|
<option value="left bottom" <?= $de['box_frame_bak']['cs_etc_4'] == 'left bottom' ? "selected" : "" ?>>왼쪽 하단
|
||||||
|
</option>
|
||||||
|
|
||||||
<option value="center top" <?=$de['box_frame_bak']['cs_etc_4'] == 'center top' ? "selected" : ""?>>중간 상단</option>
|
<option value="center top" <?= $de['box_frame_bak']['cs_etc_4'] == 'center top' ? "selected" : "" ?>>중간 상단
|
||||||
<option value="center middle" <?=$de['box_frame_bak']['cs_etc_4'] == 'center middle' ? "selected" : ""?>>중간 중단</option>
|
</option>
|
||||||
<option value="center bottom" <?=$de['box_frame_bak']['cs_etc_4'] == 'center bottom' ? "selected" : ""?>>중간 하단</option>
|
<option value="center middle" <?= $de['box_frame_bak']['cs_etc_4'] == 'center middle' ? "selected" : "" ?>>중간 중단
|
||||||
|
</option>
|
||||||
|
<option value="center bottom" <?= $de['box_frame_bak']['cs_etc_4'] == 'center bottom' ? "selected" : "" ?>>중간 하단
|
||||||
|
</option>
|
||||||
|
|
||||||
<option value="right top" <?= $de['box_frame_bak']['cs_etc_4'] == 'right top' ? "selected" : "" ?>>오른쪽 상단</option>
|
<option value="right top" <?= $de['box_frame_bak']['cs_etc_4'] == 'right top' ? "selected" : "" ?>>오른쪽 상단</option>
|
||||||
<option value="right middle" <?=$de['box_frame_bak']['cs_etc_4'] == 'right middle' ? "selected" : ""?>>오른쪽 중단</option>
|
<option value="right middle" <?= $de['box_frame_bak']['cs_etc_4'] == 'right middle' ? "selected" : "" ?>>오른쪽 중단
|
||||||
<option value="right bottom" <?=$de['box_frame_bak']['cs_etc_4'] == 'right bottom' ? "selected" : ""?>>오른쪽 하단</option>
|
</option>
|
||||||
|
<option value="right bottom" <?= $de['box_frame_bak']['cs_etc_4'] == 'right bottom' ? "selected" : "" ?>>오른쪽 하단
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
$box_f_size = get_style("box_frame_size");
|
$box_f_size = get_style("box_frame_size");
|
||||||
$box_f_img = get_style("box_frame_img");
|
$box_f_img = get_style("box_frame_img");
|
||||||
|
|
@ -36,56 +37,134 @@ $f_img_out = $box_f_img['cs_etc_3'] != "" ? $box_f_img['cs_etc_3'] : 0;
|
||||||
#design_frameBox:before 이미지 테두리 프레임
|
#design_frameBox:before 이미지 테두리 프레임
|
||||||
#design_frameBox:after 일반 테두리 프레임
|
#design_frameBox:after 일반 테두리 프레임
|
||||||
**************************************************/
|
**************************************************/
|
||||||
?>
|
?> @media all and (min-width:1025px) {
|
||||||
|
html.single #header {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {html.single #header {display:block !important;}}
|
#design_frameBox {
|
||||||
|
display: block;
|
||||||
|
position: fixed;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
#design_frameBox {display:block; position:fixed; top:50%; left:50%; z-index:0; box-sizing:border-box;}
|
#design_frameBox:before {
|
||||||
#design_frameBox:before {content:""; display:block; position:absolute; top:0; left:0; right:0; bottom:0; z-index:-1;}
|
content: "";
|
||||||
#design_frameBox:after {content:""; display:block; position:absolute; top:0; left:0; right:0; bottom:0; z-index:-2;}
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
#body {display:block; position:relative; width:100%; height:100% !important; overflow:auto; box-sizing:border-box;}
|
#design_frameBox:after {
|
||||||
#body > .fix-layout > .mid-layout {padding:10px !important;}
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: -2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100% !important;
|
||||||
|
overflow: auto;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body>.fix-layout>.mid-layout {
|
||||||
|
padding: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**************************************************
|
/**************************************************
|
||||||
설정값에 따른 변동 부분
|
설정값에 따른 변동 부분
|
||||||
**************************************************/
|
**************************************************/
|
||||||
?>
|
?> #design_frameBox {
|
||||||
|
<?php echo "width:{$b_w}px; height:{$b_h}px; margin-left:-" . ($b_w / 2) . "px; margin-top:-" . ($b_h / 2) . "px; padding:{$p_t}px {$p_r}px {$p_b}px {$p_l}px;"; ?>
|
||||||
|
}
|
||||||
|
|
||||||
#design_frameBox {<?php echo "width:{$b_w}px; height:{$b_h}px; margin-left:-".($b_w/2)."px; margin-top:-".($b_h/2)."px; padding:{$p_t}px {$p_r}px {$p_b}px {$p_l}px;"; ?>}
|
@media all and (max-width:<?= ($b_w + 20) ?>px) {
|
||||||
|
#design_frameBox {
|
||||||
|
left: 10px;
|
||||||
|
right: 10px;
|
||||||
|
width: auto;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (max-width:<?=($b_w+20)?>px) {#design_frameBox {left:10px; right:10px; width:auto; margin-left:0;}}
|
@media all and (max-height:<?= ($b_h + 20) ?>px) {
|
||||||
@media all and (max-height:<?=($b_h+20)?>px) {#design_frameBox {top:10px; bottom:10px; height:auto; margin-top:0;}}
|
#design_frameBox {
|
||||||
@media all and (max-width:1024px) { #design_frameBox {<?php echo "padding:{$mp_t}px {$mp_r}px {$mp_b}px {$mp_l}px;"; ?>}}
|
top: 10px;
|
||||||
|
bottom: 10px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-width:1024px) {
|
||||||
|
#design_frameBox {
|
||||||
|
<?php echo "padding:{$mp_t}px {$mp_r}px {$mp_b}px {$mp_l}px;"; ?>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<?php if ($f_img_url) { // 이미지 테두리가 적용되어 있을 경우 ?>
|
<?php if ($f_img_url) { // 이미지 테두리가 적용되어 있을 경우 ?>
|
||||||
#design_frameBox:before {<?php
|
#design_frameBox:before {
|
||||||
|
<?php
|
||||||
echo "border:{$f_img_sli}px solid;";
|
echo "border:{$f_img_sli}px solid;";
|
||||||
echo "border-image:url({$f_img_url}) {$f_img_sli} / {$f_img_sli}px / {$f_img_out}px {$f_img_rep};";
|
echo "border-image:url({$f_img_url}) {$f_img_sli} / {$f_img_sli}px / {$f_img_out}px {$f_img_rep};";
|
||||||
?>}
|
?>}
|
||||||
#design_frameBox:after {border:none !important;}
|
#design_frameBox:after
|
||||||
|
{border:none !important;}
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#design_frameBox:after {<?php
|
#design_frameBox:after {<?php
|
||||||
if($box_f_line['cs_value']) echo "border-color:".hex2rgba($box_f_line['cs_value'], $box_f_line['cs_etc_1'])."; ";
|
if ($box_f_line['cs_value'])
|
||||||
|
echo "border-color:" . hex2rgba($box_f_line['cs_value'], $box_f_line['cs_etc_1']) . "; ";
|
||||||
$box_f_line['border'] = explode("||", $box_f_line['cs_etc_4']);
|
$box_f_line['border'] = explode("||", $box_f_line['cs_etc_4']);
|
||||||
for ($i = 0; $i < count($box_f_line['border']); $i++) {
|
for ($i = 0; $i < count($box_f_line['border']); $i++) {
|
||||||
if ($box_f_line['border'][$i]) {
|
if ($box_f_line['border'][$i]) {
|
||||||
if($box_f_line['cs_etc_2']) echo "border-{$box_f_line['border'][$i]}-style:{$box_f_line['cs_etc_2']}; ";
|
if ($box_f_line['cs_etc_2'])
|
||||||
if($box_f_line['cs_etc_3']) echo "border-{$box_f_line['border'][$i]}-width:{$box_f_line['cs_etc_3']}px; ";
|
echo "border-{$box_f_line['border'][$i]}-style:{$box_f_line['cs_etc_2']}; ";
|
||||||
|
if ($box_f_line['cs_etc_3'])
|
||||||
|
echo "border-{$box_f_line['border'][$i]}-width:{$box_f_line['cs_etc_3']}px; ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($box_f_line['cs_etc_5']) echo "border-top-left-radius:{$box_f_line['cs_etc_5']}px; ";
|
if ($box_f_line['cs_etc_5'])
|
||||||
if($box_f_line['cs_etc_6']) echo "border-top-right-radius:{$box_f_line['cs_etc_6']}px; ";
|
echo "border-top-left-radius:{$box_f_line['cs_etc_5']}px; ";
|
||||||
if($box_f_line['cs_etc_7']) echo "border-bottom-right-radius:{$box_f_line['cs_etc_7']}px; ";
|
if ($box_f_line['cs_etc_6'])
|
||||||
if($box_f_line['cs_etc_8']) echo "border-bottom-left-radius:{$box_f_line['cs_etc_8']}px; ";
|
echo "border-top-right-radius:{$box_f_line['cs_etc_6']}px; ";
|
||||||
|
if ($box_f_line['cs_etc_7'])
|
||||||
|
echo "border-bottom-right-radius:{$box_f_line['cs_etc_7']}px; ";
|
||||||
|
if ($box_f_line['cs_etc_8'])
|
||||||
|
echo "border-bottom-left-radius:{$box_f_line['cs_etc_8']}px; ";
|
||||||
|
|
||||||
if($box_f_bak['cs_value']) echo "background-image:url('{$box_f_bak['cs_value']}'); ";
|
if ($box_f_bak['cs_value'])
|
||||||
if($box_f_bak['cs_etc_1']) echo "background-color:".hex2rgba($box_f_bak['cs_etc_1'], $box_f_bak['cs_etc_2'])."; ";
|
echo "background-image:url('{$box_f_bak['cs_value']}'); ";
|
||||||
if($box_f_bak['cs_etc_3']) echo "background-repeat:{$box_f_bak['cs_etc_3']}; ";
|
if ($box_f_bak['cs_etc_1'])
|
||||||
if($box_f_bak['cs_etc_4']) echo "background-position:{$box_f_bak['cs_etc_4']}; ";
|
echo "background-color:" . hex2rgba($box_f_bak['cs_etc_1'], $box_f_bak['cs_etc_2']) . "; ";
|
||||||
if($box_f_bak['cs_etc_5']) echo "background-size:{$box_f_bak['cs_etc_5']}; ";
|
if ($box_f_bak['cs_etc_3'])
|
||||||
|
echo "background-repeat:{$box_f_bak['cs_etc_3']}; ";
|
||||||
|
if ($box_f_bak['cs_etc_4'])
|
||||||
|
echo "background-position:{$box_f_bak['cs_etc_4']}; ";
|
||||||
|
if ($box_f_bak['cs_etc_5'])
|
||||||
|
echo "background-size:{$box_f_bak['cs_etc_5']}; ";
|
||||||
?>}
|
?>}
|
||||||
|
|
||||||
#design_frameBox .characterViewer {position:relative; height:100%;}
|
#design_frameBox .characterViewer {position:relative; height:100%;}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
//if (defined('_INDEX_')) return;
|
//if (defined('_INDEX_')) return;
|
||||||
|
|
||||||
|
|
@ -16,8 +17,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css"
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
||||||
@media all and (min-width:1025px) { #header {<?php echo "bottom:50%; margin-bottom:-".(($b_h/2) - 20)."px;"; ?>}}
|
@media all and (min-width:1025px) {
|
||||||
@media all and (max-height:<?=($b_h+20)?>px) and (min-width:1025px) { #header {bottom:20px; margin-bottom:0px;}}
|
#header {
|
||||||
|
<?php echo "bottom:50%; margin-bottom:-" . (($b_h / 2) - 20) . "px;"; ?>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-height:<?= ($b_h + 20) ?>px) and (min-width:1025px) {
|
||||||
|
#header {
|
||||||
|
bottom: 20px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
//if (defined('_INDEX_')) return;
|
//if (defined('_INDEX_')) return;
|
||||||
|
|
||||||
|
|
@ -16,8 +17,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
||||||
@media all and (min-width:1025px) { #header {<?php echo "left:50%; margin-left:-".(($b_w/2) - 20)."px;"; ?>}}
|
@media all and (min-width:1025px) {
|
||||||
@media all and (max-width:<?=($b_w+20)?>px) and (min-width:1025px) { #header {left:20px; margin-left:0px;}}
|
#header {
|
||||||
|
<?php echo "left:50%; margin-left:-" . (($b_w / 2) - 20) . "px;"; ?>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-width:<?= ($b_w + 20) ?>px) and (min-width:1025px) {
|
||||||
|
#header {
|
||||||
|
left: 20px;
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
//if (defined('_INDEX_')) return;
|
//if (defined('_INDEX_')) return;
|
||||||
|
|
||||||
|
|
@ -16,8 +17,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css"
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
||||||
@media all and (min-width:1025px) { #header {<?php echo "right:50%; margin-right:-".(($b_w/2) - 20)."px;"; ?>}}
|
@media all and (min-width:1025px) {
|
||||||
@media all and (max-width:<?=($b_w+20)?>px) and (min-width:1025px) { #header {right:20px; margin-right:0px;}}
|
#header {
|
||||||
|
<?php echo "right:50%; margin-right:-" . (($b_w / 2) - 20) . "px;"; ?>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-width:<?= ($b_w + 20) ?>px) and (min-width:1025px) {
|
||||||
|
#header {
|
||||||
|
right: 20px;
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
//if (defined('_INDEX_')) return;
|
//if (defined('_INDEX_')) return;
|
||||||
|
|
||||||
|
|
@ -16,8 +17,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css"
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
<?php if ($header_inside) { // 메뉴가 박스 안쪽에 위치해야 할 경우 ?>
|
||||||
@media all and (min-width:1025px) { #header {<?php echo "top:50%; margin-top:-".(($b_h/2) - 20)."px;"; ?>}}
|
@media all and (min-width:1025px) {
|
||||||
@media all and (max-height:<?=($b_h+20)?>px) and (min-width:1025px) { #header {top:20px; margin-top:0px;}}
|
#header {
|
||||||
|
<?php echo "top:50%; margin-top:-" . (($b_h / 2) - 20) . "px;"; ?>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-height:<?= ($b_h + 20) ?>px) and (min-width:1025px) {
|
||||||
|
#header {
|
||||||
|
top: 20px;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<ul class="gnbWrap">
|
<ul class="gnbWrap">
|
||||||
|
|
@ -25,13 +26,15 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <?php if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<?php } ?> class="change-link">
|
<a href="<?php echo $me['me_link'] ?>" <?php if ($me['me_target']) { ?>target="_<?= $me['me_target'] ?>" <?php } ?>
|
||||||
|
class="change-link">
|
||||||
<span class="icons"><span><i class="material-icons"><?= $me['me_icon'] ?></i></span></span>
|
<span class="icons"><span><i class="material-icons"><?= $me['me_icon'] ?></i></span></span>
|
||||||
<span class="tooltips"><?= $me['me_name'] ?></span>
|
<span class="tooltips"><?= $me['me_name'] ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php }} ?>
|
<?php }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -76,10 +79,12 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<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="icons"><span><i class="material-icons">music_off</i></span></span>
|
||||||
<span class="tooltips">BGM ON</span>
|
<span class="tooltips">BGM ON</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* ******************************************************************************
|
/* ******************************************************************************
|
||||||
※ 관리자의 디자인 정보를 저장하는 영역과 직결되는 곳입니다.
|
※ 관리자의 디자인 정보를 저장하는 영역과 직결되는 곳입니다.
|
||||||
|
|
@ -26,9 +27,11 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<?php echo help('가로 사이즈는 좌측/우측 메뉴일 경우 적용됩니다. 세로 사이즈는 상단/하단 메뉴일 경우 적용됩니다.') ?>
|
<?php echo help('가로 사이즈는 좌측/우측 메뉴일 경우 적용됩니다. 세로 사이즈는 상단/하단 메뉴일 경우 적용됩니다.') ?>
|
||||||
|
|
||||||
가로 : <input type="text" name="cs_value[<?=$css_index?>]" value="<?php echo $de['menu_size']['cs_value'] ?>" size="5"/>px
|
가로 : <input type="text" name="cs_value[<?= $css_index ?>]" value="<?php echo $de['menu_size']['cs_value'] ?>"
|
||||||
|
size="5" />px
|
||||||
|
|
||||||
세로 : <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['menu_size']['cs_etc_1'] ?>" size="5"/>px
|
세로 : <input type="text" name="cs_etc_1[<?= $css_index ?>]" value="<?php echo $de['menu_size']['cs_etc_1'] ?>"
|
||||||
|
size="5" />px
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
@ -47,12 +50,20 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
직접등록 <input type="file" name="cs_value_file[<?= $css_index ?>]" value="" size="50">
|
||||||
</td></tr><tr>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
외부경로 <input type="text" name="cs_value[<?=$css_index?>]" value="<?=$de['menu_bak']['cs_value']?>" size="50"/>
|
외부경로 <input type="text" name="cs_value[<?= $css_index ?>]" value="<?= $de['menu_bak']['cs_value'] ?>"
|
||||||
</td></tr><tr>
|
size="50" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
배경색상 <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['menu_bak']['cs_etc_1'] ?>" class="colorpicker" size="30" maxlength="255" placeholder="#색상코드" /><input type="number" name="cs_etc_2[<?=$css_index?>]" value="<?=$de['menu_bak']['cs_etc_2']?>" placeholder="0" title="투명도" style="width:45px;"/>%
|
배경색상 <input type="text" name="cs_etc_1[<?= $css_index ?>]"
|
||||||
|
value="<?php echo $de['menu_bak']['cs_etc_1'] ?>" class="colorpicker" size="30" maxlength="255"
|
||||||
|
placeholder="#색상코드" /><input type="number" name="cs_etc_2[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['menu_bak']['cs_etc_2'] ?>" placeholder="0" title="투명도" style="width:45px;" />%
|
||||||
|
|
||||||
|
|
||||||
배경반복
|
배경반복
|
||||||
|
|
@ -71,12 +82,16 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<option value="left bottom" <?= $de['menu_bak']['cs_etc_4'] == 'left bottom' ? "selected" : "" ?>>왼쪽 하단</option>
|
<option value="left bottom" <?= $de['menu_bak']['cs_etc_4'] == 'left bottom' ? "selected" : "" ?>>왼쪽 하단</option>
|
||||||
|
|
||||||
<option value="center top" <?= $de['menu_bak']['cs_etc_4'] == 'center top' ? "selected" : "" ?>>중간 상단</option>
|
<option value="center top" <?= $de['menu_bak']['cs_etc_4'] == 'center top' ? "selected" : "" ?>>중간 상단</option>
|
||||||
<option value="center middle" <?=$de['menu_bak']['cs_etc_4'] == 'center middle' ? "selected" : ""?>>중간 중단</option>
|
<option value="center middle" <?= $de['menu_bak']['cs_etc_4'] == 'center middle' ? "selected" : "" ?>>중간 중단
|
||||||
<option value="center bottom" <?=$de['menu_bak']['cs_etc_4'] == 'center bottom' ? "selected" : ""?>>중간 하단</option>
|
</option>
|
||||||
|
<option value="center bottom" <?= $de['menu_bak']['cs_etc_4'] == 'center bottom' ? "selected" : "" ?>>중간 하단
|
||||||
|
</option>
|
||||||
|
|
||||||
<option value="right top" <?= $de['menu_bak']['cs_etc_4'] == 'right top' ? "selected" : "" ?>>오른쪽 상단</option>
|
<option value="right top" <?= $de['menu_bak']['cs_etc_4'] == 'right top' ? "selected" : "" ?>>오른쪽 상단</option>
|
||||||
<option value="right middle" <?=$de['menu_bak']['cs_etc_4'] == 'right middle' ? "selected" : ""?>>오른쪽 중단</option>
|
<option value="right middle" <?= $de['menu_bak']['cs_etc_4'] == 'right middle' ? "selected" : "" ?>>오른쪽 중단
|
||||||
<option value="right bottom" <?=$de['menu_bak']['cs_etc_4'] == 'right bottom' ? "selected" : ""?>>오른쪽 하단</option>
|
</option>
|
||||||
|
<option value="right bottom" <?= $de['menu_bak']['cs_etc_4'] == 'right bottom' ? "selected" : "" ?>>오른쪽 하단
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -100,19 +115,30 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
일반상태
|
일반상태
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
글자색상 <input type="text" name="cs_value[<?=$css_index?>]" value="<?php echo $de['menu_text_link']['cs_value'] ?>" class="colorpicker" size="30" maxlength="255" placeholder="#색상코드" /><input type="number" name="cs_etc_1[<?=$css_index?>]" value="<?=$de['cs_etc_1']['cs_etc_3']?>" placeholder="0" title="투명도" style="width:45px;"/>%
|
글자색상 <input type="text" name="cs_value[<?= $css_index ?>]"
|
||||||
|
value="<?php echo $de['menu_text_link']['cs_value'] ?>" class="colorpicker" size="30" maxlength="255"
|
||||||
|
placeholder="#색상코드" /><input type="number" name="cs_etc_1[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['cs_etc_1']['cs_etc_3'] ?>" placeholder="0" title="투명도" style="width:45px;" />%
|
||||||
|
|
||||||
글자크기 <input type="text" name="cs_etc_2[<?=$css_index?>]" value="<?=$de['menu_text_link']['cs_etc_2']?>" size="5"/> px
|
글자크기 <input type="text" name="cs_etc_2[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['menu_text_link']['cs_etc_2'] ?>" size="5" /> px
|
||||||
|
|
||||||
글자모양 <input type="text" name="cs_etc_3[<?=$css_index?>]" value="<?=$de['menu_text_link']['cs_etc_3']?>" size="30">
|
글자모양 <input type="text" name="cs_etc_3[<?= $css_index ?>]"
|
||||||
</td></tr><tr>
|
value="<?= $de['menu_text_link']['cs_etc_3'] ?>" size="30">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td class="bo-right bo-left txt-center">
|
<td class="bo-right bo-left txt-center">
|
||||||
마우스 오버
|
마우스 오버
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
글자색상 <input type="text" name="cs_etc_4[<?=$css_index?>]" value="<?php echo $de['menu_text_link']['cs_etc_4'] ?>" class="colorpicker" size="30" maxlength="255" placeholder="#색상코드" /><input type="number" name="cs_etc_5[<?=$css_index?>]" value="<?=$de['menu_text_link']['cs_etc_5']?>" placeholder="0" title="투명도" style="width:45px;"/>%
|
글자색상 <input type="text" name="cs_etc_4[<?= $css_index ?>]"
|
||||||
|
value="<?php echo $de['menu_text_link']['cs_etc_4'] ?>" class="colorpicker" size="30" maxlength="255"
|
||||||
|
placeholder="#색상코드" /><input type="number" name="cs_etc_5[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['menu_text_link']['cs_etc_5'] ?>" placeholder="0" title="투명도" style="width:45px;" />%
|
||||||
|
|
||||||
글자크기 <input type="text" name="cs_etc_6[<?=$css_index?>]" value="<?=$de['menu_text_link']['cs_etc_6']?>" size="5"/> px
|
글자크기 <input type="text" name="cs_etc_6[<?= $css_index ?>]"
|
||||||
|
value="<?= $de['menu_text_link']['cs_etc_6'] ?>" size="5" /> px
|
||||||
</td>
|
</td>
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
$menu_size = get_style("menu_size");
|
$menu_size = get_style("menu_size");
|
||||||
$menu_bak = get_style("menu_bak");
|
$menu_bak = get_style("menu_bak");
|
||||||
|
|
@ -9,23 +10,31 @@ $m_w = $menu_size['cs_value'];
|
||||||
$m_h = $menu_size['cs_etc_1'];
|
$m_h = $menu_size['cs_etc_1'];
|
||||||
|
|
||||||
$background = "";
|
$background = "";
|
||||||
if($menu_bak['cs_value']) $background .= "background-image:url('{$menu_bak['cs_value']}'); ";
|
if ($menu_bak['cs_value'])
|
||||||
if($menu_bak['cs_etc_1']) $background .= "background-color:".hex2rgba($menu_bak['cs_etc_1'], $menu_bak['cs_etc_2'])."; ";
|
$background .= "background-image:url('{$menu_bak['cs_value']}'); ";
|
||||||
if($menu_bak['cs_etc_3']) $background .= "background-repeat:{$menu_bak['cs_etc_3']}; ";
|
if ($menu_bak['cs_etc_1'])
|
||||||
if($menu_bak['cs_etc_4']) $background .= "background-position:{$menu_bak['cs_etc_4']}; ";
|
$background .= "background-color:" . hex2rgba($menu_bak['cs_etc_1'], $menu_bak['cs_etc_2']) . "; ";
|
||||||
if($menu_bak['cs_etc_5']) $background .= "background-size:{$menu_bak['cs_etc_5']}; ";
|
if ($menu_bak['cs_etc_3'])
|
||||||
|
$background .= "background-repeat:{$menu_bak['cs_etc_3']}; ";
|
||||||
|
if ($menu_bak['cs_etc_4'])
|
||||||
|
$background .= "background-position:{$menu_bak['cs_etc_4']}; ";
|
||||||
|
if ($menu_bak['cs_etc_5'])
|
||||||
|
$background .= "background-size:{$menu_bak['cs_etc_5']}; ";
|
||||||
|
|
||||||
$link_color = "";
|
$link_color = "";
|
||||||
if($menu_text_link['cs_value']) $link_color .= "background-color:".hex2rgba($menu_text_link['cs_value'], $menu_text_link['cs_etc_1'])."; ";
|
if ($menu_text_link['cs_value'])
|
||||||
|
$link_color .= "background-color:" . hex2rgba($menu_text_link['cs_value'], $menu_text_link['cs_etc_1']) . "; ";
|
||||||
|
|
||||||
$menu_default = "";
|
$menu_default = "";
|
||||||
if($menu_text_link['cs_value']) $menu_default .= "color:".hex2rgba($menu_text_link['cs_value'], $menu_text_link['cs_etc_1'])."; ";
|
if ($menu_text_link['cs_value'])
|
||||||
if($menu_text_link['cs_etc_2']) $menu_default .= "font-size:{$menu_text_link['cs_etc_2']}px; ";
|
$menu_default .= "color:" . hex2rgba($menu_text_link['cs_value'], $menu_text_link['cs_etc_1']) . "; ";
|
||||||
if($menu_text_link['cs_etc_3']) $menu_default .= "font-family:{$menu_text_link['cs_etc_3']}, sans-serif; ";
|
if ($menu_text_link['cs_etc_2'])
|
||||||
|
$menu_default .= "font-size:{$menu_text_link['cs_etc_2']}px; ";
|
||||||
|
if ($menu_text_link['cs_etc_3'])
|
||||||
|
$menu_default .= "font-family:{$menu_text_link['cs_etc_3']}, sans-serif; ";
|
||||||
|
|
||||||
$menu_over = "";
|
$menu_over = "";
|
||||||
if($menu_text_link['cs_etc_4']) $menu_over .= "color:".hex2rgba($menu_text_link['cs_etc_4'], $menu_text_link['cs_etc_5'])."; ";
|
if ($menu_text_link['cs_etc_4'])
|
||||||
if($menu_text_link['cs_etc_6']) $menu_over .= "font-size:{$menu_text_link['cs_etc_6']}px; ";
|
$menu_over .= "color:" . hex2rgba($menu_text_link['cs_etc_4'], $menu_text_link['cs_etc_5']) . "; ";
|
||||||
|
if ($menu_text_link['cs_etc_6'])
|
||||||
|
$menu_over .= "font-size:{$menu_text_link['cs_etc_6']}px; ";
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,35 @@
|
||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
.freebak-menu {width:100%; margin-bottom:-20px;}
|
.freebak-menu {
|
||||||
.freebak-menu .mnu {display:table; width:100%; height:100%; text-align:center;}
|
width: 100%;
|
||||||
.freebak-menu .mnu > * {display:table-cell; vertical-align:middle;}
|
margin-bottom: -20px;
|
||||||
.freebak-menu .mnu li {display:inline-block; padding:10px 0; vertical-align:middle;position:relative;}
|
}
|
||||||
.freebak-menu .mnu li + li {margin-left:15px; min-height:1.2em;}
|
|
||||||
.freebak-menu .mnu li.line {width:1px; opacity:.2;}
|
|
||||||
|
|
||||||
|
.freebak-menu .mnu {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu>* {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 10px 0;
|
||||||
|
vertical-align: middle;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li+li {
|
||||||
|
margin-left: 15px;
|
||||||
|
min-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li.line {
|
||||||
|
width: 1px;
|
||||||
|
opacity: .2;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,33 @@
|
||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
.freebak-menu {height:100%; margin-left:-20px;}
|
.freebak-menu {
|
||||||
.freebak-menu .mnu {display:table; width:100%; height:100%; text-align:center;}
|
height: 100%;
|
||||||
.freebak-menu .mnu > * {display:table-cell; vertical-align:middle;}
|
margin-left: -20px;
|
||||||
.freebak-menu .mnu li {position:relative;}
|
}
|
||||||
.freebak-menu .mnu li + li {margin-top:15px;}
|
|
||||||
.freebak-menu .mnu li.line {max-width:25%; margin:20px auto; height:1px; opacity:.2;}
|
|
||||||
|
|
||||||
|
.freebak-menu .mnu {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu>* {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li+li {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li.line {
|
||||||
|
max-width: 25%;
|
||||||
|
margin: 20px auto;
|
||||||
|
height: 1px;
|
||||||
|
opacity: .2;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,33 @@
|
||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
.freebak-menu {height:100%; margin-right:-20px;}
|
.freebak-menu {
|
||||||
.freebak-menu .mnu {display:table; width:100%; height:100%; text-align:center;}
|
height: 100%;
|
||||||
.freebak-menu .mnu > * {display:table-cell; vertical-align:middle;}
|
margin-right: -20px;
|
||||||
.freebak-menu .mnu li {position:relative;}
|
}
|
||||||
.freebak-menu .mnu li + li {margin-top:15px;}
|
|
||||||
.freebak-menu .mnu li.line {max-width:25%; margin:20px auto; height:1px; opacity:.2;}
|
|
||||||
|
|
||||||
|
.freebak-menu .mnu {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu>* {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li+li {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li.line {
|
||||||
|
max-width: 25%;
|
||||||
|
margin: 20px auto;
|
||||||
|
height: 1px;
|
||||||
|
opacity: .2;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,35 @@
|
||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
.freebak-menu {width:100%; margin-top:-20px;}
|
.freebak-menu {
|
||||||
.freebak-menu .mnu {display:table; width:100%; height:100%; text-align:center;}
|
width: 100%;
|
||||||
.freebak-menu .mnu > * {display:table-cell; vertical-align:middle;}
|
margin-top: -20px;
|
||||||
.freebak-menu .mnu li {display:inline-block; padding:10px 0; vertical-align:middle;position:relative;}
|
}
|
||||||
.freebak-menu .mnu li + li {margin-left:15px; min-height:1.2em;}
|
|
||||||
.freebak-menu .mnu li.line {width:1px; opacity:.2;}
|
|
||||||
|
|
||||||
|
.freebak-menu .mnu {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu>* {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 10px 0;
|
||||||
|
vertical-align: middle;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li+li {
|
||||||
|
margin-left: 15px;
|
||||||
|
min-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .mnu li.line {
|
||||||
|
width: 1px;
|
||||||
|
opacity: .2;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* *************************************
|
/* *************************************
|
||||||
:: 우측 메뉴 스타일 ::
|
:: 우측 메뉴 스타일 ::
|
||||||
|
|
@ -13,12 +14,27 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css"
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.freebak-menu {height:<?=$m_w?>px; <?=$background?>}
|
.freebak-menu {
|
||||||
.freebak-menu a {<?=$menu_default?>}
|
height: <?= $m_w ?>px;
|
||||||
.freebak-menu a:hover {<?=$menu_over?>}
|
<?= $background ?>
|
||||||
.freebak-menu .line {<?=$link_color?>}
|
}
|
||||||
|
|
||||||
|
.freebak-menu a {
|
||||||
|
<?= $menu_default ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu a:hover {
|
||||||
|
<?= $menu_over ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .line {
|
||||||
|
<?= $link_color ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {padding-bottom:<?=$m_h?>px;}
|
#body {
|
||||||
|
padding-bottom: <?= $m_h ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
@ -40,12 +56,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css"
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <?php if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<?php } ?> class="change-link">
|
<a href="<?php echo $me['me_link'] ?>" <?php if ($me['me_target']) { ?>target="_<?= $me['me_target'] ?>" <?php } ?>
|
||||||
|
class="change-link">
|
||||||
<?= $me['me_name'] ?>
|
<?= $me['me_name'] ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php }} ?>
|
<?php }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -57,8 +75,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css"
|
||||||
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
||||||
JOIN<
|
JOIN< </a>
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } else { //멤버일 경우 ?>
|
<?php } else { //멤버일 경우 ?>
|
||||||
|
|
@ -85,13 +102,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.B.css"
|
||||||
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" onclick="return fn_control_bgm('play')"
|
||||||
|
class="control-bgm-play" style="display:none;">
|
||||||
BGM ON
|
BGM ON
|
||||||
</a>
|
</a>
|
||||||
<a href="<?=G5_URL?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')" class="control-bgm-stop">
|
<a href="<?= G5_URL ?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')"
|
||||||
|
class="control-bgm-stop">
|
||||||
BGM OFF
|
BGM OFF
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* *************************************
|
/* *************************************
|
||||||
:: 좌측 메뉴 스타일 ::
|
:: 좌측 메뉴 스타일 ::
|
||||||
|
|
@ -14,12 +15,27 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.freebak-menu {width:<?=$m_w?>px; <?=$background?>}
|
.freebak-menu {
|
||||||
.freebak-menu a {<?=$menu_default?>}
|
width: <?= $m_w ?>px;
|
||||||
.freebak-menu a:hover {<?=$menu_over?>}
|
<?= $background ?>
|
||||||
.freebak-menu .line {<?=$link_color?>}
|
}
|
||||||
|
|
||||||
|
.freebak-menu a {
|
||||||
|
<?= $menu_default ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu a:hover {
|
||||||
|
<?= $menu_over ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .line {
|
||||||
|
<?= $link_color ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {margin-left:<?=$m_w?>px;}
|
#body {
|
||||||
|
margin-left: <?= $m_w ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
@ -41,12 +57,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <?php if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<?php } ?> class="change-link">
|
<a href="<?php echo $me['me_link'] ?>" <?php if ($me['me_target']) { ?>target="_<?= $me['me_target'] ?>" <?php } ?>
|
||||||
|
class="change-link">
|
||||||
<?= $me['me_name'] ?>
|
<?= $me['me_name'] ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php }} ?>
|
<?php }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -58,8 +76,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
||||||
JOIN<
|
JOIN< </a>
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } else { //멤버일 경우 ?>
|
<?php } else { //멤버일 경우 ?>
|
||||||
|
|
@ -86,13 +103,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.L.css"
|
||||||
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" onclick="return fn_control_bgm('play')"
|
||||||
|
class="control-bgm-play" style="display:none;">
|
||||||
BGM ON
|
BGM ON
|
||||||
</a>
|
</a>
|
||||||
<a href="<?=G5_URL?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')" class="control-bgm-stop">
|
<a href="<?= G5_URL ?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')"
|
||||||
|
class="control-bgm-stop">
|
||||||
BGM OFF
|
BGM OFF
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* *************************************
|
/* *************************************
|
||||||
:: 우측 메뉴 스타일 ::
|
:: 우측 메뉴 스타일 ::
|
||||||
|
|
@ -13,12 +14,27 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css"
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.freebak-menu {width:<?=$m_w?>px; <?=$background?>}
|
.freebak-menu {
|
||||||
.freebak-menu a {<?=$menu_default?>}
|
width: <?= $m_w ?>px;
|
||||||
.freebak-menu a:hover {<?=$menu_over?>}
|
<?= $background ?>
|
||||||
.freebak-menu .line {<?=$link_color?>}
|
}
|
||||||
|
|
||||||
|
.freebak-menu a {
|
||||||
|
<?= $menu_default ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu a:hover {
|
||||||
|
<?= $menu_over ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .line {
|
||||||
|
<?= $link_color ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {margin-right:<?=$m_w?>px;}
|
#body {
|
||||||
|
margin-right: <?= $m_w ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
@ -40,12 +56,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css"
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <?php if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<?php } ?> class="change-link">
|
<a href="<?php echo $me['me_link'] ?>" <?php if ($me['me_target']) { ?>target="_<?= $me['me_target'] ?>" <?php } ?>
|
||||||
|
class="change-link">
|
||||||
<?= $me['me_name'] ?>
|
<?= $me['me_name'] ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php }} ?>
|
<?php }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -57,8 +75,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css"
|
||||||
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
||||||
JOIN<
|
JOIN< </a>
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } else { //멤버일 경우 ?>
|
<?php } else { //멤버일 경우 ?>
|
||||||
|
|
@ -85,13 +102,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.R.css"
|
||||||
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" onclick="return fn_control_bgm('play')"
|
||||||
|
class="control-bgm-play" style="display:none;">
|
||||||
BGM ON
|
BGM ON
|
||||||
</a>
|
</a>
|
||||||
<a href="<?=G5_URL?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')" class="control-bgm-stop">
|
<a href="<?= G5_URL ?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')"
|
||||||
|
class="control-bgm-stop">
|
||||||
BGM OFF
|
BGM OFF
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
/* *************************************
|
/* *************************************
|
||||||
:: 우측 메뉴 스타일 ::
|
:: 우측 메뉴 스타일 ::
|
||||||
|
|
@ -13,12 +14,27 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css"
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.freebak-menu {height:<?=$m_h?>px; <?=$background?>}
|
.freebak-menu {
|
||||||
.freebak-menu a {<?=$menu_default?>}
|
height: <?= $m_h ?>px;
|
||||||
.freebak-menu a:hover {<?=$menu_over?>}
|
<?= $background ?>
|
||||||
.freebak-menu .line {<?=$link_color?>}
|
}
|
||||||
|
|
||||||
|
.freebak-menu a {
|
||||||
|
<?= $menu_default ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu a:hover {
|
||||||
|
<?= $menu_over ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.freebak-menu .line {
|
||||||
|
<?= $link_color ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {padding-top:<?=$m_h?>px;}
|
#body {
|
||||||
|
padding-top: <?= $m_h ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
@ -40,12 +56,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css"
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo $me['me_link']?>" <?php if($me['me_target']) { ?>target="_<?=$me['me_target']?>"<?php } ?> class="change-link">
|
<a href="<?php echo $me['me_link'] ?>" <?php if ($me['me_target']) { ?>target="_<?= $me['me_target'] ?>" <?php } ?>
|
||||||
|
class="change-link">
|
||||||
<?= $me['me_name'] ?>
|
<?= $me['me_name'] ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php }} ?>
|
<?php }
|
||||||
|
} ?>
|
||||||
|
|
||||||
<li class="line"></li>
|
<li class="line"></li>
|
||||||
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
<?php if (!$is_member) { //멤버가 아닐 경우 ?>
|
||||||
|
|
@ -57,8 +75,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css"
|
||||||
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
<?php if ($is_add_register) { //회원가입이 가능한 경우 ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
<a href="<?= G5_BBS_URL ?>/register.php" class="change-link">
|
||||||
JOIN<
|
JOIN< </a>
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } else { //멤버일 경우 ?>
|
<?php } else { //멤버일 경우 ?>
|
||||||
|
|
@ -85,13 +102,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$menu_skin_url.'/css/style.T.css"
|
||||||
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
<?php if (defined('_INDEX_') && $config['cf_bgm']) { ?>
|
||||||
<li class="bgm-btn">
|
<li class="bgm-btn">
|
||||||
<div id="site_bgm_box">
|
<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>
|
<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>
|
</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;">
|
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" onclick="return fn_control_bgm('play')"
|
||||||
|
class="control-bgm-play" style="display:none;">
|
||||||
BGM ON
|
BGM ON
|
||||||
</a>
|
</a>
|
||||||
<a href="<?=G5_URL?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')" class="control-bgm-stop">
|
<a href="<?= G5_URL ?>/bgm.php" target="bgm_frame" onclick="return fn_control_bgm('stop')"
|
||||||
|
class="control-bgm-stop">
|
||||||
BGM OFF
|
BGM OFF
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3>에디터 메뉴 설정</h3>
|
<h3>에디터 메뉴 설정</h3>
|
||||||
|
|
@ -18,9 +19,11 @@ if (!defined('_GNUBOARD_')) exit;
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<?php echo help('가로 사이즈는 좌측/우측 메뉴일 경우 적용됩니다. 세로 사이즈는 상단/하단 메뉴일 경우 적용됩니다.') ?>
|
<?php echo help('가로 사이즈는 좌측/우측 메뉴일 경우 적용됩니다. 세로 사이즈는 상단/하단 메뉴일 경우 적용됩니다.') ?>
|
||||||
|
|
||||||
가로 : <input type="text" name="cs_value[<?=$css_index?>]" value="<?php echo $de['menu_size']['cs_value'] ?>" size="5"/>px
|
가로 : <input type="text" name="cs_value[<?= $css_index ?>]" value="<?php echo $de['menu_size']['cs_value'] ?>"
|
||||||
|
size="5" />px
|
||||||
|
|
||||||
세로 : <input type="text" name="cs_etc_1[<?=$css_index?>]" value="<?php echo $de['menu_size']['cs_etc_1'] ?>" size="5"/>px
|
세로 : <input type="text" name="cs_etc_1[<?= $css_index ?>]" value="<?php echo $de['menu_size']['cs_etc_1'] ?>"
|
||||||
|
size="5" />px
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr <?php $css_index++; ?>>
|
</tr <?php $css_index++; ?>>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
$menu_size = get_style("menu_size");
|
$menu_size = get_style("menu_size");
|
||||||
$menu_content = get_style("menu_content");
|
$menu_content = get_style("menu_content");
|
||||||
|
|
@ -8,4 +9,3 @@ $m_w = $menu_size['cs_value'];
|
||||||
$m_h = $menu_size['cs_etc_1'];
|
$m_h = $menu_size['cs_etc_1'];
|
||||||
|
|
||||||
$menu_con = conv_content($menu_content['cs_value'], 1, '');
|
$menu_con = conv_content($menu_content['cs_value'], 1, '');
|
||||||
?>
|
|
||||||
|
|
@ -1,14 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.B.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.B.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.editor-menu {height:<?=$m_h?>px; <?=$background?>}
|
.editor-menu {
|
||||||
|
height: <?= $m_h ?>px;
|
||||||
|
<?= $background ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {padding-bottom:<?=$m_h?>px;}
|
#body {
|
||||||
|
padding-bottom: <?= $m_h ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.L.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.L.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.editor-menu {width:<?=$m_w?>px; <?=$background?>}
|
.editor-menu {
|
||||||
|
width: <?= $m_w ?>px;
|
||||||
|
<?= $background ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {margin-left:<?=$m_w?>px;}
|
#body {
|
||||||
|
margin-left: <?= $m_w ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.R.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.R.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.editor-menu {width:<?=$m_w?>px; <?=$background?>}
|
.editor-menu {
|
||||||
|
width: <?= $m_w ?>px;
|
||||||
|
<?= $background ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {margin-right:<?=$m_w?>px;}
|
#body {
|
||||||
|
margin-right: <?= $m_w ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_'))
|
||||||
|
exit;
|
||||||
|
|
||||||
// 좌측 메뉴 스타일
|
// 좌측 메뉴 스타일
|
||||||
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.T.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.T.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.editor-menu {height:<?=$m_h?>px; <?=$background?>}
|
.editor-menu {
|
||||||
|
height: <?= $m_h ?>px;
|
||||||
|
<?= $background ?>
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width:1025px) {
|
@media all and (min-width:1025px) {
|
||||||
#body {padding-top:<?=$m_h?>px;}
|
#body {
|
||||||
|
padding-top: <?= $m_h ?>px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue