update compatible avocado personal and typo
This commit is contained in:
parent
9a4169f181
commit
7b636e5003
97 changed files with 585 additions and 295 deletions
|
|
@ -49,6 +49,7 @@ if (!defined('_GNUBOARD_'))
|
|||
|
||||
$('#gnb .check').addClass('on').parents('li').addClass('on').find('.gnb_2dul').show();
|
||||
});
|
||||
</script><?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
</script>
|
||||
<?php
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/json.lib.php');
|
||||
include_once G5_LIB_PATH . "/json.lib.php";
|
||||
|
||||
set_session('ss_admin_token', '');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
define('G5_IS_ADMIN', true);
|
||||
include_once "../../common.php";
|
||||
include_once(G5_ADMIN_PATH . '/admin.lib.php');
|
||||
include_once G5_ADMIN_PATH . "/admin.lib.php";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ include_once "./_common.php";
|
|||
auth_check($auth[$sub_menu], 'w');
|
||||
|
||||
$g5['title'] = '게시판 복사';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
?>
|
||||
|
||||
<script src="<?php echo G5_ADMIN_URL ?>/js/admin.js?ver=<?php echo G5_JS_VER; ?>"></script>
|
||||
|
|
@ -78,5 +78,5 @@ include_once(G5_PATH . '/head.sub.php');
|
|||
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@ if (!isset($board['bo_mobile_subject'])) {
|
|||
$required = "";
|
||||
$readonly = "";
|
||||
if ($w == '') {
|
||||
|
||||
$html_title .= ' 생성';
|
||||
|
||||
$required = 'required';
|
||||
|
|
@ -105,6 +104,7 @@ if ($w == '') {
|
|||
|
||||
$board['bo_gallery_height'] = 600;
|
||||
|
||||
$board['bo_use_dhtml_editor'] = '1';
|
||||
$board['bo_page_rows'] = $config['cf_page_rows'];
|
||||
$board['bo_mobile_page_rows'] = $config['cf_page_rows'];
|
||||
$board['bo_subject_len'] = 60;
|
||||
|
|
@ -137,7 +137,7 @@ if ($w == '') {
|
|||
$board['bo_gallery_width'] = 130;
|
||||
|
||||
if (!$board['bo_table'])
|
||||
alert('존재하지 않은 게시판 입니다.');
|
||||
alert('존재하지 않는 게시판 입니다.');
|
||||
|
||||
if ($is_admin == 'group') {
|
||||
if ($member['mb_id'] != $group['gr_admin'])
|
||||
|
|
@ -167,7 +167,6 @@ $pg_anchor = '<ul class="anchor">
|
|||
</ul>';
|
||||
|
||||
?>
|
||||
|
||||
<form name="fboardform" id="fboardform" action="./board_form_update.php" onsubmit="return fboardform_submit(this)"
|
||||
method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
|
|
@ -382,6 +381,18 @@ $pg_anchor = '<ul class="anchor">
|
|||
<label for="chk_all_comment_level">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_html_level">HTML 쓰기 권한</label></th>
|
||||
<td>
|
||||
<?php echo get_member_level_select('bo_html_level', 1, 10, $board['bo_html_level']) ?>
|
||||
</td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_grp_html_level" value="1" id="chk_grp_html_level">
|
||||
<label for="chk_grp_html_level">그룹적용</label>
|
||||
<input type="checkbox" name="chk_all_html_level" value="1" id="chk_all_html_level">
|
||||
<label for="chk_all_html_level">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
@ -600,7 +611,8 @@ $pg_anchor = '<ul class="anchor">
|
|||
<h2 class="h2_frm">확장 기능 설정</h2>
|
||||
<?php echo $pg_anchor ?>
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<div style="background: #f9f9f9; padding: 8px 16px; border-color: #efeff5; border-style: solid; border-width: 1px 0 1px 0; color: #5b5b5a">
|
||||
<div
|
||||
style="background: #f9f9f9; padding: 8px 16px; border-color: #efeff5; border-style: solid; border-width: 1px 0 1px 0; color: #5b5b5a">
|
||||
게시판 스킨에 확장 기능이 없습니다.
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ if (!is_file(G5_DATA_PATH . '/cache/browscap_cache.php')) {
|
|||
exit;
|
||||
}
|
||||
|
||||
include_once(G5_PLUGIN_PATH . '/browscap/Browscap.php');
|
||||
include_once G5_PLUGIN_PATH . "/browscap/Browscap.php";
|
||||
$browscap = new phpbrowscap\Browscap(G5_DATA_PATH . '/cache');
|
||||
$browscap->doAutoUpdate = false;
|
||||
$browscap->cacheFilename = 'browscap_cache.php';
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE')
|
|||
if ($is_admin != 'super')
|
||||
die('최고관리자만 접근 가능합니다.');
|
||||
|
||||
include_once(G5_PLUGIN_PATH . '/browscap/Browscap.php');
|
||||
include_once G5_PLUGIN_PATH . "/browscap/Browscap.php";
|
||||
|
||||
$browscap = new phpbrowscap\Browscap(G5_DATA_PATH . '/cache');
|
||||
$browscap->updateMethod = 'cURL';
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ if ($w == "u") {
|
|||
$co['co_mobile_skin'] = 'basic';
|
||||
}
|
||||
|
||||
include_once(G5_ADMIN_PATH . '/admin.head.php');
|
||||
include_once G5_ADMIN_PATH . "/admin.head.php";
|
||||
?>
|
||||
|
||||
<form name="frmcontentform" action="./contentformupdate.php" onsubmit="return frmcontentform_check(this);" method="post"
|
||||
|
|
@ -204,5 +204,5 @@ include_once(G5_ADMIN_PATH . '/admin.head.php');
|
|||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_ADMIN_PATH . '/admin.tail.php');
|
||||
include_once G5_ADMIN_PATH . "/admin.tail.php";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ if (!sql_query(" DESCRIBE {$g5['content_table']} ", false)) {
|
|||
}
|
||||
|
||||
$g5['title'] = '내용관리';
|
||||
include_once(G5_ADMIN_PATH . '/admin.head.php');
|
||||
include_once G5_ADMIN_PATH . "/admin.head.php";
|
||||
|
||||
$sql_common = " from {$g5['content_table']} where co_subject != '' ";
|
||||
|
||||
|
|
@ -107,4 +107,4 @@ $result = sql_query($sql);
|
|||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr&page="); ?>
|
||||
|
||||
<?php
|
||||
include_once(G5_ADMIN_PATH . '/admin.tail.php');
|
||||
include_once G5_ADMIN_PATH . "/admin.tail.php";
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ body {
|
|||
width: 71px;
|
||||
float: left;
|
||||
border: none;
|
||||
border-left: 1px solid var(--theme-color-a);
|
||||
background: var(--theme-color-e);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
|
|
|
|||
|
|
@ -574,7 +574,7 @@ $editor_list = [];
|
|||
<br />
|
||||
<?php
|
||||
//------- 메뉴 스킨 확장 설정 처리 부분
|
||||
@include_once(G5_PATH . "/skin/menu/" . $de['menu_skin']['cs_value'] . "/admin.setting.php");
|
||||
@include_once G5_PATH . "/skin/menu/" . $de['menu_skin']['cs_value'] . "/admin.setting.php";
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ $mb_zip2 = substr($_POST['mb_zip'], 3);
|
|||
|
||||
// 관리자가 자동등록방지를 사용해야 할 경우 ( 회원의 비밀번호 변경시 캡챠를 체크한다 )
|
||||
if ($mb_password && function_exists('get_admin_captcha_by') && get_admin_captcha_by()) {
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
if (!chk_captcha()) {
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ if ($is_admin != 'super')
|
|||
alert_close('최고관리자만 접근 가능합니다.');
|
||||
|
||||
$g5['title'] = '메뉴 추가';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
// 코드
|
||||
if ($new == 'new' || !$code) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$sub_menu = "100280";
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/json.lib.php');
|
||||
include_once G5_LIB_PATH . "/json.lib.php";
|
||||
|
||||
$data = [];
|
||||
$data['error'] = '';
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
|
||||
include_once(G5_LIB_PATH . '/visit.lib.php');
|
||||
include_once G5_LIB_PATH . "/visit.lib.php";
|
||||
include_once "./admin.head.php";
|
||||
include_once(G5_PLUGIN_PATH . '/jquery-ui/datepicker.php');
|
||||
include_once G5_PLUGIN_PATH . "/jquery-ui/datepicker.php";
|
||||
|
||||
if (empty($fr_date) || !preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $fr_date))
|
||||
$fr_date = G5_TIME_YMD;
|
||||
|
|
@ -34,7 +34,8 @@ $query_string = $qstr ? '?' . $qstr : '';
|
|||
</form>
|
||||
<br />
|
||||
<ul class="anchor">
|
||||
<li <?= $file_data == 'visit_list.php' ? "class='on'" : "" ?>><a href="./visit_list.php<?php echo $query_string ?>">접속자</a>
|
||||
<li <?= $file_data == 'visit_list.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_list.php<?php echo $query_string ?>">접속자</a>
|
||||
</li>
|
||||
<li <?= $file_data == 'visit_domain.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_domain.php<?php echo $query_string ?>">도메인</a></li>
|
||||
|
|
@ -46,13 +47,16 @@ $query_string = $qstr ? '?' . $qstr : '';
|
|||
<li <?= $file_data == 'visit_device.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_device.php<?php echo $query_string ?>">접속기기</a></li>
|
||||
<?php } ?>
|
||||
<li <?= $file_data == 'visit_hour.php' ? "class='on'" : "" ?>><a href="./visit_hour.php<?php echo $query_string ?>">시간</a>
|
||||
<li <?= $file_data == 'visit_hour.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_hour.php<?php echo $query_string ?>">시간</a>
|
||||
</li>
|
||||
<li <?= $file_data == 'visit_week.php' ? "class='on'" : "" ?>><a href="./visit_week.php<?php echo $query_string ?>">요일</a>
|
||||
<li <?= $file_data == 'visit_week.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_week.php<?php echo $query_string ?>">요일</a>
|
||||
</li>
|
||||
<li <?= $file_data == 'visit_date.php' ? "class='on'" : "" ?>><a href="./visit_date.php<?php echo $query_string ?>">일</a>
|
||||
</li>
|
||||
<li <?= $file_data == 'visit_month.php' ? "class='on'" : "" ?>><a href="./visit_month.php<?php echo $query_string ?>">월</a>
|
||||
<li <?= $file_data == 'visit_month.php' ? "class='on'" : "" ?>><a
|
||||
href="./visit_month.php<?php echo $query_string ?>">월</a>
|
||||
</li>
|
||||
<li <?= $file_data == 'visit_year.php' ? "class='on'" : "" ?>><a href="./visit_year.php<?php echo $query_string ?>">년</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
$sub_menu = '200810';
|
||||
include_once "./_common.php";
|
||||
include_once(G5_PATH . '/lib/visit.lib.php');
|
||||
include_once G5_PATH . "/lib/visit.lib.php";
|
||||
|
||||
auth_check($auth[$sub_menu], 'r');
|
||||
|
||||
$g5['title'] = '접속자검색';
|
||||
include_once "./admin.head.php";
|
||||
include_once(G5_PLUGIN_PATH . '/jquery-ui/datepicker.php');
|
||||
include_once G5_PLUGIN_PATH . "/jquery-ui/datepicker.php";
|
||||
|
||||
$colspan = 6;
|
||||
$listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '">처음</a>'; //페이지 처음으로 (초기화용도)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_PATH . '/_head.php');
|
||||
include_once G5_PATH . "/_head.php";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_PATH . '/_tail.php');
|
||||
include_once G5_PATH . "/_tail.php";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/json.lib.php');
|
||||
include_once G5_LIB_PATH . "/json.lib.php";
|
||||
|
||||
$ss_name = 'ss_comment_token';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/register.lib.php');
|
||||
include_once G5_LIB_PATH . "/register.lib.php";
|
||||
|
||||
$mb_email = trim($_POST['reg_mb_email']);
|
||||
$mb_id = trim($_POST['reg_mb_id']);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/register.lib.php');
|
||||
include_once G5_LIB_PATH . "/register.lib.php";
|
||||
|
||||
$mb_hp = trim($_POST['reg_mb_hp']);
|
||||
$mb_id = trim($_POST['reg_mb_id']);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/register.lib.php');
|
||||
include_once G5_LIB_PATH . "/register.lib.php";
|
||||
|
||||
$mb_id = trim($_POST['reg_mb_id']);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/register.lib.php');
|
||||
include_once G5_LIB_PATH . "/register.lib.php";
|
||||
|
||||
$mb_nick = trim($_POST['reg_mb_nick']);
|
||||
$mb_id = trim($_POST['reg_mb_id']);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . "/register.lib.php");
|
||||
include_once G5_LIB_PATH . "/register.lib.php";
|
||||
|
||||
$mb_recommend = trim($_POST["reg_mb_recommend"]);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ if ($error) {
|
|||
} else {
|
||||
$g5['title'] = "결과안내 페이지";
|
||||
}
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
// 필수 입력입니다.
|
||||
// 양쪽 공백 없애기
|
||||
// 필수 (선택 혹은 입력)입니다.
|
||||
|
|
@ -110,5 +110,5 @@ if ($error) {
|
|||
</noscript>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$msg2 = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
|
|
@ -57,5 +57,5 @@ if ($error) {
|
|||
</noscript>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ if (isset($wr_id) && $wr_id) {
|
|||
$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']) . ' ' . $page . ' 페이지';
|
||||
}
|
||||
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$width = $board['bo_table_width'];
|
||||
if ($width <= 100)
|
||||
|
|
@ -219,25 +219,25 @@ $admin_href = "";
|
|||
if ($member['mb_id'] && ($is_admin == 'super' || $group['gr_admin'] == $member['mb_id']))
|
||||
$admin_href = G5_ADMIN_URL . '/board_form.php?w=u&bo_table=' . $bo_table;
|
||||
|
||||
include_once(G5_BBS_PATH . '/board_head.php');
|
||||
include_once G5_BBS_PATH . "/board_head.php";
|
||||
|
||||
// 게시물 아이디가 있다면 게시물 보기를 INCLUDE
|
||||
if (isset($wr_id) && $wr_id) {
|
||||
include_once(G5_BBS_PATH . '/view.php');
|
||||
include_once G5_BBS_PATH . "/view.php";
|
||||
}
|
||||
|
||||
// 전체목록보이기 사용이 "예" 또는 wr_id 값이 없다면 목록을 보임
|
||||
//if ($board['bo_use_list_view'] || empty($wr_id))
|
||||
if ($member['mb_level'] >= $board['bo_list_level'] && $board['bo_use_list_view'] || empty($wr_id)) {
|
||||
if ($board['bo_type'] == 'mmb')
|
||||
include_once(G5_BBS_PATH . '/list.mmb.php');
|
||||
include_once G5_BBS_PATH . "/list.mmb.php";
|
||||
else
|
||||
include_once(G5_BBS_PATH . '/list.php');
|
||||
include_once G5_BBS_PATH . "/list.php";
|
||||
|
||||
}
|
||||
|
||||
include_once(G5_BBS_PATH . '/board_tail.php');
|
||||
include_once G5_BBS_PATH . "/board_tail.php";
|
||||
|
||||
echo "\n<!-- 사용스킨 : " . (G5_IS_MOBILE ? $board['bo_mobile_skin'] : $board['bo_skin']) . " -->\n";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -2,5 +2,20 @@
|
|||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
include_once(G5_BBS_PATH . '/_head.php');
|
||||
@include($board['bo_include_head']);
|
||||
include_once G5_BBS_PATH . '/_head.php';
|
||||
|
||||
if(is_include_path_check($board['bo_include_head'])) {
|
||||
@include $board['bo_include_head'];
|
||||
}
|
||||
|
||||
/**
|
||||
* origin code from https://extrashot.tistory.com
|
||||
* @author Extra Shot
|
||||
*/
|
||||
if ($board['bo_use_pass']) {
|
||||
//@230623 세션 저장 방식 변경
|
||||
$ss_bo_name = "bo_pass_{$board["bo_table"]}";
|
||||
if (!$is_admin && !get_session($ss_bo_name)) {
|
||||
goto_url("./password.php?w=bs&bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
@include($board['bo_include_tail']);
|
||||
include_once(G5_BBS_PATH . '/_tail.php');
|
||||
if(is_include_path_check($board['bo_include_tail'])) {
|
||||
@include $board['bo_include_tail'];
|
||||
}
|
||||
|
||||
include_once G5_BBS_PATH . '/_tail.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$url1 = clean_xss_tags($url1, 1);
|
||||
$url2 = clean_xss_tags($url2, 1);
|
||||
|
|
@ -39,4 +39,4 @@ check_url_host($url3);
|
|||
</article>
|
||||
</noscript>
|
||||
<?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -32,6 +32,6 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
|||
$list[$i]['num'] = sprintf('%03d', $i + 1);
|
||||
}
|
||||
|
||||
include_once($connect_skin_path . '/current_connect.skin.php');
|
||||
include_once $connect_skin_path . "/current_connect.skin.php";
|
||||
|
||||
include_once "./_tail.php";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
if (!$config['cf_email_use'])
|
||||
alert_close('환경설정에서 \"메일발송 사용\"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
||||
|
|
@ -25,7 +25,7 @@ if ($sendmail_count > 3)
|
|||
alert_close('한번 접속후 일정수의 메일만 발송할 수 있습니다.\\n\\n계속해서 메일을 보내시려면 다시 로그인 또는 접속하여 주십시오.');
|
||||
|
||||
$g5['title'] = '메일 쓰기';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$email_enc = new str_encrypt();
|
||||
$email_dec = $email_enc->decrypt($email);
|
||||
|
|
@ -47,6 +47,6 @@ if (!isset($type))
|
|||
$type_checked[0] = $type_checked[1] = $type_checked[2] = "";
|
||||
$type_checked[$type] = 'checked';
|
||||
|
||||
include_once($member_skin_path . '/formmail.skin.php');
|
||||
include_once $member_skin_path . "/formmail.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
if (!$config['cf_email_use'])
|
||||
alert('환경설정에서 "메일발송 사용"에 체크하셔야 메일을 발송할 수 있습니다.\\n\\n관리자에게 문의하시기 바랍니다.');
|
||||
|
|
@ -51,8 +51,8 @@ if (!empty($file)) {
|
|||
|
||||
//$html_title = $tmp_to . "님께 메일발송";
|
||||
$html_title = '메일 발송중';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
alert_close('메일을 정상적으로 발송하였습니다.');
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ if (defined('G5_THEME_PATH')) {
|
|||
}
|
||||
|
||||
if (G5_IS_MOBILE) {
|
||||
include_once(G5_MOBILE_PATH . '/group.php');
|
||||
include_once G5_MOBILE_PATH . "/group.php";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ if (!$is_admin && $group['gr_device'] == 'mobile')
|
|||
|
||||
$g5['title'] = $group['gr_subject'];
|
||||
include_once "./_head.php";
|
||||
include_once(G5_LIB_PATH . '/latest.lib.php');
|
||||
include_once G5_LIB_PATH . "/latest.lib.php";
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -251,4 +251,4 @@ if ($board['bo_use_rss_view']) {
|
|||
}
|
||||
|
||||
$stx = get_text(stripslashes($stx));
|
||||
include_once($board_skin_path . '/list.skin.php');
|
||||
include_once $board_skin_path . "/list.skin.php";
|
||||
|
|
|
|||
|
|
@ -265,4 +265,4 @@ if ($board['bo_use_rss_view']) {
|
|||
}
|
||||
|
||||
$stx = get_text(stripslashes($stx));
|
||||
include_once($board_skin_path . '/list.skin.php');
|
||||
include_once $board_skin_path . "/list.skin.php";
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@ check_url_host($url);
|
|||
|
||||
$url = get_text($url);
|
||||
|
||||
include_once($member_skin_path . '/member_confirm.skin.php');
|
||||
include_once $member_skin_path . "/member_confirm.skin.php";
|
||||
|
||||
include_once "./_tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
if ($is_guest)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ if ($is_admin != 'board' && $is_admin != 'group' && $is_admin != 'super')
|
|||
alert_close("게시판 관리자 이상 접근이 가능합니다.");
|
||||
|
||||
$g5['title'] = '게시물 ' . $act;
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$wr_id_list = '';
|
||||
if ($wr_id)
|
||||
|
|
@ -154,7 +154,8 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
|||
f.action = './move_update.php';
|
||||
return true;
|
||||
}
|
||||
</script><?php
|
||||
</script>
|
||||
<?php
|
||||
|
||||
EventHandler::triggerEvent("gnuboard.bbs.move_html_footer");
|
||||
|
||||
|
|
|
|||
|
|
@ -111,6 +111,6 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
|||
|
||||
$write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "?gr_id=$gr_id&view=$view&mb_id=$mb_id&page=");
|
||||
|
||||
include_once($new_skin_path . '/new.skin.php');
|
||||
include_once $new_skin_path . "/new.skin.php";
|
||||
|
||||
include_once "./_tail.php";
|
||||
|
|
|
|||
|
|
@ -28,6 +28,14 @@ switch ($w) {
|
|||
$return_url = './board.php?bo_table=' . $bo_table;
|
||||
}
|
||||
break;
|
||||
case 'p':
|
||||
// 비밀번호 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
|
||||
if ($is_admin || ($member['mb_id'] == $write['mb_id'] && $write['mb_id']))
|
||||
goto_url(G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $wr_id);
|
||||
else {
|
||||
$action = https_url(G5_BBS_DIR) . '/password_check.php';
|
||||
$return_url = G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table;
|
||||
}
|
||||
case 'sc':
|
||||
// 비밀번호 창에서 로그인 하는 경우 관리자 또는 자신의 글이면 바로 글보기로 감
|
||||
if ($is_admin || ($member['mb_id'] == $write['mb_id'] && $write['mb_id']))
|
||||
|
|
@ -50,7 +58,7 @@ switch ($w) {
|
|||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
}
|
||||
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
//if ($board['bo_include_head']) { @include ($board['bo_include_head']); }
|
||||
//if ($board['bo_content_head']) { echo stripslashes($board['bo_content_head']); }
|
||||
|
|
@ -64,11 +72,70 @@ $row = sql_fetch($sql);
|
|||
|
||||
$g5['title'] = get_text($row['wr_subject']);
|
||||
$delete_str = "";
|
||||
if ($w == 'x') $delete_str = "댓";
|
||||
if ($w == 'u') $g5['title'] = "{$delete_str}글 수정";
|
||||
else if ($w == 'd' || $w == 'x') $g5['title'] = "{$delete_str}글 삭제";
|
||||
if ($w == 'x')
|
||||
$delete_str = "댓";
|
||||
if ($w == 'u')
|
||||
$g5['title'] = "{$delete_str}글 수정";
|
||||
else if ($w == 'd' || $w == 'x')
|
||||
$g5['title'] = "{$delete_str}글 삭제";
|
||||
|
||||
include_once $member_skin_path . '/password.skin.php';
|
||||
if (is_include_path_check("{$member_skin_path}/password.skin.php")) {
|
||||
include_once "{$member_skin_path}/password.skin.php";
|
||||
} else {
|
||||
add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/style.basic.css">', 0);
|
||||
?>
|
||||
<!-- 비밀번호 확인 시작 { -->
|
||||
<div id="password_box">
|
||||
<h1 class="ui-btn point">비밀번호 확인</h1>
|
||||
<div class="descript theme-box">
|
||||
<p>
|
||||
<?php if ($w == 'u') { ?>
|
||||
<strong>작성자만 글을 수정할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 수정할 수 있습니다.
|
||||
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
||||
<strong>작성자만 글을 삭제할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 삭제할 수 있습니다.
|
||||
<?php } else if ($w == 'bs') {
|
||||
|
||||
} else if ($w == 'p') { ?>
|
||||
<strong>보호글입니다.</strong>
|
||||
열람을 위해 비밀번호를 입력 해 주세요.
|
||||
<?php } else { ?>
|
||||
<strong>비밀글 기능으로 보호된 글입니다.</strong>
|
||||
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 비밀번호를 입력하세요.
|
||||
<?php } ?>
|
||||
</p>
|
||||
<div class="pass-form">
|
||||
<form name="fboardpassword" action="<?php echo $action; ?>" method="post">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<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="comment_id" value="<?php echo $comment_id ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<fieldset class="box-pw">
|
||||
<?php if ($w == 'p') { ?>
|
||||
<input type="text" name="wr_password" id="password_wr_password" required class="frm_input required" size="15"
|
||||
maxlength="20">
|
||||
<?php } else { ?>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required"
|
||||
size="15" maxlength="20">
|
||||
<?php } ?>
|
||||
</fieldset>
|
||||
<fieldset class="box-btn">
|
||||
<input type="submit" value="확인" class="btn_submit ui-btn">
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo $return_url ?>" class="ui-btn">이전으로 돌아가기</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 비밀번호 확인 끝 -->
|
||||
<?php
|
||||
}
|
||||
|
||||
//if ($board['bo_content_tail']) { echo stripslashes($board['bo_content_tail']); }
|
||||
//if ($board['bo_include_tail']) { @include ($board['bo_include_tail']); }
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
include_once "./_common.php";
|
||||
|
||||
if ($w == 's') {
|
||||
$qstr = 'bo_table=' . $bo_table . '&sfl=' . $sfl . '&stx=' . $stx . '&sop=' . $sop . '&wr_id=' . $wr_id . '&page=' . $page;
|
||||
$qstr = "bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}";
|
||||
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
if (!$wr['wr_password'] && $wr['mb_id']) {
|
||||
|
|
@ -23,7 +23,7 @@ if ($w == 's') {
|
|||
set_session($ss_name, TRUE);
|
||||
|
||||
} else if ($w == 'p') {
|
||||
$qstr = 'bo_table=' . $bo_table . '&sfl=' . $sfl . '&stx=' . $stx . '&sop=' . $sop . '&wr_id=' . $wr_id . '&page=' . $page;
|
||||
$qstr = "bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}";
|
||||
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ if ($w == 's') {
|
|||
set_session($ss_name, TRUE);
|
||||
|
||||
} else if ($w == 'sc') {
|
||||
$qstr = 'bo_table=' . $bo_table . '&sfl=' . $sfl . '&stx=' . $stx . '&sop=' . $sop . '&wr_id=' . $wr_id . '&page=' . $page;
|
||||
$qstr = "bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}";
|
||||
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
if (!$wr['wr_password'] && $wr['mb_id']) {
|
||||
|
|
@ -57,9 +57,8 @@ if ($w == 's') {
|
|||
$ss_name = 'ss_secret_comment_' . $bo_table . '_' . $wr['wr_id'];
|
||||
//set_session("ss_secret", "$bo_table|$wr['wr_num']");
|
||||
set_session($ss_name, TRUE);
|
||||
|
||||
} else if ($w == 'bs') {
|
||||
$qstr = 'bo_table=' . $bo_table . '&sfl=' . $sfl . '&stx=' . $stx . '&sop=' . $sop . '&wr_id=' . $wr_id . '&page=' . $page;
|
||||
$qstr = "bo_table={$bo_table}&sfl={$sfl}&stx={$stx}&sop={$sop}&wr_id={$wr_id}&page={$page}";
|
||||
$bo = sql_fetch("SELECT bo_pass FROM {$g5['board_table']} where bo_table='{$bo_table}'");
|
||||
$pw = get_encrypt_string($bo['bo_pass']);
|
||||
if (!check_password($wr_password, $pw)) {
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
if ($is_member) {
|
||||
alert("이미 로그인중입니다.");
|
||||
}
|
||||
|
||||
$g5['title'] = '회원정보 찾기';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$action_url = G5_HTTPS_BBS_URL . "/password_lost2.php";
|
||||
include_once($member_skin_path . '/password_lost.skin.php');
|
||||
include_once $member_skin_path . "/password_lost.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if ($is_guest)
|
|||
alert_close('회원만 조회하실 수 있습니다.');
|
||||
|
||||
$g5['title'] = get_text($member['mb_nick']) . ' 님의 포인트 내역';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$list = [];
|
||||
|
||||
|
|
@ -23,6 +23,6 @@ if ($page < 1) {
|
|||
} // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
$from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
include_once($member_skin_path . '/point.skin.php');
|
||||
include_once $member_skin_path . "/point.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
$g5['title'] = "설문조사";
|
||||
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/poll.lib.php');
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_LIB_PATH . "/poll.lib.php";
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
echo poll('basic', $po_id);
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
if ($w == '') {
|
||||
$po_id = $_POST['po_id'];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
$po = sql_fetch("SELECT * FROM {$g5['poll_table']} where po_id = '{$po_id}' ");
|
||||
if (!$po['po_id'])
|
||||
|
|
@ -109,10 +109,10 @@ if (preg_match('#^theme/(.+)$#', $skin_dir, $match)) {
|
|||
}
|
||||
}
|
||||
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
if (!file_exists($poll_skin_path . '/poll_result.skin.php'))
|
||||
die('skin error');
|
||||
include_once($poll_skin_path . '/poll_result.skin.php');
|
||||
include_once $poll_skin_path . "/poll_result.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ if (!$mb['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
|
|||
alert_close('정보공개를 하지 않았습니다.');
|
||||
|
||||
$g5['title'] = $mb['mb_nick'] . '님의 자기소개';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$mb_nick = get_sideview($mb['mb_id'], get_text($mb['mb_nick']), $mb['mb_email'], $mb['mb_homepage'], $mb['mb_open']);
|
||||
$mb_nick = get_sideview($mb['mb_id'], get_text($mb['mb_nick']), $mb['mb_email'], $mb['mb_homepage']);
|
||||
|
||||
// 회원가입후 몇일째인지? + 1 은 당일을 포함한다는 뜻
|
||||
$sql = " select (TO_DAYS('" . G5_TIME_YMDHIS . "') - TO_DAYS('{$mb['mb_datetime']}') + 1) as days ";
|
||||
|
|
@ -27,6 +27,6 @@ $mb_reg_after = $row['days'];
|
|||
$mb_homepage = set_http(get_text(clean_xss_tags($mb['mb_homepage'])));
|
||||
$mb_profile = $mb['mb_profile'] ? conv_content($mb['mb_profile'], 0) : '소개 내용이 없습니다.';
|
||||
|
||||
include_once($member_skin_path . '/profile.skin.php');
|
||||
include_once $member_skin_path . "/profile.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once "./_common.php";
|
||||
|
||||
if ($is_guest)
|
||||
alert('회원이시라면 로그인 후 이용해 주십시오.', G5_URL);
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ EventHandler::triggerEvent("gnuboard.bbs.qawrite_update", $qa_id, $write, $w, $q
|
|||
|
||||
// 답변 이메일전송
|
||||
if ($w == 'a' && $write['qa_email_recv'] && trim($write['qa_email'])) {
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
$subject = $config['cf_title'] . ' ' . $qaconfig['qa_title'] . ' 답변 알림 메일';
|
||||
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
|
||||
|
|
@ -334,7 +334,7 @@ if ($w == 'a' && $write['qa_email_recv'] && trim($write['qa_email'])) {
|
|||
|
||||
// 문의글등록 이메일전송
|
||||
if (($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) {
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
$subject = $config['cf_title'] . ' ' . $qaconfig['qa_title'] . ' 질문 알림 메일';
|
||||
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ goto_url(G5_BBS_URL . '/register_form.php');
|
|||
//include_once "./_head.php";
|
||||
|
||||
//$register_action_url = G5_BBS_URL.'/register_form.php';
|
||||
//include_once($member_skin_path.'/register.skin.php');
|
||||
//include_once $member_skin_path."/register.skin.php";
|
||||
|
||||
//include_once "./_tail.php";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
$g5['title'] = '메일인증 메일주소 변경';
|
||||
include_once "./_head.php";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
$mb_id = substr(clean_xss_tags($_POST['mb_id']), 0, 20);
|
||||
$mb_email = get_email_address(trim($_POST['mb_email']));
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ if ($w == '' || $w == 'u') {
|
|||
}
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once($member_skin_path . '/register_form_update.head.skin.php');
|
||||
@include_once $member_skin_path . "/register_form_update.head.skin.php";
|
||||
|
||||
//===============================================================
|
||||
// 본인확인
|
||||
|
|
@ -442,7 +442,7 @@ if ($config['cf_use_email_certify'] && $old_email != $mb_email) {
|
|||
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once($member_skin_path . '/register_form_update.tail.skin.php');
|
||||
@include_once $member_skin_path . "/register_form_update.tail.skin.php";
|
||||
|
||||
unset($_SESSION['ss_cert_type']);
|
||||
unset($_SESSION['ss_cert_no']);
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@ if (!$mb['mb_id'])
|
|||
|
||||
$g5['title'] = '회원가입이 완료되었습니다.';
|
||||
include_once "./_head.php";
|
||||
include_once($member_skin_path . '/register_result.skin.php');
|
||||
include_once $member_skin_path . "/register_result.skin.php";
|
||||
include_once "./_tail.php";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if (!$is_member)
|
|||
alert_close('회원만 조회하실 수 있습니다.');
|
||||
|
||||
$g5['title'] = get_text($member['mb_nick']) . '님의 스크랩';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$sql_common = " from {$g5['scrap_table']} where mb_id = '{$member['mb_id']}' ";
|
||||
$sql_order = " ORDER BY ms_id DESC ";
|
||||
|
|
@ -56,6 +56,6 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
|||
$list[$i]['del_href'] = './scrap_delete.php?ms_id=' . $row['ms_id'] . '&page=' . $page;
|
||||
}
|
||||
|
||||
include_once($member_skin_path . '/scrap.skin.php');
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once $member_skin_path . "/scrap.skin.php";
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
if ($is_guest) {
|
||||
$href = './login.php?' . $qstr . '&url=' . urlencode('./board.php?bo_table=' . $bo_table . '&wr_id=' . $wr_id);
|
||||
|
|
@ -54,6 +54,6 @@ HEREDOC;
|
|||
exit;
|
||||
}
|
||||
|
||||
include_once($member_skin_path . '/scrap_popin.skin.php');
|
||||
include_once $member_skin_path . "/scrap_popin.skin.php";
|
||||
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
if (!$is_member) {
|
||||
$href = './login.php?' . $qstr . '&url=' . urlencode('./board.php?bo_table=' . $bo_table . '&wr_id=' . $wr_id);
|
||||
|
|
|
|||
|
|
@ -234,6 +234,6 @@ if (!$sfl)
|
|||
if (!$sop)
|
||||
$sop = 'or';
|
||||
|
||||
include_once($search_skin_path . '/search.skin.php');
|
||||
include_once $search_skin_path . "/search.skin.php";
|
||||
|
||||
include_once "./_tail.php";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ $sop = strtolower($sop);
|
|||
if ($sop != 'and' && $sop != 'or')
|
||||
$sop = 'and';
|
||||
|
||||
@include_once($board_skin_path . '/view.head.skin.php');
|
||||
@include_once $board_skin_path . "/view.head.skin.php";
|
||||
|
||||
$sql_search = "";
|
||||
// 검색이면
|
||||
|
|
@ -136,5 +136,5 @@ if ($board['bo_use_signature'] && $view['mb_id']) {
|
|||
$signature = conv_content($signature, 1);
|
||||
}
|
||||
|
||||
include_once($board_skin_path . '/view.skin.php');
|
||||
@include_once($board_skin_path . '/view.tail.skin.php');
|
||||
include_once $board_skin_path . "/view.skin.php";
|
||||
@include_once $board_skin_path . "/view.tail.skin.php";
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
$captcha_html = "";
|
||||
if ($is_guest && $board['bo_comment_level'] < 2) {
|
||||
$captcha_html = captcha_html('_comment');
|
||||
}
|
||||
|
||||
@include_once($board_skin_path . '/view_comment.head.skin.php');
|
||||
@include_once $board_skin_path . "/view_comment.head.skin.php";
|
||||
|
||||
$list = [];
|
||||
|
||||
|
|
@ -109,9 +109,9 @@ if ($is_admin) {
|
|||
$comment_max = (int) $board['bo_comment_max'];
|
||||
}
|
||||
|
||||
include_once($board_skin_path . '/view_comment.skin.php');
|
||||
include_once $board_skin_path . "/view_comment.skin.php";
|
||||
|
||||
if (!$member['mb_id']) // 비회원일 경우에만
|
||||
echo '<script src="' . G5_JS_URL . '/md5.js"></script>' . "\n";
|
||||
|
||||
@include_once($board_skin_path . '/view_comment.tail.skin.php');
|
||||
@include_once $board_skin_path . "/view_comment.tail.skin.php";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
include_once "./_common.php";
|
||||
|
||||
$g5['title'] = '이미지 크게보기';
|
||||
include_once(G5_PATH . '/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
$filename = $_GET['fn'];
|
||||
$bo_table = $_GET['bo_table'];
|
||||
|
|
@ -106,5 +106,5 @@ if (is_file($filepath)) {
|
|||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH . '/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE')
|
|||
|
||||
// Browscap 캐시 파일이 있으면 실행
|
||||
if (defined('G5_VISIT_BROWSCAP_USE') && G5_VISIT_BROWSCAP_USE && is_file(G5_DATA_PATH . '/cache/browscap_cache.php')) {
|
||||
include_once(G5_PLUGIN_PATH . '/browscap/Browscap.php');
|
||||
include_once G5_PLUGIN_PATH . "/browscap/Browscap.php";
|
||||
|
||||
$browscap = new phpbrowscap\Browscap(G5_DATA_PATH . '/cache');
|
||||
$browscap->doAutoUpdate = false;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ if (get_cookie('ck_visit_ip') != $_SERVER['REMOTE_ADDR']) {
|
|||
$vi_os = '';
|
||||
$vi_device = '';
|
||||
if (version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE) {
|
||||
include_once(G5_BBS_PATH . '/visit_browscap.inc.php');
|
||||
include_once G5_BBS_PATH . "/visit_browscap.inc.php";
|
||||
}
|
||||
$sql = " insert {$g5['visit_table']} ( vi_id, vi_ip, vi_date, vi_time, vi_referer, vi_agent, vi_browser, vi_os, vi_device ) values ( '{$vi_id}', '{$remote_addr}', '" . G5_TIME_YMD . "', '" . G5_TIME_HIS . "', '{$referer}', '{$user_agent}', '{$vi_browser}', '{$vi_os}', '{$vi_device}' ) ";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
define('G5_CAPTCHA', true);
|
||||
include_once "./_common.php";
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
// 토큰체크
|
||||
$comment_token = trim(get_session('ss_comment_token'));
|
||||
|
|
@ -15,7 +15,7 @@ if (substr_count($wr_content, "&#") > 50) {
|
|||
exit;
|
||||
}
|
||||
|
||||
@include_once($board_skin_path . '/write_comment_update.head.skin.php');
|
||||
@include_once $board_skin_path . "/write_comment_update.head.skin.php";
|
||||
|
||||
$w = $_POST["w"];
|
||||
$wr_name = trim($_POST['wr_name']);
|
||||
|
|
@ -136,9 +136,19 @@ if ($w == 'c') // 댓글 입력
|
|||
|
||||
//$wr_subject = get_text(stripslashes($wr['wr_subject']));
|
||||
|
||||
$wr_option = "";
|
||||
if ($wr_secret || $secret || $html) {
|
||||
$_options = [];
|
||||
|
||||
if ($html) $_options[] = $html;
|
||||
if ($wr_secret || $secret) $_options[] = $wr_secret ? $wr_secret : $secret;
|
||||
|
||||
$wr_option = implode(",", $_options);
|
||||
}
|
||||
|
||||
$sql = "INSERT INTO $write_table
|
||||
SET ca_name = '{$wr['ca_name']}',
|
||||
wr_option = '$wr_secret',
|
||||
wr_option = '$wr_option',
|
||||
wr_num = '{$wr['wr_num']}',
|
||||
wr_reply = '',
|
||||
wr_parent = '$wr_id',
|
||||
|
|
@ -206,7 +216,7 @@ if ($w == 'c') // 댓글 입력
|
|||
// 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정
|
||||
$link_url = G5_BBS_URL . "/board.php?bo_table=" . $bo_table . "&wr_id=" . $wr_id . "&" . $qstr . "#c_" . $comment_id;
|
||||
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
ob_start();
|
||||
include_once "./write_update_mail.php";
|
||||
|
|
@ -310,9 +320,15 @@ if ($w == 'c') // 댓글 입력
|
|||
if (!$is_admin)
|
||||
$sql_ip = " , wr_ip = '{$_SERVER['REMOTE_ADDR']}' ";
|
||||
|
||||
$sql_secret = "";
|
||||
if ($wr_secret)
|
||||
$sql_secret = " , wr_option = '$wr_secret' ";
|
||||
$wr_option = "";
|
||||
if ($wr_secret || $secret || $html) {
|
||||
$_options = [];
|
||||
|
||||
if ($html) $_options[] = $html;
|
||||
if ($wr_secret || $secret) $_options[] = $wr_secret ? $wr_secret : $secret;
|
||||
|
||||
$wr_option = implode(",", $_options);
|
||||
}
|
||||
|
||||
$sql = "UPDATE $write_table
|
||||
SET wr_subject = '$wr_subject',
|
||||
|
|
@ -329,14 +345,13 @@ if ($w == 'c') // 댓글 입력
|
|||
wr_10 = '$wr_10',
|
||||
wr_option = '$wr_option'
|
||||
$sql_ip
|
||||
$sql_secret
|
||||
WHERE wr_id = '$comment_id' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once($board_skin_path . '/write_comment_update.skin.php');
|
||||
@include_once($board_skin_path . '/write_comment_update.tail.skin.php');
|
||||
@include_once $board_skin_path . "/write_comment_update.skin.php";
|
||||
@include_once $board_skin_path . "/write_comment_update.tail.skin.php";
|
||||
|
||||
delete_cache_latest($bo_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ set_cookie('ck_twitter_checked', false, 86400 * 31);
|
|||
//----------------------------------------------------------------------------
|
||||
$wr_facebook_user = "";
|
||||
if ($_POST['facebook_checked']) {
|
||||
include_once(G5_SNS_PATH . "/facebook/src/facebook.php");
|
||||
include_once G5_SNS_PATH . "/facebook/src/facebook.php";
|
||||
|
||||
$facebook = new Facebook(array(
|
||||
'appId' => $config['cf_facebook_appid'],
|
||||
|
|
@ -53,8 +53,8 @@ if ($_POST['facebook_checked']) {
|
|||
//----------------------------------------------------------------------------
|
||||
$wr_twitter_user = "";
|
||||
if ($_POST['twitter_checked']) {
|
||||
include_once(G5_SNS_PATH . "/twitter/twitteroauth/twitteroauth.php");
|
||||
include_once(G5_SNS_PATH . "/twitter/twitterconfig.php");
|
||||
include_once G5_SNS_PATH . "/twitter/twitteroauth/twitteroauth.php";
|
||||
include_once G5_SNS_PATH . "/twitter/twitterconfig.php";
|
||||
|
||||
if (!(empty($_SESSION['access_token']) || empty($_SESSION['access_token']['oauth_token']) || empty($_SESSION['access_token']['oauth_token_secret']))) {
|
||||
$comment_url = G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $wr['wr_parent'] . '&#c_' . $comment_id;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/json.lib.php');
|
||||
include_once G5_LIB_PATH . "/json.lib.php";
|
||||
|
||||
if (!$bo_table)
|
||||
die(json_encode(array('error' => '게시판 정보가 올바르지 않습니다.', 'url' => G5_URL)));
|
||||
|
|
|
|||
|
|
@ -706,7 +706,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
|||
|
||||
$link_url = G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $wr_id . '&' . $qstr;
|
||||
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
ob_start();
|
||||
include_once "./write_update_mail.php";
|
||||
|
|
@ -745,8 +745,8 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
|||
}
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once($board_skin_path . '/write_update.skin.php');
|
||||
@include_once($board_skin_path . '/write_update.tail.skin.php');
|
||||
@include_once $board_skin_path . "/write_update.skin.php";
|
||||
@include_once $board_skin_path . "/write_update.tail.skin.php";
|
||||
|
||||
delete_cache_latest($bo_table);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
include_once(G5_LIB_PATH . '/naver_syndi.lib.php');
|
||||
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
|
||||
include_once G5_LIB_PATH . "/naver_syndi.lib.php";
|
||||
include_once G5_CAPTCHA_PATH . "/captcha.lib.php";
|
||||
|
||||
// 토큰체크
|
||||
//check_write_token($bo_table);
|
||||
|
|
@ -125,7 +125,7 @@ for ($i = 1; $i <= 10; $i++) {
|
|||
}
|
||||
}
|
||||
|
||||
@include_once($board_skin_path . '/write_update.head.skin.php');
|
||||
@include_once $board_skin_path . "/write_update.head.skin.php";
|
||||
|
||||
if ($w == '' || $w == 'u') {
|
||||
|
||||
|
|
@ -679,7 +679,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
|||
|
||||
$link_url = G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&wr_id=' . $wr_id . '&' . $qstr;
|
||||
|
||||
include_once(G5_LIB_PATH . '/mailer.lib.php');
|
||||
include_once G5_LIB_PATH . "/mailer.lib.php";
|
||||
|
||||
ob_start();
|
||||
include_once "./write_update_mail.php";
|
||||
|
|
@ -718,8 +718,8 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
|||
}
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once($board_skin_path . '/write_update.skin.php');
|
||||
@include_once($board_skin_path . '/write_update.tail.skin.php');
|
||||
@include_once $board_skin_path . "/write_update.skin.php";
|
||||
@include_once $board_skin_path . "/write_update.tail.skin.php";
|
||||
|
||||
delete_cache_latest($bo_table);
|
||||
|
||||
|
|
|
|||
156
AvocadoEdition_Light/css/style.basic.css
Normal file
156
AvocadoEdition_Light/css/style.basic.css
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
/*
|
||||
origin source from
|
||||
https://extrashot.tistory.com/
|
||||
*/
|
||||
@charset "utf-8";
|
||||
|
||||
#member_page {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
#member_page .agree-pannel .theme-box {
|
||||
height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#member_page .member-title {
|
||||
font-size: 24px;
|
||||
padding-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#member_page .member-title * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#member_page .member-title span {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#member_page .member-contents {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#member_page .member-contents h2 {
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
#member_page .member-contents section {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
#member_page .member-contents .theme-box {
|
||||
padding: 15px;
|
||||
line-height: 1.8em;
|
||||
}
|
||||
|
||||
#member_page .check-agree {
|
||||
padding-top: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.member-form {
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.member-form th {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*** PASSWORD ***/
|
||||
|
||||
#password_box {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -150px;
|
||||
margin-left: -150px;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
#password_box h1 {
|
||||
margin: 0;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.1em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#password_box h1+.theme-box {
|
||||
border-top-width: 0;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#password_box .pass-form {
|
||||
position: relative;
|
||||
padding-right: 80px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#password_box .pass-form fieldset {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#password_box .pass-form fieldset+fieldset {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#password_box .pass-form .box-btn {
|
||||
display: block;
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
#password_box .pass-form #password_wr_password {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#password_box .pass-form .box-btn .ui-btn {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#password_box .btn_confirm .ui-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mbskin {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.win_ul {
|
||||
padding: 5px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.win_ul li {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.win_ul .ui-btn {
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
include_once(dirname(__FILE__) . '/pbkdf2.compat.php');
|
||||
include_once dirname(__FILE__) . "/pbkdf2.compat.php";
|
||||
|
||||
include_once __DIR__ . "/hook.lib.php";
|
||||
include_once __DIR__ . '/Hook/hook.class.php';
|
||||
|
|
@ -189,7 +189,7 @@ function alert($msg = '', $url = '', $error = true, $post = false)
|
|||
if (isset($g5['title'])) {
|
||||
$header = $g5['title'];
|
||||
}
|
||||
include_once(G5_BBS_PATH . '/alert.php');
|
||||
include_once G5_BBS_PATH . "/alert.php";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
@ -234,7 +234,7 @@ function confirm($msg, $url1 = '', $url2 = '', $url3 = '')
|
|||
if (isset($g5['title'])) {
|
||||
$header = $g5['title'];
|
||||
}
|
||||
include_once(G5_BBS_PATH . '/confirm.php');
|
||||
include_once G5_BBS_PATH . "/confirm.php";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
@ -595,8 +595,8 @@ function html_purifier($html)
|
|||
}
|
||||
$safeiframe = implode('|', run_replace('html_purifier_safeiframes', $domains, $html));
|
||||
|
||||
include_once(G5_PLUGIN_PATH . '/htmlpurifier/HTMLPurifier.standalone.php');
|
||||
include_once(G5_PLUGIN_PATH . '/htmlpurifier/extend.video.php');
|
||||
include_once G5_PLUGIN_PATH . "/htmlpurifier/HTMLPurifier.standalone.php";
|
||||
include_once G5_PLUGIN_PATH . "/htmlpurifier/extend.video.php";
|
||||
|
||||
$config = HTMLPurifier_Config::createDefault();
|
||||
// data/cache 디렉토리에 CSS, HTML, URI 디렉토리 등을 만든다.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function connect($skin_dir = 'basic')
|
|||
$connect_skin_url = G5_SKIN_URL . '/connect/' . $skin_dir;
|
||||
|
||||
ob_start();
|
||||
include_once($connect_skin_path . '/connect.skin.php');
|
||||
include_once $connect_skin_path . "/connect.skin.php";
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ if (!function_exists('get_called_class')) {
|
|||
}
|
||||
}
|
||||
|
||||
include_once(dirname(__FILE__) . '/Hook/hook.class.php');
|
||||
include_once(dirname(__FILE__) . '/Hook/hook.extends.class.php');
|
||||
include_once dirname(__FILE__) . "/Hook/hook.class.php";
|
||||
include_once dirname(__FILE__) . "/Hook/hook.extends.class.php";
|
||||
|
||||
function get_hook_class()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ function outlogin($skin_dir = 'basic')
|
|||
|
||||
ob_start();
|
||||
if ($is_member)
|
||||
include_once($outlogin_skin_path . '/outlogin.skin.2.php');
|
||||
include_once $outlogin_skin_path . "/outlogin.skin.2.php";
|
||||
else // 로그인 전이라면
|
||||
include_once($outlogin_skin_path . '/outlogin.skin.1.php');
|
||||
include_once $outlogin_skin_path . "/outlogin.skin.1.php";
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -22,10 +22,9 @@ function poll($skin_dir = 'basic', $po_id = false)
|
|||
$po = sql_fetch("SELECT * FROM {$g5['poll_table']} where po_id = '$po_id' ");
|
||||
|
||||
ob_start();
|
||||
include_once($poll_skin_path . '/poll.skin.php');
|
||||
include_once $poll_skin_path . "/poll.skin.php";
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
return $content;
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function popular($skin_dir = 'basic', $pop_cnt = 7, $date_cnt = 3)
|
|||
$popular_skin_url = G5_SKIN_URL . '/popular/' . $skin_dir;
|
||||
|
||||
ob_start();
|
||||
include_once($popular_skin_path . '/popular.skin.php');
|
||||
include_once $popular_skin_path . "/popular.skin.php";
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ function visit($skin_dir = 'basic')
|
|||
$visit_skin_url = G5_SKIN_URL . '/visit/' . $skin_dir;
|
||||
|
||||
ob_start();
|
||||
include_once($visit_skin_path . '/visit.skin.php');
|
||||
include_once $visit_skin_path . "/visit.skin.php";
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include_once "_common.php";
|
||||
include_once(dirname(__FILE__).'/kcaptcha_config.php');
|
||||
include_once dirname(__FILE__) . "/kcaptcha_config.php";
|
||||
include_once "captcha.lib.php";
|
||||
|
||||
while (true) {
|
||||
|
|
@ -8,7 +8,8 @@ while(true){
|
|||
for ($i = 0; $i < $length; $i++) {
|
||||
$keystring .= $allowed_symbols[mt_rand(0, strlen($allowed_symbols) - 1)];
|
||||
}
|
||||
if(!preg_match('/cp|cb|ck|c6|c9|rn|rm|mm|co|do|cl|db|qp|qb|dp|ww/', $keystring)) break;
|
||||
if (!preg_match('/cp|cb|ck|c6|c9|rn|rm|mm|co|do|cl|db|qp|qb|dp|ww/', $keystring))
|
||||
break;
|
||||
}
|
||||
|
||||
if ($keystring && function_exists('get_string_encrypt')) {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ exit;
|
|||
*/
|
||||
|
||||
$g5['title'] = '트위터 콜백';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
include_once G5_PATH . "/head.sub.php";
|
||||
|
||||
if (200 == $connection->http_code) {
|
||||
$content = $connection->get('account/verify_credentials');
|
||||
|
|
@ -84,4 +84,4 @@ EOT;
|
|||
|
||||
}
|
||||
|
||||
include_once(G5_PATH.'/tail.sub.php');
|
||||
include_once G5_PATH . "/tail.sub.php";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
|
||||
if (!$board['bo_use_sns']) return;
|
||||
if (!$board['bo_use_sns'])
|
||||
return;
|
||||
?>
|
||||
|
||||
<ul id="bo_vc_sns">
|
||||
|
|
@ -12,8 +13,8 @@ if (!$board['bo_use_sns']) return;
|
|||
if ($config['cf_twitter_key']) {
|
||||
$twitter_user = get_session("ss_twitter_user");
|
||||
if (!$twitter_user) {
|
||||
include_once(G5_SNS_PATH."/twitter/twitteroauth/twitteroauth.php");
|
||||
include_once(G5_SNS_PATH."/twitter/twitterconfig.php");
|
||||
include_once G5_SNS_PATH . "/twitter/twitteroauth/twitteroauth.php";
|
||||
include_once G5_SNS_PATH . "/twitter/twitterconfig.php";
|
||||
|
||||
$twitter_user = false;
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
||||
include_once G5_LIB_PATH . "/thumbnail.lib.php";
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||
|
|
@ -84,7 +84,7 @@ add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">
|
|||
</div>
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once(G5_BBS_PATH . '/view_comment.php');
|
||||
include_once G5_BBS_PATH . "/view_comment.php";
|
||||
?>
|
||||
<!-- 링크 버튼 시작 { -->
|
||||
<div id="bo_v_bot">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
include_once "../../../../common.php";
|
||||
include_once($board_skin_path.'/_setting.php');
|
||||
include_once $board_skin_path . "/_setting.php";
|
||||
|
|
|
|||
|
|
@ -36,9 +36,15 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
|||
</script>
|
||||
<style>
|
||||
:root {
|
||||
--pannel-line: <?= $color_line_color ?>;
|
||||
--pannel-bak: <?= $color_bak_off ?>;
|
||||
--pannel-bak-over: <?= $color_bak_over ?>;
|
||||
--pannel-line:
|
||||
<?= $color_line_color ?>
|
||||
;
|
||||
--pannel-bak:
|
||||
<?= $color_bak_off ?>
|
||||
;
|
||||
--pannel-bak-over:
|
||||
<?= $color_bak_over ?>
|
||||
;
|
||||
}
|
||||
</style>
|
||||
<div class="loading">
|
||||
|
|
@ -169,7 +175,7 @@ $default_font = hex2rgba($default_font['cs_value'], $default_font['cs_etc_1']);
|
|||
<div class='char-body-list'>
|
||||
<?php if ($body_cnt > 0 && $write['wr_2'] != '') {
|
||||
// 전신 리스트 출력 (단, 추가로 등록한 전신이 있을 경우에만)
|
||||
include_once($board_skin_path . "/view_body.skin.php");
|
||||
include_once $board_skin_path . "/view_body.skin.php";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_PLUGIN_PATH . '/jquery-ui/datepicker.php'); // 달력
|
||||
include_once G5_PLUGIN_PATH . "/jquery-ui/datepicker.php"; // 달력
|
||||
|
||||
// 게시물 목록을 불러온다.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once($board_skin_path . '/_setting.php');
|
||||
include_once $board_skin_path . "/_setting.php";
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||
|
||||
|
|
@ -144,9 +144,9 @@ if ($w == '') {
|
|||
<?php }
|
||||
|
||||
if ($type == 'pair') {
|
||||
include_once($board_skin_path . "/write.pair.skin.php");
|
||||
include_once $board_skin_path . "/write.pair.skin.php";
|
||||
} else {
|
||||
include_once($board_skin_path . "/write.character.skin.php");
|
||||
include_once $board_skin_path . "/write.character.skin.php";
|
||||
}
|
||||
|
||||
if ($is_guest) { //자동등록방지 ?>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
||||
include_once($board_skin_path . '/emoticon/_setting.emoticon.php');
|
||||
include_once G5_LIB_PATH . "/thumbnail.lib.php";
|
||||
include_once $board_skin_path . "/emoticon/_setting.emoticon.php";
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css">', 0);
|
||||
|
||||
set_session('ss_bo_table', $_REQUEST['bo_table']);
|
||||
|
|
@ -29,7 +29,8 @@ $owner_behind = $owner_behind['cs_etc_4'];
|
|||
<?php if ($is_category) { ?>
|
||||
<nav class="board-category">
|
||||
<ul>
|
||||
<li><a href="./board.php?bo_table=<?= $bo_table ?>" class="ui-btn <?= !$sca || $sca == '' ? 'point' : 'etc' ?>">ALL</a>
|
||||
<li><a href="./board.php?bo_table=<?= $bo_table ?>"
|
||||
class="ui-btn <?= !$sca || $sca == '' ? 'point' : 'etc' ?>">ALL</a>
|
||||
</li>
|
||||
<?php echo $category_list ?>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ $wr_num = $wr['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";
|
||||
|
||||
if ($w != 'cu') {
|
||||
$sql = " update {$write_table}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ if (!$wr_num)
|
|||
|
||||
|
||||
if ($w == 'u') {
|
||||
include_once($board_skin_path . '/write_update.inc.php');
|
||||
include_once $board_skin_path . "/write_update.inc.php";
|
||||
$sql = " update {$write_table}
|
||||
set wr_id = '{$wr_id}'
|
||||
{$customer_sql}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
//include_once($board_skin_path."/moonday.php"); // 석봉운님의 음력날짜 함수
|
||||
//include_once $board_skin_path."/moonday.php"; // 석봉운님의 음력날짜 함수
|
||||
|
||||
if (preg_match('/%/', $width)) {
|
||||
$col_width = "14%"; //표의 가로 폭이 100보다 크면 픽셀값입력
|
||||
|
|
|
|||
|
|
@ -13,19 +13,23 @@ else if ($w == 'd' || $w == 'x')
|
|||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
<!-- 비밀번호 확인 시작 { -->
|
||||
<div id="password_box" class="theme-box">
|
||||
<h1>비밀번호 확인</h1>
|
||||
<hr class="line" />
|
||||
<div class="descript">
|
||||
<div id="password_box">
|
||||
<h1 class="ui-btn point">비밀번호 확인</h1>
|
||||
<div class="descript theme-box">
|
||||
<p>
|
||||
<?php if ($w == 'u') { ?>
|
||||
<strong class="txt-point">작성자만 글을 수정할 수 있습니다.</strong>
|
||||
<strong>작성자만 글을 수정할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 수정할 수 있습니다.
|
||||
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
||||
<strong class="txt-point">작성자만 글을 삭제할 수 있습니다.</strong>
|
||||
<strong>작성자만 글을 삭제할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 삭제할 수 있습니다.
|
||||
<?php } else if ($w == 'bs') {
|
||||
|
||||
} else if ($w == 'p') { ?>
|
||||
<strong>보호글입니다.</strong>
|
||||
열람을 위해 비밀번호를 입력 해 주세요.
|
||||
<?php } else { ?>
|
||||
<strong class="txt-point">비밀글 기능으로 보호된 글입니다.</strong>
|
||||
<strong>비밀글 기능으로 보호된 글입니다.</strong>
|
||||
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 비밀번호를 입력하세요.
|
||||
<?php } ?>
|
||||
</p>
|
||||
|
|
@ -39,16 +43,20 @@ add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css"
|
|||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<fieldset class="box-pw">
|
||||
<?php if ($w == 'p') { ?>
|
||||
<input type="text" name="wr_password" id="password_wr_password" required class="frm_input required" size="15"
|
||||
maxlength="20">
|
||||
<?php } else { ?>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required"
|
||||
size="15" maxLength="20">
|
||||
size="15" maxlength="20">
|
||||
<?php } ?>
|
||||
</fieldset>
|
||||
<fieldset class="box-btn">
|
||||
<button type="submit" class="point ui-btn">확인</button>
|
||||
<input type="submit" value="확인" class="btn_submit ui-btn">
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line" />
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo $return_url ?>" class="ui-btn">이전으로 돌아가기</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.B.
|
|||
<?php } ?>
|
||||
</style>
|
||||
|
||||
<?php @include_once($menu_skin_path . '/menu.cmm.inc.php'); ?>
|
||||
<?php @include_once $menu_skin_path . "/menu.cmm.inc.php"; ?>
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.L.
|
|||
<?php } ?>
|
||||
</style>
|
||||
|
||||
<?php @include_once($menu_skin_path . '/menu.cmm.inc.php'); ?>
|
||||
<?php @include_once $menu_skin_path . "/menu.cmm.inc.php"; ?>
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.R.
|
|||
<?php } ?>
|
||||
</style>
|
||||
|
||||
<?php @include_once($menu_skin_path . '/menu.cmm.inc.php'); ?>
|
||||
<?php @include_once $menu_skin_path . "/menu.cmm.inc.php"; ?>
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ add_stylesheet('<link rel="stylesheet" href="' . $menu_skin_url . '/css/style.T.
|
|||
<?php } ?>
|
||||
</style>
|
||||
|
||||
<?php @include_once($menu_skin_path . '/menu.cmm.inc.php'); ?>
|
||||
<?php @include_once $menu_skin_path . "/menu.cmm.inc.php"; ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
||||
include_once G5_LIB_PATH . "/thumbnail.lib.php";
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">', 0);
|
||||
|
|
@ -101,9 +101,9 @@ add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">',
|
|||
// 질문글에서 답변이 있으면 답변 출력, 답변이 없고 관리자이면 답변등록폼 출력
|
||||
if (!$view['qa_type']) {
|
||||
if ($view['qa_status'] && $answer['qa_id'])
|
||||
include_once($qa_skin_path . '/view.answer.skin.php');
|
||||
include_once $qa_skin_path . "/view.answer.skin.php";
|
||||
else
|
||||
include_once($qa_skin_path . '/view.answerform.skin.php');
|
||||
include_once $qa_skin_path . "/view.answerform.skin.php";
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue