update and support php 8.3

This commit is contained in:
Amberstone 2024-09-23 11:07:19 +09:00
parent 315f297625
commit 651fb008e4
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
195 changed files with 753 additions and 1110 deletions

View file

@ -470,7 +470,12 @@ if (get_session('ss_mb_key') !== $admin_key) {
alert_close('정상적으로 로그인하여 접근하시기 바랍니다.'); alert_close('정상적으로 로그인하여 접근하시기 바랍니다.');
} }
@ksort($auth); if (!empty($auth) && is_array($auth)) {
$result = ksort($auth);
if ($result === false) {
// error 처리
}
}
// 가변 메뉴 // 가변 메뉴
unset($auth_menu); unset($auth_menu);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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', ''); set_session('ss_admin_token', '');

View file

@ -1,4 +1,4 @@
<?php <?php
define('G5_IS_ADMIN', true); define('G5_IS_ADMIN', true);
include_once('../../common.php'); include_once "../../common.php";
include_once(G5_ADMIN_PATH . '/admin.lib.php'); include_once(G5_ADMIN_PATH . '/admin.lib.php');

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300100"; $sub_menu = "300100";
include_once("./_common.php"); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300100'; $sub_menu = '300100';
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300100"; $sub_menu = "300100";
include_once('./_common.php'); include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
@ -148,7 +148,7 @@ if ($is_admin != 'super') {
} }
$g5['title'] = $html_title; $g5['title'] = $html_title;
include_once('./admin.head.php'); include_once "./admin.head.php";
$pg_anchor = '<ul class="anchor"> $pg_anchor = '<ul class="anchor">
<li><a href="#anc_001">기본 설정</a></li> <li><a href="#anc_001">기본 설정</a></li>
@ -1023,5 +1023,5 @@ $pg_anchor = '<ul class="anchor">
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -3,7 +3,7 @@
* @suppress PHP0410 * @suppress PHP0410
*/ */
$sub_menu = "300100"; $sub_menu = "300100";
include_once('./_common.php'); include_once "./_common.php";
if ($w == 'u') if ($w == 'u')
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300100"; $sub_menu = "300100";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -51,7 +51,7 @@ $result = sql_query($sql);
$listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">전체목록</a>'; $listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">전체목록</a>';
$g5['title'] = '게시판관리'; $g5['title'] = '게시판관리';
include_once('./admin.head.php'); include_once "./admin.head.php";
$colspan = 11; $colspan = 11;
?> ?>
@ -221,5 +221,5 @@ $colspan = 11;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300100'; $sub_menu = '300100';
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
@ -8,7 +8,7 @@ if (!$board['bo_table'])
alert('존재하지 않는 게시판입니다.'); alert('존재하지 않는 게시판입니다.');
$g5['title'] = $board['bo_subject'] . ' 게시판 썸네일 삭제'; $g5['title'] = $board['bo_subject'] . ' 게시판 썸네일 삭제';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div class="local_desc02 local_desc"> <div class="local_desc02 local_desc">
@ -49,5 +49,5 @@ if (is_dir($dir)) {
href="./board_form.php?w=u&amp;bo_table=<?php echo $bo_table; ?>&amp;<?php echo $qstr; ?>">게시판 수정으로 돌아가기</a></div> href="./board_form.php?w=u&amp;bo_table=<?php echo $bo_table; ?>&amp;<?php echo $qstr; ?>">게시판 수정으로 돌아가기</a></div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
@ -28,7 +28,7 @@ if (!isset($group['gr_device'])) {
$g5['title'] = $html_title; $g5['title'] = $html_title;
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div class="local_desc01 local_desc"> <div class="local_desc01 local_desc">
@ -112,5 +112,5 @@ include_once('./admin.head.php');
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once './_common.php';
if ($w == 'u') if ($w == 'u')
check_demo(); check_demo();
@ -70,4 +70,3 @@ if ($w == '') {
} }
goto_url('./boardgroup_form.php?w=u&amp;gr_id=' . $gr_id . '&amp;' . $qstr); goto_url('./boardgroup_form.php?w=u&amp;gr_id=' . $gr_id . '&amp;' . $qstr);
?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -54,7 +54,7 @@ $result = sql_query($sql);
$listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">처음</a>'; $listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">처음</a>';
$g5['title'] = '게시판그룹설정'; $g5['title'] = '게시판그룹설정';
include_once('./admin.head.php'); include_once "./admin.head.php";
$colspan = 10; $colspan = 10;
?> ?>
@ -222,5 +222,5 @@ echo $pagelist;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
//print_r2($_POST); exit; //print_r2($_POST); exit;

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
@ -9,7 +9,7 @@ if (!$mb['mb_id'])
alert('존재하지 않는 회원입니다.'); alert('존재하지 않는 회원입니다.');
$g5['title'] = '접근가능그룹'; $g5['title'] = '접근가능그룹';
include_once('./admin.head.php'); include_once "./admin.head.php";
$colspan = 4; $colspan = 4;
?> ?>
@ -126,5 +126,5 @@ $colspan = 4;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -51,7 +51,7 @@ $sql = " select *
$result = sql_query($sql); $result = sql_query($sql);
$g5['title'] = $gr['gr_subject'] . ' 그룹 접근가능회원 (그룹아이디:' . $gr['gr_id'] . ')'; $g5['title'] = $gr['gr_subject'] . ' 그룹 접근가능회원 (그룹아이디:' . $gr['gr_id'] . ')';
include_once('./admin.head.php'); include_once "./admin.head.php";
$colspan = 7; $colspan = 7;
?> ?>
@ -151,5 +151,5 @@ $colspan = 7;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once('./_common.php'); include_once "./_common.php";
sql_query(" ALTER TABLE {$g5['group_member_table']} CHANGE `gm_id` `gm_id` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ", false); sql_query(" ALTER TABLE {$g5['group_member_table']} CHANGE `gm_id` `gm_id` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ", false);

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100510"; $sub_menu = "100510";
include_once('./_common.php'); include_once "./_common.php";
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE)) if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
alert('사용할 수 없는 기능입니다.', G5_ADMIN_URL); alert('사용할 수 없는 기능입니다.', G5_ADMIN_URL);
@ -9,7 +9,7 @@ if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.'); alert('최고관리자만 접근 가능합니다.');
$g5['title'] = 'Browscap 업데이트'; $g5['title'] = 'Browscap 업데이트';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div id="processing"> <div id="processing">
@ -41,5 +41,5 @@ include_once('./admin.head.php');
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100520"; $sub_menu = "100520";
include_once('./_common.php'); include_once "./_common.php";
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE)) if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
alert('사용할 수 없는 기능입니다.', G5_ADMIN_URL); alert('사용할 수 없는 기능입니다.', G5_ADMIN_URL);
@ -13,7 +13,7 @@ if (!$rows)
$rows = 100; $rows = 100;
$g5['title'] = '접속로그 변환'; $g5['title'] = '접속로그 변환';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div id="processing"> <div id="processing">
@ -42,5 +42,5 @@ include_once('./admin.head.php');
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
ini_set('memory_limit', '-1'); ini_set('memory_limit', '-1');
include_once('./_common.php'); include_once "./_common.php";
// clean the output buffer // clean the output buffer
ob_end_clean(); ob_end_clean();

View file

@ -2,7 +2,7 @@
ini_set('memory_limit', '-1'); ini_set('memory_limit', '-1');
$sub_menu = "100510"; $sub_menu = "100510";
include_once('./_common.php'); include_once "./_common.php";
// clean the output buffer // clean the output buffer
ob_end_clean(); ob_end_clean();

View file

@ -1,12 +1,12 @@
<?php <?php
$sub_menu = '900300'; $sub_menu = '900300';
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.', G5_URL); alert('최고관리자만 접근 가능합니다.', G5_URL);
$g5['title'] = '캐시파일 일괄삭제'; $g5['title'] = '캐시파일 일괄삭제';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div class="local_desc02 local_desc"> <div class="local_desc02 local_desc">
@ -44,5 +44,5 @@ echo '<div class="local_desc01 local_desc"><p><strong>최신글 캐시파일 ' .
?> ?>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,12 +1,12 @@
<?php <?php
$sub_menu = '100910'; $sub_menu = '100910';
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.', G5_URL); alert('최고관리자만 접근 가능합니다.', G5_URL);
$g5['title'] = '캡챠파일 일괄삭제'; $g5['title'] = '캡챠파일 일괄삭제';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div class="local_desc02 local_desc"> <div class="local_desc02 local_desc">
@ -50,5 +50,5 @@ echo '<div class="local_desc01 local_desc"><p><strong>캡챠파일 ' . $cnt . '
?> ?>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "900100"; $sub_menu = "900100";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -201,7 +201,7 @@ if (!$config['cf_mobile_faq_skin'])
$config['cf_mobile_faq_skin'] = "basic"; $config['cf_mobile_faq_skin'] = "basic";
$g5['title'] = '홈페이지 상세관리'; $g5['title'] = '홈페이지 상세관리';
include_once('./admin.head.php'); include_once "./admin.head.php";
$pg_anchor = '<ul class="anchor"> $pg_anchor = '<ul class="anchor">
<li><a href="#anc_001">기본환경</a></li> <li><a href="#anc_001">기본환경</a></li>
@ -1266,5 +1266,5 @@ if ($config['cf_cert_use']) {
} }
} }
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "900100"; $sub_menu = "900100";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300600'; $sub_menu = '300600';
include_once('./_common.php'); include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], "w"); auth_check($auth[$sub_menu], "w");

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300600'; $sub_menu = '300600';
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], "r"); auth_check($auth[$sub_menu], "r");

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100300"; $sub_menu = "100300";
include_once('./_common.php'); include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -12,7 +12,7 @@ if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.'); alert('최고관리자만 접근 가능합니다.');
$g5['title'] = '디자인 설정'; $g5['title'] = '디자인 설정';
include_once('./admin.head.php'); include_once "./admin.head.php";
$design_result = sql_query("select * from {$g5['css_table']}"); $design_result = sql_query("select * from {$g5['css_table']}");
$de = []; $de = [];
@ -2310,5 +2310,5 @@ $editor_list = [];
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,5 +1,5 @@
<?php <?php
@include_once('./_common.php'); @include_once "./_common.php";
// CSS 설정 가져오기 // CSS 설정 가져오기

View file

@ -3,7 +3,7 @@
* @suppress php0410 * @suppress php0410
*/ */
$sub_menu = "100300"; $sub_menu = "100300";
include_once('./_common.php'); include_once "./_common.php";
$site_style_path = G5_DATA_PATH . "/site"; $site_style_path = G5_DATA_PATH . "/site";
$site_style_url = G5_DATA_URL . "/site"; $site_style_url = G5_DATA_URL . "/site";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
?> ?>
<!doctype html> <!doctype html>
<html lang="ko"> <html lang="ko">

View file

@ -1,6 +1,6 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
goto_url('./site_config_form.php'); goto_url('./site_config_form.php');
include_once('./admin.tail.php'); include_once "./admin.tail.php";

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once("./_common.php"); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');
@ -132,7 +132,7 @@ if ($mb['mb_intercept_date'])
else else
$g5['title'] .= ""; $g5['title'] .= "";
$g5['title'] .= '회원 ' . $html_title; $g5['title'] .= '회원 ' . $html_title;
include_once('./admin.head.php'); include_once "./admin.head.php";
// add_javascript('js 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 // add_javascript('js 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
@ -289,5 +289,5 @@ this.form.mb_intercept_date.value=this.form.mb_intercept_date.defaultValue; }">
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once("./_common.php"); include_once "./_common.php";
include_once(G5_LIB_PATH . "/register.lib.php"); include_once(G5_LIB_PATH . "/register.lib.php");
if ($w == 'u') if ($w == 'u')

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -60,7 +60,7 @@ $intercept_count = $row['cnt'];
$listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">전체목록</a>'; $listall = '<a href="' . $_SERVER['SCRIPT_NAME'] . '" class="ov_listall">전체목록</a>';
$g5['title'] = '회원관리'; $g5['title'] = '회원관리';
include_once('./admin.head.php'); include_once "./admin.head.php";
$sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} "; $sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} ";
$result = sql_query($sql); $result = sql_query($sql);
@ -228,5 +228,5 @@ $colspan = 10;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once("./_common.php"); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200100"; $sub_menu = "200100";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100400"; $sub_menu = "100400";
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
alert_close('최고관리자만 접근 가능합니다.'); alert_close('최고관리자만 접근 가능합니다.');

View file

@ -218,5 +218,5 @@ $colspan = 9;
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100400"; $sub_menu = "100400";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();
@ -23,7 +23,7 @@ for ($i = 0; $i < $count; $i++) {
$_POST['me_link'][$i] = G5_URL; $_POST['me_link'][$i] = G5_URL;
} }
$_POST['me_link'][$i] = is_array($_POST['me_link']) ? clean_xss_tags(clean_xss_attributes(preg_replace('/[ ]{2,}|[\t]/', '', $_POST['me_link'][$i]), 1)) : ''; $_POST['me_link'][$i] = is_array($_POST['me_link']) ? clean_xss_tags(clean_xss_attributes(preg_replace('/[ ]{2,}|[\t]/', '', $_POST['me_link'][$i])), 1) : '';
$code = strip_tags($_POST['code'][$i]); $code = strip_tags($_POST['code'][$i]);
$me_name = strip_tags($_POST['me_name'][$i]); $me_name = strip_tags($_POST['me_name'][$i]);

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100500"; $sub_menu = "100500";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');

View file

@ -1,12 +1,12 @@
<?php <?php
$sub_menu = "900200"; $sub_menu = "900200";
include_once("./_common.php"); include_once "./_common.php";
if ($is_admin != "super") if ($is_admin != "super")
alert("최고관리자만 접근 가능합니다.", G5_URL); alert("최고관리자만 접근 가능합니다.", G5_URL);
$g5['title'] = "세션파일 일괄삭제"; $g5['title'] = "세션파일 일괄삭제";
include_once("./admin.head.php"); include_once "./admin.head.php";
?> ?>
<div class="local_desc02 local_desc"> <div class="local_desc02 local_desc">
@ -59,5 +59,5 @@ echo '<div class="local_desc01 local_desc"><p><strong>세션데이터 ' . $cnt .
?> ?>
<?php <?php
include_once("./admin.tail.php"); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100100"; $sub_menu = "100100";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -210,7 +210,7 @@ if (!$config['cf_mobile_faq_skin'])
$config['cf_mobile_faq_skin'] = "basic"; $config['cf_mobile_faq_skin'] = "basic";
$g5['title'] = '환경설정'; $g5['title'] = '환경설정';
include_once('./admin.head.php'); include_once "./admin.head.php";
$pg_anchor = '<ul class="anchor"> $pg_anchor = '<ul class="anchor">
<li><a href="#anc_001">기본환경</a></li> <li><a href="#anc_001">기본환경</a></li>
@ -419,5 +419,5 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
} }
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100100"; $sub_menu = "100100";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100280"; $sub_menu = "100280";
include_once('./_common.php'); include_once "./_common.php";
include_once(G5_LIB_PATH . '/json.lib.php'); include_once(G5_LIB_PATH . '/json.lib.php');
$data = []; $data = [];

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100280"; $sub_menu = "100280";
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
die('최고관리자만 접근 가능합니다.'); die('최고관리자만 접근 가능합니다.');

View file

@ -1,7 +1,7 @@
<?php <?php
$sub_menu = "100280"; $sub_menu = "100280";
define('_THEME_PREVIEW_', true); define('_THEME_PREVIEW_', true);
include_once('./_common.php'); include_once "./_common.php";
$theme_dir = get_theme_dir(); $theme_dir = get_theme_dir();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100280"; $sub_menu = "100280";
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
die('최고관리자만 접근 가능합니다.'); die('최고관리자만 접근 가능합니다.');

View file

@ -1,12 +1,12 @@
<?php <?php
$sub_menu = '100920'; $sub_menu = '100920';
include_once('./_common.php'); include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.', G5_URL); alert('최고관리자만 접근 가능합니다.', G5_URL);
$g5['title'] = '썸네일 일괄삭제'; $g5['title'] = '썸네일 일괄삭제';
include_once('./admin.head.php'); include_once "./admin.head.php";
?> ?>
<div class="local_desc02 local_desc"> <div class="local_desc02 local_desc">
@ -64,5 +64,5 @@ echo '<div class="local_desc01 local_desc"><p><strong>썸네일 ' . $cnt . '건
?> ?>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_'))
exit; exit;
include_once(G5_LIB_PATH . '/visit.lib.php'); include_once(G5_LIB_PATH . '/visit.lib.php');
include_once('./admin.head.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)) 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))

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '브라우저별 접속자집계'; $g5['title'] = '브라우저별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 5; $colspan = 5;
@ -94,5 +94,5 @@ while ($row = sql_fetch_array($result)) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,15 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
if (!isset($arr)) {
$arr = [];
}
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '일별 접속자집계'; $g5['title'] = '일별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 4; $colspan = 4;
@ -85,5 +89,5 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200820"; $sub_menu = "200820";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '접속자로그삭제'; $g5['title'] = '접속자로그삭제';
include_once('./admin.head.php'); include_once "./admin.head.php";
// 최소년도 구함 // 최소년도 구함
$sql = " select min(vi_date) as min_date from {$g5['visit_table']} "; $sql = " select min(vi_date) as min_date from {$g5['visit_table']} ";
@ -120,5 +120,5 @@ $now_year = (int) substr(G5_TIME_YMD, 0, 4);
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "200820"; $sub_menu = "200820";
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '기기별 접속자집계'; $g5['title'] = '기기별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 5; $colspan = 5;
@ -98,5 +98,5 @@ while ($row = sql_fetch_array($result)) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '도메인별 접속자집계'; $g5['title'] = '도메인별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 5; $colspan = 5;
@ -101,5 +101,5 @@ while ($row = sql_fetch_array($result)) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '시간별 접속자집계'; $g5['title'] = '시간별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 4; $colspan = 4;
@ -79,5 +79,5 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '접속자집계'; $g5['title'] = '접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 6; $colspan = 6;
@ -120,5 +120,5 @@ $qstr .= "&amp;page=";
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr"); $pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?$qstr");
echo $pagelist; echo $pagelist;
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,15 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
if (!isset($arr)) {
$arr = [];
}
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '월별 접속자집계'; $g5['title'] = '월별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 4; $colspan = 4;
@ -89,5 +93,5 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = 'OS별 접속자집계'; $g5['title'] = 'OS별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 5; $colspan = 5;
@ -98,5 +98,5 @@ while ($row = sql_fetch_array($result)) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,12 +1,12 @@
<?php <?php
$sub_menu = '200810'; $sub_menu = '200810';
include_once('./_common.php'); 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'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '접속자검색'; $g5['title'] = '접속자검색';
include_once('./admin.head.php'); 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; $colspan = 6;
@ -150,5 +150,5 @@ if ($pagelist) {
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,11 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '요일별 접속자집계'; $g5['title'] = '요일별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 4; $colspan = 4;
$weekday = array('월', '화', '수', '목', '금', '토', '일'); $weekday = array('월', '화', '수', '목', '금', '토', '일');
@ -77,5 +77,5 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,11 +1,15 @@
<?php <?php
$sub_menu = "200800"; $sub_menu = "200800";
include_once('./_common.php'); include_once "./_common.php";
if (!isset($arr)) {
$arr = [];
}
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
$g5['title'] = '연도별 접속자집계'; $g5['title'] = '연도별 접속자집계';
include_once('./visit.sub.php'); include_once "./visit.sub.php";
$colspan = 4; $colspan = 4;
@ -85,5 +89,5 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
</div> </div>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300820'; $sub_menu = '300820';
include_once('./_common.php'); include_once "./_common.php";
check_demo(); check_demo();
@ -25,7 +25,7 @@ if ($graph == 'bar') {
} }
$g5['title'] = '글,댓글 현황'; $g5['title'] = '글,댓글 현황';
include_once('./admin.head.php'); include_once "./admin.head.php";
$period_array = array( $period_array = array(
'오늘' => array('시간', 0), '오늘' => array('시간', 0),
@ -204,5 +204,5 @@ switch ($day) {
<?php <?php
} }
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,2 +1,2 @@
<?php <?php
include_once('../common.php'); include_once "../common.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (!$is_member) if (!$is_member)
die('0'); die('0');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once("./_common.php"); include_once "./_common.php";
if (!$is_member) if (!$is_member)
die("0"); die("0");

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (!$is_member) if (!$is_member)
die(''); die('');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (!$is_member) if (!$is_member)
die(''); die('');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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'; $ss_name = 'ss_comment_token';

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$subject = strip_tags($_POST['subject']); $subject = strip_tags($_POST['subject']);
$content = strip_tags($_POST['content']); $content = strip_tags($_POST['content']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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_email = trim($_POST['reg_mb_email']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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_hp = trim($_POST['reg_mb_hp']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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']); $mb_id = trim($_POST['reg_mb_id']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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_nick = trim($_POST['reg_mb_nick']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once("./_common.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"]); $mb_recommend = trim($_POST["reg_mb_recommend"]);

View file

@ -2,7 +2,7 @@
global $lo_location; global $lo_location;
global $lo_url; global $lo_url;
include_once('./_common.php'); include_once "./_common.php";
if ($error) { if ($error) {
$g5['title'] = "오류안내 페이지"; $g5['title'] = "오류안내 페이지";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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); $msg2 = str_replace("\\n", "<br>", $msg);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (!$board['bo_table']) { if (!$board['bo_table']) {
goto_url(G5_URL); goto_url(G5_URL);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$count = count($_POST['chk_wr_id']); $count = count($_POST['chk_wr_id']);

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "400200"; $sub_menu = "400200";
include_once('./_common.php'); include_once './_common.php';
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -64,7 +64,7 @@ $del_count = $row['cnt'];
$listall = '<a href="' . $_SERVER['PHP_SELF'] . '" class="ov_listall">전체목록</a>'; $listall = '<a href="' . $_SERVER['PHP_SELF'] . '" class="ov_listall">전체목록</a>';
$g5['title'] = '캐릭터 관리'; $g5['title'] = '캐릭터 관리';
include_once('./admin.head.php'); include_once "./admin.head.php";
$sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} "; $sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} ";
$result = sql_query($sql); $result = sql_query($sql);
@ -323,5 +323,5 @@ if ($profile['ad_use_rank']) {
</script> </script>
<?php <?php
include_once('./admin.tail.php'); include_once "./admin.tail.php";
?> ?>

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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); $url1 = clean_xss_tags($url1, 1);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
//dbconfig파일에 $g5['content_table'] 배열변수가 있는지 체크 //dbconfig파일에 $g5['content_table'] 배열변수가 있는지 체크
if (!isset($g5['content_table'])) { if (!isset($g5['content_table'])) {
@ -85,4 +85,4 @@ if (is_file($skin_file)) {
if (is_include_path_check($co['co_include_tail'])) if (is_include_path_check($co['co_include_tail']))
@include_once($co['co_include_tail']); @include_once($co['co_include_tail']);
else else
include_once('./_tail.php'); include_once "./_tail.php";

View file

@ -1,8 +1,8 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$g5['title'] = '현재접속자'; $g5['title'] = '현재접속자';
include_once('./_head.php'); include_once "./_head.php";
$list = []; $list = [];
@ -34,4 +34,4 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
include_once($connect_skin_path . '/current_connect.skin.php'); include_once($connect_skin_path . '/current_connect.skin.php');
include_once('./_tail.php'); include_once "./_tail.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$delete_token = get_session('ss_delete_token'); $delete_token = get_session('ss_delete_token');
set_session('ss_delete_token', ''); set_session('ss_delete_token', '');

View file

@ -1,6 +1,6 @@
<?php <?php
// 코멘트 삭제 // 코멘트 삭제
include_once('./_common.php'); include_once "./_common.php";
$delete_comment_token = get_session('ss_delete_comment_' . $comment_id . '_token'); $delete_comment_token = get_session('ss_delete_comment_' . $comment_id . '_token');
set_session('ss_delete_comment_' . $comment_id . '_token', ''); set_session('ss_delete_comment_' . $comment_id . '_token', '');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
// clean the output buffer // clean the output buffer
ob_end_clean(); ob_end_clean();

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$mb_id = trim($_GET['mb_id']); $mb_id = trim($_GET['mb_id']);
$mb_md5 = trim($_GET['mb_md5']); $mb_md5 = trim($_GET['mb_md5']);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$sql = " select mb_id, mb_email, mb_datetime from {$g5['member_table']} where mb_id = '{$mb_id}' "; $sql = " select mb_id, mb_email, mb_datetime from {$g5['member_table']} where mb_id = '{$mb_id}' ";
$row = sql_fetch($sql); $row = sql_fetch($sql);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
//dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크 //dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크
if (!isset($g5['faq_table']) || !isset($g5['faq_master_table'])) { if (!isset($g5['faq_table']) || !isset($g5['faq_master_table'])) {
@ -29,7 +29,7 @@ $g5['title'] = $fm['fm_subject'];
$skin_file = $faq_skin_path . '/list.skin.php'; $skin_file = $faq_skin_path . '/list.skin.php';
include_once('./_head.php'); include_once "./_head.php";
if (is_file($skin_file)) { if (is_file($skin_file)) {
$admin_href = ''; $admin_href = '';
@ -96,4 +96,4 @@ if (is_file($skin_file)) {
echo '<p>' . str_replace(G5_PATH . '/', '', $skin_file) . '이 존재하지 않습니다.</p>'; echo '<p>' . str_replace(G5_PATH . '/', '', $skin_file) . '이 존재하지 않습니다.</p>';
} }
include_once('./_tail.php'); include_once "./_tail.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.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']) if (!$config['cf_email_use'])

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php'); include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');
include_once(G5_LIB_PATH . '/mailer.lib.php'); include_once(G5_LIB_PATH . '/mailer.lib.php');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
@include_once($board_skin_path . '/good.head.skin.php'); @include_once($board_skin_path . '/good.head.skin.php');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (defined('G5_THEME_PATH')) { if (defined('G5_THEME_PATH')) {
$group_file = G5_THEME_PATH . '/group.php'; $group_file = G5_THEME_PATH . '/group.php';
@ -19,7 +19,7 @@ if (!$is_admin && $group['gr_device'] == 'mobile')
alert($group['gr_subject'] . ' 그룹은 모바일에서만 접근할 수 있습니다.'); alert($group['gr_subject'] . ' 그룹은 모바일에서만 접근할 수 있습니다.');
$g5['title'] = $group['gr_subject']; $g5['title'] = $group['gr_subject'];
include_once('./_head.php'); include_once "./_head.php";
include_once(G5_LIB_PATH . '/latest.lib.php'); include_once(G5_LIB_PATH . '/latest.lib.php');
?> ?>
@ -55,4 +55,4 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
?> ?>
<!-- 메인화면 최신글 --> <!-- 메인화면 최신글 -->
<?php <?php
include_once('./_tail.php'); include_once "./_tail.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
// 진영별로 출력하기 // 진영별로 출력하기
$list = []; $list = [];

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
$html_title = '링크 &gt; ' . conv_subject($write['wr_subject'], 255); $html_title = '링크 &gt; ' . conv_subject($write['wr_subject'], 255);

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
// 이호경님 제안 코드 // 이호경님 제안 코드
session_unset(); // 모든 세션변수를 언레지스터 시켜줌 session_unset(); // 모든 세션변수를 언레지스터 시켜줌

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if ($is_guest) if ($is_guest)
alert('로그인 한 회원만 접근하실 수 있습니다.', G5_BBS_URL . '/login.php'); alert('로그인 한 회원만 접근하실 수 있습니다.', G5_BBS_URL . '/login.php');
@ -12,7 +12,7 @@ else
*/ */
$g5['title'] = '회원 비밀번호 확인'; $g5['title'] = '회원 비밀번호 확인';
include_once('./_head.sub.php'); include_once "./_head.sub.php";
// gnuboard xss patch - 2457055514 // gnuboard xss patch - 2457055514
$url = isset($_GET['url']) ? clean_xss_tags($_GET['url']) : ''; $url = isset($_GET['url']) ? clean_xss_tags($_GET['url']) : '';
@ -31,4 +31,4 @@ $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'); include_once "./_tail.sub.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if (!$member['mb_id']) if (!$member['mb_id'])
alert('회원만 접근하실 수 있습니다.'); alert('회원만 접근하실 수 있습니다.');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once('./_common.php'); include_once "./_common.php";
if ($is_guest) if ($is_guest)
alert_close('회원만 이용하실 수 있습니다.'); alert_close('회원만 이용하실 수 있습니다.');

Some files were not shown because too many files have changed in this diff Show more